@feedmepos/mf-menu 0.23.9 → 0.23.10-prod.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-DtqKFa-M.js → App-C8YvLeTF.js} +4 -4
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DMqELa0a.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CTFJvWM4.js} +2 -2
- package/dist/{Catalog-Bx46vALl.js → Catalog-ClzUdFxt.js} +5 -5
- package/dist/{Category-DGtEAdJZ.js → Category-Cmfpovi8.js} +36 -36
- package/dist/{CookingGuide-b7YyO9Uy.js → CookingGuide-iOt0swkn.js} +24 -24
- package/dist/{Group-COCWh9QO.js → Group-DAvakz4L.js} +3 -3
- package/dist/{Group-BTUGQYMx.js → Group-DYmn8IOl.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DCivMxe6.js → Group.vue_vue_type_script_setup_true_lang-eHQf10NK.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BBJaNNDB.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BUxXXG6k.js} +2 -2
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-OyB5MZ6E.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BZrQQSZJ.js} +21 -26
- package/dist/{Ingredient-CRoJXhJg.js → Ingredient-C1f4ZN7_.js} +31 -31
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BWZziQhN.js → InventoryBinding.vue_vue_type_script_setup_true_lang-5-qX5lbB.js} +2 -2
- package/dist/{LinkProductSideSheet-DCbv5LOb.js → LinkProductSideSheet-DtdP_0BL.js} +11 -11
- package/dist/{MenuSetting-0MA-y5Uo.js → MenuSetting-DI38_4FS.js} +9 -9
- package/dist/{PrintRoute-C8UqmCC-.js → PrintRoute-GTCRYqGb.js} +4 -4
- package/dist/{Product-BLaiwDHh.js → Product-Dkasmjmt.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-RudSoGAO.js → Product.vue_vue_type_script_setup_true_lang-mGnQ2LUs.js} +2399 -2389
- package/dist/{Products-CGSNvUUN.js → Products-WjNex4as.js} +8 -8
- package/dist/{Publish-DorH8Kkg.js → Publish-H42TQv2L.js} +26 -26
- package/dist/{Recipe-3PKNbSja.js → Recipe-DUoZ7TTF.js} +15 -15
- package/dist/{Scheduler-DQp8JrtH.js → Scheduler-CdO9E38B.js} +11 -11
- package/dist/{SchedulerSelector.vue_vue_type_script_setup_true_lang-D--M_zHZ.js → SchedulerSelector.vue_vue_type_script_setup_true_lang-CJPgvvv7.js} +8 -8
- package/dist/{ServingSequence-D_nZTbyM.js → ServingSequence-9PQmhk2e.js} +28 -28
- package/dist/{Setting-CQNoA3wW.js → Setting-nYK5jgil.js} +22 -22
- package/dist/{Takeaway-sTbaVafp.js → Takeaway-CFVXJXbf.js} +11 -11
- package/dist/{Takeaway-B9Wb5yaU.js → Takeaway-QpAn57vg.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CMqg7VPL.js → Takeaway.vue_vue_type_script_setup_true_lang-BMJwiQr6.js} +11 -11
- package/dist/{Unit-ktOnE-cI.js → Unit-CYIhqZeX.js} +8 -8
- package/dist/{Variant-AoSfk5Rq.js → Variant-D4yWn2iM.js} +9 -9
- package/dist/{_id_-C1wv42CB.js → _id_-DCKaeAgj.js} +13 -13
- package/dist/{app-BZMBFu8I.js → app-BUcYRyrl.js} +1 -1
- package/dist/{app-cqyYeBCV.js → app-DQYJxThv.js} +21 -21
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/App.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/Entry.vue.d.ts +3 -0
- package/dist/apps/mf-menu/src/api/index.d.ts +5 -0
- package/dist/apps/mf-menu/src/api/menu.d.ts +30 -0
- package/dist/apps/mf-menu/src/api/public.d.ts +5 -0
- package/dist/apps/mf-menu/src/app.d.ts +4304 -0
- package/dist/apps/mf-menu/src/assets/icons/index.d.ts +4 -0
- package/dist/apps/mf-menu/src/components/ApplyProducts.vue.d.ts +44 -0
- package/dist/apps/mf-menu/src/components/CustomAttributeChip.vue.d.ts +29 -0
- package/dist/apps/mf-menu/src/components/Migrate.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/Navigator.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/NumberPrecisionInput.vue.d.ts +26 -0
- package/dist/apps/mf-menu/src/components/OrderFromChip.vue.d.ts +15 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +942 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +487 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +2924 -0
- package/dist/apps/mf-menu/src/components/feature/CatalogManager/Form.vue.d.ts +13 -0
- package/dist/apps/mf-menu/src/components/feature/CatalogManager/index.d.ts +25 -0
- package/dist/apps/mf-menu/src/components/feature/CatalogSchedulerSelector.vue.d.ts +19 -0
- package/dist/apps/mf-menu/src/components/feature/CategoryManager/Form.vue.d.ts +27 -0
- package/dist/apps/mf-menu/src/components/feature/CategoryManager/index.d.ts +43 -0
- package/dist/apps/mf-menu/src/components/feature/CategorySelector.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/CategorySelectorSingle.vue.d.ts +18 -0
- package/dist/apps/mf-menu/src/components/feature/EmptyDataTemplate/Icon.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/feature/EmptyDataTemplate/index.d.ts +1 -0
- package/dist/apps/mf-menu/src/components/feature/EmptyDataTemplate/index.vue.d.ts +27 -0
- package/dist/apps/mf-menu/src/components/feature/Fields/CurrencyInput.vue.d.ts +45 -0
- package/dist/apps/mf-menu/src/components/feature/Fields/ImageDropField.vue.d.ts +21 -0
- package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +91 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/AddForm.vue.d.ts +11 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/Form.vue.d.ts +42 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/OptionTable.vue.d.ts +727 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/UpdateForm.vue.d.ts +491 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/index.d.ts +2047 -0
- package/dist/apps/mf-menu/src/components/feature/InventoryManager/Form.vue.d.ts +67 -0
- package/dist/apps/mf-menu/src/components/feature/InventoryManager/InventoryBinding.vue.d.ts +54 -0
- package/dist/apps/mf-menu/src/components/feature/InventoryManager/index.d.ts +223 -0
- package/dist/apps/mf-menu/src/components/feature/LinkProduct/LinkProductSideSheet.vue.d.ts +64 -0
- package/dist/apps/mf-menu/src/components/feature/Picker.vue.d.ts +37 -0
- package/dist/apps/mf-menu/src/components/feature/PrintDeptManager/Form.vue.d.ts +25 -0
- package/dist/apps/mf-menu/src/components/feature/PrintDeptManager/index.d.ts +43 -0
- package/dist/apps/mf-menu/src/components/feature/RecipeManager/Form.vue.d.ts +45 -0
- package/dist/apps/mf-menu/src/components/feature/RecipeManager/index.d.ts +70 -0
- package/dist/apps/mf-menu/src/components/feature/RemyButton.vue.d.ts +15 -0
- package/dist/apps/mf-menu/src/components/feature/RemyDialog.vue.d.ts +15 -0
- package/dist/apps/mf-menu/src/components/feature/ResponsiveFabButton.vue.d.ts +12 -0
- package/dist/apps/mf-menu/src/components/feature/RevertDialog.vue.d.ts +15 -0
- package/dist/apps/mf-menu/src/components/feature/SchedulerSelector.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/feature/SelectGroupDialog.vue.d.ts +15 -0
- package/dist/apps/mf-menu/src/components/feature/SelectVariantDialog.vue.d.ts +15 -0
- package/dist/apps/mf-menu/src/components/feature/ServingSequenceManager/Form.vue.d.ts +32 -0
- package/dist/apps/mf-menu/src/components/feature/ServingSequenceManager/index.d.ts +62 -0
- package/dist/apps/mf-menu/src/components/feature/SkuManager/Form.vue.d.ts +49 -0
- package/dist/apps/mf-menu/src/components/feature/SkuManager/index.d.ts +85 -0
- package/dist/apps/mf-menu/src/components/feature/TakeAwayManager/Form.vue.d.ts +35 -0
- package/dist/apps/mf-menu/src/components/feature/TakeAwayManager/index.d.ts +95 -0
- package/dist/apps/mf-menu/src/components/feature/UnitManager/Form.vue.d.ts +27 -0
- package/dist/apps/mf-menu/src/components/feature/UnitManager/UnitMeasurement.vue.d.ts +75 -0
- package/dist/apps/mf-menu/src/components/feature/UnitManager/index.d.ts +40 -0
- package/dist/apps/mf-menu/src/components/feature/VariantManager/Form.vue.d.ts +30 -0
- package/dist/apps/mf-menu/src/components/feature/VariantManager/index.d.ts +40 -0
- package/dist/apps/mf-menu/src/components/feature/overview/OverviewSheet.vue.d.ts +12 -0
- package/dist/apps/mf-menu/src/components/feature/overview/ProductOverview.vue.d.ts +29 -0
- package/dist/apps/mf-menu/src/components/feature/overview/ViewLayout.vue.d.ts +46 -0
- package/dist/apps/mf-menu/src/components/feature/overview/comp/ProductBaseInfo.vue.d.ts +12 -0
- package/dist/apps/mf-menu/src/components/feature/overview/comp/ProductViewer.vue.d.ts +12 -0
- package/dist/apps/mf-menu/src/components/feature/overview/type.d.ts +5 -0
- package/dist/apps/mf-menu/src/components/feature/overview/views/GroupView.vue.d.ts +12 -0
- package/dist/apps/mf-menu/src/components/feature/overview/views/GroupViewTable.vue.d.ts +24 -0
- package/dist/apps/mf-menu/src/components/feature/overview/views/ProductView.vue.d.ts +12 -0
- package/dist/apps/mf-menu/src/components/feature/overview/views/ProductViewTable.vue.d.ts +18 -0
- package/dist/apps/mf-menu/src/components/feature/overview/views/SchedulerView.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/feature/overview/views/VariantView.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/feature/publish.d.ts +27 -0
- package/dist/apps/mf-menu/src/components/import/ImportButton.vue.d.ts +12 -0
- package/dist/apps/mf-menu/src/components/import/ItemCard.vue.d.ts +18 -0
- package/dist/apps/mf-menu/src/components/import/PreviewContent.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/import/PreviewContent2.vue.d.ts +51 -0
- package/dist/apps/mf-menu/src/components/import/PreviewImportForm.vue.d.ts +26 -0
- package/dist/apps/mf-menu/src/components/import/PreviewImportFormFeedme.vue.d.ts +27 -0
- package/dist/apps/mf-menu/src/components/layout/FullScreenForm.vue.d.ts +30 -0
- package/dist/apps/mf-menu/src/components/layout/PageLayout.vue.d.ts +23 -0
- package/dist/apps/mf-menu/src/components/layout/ToggleCard.vue.d.ts +28 -0
- package/dist/apps/mf-menu/src/composable/menu.d.ts +9 -0
- package/dist/apps/mf-menu/src/composable/menuNotifer.d.ts +3 -0
- package/dist/apps/mf-menu/src/composable/navigator.d.ts +11 -0
- package/dist/apps/mf-menu/src/composable/search.d.ts +5 -0
- package/dist/apps/mf-menu/src/helper/check.d.ts +6 -0
- package/dist/apps/mf-menu/src/helper/currency.d.ts +2 -0
- package/dist/apps/mf-menu/src/helper/feedmeModify/definitions.d.ts +449 -0
- package/dist/apps/mf-menu/src/helper/feedmeModify/fromExcel.d.ts +8 -0
- package/dist/apps/mf-menu/src/helper/feedmeModify/toExcel.d.ts +19 -0
- package/dist/apps/mf-menu/src/helper/import-export.d.ts +6528 -0
- package/dist/apps/mf-menu/src/helper/item.d.ts +22 -0
- package/dist/apps/mf-menu/src/helper/iteration.d.ts +7 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +805 -0
- package/dist/apps/mf-menu/src/helper/number.d.ts +14 -0
- package/dist/apps/mf-menu/src/helper/object.d.ts +6 -0
- package/dist/apps/mf-menu/src/helper/recipe.d.ts +3 -0
- package/dist/apps/mf-menu/src/helper/remy.d.ts +5 -0
- package/dist/apps/mf-menu/src/helper/setting/catalogSetting.d.ts +36 -0
- package/dist/apps/mf-menu/src/helper/sku.d.ts +9 -0
- package/dist/apps/mf-menu/src/helper/string.d.ts +1 -0
- package/dist/apps/mf-menu/src/init.d.ts +1 -0
- package/dist/apps/mf-menu/src/main.d.ts +2 -0
- package/dist/apps/mf-menu/src/manager/cooking_guide.d.ts +5 -0
- package/dist/apps/mf-menu/src/manager/menu/catalog.d.ts +26 -0
- package/dist/apps/mf-menu/src/manager/menu/category.d.ts +38 -0
- package/dist/apps/mf-menu/src/manager/menu/group.d.ts +61 -0
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +21 -0
- package/dist/apps/mf-menu/src/manager/menu/scheduler.d.ts +26 -0
- package/dist/apps/mf-menu/src/manager/menu/takeaway.d.ts +6 -0
- package/dist/apps/mf-menu/src/manager/print_department.d.ts +5 -0
- package/dist/apps/mf-menu/src/manager/scheduler.d.ts +5 -0
- package/dist/apps/mf-menu/src/plugins.d.ts +4 -0
- package/dist/apps/mf-menu/src/router/index.d.ts +2 -0
- package/dist/apps/mf-menu/src/router/shared.d.ts +17 -0
- package/dist/apps/mf-menu/src/stores/app.d.ts +217 -0
- package/dist/apps/mf-menu/src/stores/manager/catalog.d.ts +7 -0
- package/dist/apps/mf-menu/src/stores/manager/item.d.ts +2183 -0
- package/dist/apps/mf-menu/src/stores/manager/recipe.d.ts +733 -0
- package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +1066 -0
- package/dist/apps/mf-menu/src/stores/manager/sku.d.ts +1621 -0
- package/dist/apps/mf-menu/src/stores/manager/takeaway.d.ts +107 -0
- package/dist/apps/mf-menu/src/stores/manager/unit.d.ts +397 -0
- package/dist/apps/mf-menu/src/stores/manager/variant.d.ts +11 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +6499 -0
- package/dist/apps/mf-menu/src/stores/menuEdit.d.ts +7 -0
- package/dist/apps/mf-menu/src/types/recipe.d.ts +4 -0
- package/dist/apps/mf-menu/src/types/rule.d.ts +64 -0
- package/dist/apps/mf-menu/src/utils/createComponentProgrammatically.d.ts +7 -0
- package/dist/apps/mf-menu/src/utils/input.d.ts +1 -0
- package/dist/apps/mf-menu/src/utils/inventory.d.ts +6 -0
- package/dist/apps/mf-menu/src/utils/table.d.ts +1 -0
- package/dist/apps/mf-menu/src/utils/tooltip.d.ts +8 -0
- package/dist/apps/mf-menu/src/utils/worker.d.ts +1 -0
- package/dist/apps/mf-menu/src/views/Catalog/Catalog.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Catalog/CatalogUsageTable.vue.d.ts +16 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddCategoryDialogContentComponent.vue.d.ts +14 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +1463 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/ProductDetail.vue.d.ts +20 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/ProductGroup.vue.d.ts +19 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/ProductInventory.vue.d.ts +27 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/ProductPrice.vue.d.ts +18 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/ProductPrint.vue.d.ts +24 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/ProductTakeaway.vue.d.ts +19 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/ProductVariants.vue.d.ts +19 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/index.d.ts +3651 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/Group.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/GroupMarkupPriceDialog.vue.d.ts +31 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/ImportProductDialog.vue.d.ts +18 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/Product.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/ProductTable.vue.d.ts +37 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/Setting.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/Takeaway.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/Thumbnail.vue.d.ts +17 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/[id].vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Catalog/type.d.ts +16 -0
- package/dist/apps/mf-menu/src/views/Category/Category.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Category/CategoryTable.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/CookingGuide/CookingGuide.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/CookingGuide/CookingGuideDialog.vue.d.ts +186 -0
- package/dist/apps/mf-menu/src/views/CookingGuide/CookingGuideStepDialog.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/views/CookingGuide/CookingGuideStepOverrideDialog.vue.d.ts +70 -0
- package/dist/apps/mf-menu/src/views/Group/Group.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Ingredient/Ingredient.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/MenuSetting/MenuSetting.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Overview/Overview.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/PrintRoute/PrintDepartmentDialog.vue.d.ts +35 -0
- package/dist/apps/mf-menu/src/views/PrintRoute/PrintRoute.vue.d.ts +7 -0
- package/dist/apps/mf-menu/src/views/Product/Products.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/ProductOverviewDemo.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Publish/Publish.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +3189 -0
- package/dist/apps/mf-menu/src/views/Recipe/Recipe.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/views/Scheduler/FilterForm.vue.d.ts +781 -0
- package/dist/apps/mf-menu/src/views/Scheduler/Scheduler.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Scheduler/SchedulerDialog.vue.d.ts +796 -0
- package/dist/apps/mf-menu/src/views/ServingSequence/ServingSequence.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Takeaway/Takeaway.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/TaxSetting/TaxSetting.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Unit/Unit.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Variant/Variant.vue.d.ts +2 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -0
- package/dist/assets/linked-status-BVq3G91g.js +24 -0
- package/dist/assets/override-menu-BSF4at2W.js +24 -0
- package/dist/assets/validate-menu-CecOIaf7.js +24 -0
- package/dist/{catalog-Xy4edEu0.js → catalog-D7Ldv7BK.js} +1 -1
- package/dist/{catalogSetting-Dj4uJ6ap.js → catalogSetting-BYgjjocH.js} +1 -1
- package/dist/{currency-D47utL_H.js → currency-CN3EG_m3.js} +1 -1
- package/dist/{discardConfirm-DrKZ0dlv.js → discardConfirm-BQpwWpH7.js} +1 -1
- package/dist/{index-Cj8NFmQq.js → index-BZ4Y7cEu.js} +17 -17
- package/dist/{index-BMRkuLfJ.js → index-BhU6NNaY.js} +9 -9
- package/dist/{item-CZZFhIzx.js → item-C2drLoa9.js} +1459 -1453
- package/dist/{menu-2uZhJ8-G.js → menu-BeISDKAr.js} +1 -1
- package/dist/{menu-cH-dKOpr.js → menu-Cij6u5dZ.js} +44688 -38374
- package/dist/packages/shared/src/api/index.d.ts +3 -0
- package/dist/packages/shared/src/api/public.d.ts +5 -0
- package/dist/packages/shared/src/components/button/ResponsiveFabButton.vue.d.ts +12 -0
- package/dist/packages/shared/src/components/dialog/ConfirmActionDialog.vue.d.ts +30 -0
- package/dist/packages/shared/src/components/form/DynamicSheet.vue.d.ts +19 -0
- package/dist/packages/shared/src/components/form/FormLabel.vue.d.ts +33 -0
- package/dist/packages/shared/src/components/form/ImageDropField.vue.d.ts +46 -0
- package/dist/packages/shared/src/components/form/RestaurantSelector.vue.d.ts +37 -0
- package/dist/packages/shared/src/components/form/RestaurantSelectorMultiple.vue.d.ts +22 -0
- package/dist/packages/shared/src/components/info/InfoBasic.vue.d.ts +20 -0
- package/dist/packages/shared/src/components/info/Summary.vue.d.ts +19 -0
- package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +15 -0
- package/dist/packages/shared/src/components/layout/FormColumn.vue.d.ts +21 -0
- package/dist/packages/shared/src/components/layout/FormItem.vue.d.ts +21 -0
- package/dist/packages/shared/src/components/layout/FormRow.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/layout/FormSection.vue.d.ts +24 -0
- package/dist/packages/shared/src/components/layout/FullScreenForm.vue.d.ts +45 -0
- package/dist/packages/shared/src/components/layout/FullWrapper.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/layout/HorizontalSplitter.vue.d.ts +2 -0
- package/dist/packages/shared/src/components/layout/Indent.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/layout/ListLayout.vue.d.ts +2 -0
- package/dist/packages/shared/src/components/layout/LottieAnimation.vue.d.ts +39 -0
- package/dist/packages/shared/src/components/layout/MobileXScrollable.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/layout/PageLayout.vue.d.ts +24 -0
- package/dist/packages/shared/src/components/loading/AppLoading.vue.d.ts +20 -0
- package/dist/packages/shared/src/components/loading/PageLoading.vue.d.ts +2 -0
- package/dist/packages/shared/src/components/loading/index.d.ts +1 -0
- package/dist/packages/shared/src/components/map/GoogleMap.vue.d.ts +79 -0
- package/dist/packages/shared/src/components/menu/BottomSheetMenu.vue.d.ts +10 -0
- package/dist/packages/shared/src/components/menu/BottomSheetMenuItem.vue.d.ts +24 -0
- package/dist/packages/shared/src/components/menu/ResponsiveContextMenu.vue.d.ts +22 -0
- package/dist/packages/shared/src/components/table/EmptyDataTemplate/Icon.vue.d.ts +2 -0
- package/dist/packages/shared/src/components/table/EmptyDataTemplate/index.d.ts +1 -0
- package/dist/packages/shared/src/components/table/EmptyDataTemplate/index.vue.d.ts +27 -0
- package/dist/packages/shared/src/components/types.d.ts +95 -0
- package/dist/packages/shared/src/composable/clipboard.d.ts +3 -0
- package/dist/packages/shared/src/composable/dateRange.d.ts +18 -0
- package/dist/packages/shared/src/composable/discardConfirm.d.ts +1 -0
- package/dist/packages/shared/src/composable/elementPosition.d.ts +17 -0
- package/dist/packages/shared/src/composable/filterSelector.d.ts +12 -0
- package/dist/packages/shared/src/composable/loading.d.ts +29 -0
- package/dist/packages/shared/src/composable/prompt.d.ts +9 -0
- package/dist/packages/shared/src/composable/sheet.d.ts +17 -0
- package/dist/packages/shared/src/feature/featureMinVersion.d.ts +34 -0
- package/dist/packages/shared/src/helpers/actionButton.d.ts +8 -0
- package/dist/packages/shared/src/helpers/browser.d.ts +1 -0
- package/dist/packages/shared/src/helpers/contextMenu.d.ts +13 -0
- package/dist/packages/shared/src/helpers/createComponent.d.ts +7 -0
- package/dist/packages/shared/src/helpers/createForm.d.ts +2 -0
- package/dist/packages/shared/src/helpers/iteration.d.ts +11 -0
- package/dist/packages/shared/src/helpers/map.d.ts +370 -0
- package/dist/packages/shared/src/helpers/object.d.ts +6 -0
- package/dist/packages/shared/src/helpers/rules.d.ts +1 -0
- package/dist/packages/shared/src/helpers/string.d.ts +12 -0
- package/dist/packages/shared/src/stores/app.d.ts +217 -0
- package/dist/packages/shared/src/types/types.d.ts +5 -0
- package/dist/{remy-CmV80QtE.js → remy-BGM4_GGa.js} +2 -2
- package/dist/scheduler-1DH1E_Uz.js +473 -0
- package/dist/style.css +1 -1
- package/dist/{toExcel-DKWtLi4q.js → toExcel-C1OFwAWV.js} +2 -2
- package/dist/{unit-BY8M4FGB.js → unit-TjPR0QL1.js} +5 -5
- package/package.json +6 -6
- package/dist/assets/linked-status-Dt294ozy.js +0 -24
- package/dist/assets/override-menu-BLgReVRT.js +0 -24
- package/dist/assets/validate-menu-DVcfUeaF.js +0 -24
- package/dist/scheduler-B6inGG_h.js +0 -667
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, watchEffect, computed, watch, openBlock, createElementBlock, normalizeStyle, onBeforeUnmount, createBlock, unref, onMounted, resolveComponent, withDirectives, createElementVNode, createVNode, vShow, Fragment, createCommentVNode, normalizeClass } from "vue";
|
|
2
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs, u as useMenuStore, a as coreDart, r as registerVersion, L as Logger, b as getExperimentalSetting, i as isMobileCordova, d as isReactNative, _ as _isFirebaseServerApp, e as _registerComponent, C as Component, f as _getProvider, h as getDefaultEmulatorHost, j as getApp, k as isBrowserExtension, S as SDK_VERSION, l as getModularInstance, E as ErrorFactory, m as createSubscribe, n as deepEqual, o as LogLevel, p as getUA, F as FirebaseError, q as base64Decode, s as isIE, t as querystring, v as isEmpty, w as getApps, x as initializeApp, y as getStorage, z as menu } from "./menu-
|
|
2
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, u as useMenuStore, a as coreDart, r as registerVersion, L as Logger, b as getExperimentalSetting, i as isMobileCordova, d as isReactNative, _ as _isFirebaseServerApp, e as _registerComponent, C as Component, f as _getProvider, h as getDefaultEmulatorHost, j as getApp, k as isBrowserExtension, S as SDK_VERSION, l as getModularInstance, E as ErrorFactory, m as createSubscribe, n as deepEqual, o as LogLevel, p as getUA, F as FirebaseError, q as base64Decode, s as isIE, t as querystring, v as isEmpty, w as getApps, x as initializeApp, y as getStorage, z as core, A as menu } from "./menu-Cij6u5dZ.js";
|
|
3
3
|
import { FeedMeAuth, useCoreStore } from "@feedmepos/mf-common";
|
|
4
4
|
import { FmButtonColorThemeVariant, FmButtonVariant } from "@feedmepos/ui-library";
|
|
5
|
-
import { R as Remy, i as init } from "./remy-
|
|
5
|
+
import { R as Remy, i as init } from "./remy-BGM4_GGa.js";
|
|
6
6
|
import { _ as _export_sfc$1 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
import { u as useAppStore } from "./app-
|
|
7
|
+
import { u as useAppStore } from "./app-BUcYRyrl.js";
|
|
8
8
|
const v = "4.8.0", meta = {
|
|
9
9
|
g: "LottieFiles AE ",
|
|
10
10
|
a: "",
|
|
@@ -23300,7 +23300,7 @@ const _hoisted_1 = {
|
|
|
23300
23300
|
), watch(
|
|
23301
23301
|
() => t.currentCountry,
|
|
23302
23302
|
(n) => {
|
|
23303
|
-
n.value && menu.initialize({ country: n.value.toUpperCase() });
|
|
23303
|
+
n.value && (core.Config.setCountry(n.value.toUpperCase()), menu.initialize({ country: n.value.toUpperCase() }));
|
|
23304
23304
|
},
|
|
23305
23305
|
{
|
|
23306
23306
|
immediate: !0
|
|
@@ -2,9 +2,9 @@ import { defineComponent as K, computed as i, h as u, ref as U, resolveComponent
|
|
|
2
2
|
import { useI18n as M } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as B, FmButtonVariant as I, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as O } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
|
|
5
|
-
import { L as $ } from "./LinkProductSideSheet-
|
|
5
|
+
import { L as $ } from "./LinkProductSideSheet-DtdP_0BL.js";
|
|
6
6
|
import { u as q } from "./search-7ZYHUW7s.js";
|
|
7
|
-
import { u as J, ab as Q } from "./menu-
|
|
7
|
+
import { u as J, ab as Q } from "./menu-Cij6u5dZ.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,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as oe, computed as T, resolveComponent as v, openBlock as d, createBlock as h, createVNode as n, ref as B, createElementBlock as S, Fragment as P, renderSlot as ye, unref as e, withCtx as p, createElementVNode as _, renderList as W, createCommentVNode as z, createTextVNode as be, toDisplayString as R, h as J, withModifiers as q, normalizeClass as xe } from "vue";
|
|
2
2
|
import { useRouter as ke } from "vue-router";
|
|
3
|
-
import { G as F, u as de, K as pe,
|
|
3
|
+
import { G as F, u as de, K as pe, B as ge, A as re, z as Ce, H as ee, J as fe, T as ue } from "./menu-Cij6u5dZ.js";
|
|
4
4
|
import { useI18n as ne, useCoreStore as ve } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as _e, components as te, FmButtonColorThemeVariant as Q, FmButtonVariant as K, useDialog as he, useBreakpoints as Oe } from "@feedmepos/ui-library";
|
|
6
|
-
import { _ as Fe, R as ie } from "./app-
|
|
6
|
+
import { _ as Fe, R as ie } from "./app-DQYJxThv.js";
|
|
7
7
|
import { _ as Me } from "./TextChip.vue_vue_type_script_setup_true_lang-DoCbhCON.js";
|
|
8
8
|
import { _ as ae } from "./FormItem.vue_vue_type_script_setup_true_lang-DKsxEK-8.js";
|
|
9
9
|
import { _ as De } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
|
|
10
10
|
import { c as Se } from "./check-C9mY6LiX.js";
|
|
11
|
-
import { C as L, a as I } from "./catalogSetting-
|
|
12
|
-
import { _ as ce } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { C as L, a as I } from "./catalogSetting-BYgjjocH.js";
|
|
12
|
+
import { _ as ce } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BUxXXG6k.js";
|
|
13
13
|
import { _ as Te } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
14
14
|
import { _ as Ve } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
|
|
15
|
-
import { C as Ae } from "./catalog-
|
|
15
|
+
import { C as Ae } from "./catalog-D7Ldv7BK.js";
|
|
16
16
|
const Ue = /* @__PURE__ */ oe({
|
|
17
17
|
__name: "CatalogUsageTable",
|
|
18
18
|
props: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as P, ref as w, computed as
|
|
1
|
+
import { defineComponent as P, ref as w, computed as T, watch as re, resolveComponent as y, openBlock as h, createElementBlock as E, Fragment as Z, renderSlot as ie, createVNode as d, unref as e, withCtx as v, createElementVNode as o, toDisplayString as L, h as N, withModifiers as A, getCurrentInstance as ce, renderList as ue, createBlock as O, createCommentVNode as de } from "vue";
|
|
2
2
|
import { useI18n as j } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Y, components as I, useDialog as ee, FmButtonVariant as Q, useBreakpoints as me, FmButtonColorThemeVariant as pe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as fe } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-CdVvtXw-.js";
|
|
5
|
-
import {
|
|
5
|
+
import { B as G, u as ge, G as K, J as te, K as q } from "./menu-Cij6u5dZ.js";
|
|
6
6
|
import { _ as _e } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
|
|
7
|
-
import { _ as ye } from "./app-
|
|
7
|
+
import { _ as ye } from "./app-DQYJxThv.js";
|
|
8
8
|
import { c as ve } from "./createForm-TSiJzrqa.js";
|
|
9
9
|
import { _ as W } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
|
|
10
|
-
import { u as he } from "./discardConfirm-
|
|
10
|
+
import { u as he } from "./discardConfirm-BQpwWpH7.js";
|
|
11
11
|
import { c as X } from "./object-DNBFWMt7.js";
|
|
12
|
-
import { u as J, a as be } from "./menu-
|
|
12
|
+
import { u as J, a as be } from "./menu-BeISDKAr.js";
|
|
13
13
|
import { c as xe } from "./check-C9mY6LiX.js";
|
|
14
|
-
import { u as Ce, a as ae } from "./item-
|
|
14
|
+
import { u as Ce, a as ae } from "./item-C2drLoa9.js";
|
|
15
15
|
import { _ as ke } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
16
16
|
function we(p, f = "This field can't be empty.") {
|
|
17
17
|
return p == null || Array.isArray(p) && p.length === 0 || typeof p == "string" && p.trim() === "" ? f : !0;
|
|
@@ -26,11 +26,11 @@ const Fe = {
|
|
|
26
26
|
class: "text-fm-color-typo-secondary"
|
|
27
27
|
}, Me = {
|
|
28
28
|
class: "flex-1"
|
|
29
|
-
},
|
|
29
|
+
}, Be = {
|
|
30
30
|
class: "flex-1 overflow-hidden min-h-[300px]"
|
|
31
|
-
},
|
|
31
|
+
}, Ee = {
|
|
32
32
|
class: "flex gap-8 items-center justify-start"
|
|
33
|
-
},
|
|
33
|
+
}, Te = /* @__PURE__ */ P({
|
|
34
34
|
__name: "Form",
|
|
35
35
|
props: {
|
|
36
36
|
initialValue: {}
|
|
@@ -45,7 +45,7 @@ const Fe = {
|
|
|
45
45
|
t: c
|
|
46
46
|
} = j(), $ = w(!1), m = w(!1), S = (t) => {
|
|
47
47
|
xe.isBoolean(t) ? m.value = t : m.value = !m.value;
|
|
48
|
-
}, u = w(X(x.initialValue)), M = w(""),
|
|
48
|
+
}, u = w(X(x.initialValue)), M = w(""), B = T(() => {
|
|
49
49
|
var t;
|
|
50
50
|
return ((t = i.value.find((a) => a.id === u.value.id)) == null ? void 0 : t.items) || [];
|
|
51
51
|
}), n = [{
|
|
@@ -73,7 +73,7 @@ const Fe = {
|
|
|
73
73
|
outline: !0,
|
|
74
74
|
variant: "tertiary",
|
|
75
75
|
textColor: "neutral-gray-400",
|
|
76
|
-
onClick:
|
|
76
|
+
onClick: A(async () => {
|
|
77
77
|
await _(a);
|
|
78
78
|
}, ["stop", "prevent"])
|
|
79
79
|
})]);
|
|
@@ -85,15 +85,15 @@ const Fe = {
|
|
|
85
85
|
async function _(t) {
|
|
86
86
|
await b.update(t._id);
|
|
87
87
|
}
|
|
88
|
-
const U =
|
|
88
|
+
const U = T(() => s.version === K.F_MENU_VERSION.enum.v4);
|
|
89
89
|
async function z(t) {
|
|
90
90
|
await b.rearrange(t.map((a) => a._id));
|
|
91
91
|
}
|
|
92
92
|
const r = he(() => u.value.name !== x.initialValue.name, () => {
|
|
93
93
|
m.value = !1;
|
|
94
94
|
});
|
|
95
|
-
async function
|
|
96
|
-
const t = s.categories.find((
|
|
95
|
+
async function D() {
|
|
96
|
+
const t = s.categories.find((R) => R._id === u.value.id), {
|
|
97
97
|
updateMenu: a
|
|
98
98
|
} = g;
|
|
99
99
|
await a({
|
|
@@ -111,8 +111,8 @@ const Fe = {
|
|
|
111
111
|
trigger: S,
|
|
112
112
|
show: m
|
|
113
113
|
}), (t, a) => {
|
|
114
|
-
const
|
|
115
|
-
return h(),
|
|
114
|
+
const R = y("FmTextField"), oe = y("FmButton"), ne = y("FmSearch"), le = y("FmTable"), H = y("fm-button"), se = y("fm-side-sheet");
|
|
115
|
+
return h(), E(Z, null, [ie(t.$slots, "default", {
|
|
116
116
|
trigger: S
|
|
117
117
|
}), d(se, {
|
|
118
118
|
id: "group-form",
|
|
@@ -120,14 +120,14 @@ const Fe = {
|
|
|
120
120
|
"onUpdate:modelValue": a[4] || (a[4] = (C) => m.value = C),
|
|
121
121
|
"is-container": e(I).FmForm,
|
|
122
122
|
"is-container-props": {
|
|
123
|
-
onValidationSuccess:
|
|
123
|
+
onValidationSuccess: D,
|
|
124
124
|
blameFormChildOnValidationFailed: !0
|
|
125
125
|
},
|
|
126
126
|
"max-width": 560,
|
|
127
127
|
"onOn:clickedAway": e(r)
|
|
128
128
|
}, {
|
|
129
129
|
"side-sheet-header": v(() => [o("p", Fe, L(e(c)("menu.category.title")), 1)]),
|
|
130
|
-
"side-sheet-footer": v(() => [o("div",
|
|
130
|
+
"side-sheet-footer": v(() => [o("div", Ee, [d(H, {
|
|
131
131
|
label: e(c)("menu.common.actions.update"),
|
|
132
132
|
loading: $.value,
|
|
133
133
|
size: "lg",
|
|
@@ -143,7 +143,7 @@ const Fe = {
|
|
|
143
143
|
default: v(() => [o("div", Ve, [d(W, {
|
|
144
144
|
title: e(c)("menu.category.detail")
|
|
145
145
|
}, {
|
|
146
|
-
default: v(() => [d(
|
|
146
|
+
default: v(() => [d(R, {
|
|
147
147
|
label: e(c)("menu.category.name"),
|
|
148
148
|
modelValue: u.value.name,
|
|
149
149
|
"onUpdate:modelValue": a[0] || (a[0] = (C) => u.value.name = C),
|
|
@@ -165,16 +165,16 @@ const Fe = {
|
|
|
165
165
|
onClick: l
|
|
166
166
|
}, null, 8, ["label"])]),
|
|
167
167
|
default: v(() => [o("div", $e, [o("div", Se, L(e(c)("menu.category.products.linked_count", {
|
|
168
|
-
count:
|
|
168
|
+
count: B.value.length
|
|
169
169
|
})), 1), o("div", Me, [d(ne, {
|
|
170
170
|
placeholder: e(c)("menu.common.actions.search"),
|
|
171
171
|
modelValue: M.value,
|
|
172
172
|
"onUpdate:modelValue": a[1] || (a[1] = (C) => M.value = C)
|
|
173
|
-
}, null, 8, ["placeholder", "modelValue"])])]), o("div",
|
|
173
|
+
}, null, 8, ["placeholder", "modelValue"])])]), o("div", Be, [d(le, {
|
|
174
174
|
"column-defs": n,
|
|
175
175
|
draggable: U.value,
|
|
176
|
-
"page-size":
|
|
177
|
-
"row-data":
|
|
176
|
+
"page-size": B.value.length,
|
|
177
|
+
"row-data": B.value,
|
|
178
178
|
"search-value": M.value,
|
|
179
179
|
"shrink-at": !1,
|
|
180
180
|
"hide-footer": "",
|
|
@@ -188,7 +188,7 @@ const Fe = {
|
|
|
188
188
|
}, 8, ["modelValue", "is-container", "is-container-props", "onOn:clickedAway"])], 64);
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
-
}), Le =
|
|
191
|
+
}), Le = Te, Oe = {
|
|
192
192
|
key: 0
|
|
193
193
|
}, Ne = {
|
|
194
194
|
class: "flex justify-end items-center"
|
|
@@ -197,11 +197,11 @@ const Fe = {
|
|
|
197
197
|
}, ze = {
|
|
198
198
|
key: 1,
|
|
199
199
|
class: "flex-1 flex flex-col min-h-0"
|
|
200
|
-
}, Ae = {
|
|
201
|
-
class: "p-8"
|
|
202
200
|
}, De = {
|
|
201
|
+
class: "p-8"
|
|
202
|
+
}, Re = {
|
|
203
203
|
class: "flex flex-1 flex-col min-h-0 overflow-scroll divide-y divide-fm-color-neutral-gray-100 pb-64"
|
|
204
|
-
},
|
|
204
|
+
}, Ae = ["onClick"], Ie = {
|
|
205
205
|
class: "flex-1 space-y-4"
|
|
206
206
|
}, Ke = {
|
|
207
207
|
class: "fm-typo-en-body-lg-600"
|
|
@@ -215,7 +215,7 @@ const Fe = {
|
|
|
215
215
|
menuLoader: k
|
|
216
216
|
}), {
|
|
217
217
|
categories: g
|
|
218
|
-
} = J(), s = w(""), b =
|
|
218
|
+
} = J(), s = w(""), b = T(() => g.value.filter((n) => n.name.toLowerCase().includes(s.value.toLowerCase()))), {
|
|
219
219
|
t: i
|
|
220
220
|
} = j(), c = w([{
|
|
221
221
|
accessorKey: "name",
|
|
@@ -252,7 +252,7 @@ const Fe = {
|
|
|
252
252
|
disabled: !l.id,
|
|
253
253
|
variant: "tertiary",
|
|
254
254
|
textColor: "neutral-gray-400",
|
|
255
|
-
onClick:
|
|
255
|
+
onClick: A(async () => {
|
|
256
256
|
await $(l);
|
|
257
257
|
}, ["stop", "prevent"])
|
|
258
258
|
})]);
|
|
@@ -298,10 +298,10 @@ const Fe = {
|
|
|
298
298
|
initialValue: n
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
|
-
const M = me(),
|
|
301
|
+
const M = me(), B = T(() => M.breakpoints.value.xs);
|
|
302
302
|
return (n, l) => {
|
|
303
303
|
const _ = y("FmSearch"), U = y("FmTable"), z = y("FmButton");
|
|
304
|
-
return
|
|
304
|
+
return B.value ? (h(), E("div", ze, [o("div", De, [d(_, {
|
|
305
305
|
autofocus: "",
|
|
306
306
|
modelValue: s.value,
|
|
307
307
|
"onUpdate:modelValue": l[2] || (l[2] = (r) => s.value = r),
|
|
@@ -309,10 +309,10 @@ const Fe = {
|
|
|
309
309
|
placeholder: e(i)("menu.common.labels.search_placeholder", {
|
|
310
310
|
type: "categories"
|
|
311
311
|
})
|
|
312
|
-
}, null, 8, ["modelValue", "placeholder"])]), o("div",
|
|
312
|
+
}, null, 8, ["modelValue", "placeholder"])]), o("div", Re, [(h(!0), E(Z, null, ue(b.value, (r) => (h(), E("div", {
|
|
313
313
|
key: r.id || "",
|
|
314
314
|
class: "flex flex-row py-12 px-16",
|
|
315
|
-
onClick: (
|
|
315
|
+
onClick: (D) => u(r)
|
|
316
316
|
}, [o("div", Ie, [o("p", Ke, L(r.name), 1), o("p", Pe, L(e(i)(r.items.length > 1 ? "menu.common.labels.product_linked_plural" : "menu.common.labels.product_linked_singular", {
|
|
317
317
|
count: r.items.length
|
|
318
318
|
})), 1)]), d(z, {
|
|
@@ -320,8 +320,8 @@ const Fe = {
|
|
|
320
320
|
variant: e(Q).Tertiary,
|
|
321
321
|
"prepend-icon": "delete",
|
|
322
322
|
disabled: !r.id,
|
|
323
|
-
onClick:
|
|
324
|
-
}, null, 8, ["text-color", "variant", "disabled", "onClick"])], 8,
|
|
323
|
+
onClick: A((D) => $(r), ["stop"])
|
|
324
|
+
}, null, 8, ["text-color", "variant", "disabled", "onClick"])], 8, Ae))), 128))])])) : (h(), E("div", Oe, [o("div", Ne, [o("div", Ue, [d(_, {
|
|
325
325
|
modelValue: s.value,
|
|
326
326
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
|
|
327
327
|
autofocus: "",
|
|
@@ -353,7 +353,7 @@ const Fe = {
|
|
|
353
353
|
function b() {
|
|
354
354
|
V.create();
|
|
355
355
|
}
|
|
356
|
-
const i =
|
|
356
|
+
const i = T(() => g.value.length);
|
|
357
357
|
return be().resetOnMount(), (c, $) => (h(), O(_e, {
|
|
358
358
|
heading: e(s)("menu.category.title")
|
|
359
359
|
}, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as ie, ref as w, computed as F, resolveComponent as x, openBlock as _, createBlock as P, unref as t, withCtx as m, createElementVNode as a, createVNode as l, toDisplayString as S, createElementBlock as I, Fragment as M, renderList as q, createTextVNode as fe, withModifiers as ue, createCommentVNode as ce, h as
|
|
1
|
+
import { defineComponent as ie, ref as w, computed as F, resolveComponent as x, openBlock as _, createBlock as P, unref as t, withCtx as m, createElementVNode as a, createVNode as l, toDisplayString as S, createElementBlock as I, Fragment as M, renderList as q, createTextVNode as fe, withModifiers as ue, createCommentVNode as ce, h as R } from "vue";
|
|
2
2
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as de, useSnackbar as be, useDialog as ye } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ke } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-CdVvtXw-.js";
|
|
5
|
-
import { _ as he } from "./app-
|
|
6
|
-
import { H as Z, G as ee, J as re, u as xe, K as Ce,
|
|
7
|
-
import { u as me, l as pe } from "./discardConfirm-
|
|
5
|
+
import { _ as he } from "./app-DQYJxThv.js";
|
|
6
|
+
import { H as Z, G as ee, J as re, u as xe, K as Ce, B as we } from "./menu-Cij6u5dZ.js";
|
|
7
|
+
import { u as me, l as pe } from "./discardConfirm-BQpwWpH7.js";
|
|
8
8
|
import { V as Ve } from "./vuedraggable-WU01qJgi.js";
|
|
9
9
|
import { _ as X } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
|
|
10
|
-
import { L as Fe } from "./LinkProductSideSheet-
|
|
10
|
+
import { L as Fe } from "./LinkProductSideSheet-DtdP_0BL.js";
|
|
11
11
|
import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
12
12
|
import { _ as Ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
|
|
13
13
|
const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ke = { class: "space-y-32" }, De = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, Le = { class: "px-16 py-8 w-[40%]" }, Ne = { class: "px-16 py-8 grow" }, Ge = { class: "flex items-center border-b border-b-fm-color-neutral-gray-100" }, Ue = { class: "px-16 py-8 w-[40%]" }, Be = { class: "px-16 py-8 grow" }, Ee = { class: "space-y-16" }, ze = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Me = { class: "flex gap-8 items-center justify-start" }, Te = /* @__PURE__ */ ie({
|
|
@@ -40,7 +40,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ke = {
|
|
|
40
40
|
function Y() {
|
|
41
41
|
V.value.push({ key: "", value: "" });
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function A(b) {
|
|
44
44
|
V.value.splice(b, 1);
|
|
45
45
|
}
|
|
46
46
|
function U(b) {
|
|
@@ -165,7 +165,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ke = {
|
|
|
165
165
|
icon: "delete",
|
|
166
166
|
variant: "tertiary",
|
|
167
167
|
"text-color": "neutral-gray-400",
|
|
168
|
-
onClick: () =>
|
|
168
|
+
onClick: () => A(T)
|
|
169
169
|
}, null, 8, ["onClick"])
|
|
170
170
|
]))), 256))
|
|
171
171
|
])
|
|
@@ -199,7 +199,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ke = {
|
|
|
199
199
|
}, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]);
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
-
}),
|
|
202
|
+
}), Re = { class: "w-[700px]" }, Ae = { class: "flex bg-fm-color-neutral-gray-100" }, Pe = { class: "px-16 py-8 grow" }, qe = { class: "px-16 py-8 w-[200px]" }, je = { class: "px-16 py-8 w-[200px]" }, Ye = { class: "px-16 py-8 grow" }, He = { class: "px-16 py-8 w-[200px] flex flex-col gap-8" }, Je = { class: "px-16 py-8 w-[200px] flex flex-col gap-8" }, Qe = /* @__PURE__ */ ie({
|
|
203
203
|
__name: "CookingGuideStepOverrideDialog",
|
|
204
204
|
emits: ["onComplete"],
|
|
205
205
|
setup(N, { expose: p, emit: j }) {
|
|
@@ -227,7 +227,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ke = {
|
|
|
227
227
|
var s;
|
|
228
228
|
return ((s = V.value[y]) == null ? void 0 : s.variables[n]) ?? "";
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function A(y, n, s) {
|
|
231
231
|
const D = g.value.overrides.findIndex((E) => E.id === y);
|
|
232
232
|
s ? D < 0 ? g.value.overrides.push({
|
|
233
233
|
id: y,
|
|
@@ -267,8 +267,8 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ke = {
|
|
|
267
267
|
}, null, 8, ["label"])
|
|
268
268
|
]),
|
|
269
269
|
default: m(() => [
|
|
270
|
-
a("div",
|
|
271
|
-
a("div",
|
|
270
|
+
a("div", Re, [
|
|
271
|
+
a("div", Ae, [
|
|
272
272
|
a("div", Pe, S(t(d)("menu.cooking_guide.step_override_dialog.columns.instructions")), 1),
|
|
273
273
|
a("div", qe, S(t(d)("menu.cooking_guide.step_override_dialog.columns.variables")), 1),
|
|
274
274
|
a("div", je, S(t(d)("menu.cooking_guide.step_override_dialog.columns.value")), 1)
|
|
@@ -289,7 +289,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ke = {
|
|
|
289
289
|
l(s, {
|
|
290
290
|
"model-value": Y(i.id, v.toString()),
|
|
291
291
|
placeholder: k,
|
|
292
|
-
"onUpdate:modelValue": (J) =>
|
|
292
|
+
"onUpdate:modelValue": (J) => A(i.id, v.toString(), J)
|
|
293
293
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])
|
|
294
294
|
]))), 128))
|
|
295
295
|
])
|
|
@@ -346,7 +346,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ke = {
|
|
|
346
346
|
function Y(e) {
|
|
347
347
|
u.value.steps.splice(e, 1);
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function A(e) {
|
|
350
350
|
if (!e.id)
|
|
351
351
|
u.value.steps.push({ ...e, id: (/* @__PURE__ */ new Date()).toISOString() });
|
|
352
352
|
else {
|
|
@@ -649,7 +649,7 @@ const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ke = {
|
|
|
649
649
|
l(Te, {
|
|
650
650
|
ref_key: "cookingGuideStepDialogRef",
|
|
651
651
|
ref: $,
|
|
652
|
-
onOnComplete:
|
|
652
|
+
onOnComplete: A
|
|
653
653
|
}, null, 512),
|
|
654
654
|
l(Qe, {
|
|
655
655
|
ref_key: "cookingGuideStepOverrideDialogRef",
|
|
@@ -732,14 +732,14 @@ const go = {
|
|
|
732
732
|
headerContentClass: "-mx-16"
|
|
733
733
|
},
|
|
734
734
|
enableSorting: !1,
|
|
735
|
-
cell: (n) =>
|
|
735
|
+
cell: (n) => R("div", {
|
|
736
736
|
class: "flex justify-end"
|
|
737
|
-
}, [
|
|
737
|
+
}, [R(de.FmButton, {
|
|
738
738
|
icon: "delete",
|
|
739
739
|
textColor: "neutral-gray-400",
|
|
740
740
|
variant: "tertiary",
|
|
741
741
|
onClick: ue(() => {
|
|
742
|
-
|
|
742
|
+
A(n.row.original);
|
|
743
743
|
}, ["stop", "prevent"])
|
|
744
744
|
})])
|
|
745
745
|
}]), d = xe(), G = F(() => K.checkMenuIsLoading()), L = F(() => d.categorizedRawMenuItems), C = F(() => d.state.menu.modules.cookingGuide), B = F(() => C.value.length > 0), K = Ce(we(be())), u = w();
|
|
@@ -756,15 +756,15 @@ const go = {
|
|
|
756
756
|
await K.updateMenu(s, n.name);
|
|
757
757
|
}
|
|
758
758
|
const Y = ye();
|
|
759
|
-
async function
|
|
760
|
-
let s = [
|
|
759
|
+
async function A(n) {
|
|
760
|
+
let s = [R("span", p("menu.cooking_guide.dialogs.remove.message.prefix")), R("span", {
|
|
761
761
|
class: "fm-typo-en-body-lg-600"
|
|
762
|
-
}, n.name),
|
|
763
|
-
n.bindings.length && (s = [
|
|
762
|
+
}, n.name), R("span", "?")];
|
|
763
|
+
n.bindings.length && (s = [R("span", p("menu.cooking_guide.dialogs.remove.message.products_using")), R("span", {
|
|
764
764
|
class: "fm-typo-en-body-lg-600"
|
|
765
|
-
}, n.bindings.length),
|
|
765
|
+
}, n.bindings.length), R("span", p("menu.cooking_guide.dialogs.remove.message.products_count")), ...s]), Y.open({
|
|
766
766
|
title: p("menu.cooking_guide.dialogs.remove.title"),
|
|
767
|
-
contentComponent:
|
|
767
|
+
contentComponent: R("div", s),
|
|
768
768
|
primaryActions: {
|
|
769
769
|
text: p("menu.cooking_guide.actions.remove"),
|
|
770
770
|
close: !0,
|
|
@@ -839,7 +839,7 @@ const go = {
|
|
|
839
839
|
icon: "delete",
|
|
840
840
|
variant: "tertiary",
|
|
841
841
|
"text-color": "neutral-gray-400",
|
|
842
|
-
onClick: ue(() =>
|
|
842
|
+
onClick: ue(() => A(v), ["stop"])
|
|
843
843
|
}, null, 8, ["disabled", "onClick"])]),
|
|
844
844
|
_: 2
|
|
845
845
|
}, 1032, ["label", "onClick"]))), 128))]),
|
|
@@ -2,9 +2,9 @@ import { defineComponent as m, ref as p, openBlock as i, createBlock 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-CdVvtXw-.js";
|
|
4
4
|
import { _ as g } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
|
|
5
|
-
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { A as b } from "./item-
|
|
7
|
-
import { a as h } from "./menu-
|
|
5
|
+
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-eHQf10NK.js";
|
|
6
|
+
import { A as b } from "./item-C2drLoa9.js";
|
|
7
|
+
import { a as h } from "./menu-BeISDKAr.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" }, j = /* @__PURE__ */ m({
|
|
9
9
|
__name: "Group",
|
|
10
10
|
setup(N) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent as W, computed as b, resolveComponent as C, openBlock as v, createBlock as V, withCtx as k, createElementBlock as F, Fragment as T, renderList as ne, createVNode as c, createElementVNode as p, normalizeClass as j, toDisplayString as P, ref as S, renderSlot as Oe, unref as n, watch as we, mergeProps as De, createCommentVNode as E, createSlots as Ce, withModifiers as Me, isRef as le, h as xe, nextTick as Ae } from "vue";
|
|
2
|
-
import { l as z, u as Ge } from "./discardConfirm-
|
|
2
|
+
import { l as z, u as Ge } from "./discardConfirm-BQpwWpH7.js";
|
|
3
3
|
import { V as Fe } from "./vuedraggable-WU01qJgi.js";
|
|
4
|
-
import { u as ue, K as Pe,
|
|
4
|
+
import { u as ue, K as Pe, B as Ve, z as Ne, G as f, A as Re, J as Ue } from "./menu-Cij6u5dZ.js";
|
|
5
5
|
import { useI18n as se } from "@feedmepos/mf-common";
|
|
6
6
|
import { useBreakpoints as ie, components as Ee, useSnackbar as Se, useDialog as Te, FmButtonVariant as Ie } from "@feedmepos/ui-library";
|
|
7
|
-
import { _ as $e } from "./app-
|
|
7
|
+
import { _ as $e } from "./app-DQYJxThv.js";
|
|
8
8
|
import { _ as Ye, a as Le } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DPis3HVx.js";
|
|
9
9
|
import { c as ze } from "./object-DNBFWMt7.js";
|
|
10
|
-
import { _ as Ke } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as Ke } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-CTFJvWM4.js";
|
|
11
11
|
import { c as je } from "./check-C9mY6LiX.js";
|
|
12
12
|
import { _ as Be } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
13
|
-
import { M as ae, S as qe, _ as He, A as Je, e as Qe, b as We } from "./item-
|
|
14
|
-
import { _ as re } from "./SchedulerSelector.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { M as ae, S as qe, _ as He, A as Je, e as Qe, b as We } from "./item-C2drLoa9.js";
|
|
14
|
+
import { _ as re } from "./SchedulerSelector.vue_vue_type_script_setup_true_lang-CJPgvvv7.js";
|
|
15
15
|
import { u as Xe } from "./search-7ZYHUW7s.js";
|
|
16
|
-
import { C as Ze } from "./catalog-
|
|
16
|
+
import { C as Ze } from "./catalog-D7Ldv7BK.js";
|
|
17
17
|
const et = /* @__PURE__ */ W({
|
|
18
18
|
__name: "ResponsiveContextMenu",
|
|
19
19
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as A, computed as g, ref as _, watch as G, onMounted as H, resolveComponent as m, openBlock as p, createElementBlock as k, Fragment as y, renderSlot as j, createVNode as r, unref as a, withCtx as s, createTextVNode as J, toDisplayString as I, createElementVNode as V, renderList as K, createBlock as C, createCommentVNode as S } from "vue";
|
|
2
2
|
import { useI18n as O } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as Q, components as R, FmButtonColorThemeVariant as h, FmButtonVariant as W } from "@feedmepos/ui-library";
|
|
4
|
-
import { L as X } from "./LinkProductSideSheet-
|
|
4
|
+
import { L as X } from "./LinkProductSideSheet-DtdP_0BL.js";
|
|
5
5
|
import { c as w } from "./check-C9mY6LiX.js";
|
|
6
|
-
import { u as Y, H as x, a0 as Z } from "./menu-
|
|
6
|
+
import { u as Y, H as x, a0 as Z } from "./menu-Cij6u5dZ.js";
|
|
7
7
|
import { c as ee } from "./string-DpfFixWH.js";
|
|
8
8
|
const le = { class: "space-y-16" }, oe = { class: "ml-32 mt-16 space-y-8" }, ae = {
|
|
9
9
|
key: 0,
|