@feedmepos/mf-inventory-portal 0.0.5
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/README.md +31 -0
- package/dist/App.vue.d.ts +2 -0
- package/dist/ApprovalView-CTQdDgGH.js +119 -0
- package/dist/BindingsDialog-DvX_DRsO.js +82 -0
- package/dist/BindingsPicker-CQIGhTCR.js +124 -0
- package/dist/BindingsTable-Da4BLkvc.js +122 -0
- package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DcixBOcX.js +97 -0
- package/dist/Entry.vue.d.ts +2 -0
- package/dist/FmMultiselectDialog.vue_vue_type_script_setup_true_lang-BXU7x6di.js +144 -0
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-CD89qCIa.js +49 -0
- package/dist/IngredientsView-2ZKdzsgI.js +739 -0
- package/dist/IntegrationView-BRWYO3VE.js +1172 -0
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CnsDmPTe.js +240 -0
- package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DBK7mpQS.js +66 -0
- package/dist/PurchaseOrderPrintPreview-CH9gVYDg.js +152 -0
- package/dist/ReceiveRequestView-DQBqc3GF.js +1298 -0
- package/dist/RecipeView-DFG9Wkx-.js +594 -0
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js +53 -0
- package/dist/Standalone.vue.d.ts +2 -0
- package/dist/StockView-DLWMp_I5.js +1733 -0
- package/dist/SupplierView-CZhM2ie3.js +607 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Ffe9bhq8.js +1027 -0
- package/dist/UnitView-C3XVSbJY.js +626 -0
- package/dist/WarehouseView-BntzAdz3.js +1139 -0
- package/dist/api/bill.d.ts +1364 -0
- package/dist/api/closing.d.ts +3 -0
- package/dist/api/error.d.ts +31 -0
- package/dist/api/food-market-hub.d.ts +38 -0
- package/dist/api/inventory.d.ts +176 -0
- package/dist/api/purchase-order.d.ts +13 -0
- package/dist/api/stock.d.ts +9 -0
- package/dist/api/supplier.d.ts +7 -0
- package/dist/api/type.d.ts +12 -0
- package/dist/api/warehouse.d.ts +7 -0
- package/dist/app-BzDhmCVx.js +36639 -0
- package/dist/app.d.ts +2 -0
- package/dist/app.js +5 -0
- package/dist/components/ChangeLocationComponent.vue.d.ts +2 -0
- package/dist/components/DeferableLoading.vue.d.ts +19 -0
- package/dist/components/DeferableLoadingProps.d.ts +4 -0
- package/dist/components/DeleteDialog.vue.d.ts +18 -0
- package/dist/components/FmCoordinateInput.vue.d.ts +24 -0
- package/dist/components/FmCoordinateInputProps.d.ts +23 -0
- package/dist/components/FmFilterableSelect.vue.d.ts +25 -0
- package/dist/components/FmFilterableSelectProps.d.ts +28 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +30 -0
- package/dist/components/FmMultiselectDialogProps.d.ts +16 -0
- package/dist/components/FmTableToolbar.vue.d.ts +49 -0
- package/dist/components/MultiSelectDialog.vue.d.ts +12 -0
- package/dist/components/MultiSelectDialogProps.d.ts +7 -0
- package/dist/components/NavigationTab.vue.d.ts +2 -0
- package/dist/components/NumberPrecisionInput.vue.d.ts +16 -0
- package/dist/components/NumberPrecisionInputProps.d.ts +12 -0
- package/dist/components/TableActionableRow.vue.d.ts +40 -0
- package/dist/components/UnitDisplayControl.vue.d.ts +12 -0
- package/dist/components/UnitDisplayControlProp.d.ts +7 -0
- package/dist/components/fm-components.type.d.ts +8 -0
- package/dist/components/form/form-mode.enum.d.ts +5 -0
- package/dist/components/icons/IconCommunity.vue.d.ts +2 -0
- package/dist/components/icons/IconDocumentation.vue.d.ts +2 -0
- package/dist/components/icons/IconEcosystem.vue.d.ts +2 -0
- package/dist/components/icons/IconSupport.vue.d.ts +2 -0
- package/dist/components/icons/IconTooling.vue.d.ts +2 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +145 -0
- package/dist/components/inventory-binding/InventoryBindingProps.d.ts +11 -0
- package/dist/components/map/CoordinateDialog.vue.d.ts +24 -0
- package/dist/components/map/GoogleMap.vue.d.ts +79 -0
- package/dist/components/map/coordinates.d.ts +6 -0
- package/dist/components/map/helper/coords-to-latlong.d.ts +8 -0
- package/dist/components/map/type.d.ts +27 -0
- package/dist/components/nested-multiselect/FmNestedMultiselectDialog.vue.d.ts +7 -0
- package/dist/components/nested-multiselect/FmNestedMultiselectDialogProps.d.ts +22 -0
- package/dist/components/nested-multiselect/helper/multiselect-utils.d.ts +2 -0
- package/dist/components/row-action.enum.d.ts +13 -0
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +84 -0
- package/dist/components/shell/inventory/binding-ui.test.d.ts +1 -0
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +110 -0
- package/dist/components/shell/inventory/utils.d.ts +5 -0
- package/dist/components/ui-library/FmDateRangePickerChip.vue.d.ts +36 -0
- package/dist/components/ui-library/FmSpecialChip.vue.d.ts +79 -0
- package/dist/composable/defineApi.d.ts +18 -0
- package/dist/composable/useBreakpoints.d.ts +7 -0
- package/dist/composable/useIframe.d.ts +37 -0
- package/dist/composable/useSearch.d.ts +5 -0
- package/dist/composable/useTabStorage.d.ts +2 -0
- package/dist/composable/useToast.d.ts +36 -0
- package/dist/core.d.ts +12 -0
- package/dist/cypress/component/FmFilterableSelect.cy.d.ts +1 -0
- package/dist/cypress/component/FmNestedMultiselectDialog.cy.d.ts +1 -0
- package/dist/cypress/component/UnitDisplayControl.cy.d.ts +1 -0
- package/dist/cypress/component/receive-request/KDI-15-total-price-currency.cy.d.ts +2 -0
- package/dist/cypress/e2e/views/MenuV3.spec.cy.d.ts +0 -0
- package/dist/cypress/e2e/views/MenuV4.spec.cy.d.ts +0 -0
- package/dist/cypress/e2e/views/Root.spec.cy.d.ts +0 -0
- package/dist/cypress/e2e/views/StockView.spec.cy.d.ts +0 -0
- package/dist/cypress/support/commands.d.ts +0 -0
- package/dist/cypress/support/component.d.ts +10 -0
- package/dist/cypress/support/e2e.d.ts +1 -0
- package/dist/date2-C7HiAWQG.js +209 -0
- package/dist/dayjs.min-Db57WhI9.js +282 -0
- package/dist/decimal-D3a0BwVj.js +98 -0
- package/dist/empty-placeholder-wf6-BWE8.js +4 -0
- package/dist/extensions/array.d.ts +15 -0
- package/dist/favicon.ico +0 -0
- package/dist/fuzzy-BW8ZYsDG.js +41 -0
- package/dist/helper/address.d.ts +2 -0
- package/dist/helper/component.d.ts +4 -0
- package/dist/helper/core/country/codes.d.ts +255 -0
- package/dist/helper/core/country/utils.d.ts +8 -0
- package/dist/helper/core/id-to-date.d.ts +1 -0
- package/dist/helper/core/store/type.d.ts +2 -0
- package/dist/helper/country.d.ts +260 -0
- package/dist/helper/date.spec.d.ts +1 -0
- package/dist/helper/date2.d.ts +20 -0
- package/dist/helper/decimal.d.ts +15 -0
- package/dist/helper/decimal.spec.d.ts +1 -0
- package/dist/helper/export.d.ts +12 -0
- package/dist/helper/form.d.ts +5 -0
- package/dist/helper/inventory.d.ts +1 -0
- package/dist/helper/iteration.d.ts +15 -0
- package/dist/helper/number.d.ts +27 -0
- package/dist/helper/number.spec.d.ts +1 -0
- package/dist/helper/object.d.ts +36 -0
- package/dist/helper/object.spec.d.ts +1 -0
- package/dist/helper/rules.d.ts +22 -0
- package/dist/helper/search.d.ts +21 -0
- package/dist/helper/semver.d.ts +20 -0
- package/dist/helper/semver.spec.d.ts +1 -0
- package/dist/helper/type.d.ts +8 -0
- package/dist/helper/url.d.ts +7 -0
- package/dist/helper/validate.d.ts +70 -0
- package/dist/helper/xlsx.util.d.ts +8 -0
- package/dist/helper/zod.d.ts +21 -0
- package/dist/id-to-date-ReZIpUDw.js +30 -0
- package/dist/index-D46it8Rk.js +12956 -0
- package/dist/init-date-range-M3Q03-Fd.js +21 -0
- package/dist/is-linked-ingredient-error-C6AghEwR.js +37 -0
- package/dist/layout/InventoryLayout.vue.d.ts +2 -0
- package/dist/layout/SingleColumnLayout.vue.d.ts +55 -0
- package/dist/layout/components/NavigationButton.vue.d.ts +22 -0
- package/dist/layout/layout-routes.d.ts +7 -0
- package/dist/layout/type.d.ts +17 -0
- package/dist/layout-BvUjg6JS.js +151 -0
- package/dist/locales/en/common.json +7 -0
- package/dist/main.d.ts +2 -0
- package/dist/router/index.d.ts +5 -0
- package/dist/router/name.d.ts +17 -0
- package/dist/router/shared.d.ts +11 -0
- package/dist/row-action.enum-BwQbURNh.js +28 -0
- package/dist/rules-DHfAMDW3.js +86 -0
- package/dist/stores/api.d.ts +10 -0
- package/dist/stores/env.d.ts +5 -0
- package/dist/stores/feature.d.ts +9 -0
- package/dist/stores/googlemap.d.ts +37 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +8 -0
- package/dist/stores/inventory.d.ts +1983 -0
- package/dist/stores/layout.d.ts +5 -0
- package/dist/stores/location.d.ts +1898 -0
- package/dist/stores/route.d.ts +12 -0
- package/dist/stores/stock.d.ts +58 -0
- package/dist/stores/supplier.d.ts +30 -0
- package/dist/stores/warehouse.d.ts +88 -0
- package/dist/style.css +1 -0
- package/dist/supplier-DTiiOLtg.js +65 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -0
- package/dist/use-inventory-binding-dialog-B6JO7050.js +109 -0
- package/dist/views/InventoryView.vue.d.ts +2 -0
- package/dist/views/SelectBussinessDialog.vue.d.ts +2 -0
- package/dist/views/approval/ApprovalView.vue.d.ts +2 -0
- package/dist/views/dev/ComponentPreview.vue.d.ts +2 -0
- package/dist/views/dev/components/CoordinateTest.vue.d.ts +2 -0
- package/dist/views/dev/components/DateRange.vue.d.ts +2 -0
- package/dist/views/dev/components/FmSelectTest.vue.d.ts +2 -0
- package/dist/views/dev/components/InventoryIframe.vue.d.ts +2 -0
- package/dist/views/dev/components/LayoutDev.vue.d.ts +2 -0
- package/dist/views/dev/components/MfCommontTest.vue.d.ts +2 -0
- package/dist/views/dev/components/NestedSelection.vue.d.ts +2 -0
- package/dist/views/dev/components/NumberStepper.vue.d.ts +2 -0
- package/dist/views/dev/components/TabStorageTest.vue.d.ts +2 -0
- package/dist/views/dev/helpers/debug.d.ts +22 -0
- package/dist/views/dev/helpers/nested-options.d.ts +60 -0
- package/dist/views/dev/helpers/pinia-test.d.ts +9 -0
- package/dist/views/home/HomeView.vue.d.ts +2 -0
- package/dist/views/iframe/inventory-bindings/bindings-dialog/BindingsDialog.vue.d.ts +2 -0
- package/dist/views/iframe/inventory-bindings/bindings-picker/BindingsPicker.vue.d.ts +2 -0
- package/dist/views/iframe/inventory-bindings/bindings-table/BindingsTable.vue.d.ts +2 -0
- package/dist/views/ingredients/IngredientsView.vue.d.ts +2 -0
- package/dist/views/ingredients/components/cannot-delete/CannotDelete.vue.d.ts +30 -0
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +54 -0
- package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +8 -0
- package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItem.vue.d.ts +12 -0
- package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItemProps.d.ts +5 -0
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialog.vue.d.ts +31 -0
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialogProps.d.ts +9 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +104 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +10 -0
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +88 -0
- package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +4 -0
- package/dist/views/ingredients/components/inventory-binding/util.d.ts +7 -0
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +8 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +46 -0
- package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +7 -0
- package/dist/views/integration/IntegrationView.vue.d.ts +2 -0
- package/dist/views/integration/components/ApplyAddon.vue.d.ts +379 -0
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +303 -0
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +277 -0
- package/dist/views/integration/components/ApplyProductDialogProps.d.ts +17 -0
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +277 -0
- package/dist/views/integration/helper/menu.d.ts +36 -0
- package/dist/views/receive-request/ReceiveRequestView.vue.d.ts +2 -0
- package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistory.vue.d.ts +12 -0
- package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistoryProps.d.ts +11 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +18 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +12 -0
- package/dist/views/receive-request/components/transfer-dialog/TransferDialog.vue.d.ts +22 -0
- package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +11 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +450 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +10 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +369 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1202 -0
- package/dist/views/receive-request/constants/dialog-templates.d.ts +8 -0
- package/dist/views/receive-request/constants/purchase-order-transaction-type.d.ts +4 -0
- package/dist/views/receive-request/constants/purchase-row-actions.d.ts +2 -0
- package/dist/views/receive-request/helper/format-time-from-id.d.ts +2 -0
- package/dist/views/receive-request/helper/format-unit-display.d.ts +6 -0
- package/dist/views/receive-request/helper/get-received-amount.d.ts +2 -0
- package/dist/views/receive-request/helper/init-date-range.d.ts +8 -0
- package/dist/views/receive-request/helper/print-po.d.ts +2 -0
- package/dist/views/receive-request/helper/status-to-background.d.ts +2 -0
- package/dist/views/receive-request/print-preview/PurchaseOrderPrintPreview.vue.d.ts +47 -0
- package/dist/views/recipe/RecipeView.vue.d.ts +2 -0
- package/dist/views/recipe/components/recipe-dialog/RecipeDialog.vue.d.ts +31 -0
- package/dist/views/recipe/components/recipe-dialog/RecipeDialogProps.d.ts +9 -0
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +62 -0
- package/dist/views/recipe/components/recipe-form/RecipeFormProps.d.ts +10 -0
- package/dist/views/recipe/composables/use-recipe-form.d.ts +9 -0
- package/dist/views/recipe/composables/use-recipe-table.d.ts +11 -0
- package/dist/views/recipe/helper/export-recipe.d.ts +1 -0
- package/dist/views/stock/StockView.vue.d.ts +2 -0
- package/dist/views/stock/components/StockHistory.vue.d.ts +17 -0
- package/dist/views/stock/components/StockHistoryProps.d.ts +7 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +712 -0
- package/dist/views/stock/components/dialog/AdjustSkuDialog.vue.d.ts +22 -0
- package/dist/views/stock/components/dialog/AdjustSkuDialogProps.d.ts +8 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +164 -0
- package/dist/views/stock/components/dialog/AdjustedItemFormProps.d.ts +8 -0
- package/dist/views/stock/components/dialog/ConvertSkuDialog.vue.d.ts +22 -0
- package/dist/views/stock/components/dialog/ConvertSkuDialogProps.d.ts +9 -0
- package/dist/views/stock/components/dialog/constant/adjustment-type-options.d.ts +7 -0
- package/dist/views/stock/components/dialog/helper/adjust.d.ts +3 -0
- package/dist/views/stock/components/dialog/helper/form-adjust.d.ts +10 -0
- package/dist/views/stock/composables/use-stock-table.d.ts +12 -0
- package/dist/views/stock/helper/compute-summary-total-test.d.ts +1 -0
- package/dist/views/stock/helper/compute-summary-total.d.ts +1 -0
- package/dist/views/stock/helper/compute-summary-total.spec.d.ts +1 -0
- package/dist/views/stock/helper/format-date-from-id.d.ts +2 -0
- package/dist/views/stock/helper/on-click-export-excel.d.ts +9 -0
- package/dist/views/stock/helper/stock-row-action.d.ts +13 -0
- package/dist/views/stock/type.d.ts +9 -0
- package/dist/views/supplier/SupplierView.vue.d.ts +2 -0
- package/dist/views/supplier/components/SupplierDialog.vue.d.ts +22 -0
- package/dist/views/supplier/components/SupplierDialogProps.d.ts +10 -0
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +58 -0
- package/dist/views/supplier/components/SupplierFormProps.d.ts +8 -0
- package/dist/views/supplier/composables/use-supplier-table.d.ts +22 -0
- package/dist/views/unit/UnitView.vue.d.ts +2 -0
- package/dist/views/unit/components/unit-dialog/UnitDialog.vue.d.ts +31 -0
- package/dist/views/unit/components/unit-dialog/UnitDialogProps.d.ts +9 -0
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +50 -0
- package/dist/views/unit/components/unit-form/UnitFormProps.d.ts +10 -0
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +43 -0
- package/dist/views/unit/components/unit-used-by/UnitUsedBy.vue.d.ts +12 -0
- package/dist/views/unit/components/unit-used-by/UnitUsedByProps.d.ts +3 -0
- package/dist/views/unit/composables/use-unit-form.d.ts +8 -0
- package/dist/views/unit/composables/use-unit-table.d.ts +19 -0
- package/dist/views/unit/type.d.ts +2 -0
- package/dist/views/warehouse/WarehouseView.vue.d.ts +2 -0
- package/dist/views/warehouse/components/WarehouseDialog.vue.d.ts +22 -0
- package/dist/views/warehouse/components/WarehouseDialogProps.d.ts +10 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +174 -0
- package/dist/views/warehouse/components/WarehouseFormProps.d.ts +8 -0
- package/dist/views/warehouse/composables/use-warehouse-table.d.ts +12 -0
- package/dist/xlsx-BljO4Lx2.js +15510 -0
- package/package.json +93 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { _ as y } from "./FmMultiselectDialog.vue_vue_type_script_setup_true_lang-BXU7x6di.js";
|
|
2
|
+
import { u as g } from "./app-BzDhmCVx.js";
|
|
3
|
+
import { useDialog as _ } from "@feedmepos/ui-library";
|
|
4
|
+
function E(o, r = !1) {
|
|
5
|
+
var p;
|
|
6
|
+
return o ? [
|
|
7
|
+
{
|
|
8
|
+
label: r ? o.abbrev : `1 ${o.name} (${o.abbrev})`,
|
|
9
|
+
abbrev: o.abbrev,
|
|
10
|
+
value: null
|
|
11
|
+
},
|
|
12
|
+
...((p = o.measurements) == null ? void 0 : p.map((t) => ({
|
|
13
|
+
label: r ? t.abbrev : `1 ${t.name} (${t.abbrev})`,
|
|
14
|
+
abbrev: t.abbrev,
|
|
15
|
+
value: t.id
|
|
16
|
+
}))) ?? []
|
|
17
|
+
] : [];
|
|
18
|
+
}
|
|
19
|
+
function k() {
|
|
20
|
+
const o = g(), r = _();
|
|
21
|
+
async function u(t, c, l, b = []) {
|
|
22
|
+
const f = t.filter((n) => n.type === "SKU"), d = t.filter((n) => n.type === "RECIPE"), e = (l ? o.skus.filter(
|
|
23
|
+
(n) => {
|
|
24
|
+
var i, s;
|
|
25
|
+
return !b.some((a) => a === n._id) && n._id !== l && !((s = (i = n.convert) == null ? void 0 : i.inventoryBindings) != null && s.some((a) => a.id === l));
|
|
26
|
+
}
|
|
27
|
+
) : o.skus).map((n) => ({
|
|
28
|
+
label: n.name,
|
|
29
|
+
sublabel: n.code,
|
|
30
|
+
value: n
|
|
31
|
+
})), m = e.filter((n) => f.find((i) => i.id === n.value._id)).map((n) => n.value);
|
|
32
|
+
r.open({
|
|
33
|
+
title: "Select Ingredients",
|
|
34
|
+
contentComponent: y,
|
|
35
|
+
contentComponentProps: {
|
|
36
|
+
items: e,
|
|
37
|
+
modelValue: m
|
|
38
|
+
},
|
|
39
|
+
primaryActions: {
|
|
40
|
+
text: "Confirm",
|
|
41
|
+
close: !0
|
|
42
|
+
},
|
|
43
|
+
secondaryActions: {
|
|
44
|
+
text: "Close",
|
|
45
|
+
close: !0,
|
|
46
|
+
variant: "tertiary"
|
|
47
|
+
}
|
|
48
|
+
}).onPrimary((n) => {
|
|
49
|
+
const i = [
|
|
50
|
+
...d,
|
|
51
|
+
...t.filter((s) => n.find((a) => a._id === s.id)),
|
|
52
|
+
...n.filter((s) => !t.find((a) => a.id === s._id)).map((s) => ({
|
|
53
|
+
type: "SKU",
|
|
54
|
+
id: s._id,
|
|
55
|
+
amount: {
|
|
56
|
+
amount: 1,
|
|
57
|
+
precision: 0
|
|
58
|
+
}
|
|
59
|
+
}))
|
|
60
|
+
];
|
|
61
|
+
c(i);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
async function p(t, c, l = []) {
|
|
65
|
+
const b = t.filter((e) => e.type === "SKU"), f = t.filter((e) => e.type === "RECIPE"), d = o.recipes.filter((e) => !l.includes(e._id)).map((e) => ({
|
|
66
|
+
label: e.name,
|
|
67
|
+
value: e
|
|
68
|
+
})), v = d.filter((e) => f.find((m) => m.id === e.value._id)).map((e) => e.value);
|
|
69
|
+
r.open({
|
|
70
|
+
title: "Select Recipes",
|
|
71
|
+
contentComponent: y,
|
|
72
|
+
contentComponentProps: {
|
|
73
|
+
items: d,
|
|
74
|
+
modelValue: v
|
|
75
|
+
},
|
|
76
|
+
primaryActions: {
|
|
77
|
+
text: "Confirm",
|
|
78
|
+
close: !0
|
|
79
|
+
},
|
|
80
|
+
secondaryActions: {
|
|
81
|
+
text: "Close",
|
|
82
|
+
close: !0,
|
|
83
|
+
variant: "tertiary"
|
|
84
|
+
}
|
|
85
|
+
}).onPrimary((e) => {
|
|
86
|
+
const m = [
|
|
87
|
+
...t.filter((n) => e.find((i) => i._id === n.id)),
|
|
88
|
+
...e.filter((n) => !t.find((i) => i.id === n._id)).map((n) => ({
|
|
89
|
+
type: "RECIPE",
|
|
90
|
+
id: n._id,
|
|
91
|
+
amount: {
|
|
92
|
+
amount: 1,
|
|
93
|
+
precision: 0
|
|
94
|
+
}
|
|
95
|
+
})),
|
|
96
|
+
...b
|
|
97
|
+
];
|
|
98
|
+
c(m);
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
promptIngredientsBinding: u,
|
|
103
|
+
promptRecipesBinding: p
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
export {
|
|
107
|
+
E as g,
|
|
108
|
+
k as u
|
|
109
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const debugAuth: {
|
|
2
|
+
businesses: {
|
|
3
|
+
_id: string;
|
|
4
|
+
restaurantQuota: number;
|
|
5
|
+
warehouseQuota: number;
|
|
6
|
+
internal: boolean;
|
|
7
|
+
name: string;
|
|
8
|
+
ownerId: string;
|
|
9
|
+
menuVersion: string;
|
|
10
|
+
customerDisplayImages: never[];
|
|
11
|
+
__v: number;
|
|
12
|
+
pf_agent: null;
|
|
13
|
+
}[];
|
|
14
|
+
user: {
|
|
15
|
+
id: string;
|
|
16
|
+
email: string;
|
|
17
|
+
photoURL: null;
|
|
18
|
+
displayName: string;
|
|
19
|
+
phoneNumber: string;
|
|
20
|
+
};
|
|
21
|
+
token: string;
|
|
22
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export declare const nestedOptions: ({
|
|
2
|
+
label: string;
|
|
3
|
+
sublabel: string;
|
|
4
|
+
value: string;
|
|
5
|
+
children: ({
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
sublabel: string;
|
|
9
|
+
children: {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
children: {
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}[];
|
|
16
|
+
}[];
|
|
17
|
+
} | {
|
|
18
|
+
label: string;
|
|
19
|
+
value: string;
|
|
20
|
+
sublabel: string;
|
|
21
|
+
children?: undefined;
|
|
22
|
+
})[];
|
|
23
|
+
} | {
|
|
24
|
+
label: string;
|
|
25
|
+
value: string;
|
|
26
|
+
sublabel: string;
|
|
27
|
+
children: ({
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
children: {
|
|
31
|
+
label: string;
|
|
32
|
+
value: string;
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
children: {
|
|
35
|
+
label: string;
|
|
36
|
+
value: string;
|
|
37
|
+
}[];
|
|
38
|
+
}[];
|
|
39
|
+
} | {
|
|
40
|
+
label: string;
|
|
41
|
+
value: string;
|
|
42
|
+
children: {
|
|
43
|
+
label: string;
|
|
44
|
+
value: string;
|
|
45
|
+
children: {
|
|
46
|
+
label: string;
|
|
47
|
+
value: string;
|
|
48
|
+
}[];
|
|
49
|
+
}[];
|
|
50
|
+
} | {
|
|
51
|
+
label: string;
|
|
52
|
+
value: string;
|
|
53
|
+
children?: undefined;
|
|
54
|
+
})[];
|
|
55
|
+
} | {
|
|
56
|
+
label: string;
|
|
57
|
+
value: string;
|
|
58
|
+
sublabel: string;
|
|
59
|
+
children?: undefined;
|
|
60
|
+
})[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
subject: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
6
|
+
items: {
|
|
7
|
+
type: PropType<{
|
|
8
|
+
module: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
subject: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
17
|
+
items: {
|
|
18
|
+
type: PropType<{
|
|
19
|
+
module: string;
|
|
20
|
+
name: string;
|
|
21
|
+
}[]>;
|
|
22
|
+
default: () => never[];
|
|
23
|
+
};
|
|
24
|
+
}>>, {
|
|
25
|
+
items: {
|
|
26
|
+
module: string;
|
|
27
|
+
name: string;
|
|
28
|
+
}[];
|
|
29
|
+
}, {}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { ConvertFormProps } from './ConvertFormProps';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ConvertFormProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (mv: {
|
|
4
|
+
measurement?: string | null | undefined;
|
|
5
|
+
inventoryBindings?: {
|
|
6
|
+
measurement?: {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
abbrev: string;
|
|
10
|
+
conversion: {
|
|
11
|
+
amount: number;
|
|
12
|
+
precision: number;
|
|
13
|
+
};
|
|
14
|
+
} | null | undefined;
|
|
15
|
+
type: "RECIPE" | "SKU";
|
|
16
|
+
amount: {
|
|
17
|
+
amount: number;
|
|
18
|
+
precision: number;
|
|
19
|
+
};
|
|
20
|
+
id: string;
|
|
21
|
+
}[] | null | undefined;
|
|
22
|
+
} | null | undefined) => void;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ConvertFormProps>>> & {
|
|
24
|
+
"onUpdate:modelValue"?: ((mv: {
|
|
25
|
+
measurement?: string | null | undefined;
|
|
26
|
+
inventoryBindings?: {
|
|
27
|
+
measurement?: {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
abbrev: string;
|
|
31
|
+
conversion: {
|
|
32
|
+
amount: number;
|
|
33
|
+
precision: number;
|
|
34
|
+
};
|
|
35
|
+
} | null | undefined;
|
|
36
|
+
type: "RECIPE" | "SKU";
|
|
37
|
+
amount: {
|
|
38
|
+
amount: number;
|
|
39
|
+
precision: number;
|
|
40
|
+
};
|
|
41
|
+
id: string;
|
|
42
|
+
}[] | null | undefined;
|
|
43
|
+
} | null | undefined) => any) | undefined;
|
|
44
|
+
}, {}, {}>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItem.vue.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IngredientBindedItemProps } from './IngredientBindedItemProps';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<IngredientBindedItemProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IngredientBindedItemProps>>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { IngredientDialogProps } from './IngredientDialogProps';
|
|
2
|
+
import { FormMode } from '@/components/form/form-mode.enum';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IngredientDialogProps>, {
|
|
4
|
+
mode: FormMode;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:show": (show: boolean) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IngredientDialogProps>, {
|
|
8
|
+
mode: FormMode;
|
|
9
|
+
}>>> & {
|
|
10
|
+
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
mode: FormMode;
|
|
13
|
+
}, {}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FormMode } from '@/components/form/form-mode.enum';
|
|
2
|
+
export interface IngredientDialogProps {
|
|
3
|
+
show?: boolean;
|
|
4
|
+
unit?: FdoInventorySku | null;
|
|
5
|
+
mode?: FormMode;
|
|
6
|
+
}
|
|
7
|
+
export interface IngredientDialogEvents {
|
|
8
|
+
(event: 'update:show', show: boolean): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { IngredientFormProps } from './IngredientFormProps';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<IngredientFormProps>, {
|
|
3
|
+
validateInputs: () => void;
|
|
4
|
+
resetInputsValidation: () => void;
|
|
5
|
+
resetInputs: () => void;
|
|
6
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (mv: {
|
|
8
|
+
trackingMeasurement?: string | null | undefined;
|
|
9
|
+
convert?: {
|
|
10
|
+
measurement?: string | null | undefined;
|
|
11
|
+
inventoryBindings?: {
|
|
12
|
+
measurement?: {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
abbrev: string;
|
|
16
|
+
conversion: {
|
|
17
|
+
amount: number;
|
|
18
|
+
precision: number;
|
|
19
|
+
};
|
|
20
|
+
} | null | undefined;
|
|
21
|
+
type: "RECIPE" | "SKU";
|
|
22
|
+
amount: {
|
|
23
|
+
amount: number;
|
|
24
|
+
precision: number;
|
|
25
|
+
};
|
|
26
|
+
id: string;
|
|
27
|
+
}[] | null | undefined;
|
|
28
|
+
} | null | undefined;
|
|
29
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
30
|
+
unit: {
|
|
31
|
+
_id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
abbrev: string;
|
|
34
|
+
precision: number;
|
|
35
|
+
measurements: {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
abbrev: string;
|
|
39
|
+
conversion: {
|
|
40
|
+
amount: number;
|
|
41
|
+
precision: number;
|
|
42
|
+
};
|
|
43
|
+
}[];
|
|
44
|
+
};
|
|
45
|
+
code: string;
|
|
46
|
+
_id: string;
|
|
47
|
+
name: string;
|
|
48
|
+
}) => void;
|
|
49
|
+
"click:submit": () => void;
|
|
50
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IngredientFormProps>>> & {
|
|
51
|
+
"onUpdate:modelValue"?: ((mv: {
|
|
52
|
+
trackingMeasurement?: string | null | undefined;
|
|
53
|
+
convert?: {
|
|
54
|
+
measurement?: string | null | undefined;
|
|
55
|
+
inventoryBindings?: {
|
|
56
|
+
measurement?: {
|
|
57
|
+
id: string;
|
|
58
|
+
name: string;
|
|
59
|
+
abbrev: string;
|
|
60
|
+
conversion: {
|
|
61
|
+
amount: number;
|
|
62
|
+
precision: number;
|
|
63
|
+
};
|
|
64
|
+
} | null | undefined;
|
|
65
|
+
type: "RECIPE" | "SKU";
|
|
66
|
+
amount: {
|
|
67
|
+
amount: number;
|
|
68
|
+
precision: number;
|
|
69
|
+
};
|
|
70
|
+
id: string;
|
|
71
|
+
}[] | null | undefined;
|
|
72
|
+
} | null | undefined;
|
|
73
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
74
|
+
unit: {
|
|
75
|
+
_id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
abbrev: string;
|
|
78
|
+
precision: number;
|
|
79
|
+
measurements: {
|
|
80
|
+
id: string;
|
|
81
|
+
name: string;
|
|
82
|
+
abbrev: string;
|
|
83
|
+
conversion: {
|
|
84
|
+
amount: number;
|
|
85
|
+
precision: number;
|
|
86
|
+
};
|
|
87
|
+
}[];
|
|
88
|
+
};
|
|
89
|
+
code: string;
|
|
90
|
+
_id: string;
|
|
91
|
+
name: string;
|
|
92
|
+
}) => any) | undefined;
|
|
93
|
+
"onClick:submit"?: (() => any) | undefined;
|
|
94
|
+
}, {}, {}>;
|
|
95
|
+
export default _default;
|
|
96
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
97
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
98
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
99
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
100
|
+
} : {
|
|
101
|
+
type: import('vue').PropType<T[K]>;
|
|
102
|
+
required: true;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FormMode } from '@/components/form/form-mode.enum';
|
|
2
|
+
export interface IngredientFormProps {
|
|
3
|
+
mode: FormMode;
|
|
4
|
+
modelValue: FdoInventorySku | null;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface InventoryFormEvents {
|
|
8
|
+
(event: 'update:modelValue', mv: FdoInventorySku): void;
|
|
9
|
+
(event: 'click:submit'): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export interface InventoryBindingFormProps {
|
|
2
|
+
id?: string;
|
|
3
|
+
modelValue?: FdoInventoryBinding[];
|
|
4
|
+
excludeBindingId?: string;
|
|
5
|
+
iframeMode?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InventoryBindingFormProps>, {
|
|
9
|
+
modelValue: () => never[];
|
|
10
|
+
errors: () => never[];
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (bindings: {
|
|
13
|
+
measurement?: {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
abbrev: string;
|
|
17
|
+
conversion: {
|
|
18
|
+
amount: number;
|
|
19
|
+
precision: number;
|
|
20
|
+
};
|
|
21
|
+
} | null | undefined;
|
|
22
|
+
type: "RECIPE" | "SKU";
|
|
23
|
+
amount: {
|
|
24
|
+
amount: number;
|
|
25
|
+
precision: number;
|
|
26
|
+
};
|
|
27
|
+
id: string;
|
|
28
|
+
}[]) => void;
|
|
29
|
+
"click:pick-inventory-bindings": (type: "RECIPE" | "SKU") => void;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InventoryBindingFormProps>, {
|
|
31
|
+
modelValue: () => never[];
|
|
32
|
+
errors: () => never[];
|
|
33
|
+
}>>> & {
|
|
34
|
+
"onUpdate:modelValue"?: ((bindings: {
|
|
35
|
+
measurement?: {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
abbrev: string;
|
|
39
|
+
conversion: {
|
|
40
|
+
amount: number;
|
|
41
|
+
precision: number;
|
|
42
|
+
};
|
|
43
|
+
} | null | undefined;
|
|
44
|
+
type: "RECIPE" | "SKU";
|
|
45
|
+
amount: {
|
|
46
|
+
amount: number;
|
|
47
|
+
precision: number;
|
|
48
|
+
};
|
|
49
|
+
id: string;
|
|
50
|
+
}[]) => any) | undefined;
|
|
51
|
+
"onClick:pick-inventory-bindings"?: ((type: "RECIPE" | "SKU") => any) | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
modelValue: {
|
|
54
|
+
measurement?: {
|
|
55
|
+
id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
abbrev: string;
|
|
58
|
+
conversion: {
|
|
59
|
+
amount: number;
|
|
60
|
+
precision: number;
|
|
61
|
+
};
|
|
62
|
+
} | null | undefined;
|
|
63
|
+
type: "RECIPE" | "SKU";
|
|
64
|
+
amount: {
|
|
65
|
+
amount: number;
|
|
66
|
+
precision: number;
|
|
67
|
+
};
|
|
68
|
+
id: string;
|
|
69
|
+
}[];
|
|
70
|
+
}, {}>;
|
|
71
|
+
export default _default;
|
|
72
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
73
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
74
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
75
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
76
|
+
} : {
|
|
77
|
+
type: import('vue').PropType<T[K]>;
|
|
78
|
+
required: true;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
type __VLS_WithDefaults<P, D> = {
|
|
82
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
83
|
+
default: D[K];
|
|
84
|
+
}> : P[K];
|
|
85
|
+
};
|
|
86
|
+
type __VLS_Prettify<T> = {
|
|
87
|
+
[K in keyof T]: T[K];
|
|
88
|
+
} & {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function useInventoryBindingDialog(): {
|
|
2
|
+
promptIngredientsBinding: (currentBindings: FdoInventoryBinding[], onUpdateInventoryBindings: (bindings: FdoInventoryBinding[]) => void, excludeBindingId?: string, excludeIds?: string[]) => Promise<void>;
|
|
3
|
+
promptRecipesBinding: (currentBindings: FdoInventoryBinding[], onUpdateInventoryBindings: (mv: FdoInventoryBinding[]) => void, excludeIds?: string[]) => Promise<void>;
|
|
4
|
+
};
|