@feedmepos/mf-inventory-portal 1.4.1-dev.1 → 1.4.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-ChJEzu4r.js → App-D8p5pMar.js} +5 -5
- package/dist/{ApprovalView-DE7cizNA.js → ApprovalView-B6WmrP3R.js} +7 -7
- package/dist/{BindingsDialog-BsMtvOJG.js → BindingsDialog-DAG2toHR.js} +2 -2
- package/dist/{BindingsPicker-Cqm2FCk4.js → BindingsPicker-CPbNuwFq.js} +2 -2
- package/dist/{BindingsTable-DnmlqSXV.js → BindingsTable-Hkkel0vq.js} +3 -3
- package/dist/{ClosingDraftView-DCo7R5X_.js → ClosingDraftView-JCtS2MZa.js} +15 -15
- package/dist/{ClosingHistoryView-B8pvoz_L.js → ClosingHistoryView-D7GacAqj.js} +5 -5
- package/dist/{ClosingTemplateView-BhWMZskM.js → ClosingTemplateView-DqpbjHK2.js} +14 -14
- package/dist/{DefaultView-7L4zg3pD.js → DefaultView-BSm6fE5w.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BJUAI20p.js → DeliveryOrderPrintPreview-DFj56iJk.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CZz44xPT.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CaVUl6v3.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D2xaJ_fT.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-FunJ5ZX5.js} +2 -2
- package/dist/{FmMultiselectDialog-CSlbhVxn.js → FmMultiselectDialog-BE2Tqm4H.js} +1 -1
- package/dist/{FmMultiselectDialog-CPt0eMqz.js → FmMultiselectDialog-DpekFj8a.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DeFbqEt_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Bt_kCIFn.js} +4 -4
- package/dist/{ImportView-DDq7-EqO.js → ImportView-CAcUO9Pv.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-TLC_uZ1L.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-0Abq7FDN.js} +1 -1
- package/dist/{IngredientGroupView-BOPm59h1.js → IngredientGroupView-CeUfykez.js} +5 -5
- package/dist/{IngredientsView-Drxqdl5C.js → IngredientsView-Cdhgw3Tw.js} +15 -15
- package/dist/{IntegrationExplorerView-ClolIlZJ.js → IntegrationExplorerView-BioiObpU.js} +5 -5
- package/dist/{IntegrationView-BhsxOMny.js → IntegrationView-BHjOvMpX.js} +13 -13
- package/dist/{InventoryBindingForm-DSmmb2Re.js → InventoryBindingForm-D892WEqV.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bs1WRSC4.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BMfmKcz8.js} +5 -5
- package/dist/{InventoryBindingSummary-DwmmGqLA.js → InventoryBindingSummary-DOGWF0fo.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cBTXwRyT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B-dhMJ0F.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-WgbXX2to.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CKuIWTXZ.js} +1 -1
- package/dist/{PublishView-CjIwzQ1D.js → PublishView-Dh6OiaG1.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-D14UaMbm.js → PurchaseOrderPrintPreview-Cpme08gm.js} +2 -2
- package/dist/{ReceiveRequestView-C5s6H1ly.js → ReceiveRequestView-Dldwu3-H.js} +25 -25
- package/dist/{RecipeView-BWlgNjqM.js → RecipeView-gkZuFdCP.js} +17 -17
- package/dist/{SettingsView-BiaJS0Qs.js → SettingsView-wOy_OATI.js} +4 -4
- package/dist/{StockView-DzdW3saV.js → StockView-DeLcyQrC.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CziwNGpm.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C2Jax3tb.js} +1 -1
- package/dist/{SupplierView-CEH1mh4O.js → SupplierView-Bf2AW8JH.js} +12 -12
- package/dist/{SurchargeView-DLL1vb1m.js → SurchargeView-CJtg87ol.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CyzJFEM1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bfzqxalj.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-riu5GB0x.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CEz3Yc2Z.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CdPx9jtv.js → TransferDetails.vue_vue_type_script_setup_true_lang-CcpH12aM.js} +20 -20
- package/dist/{TransferTemplateView-B1hOOEld.js → TransferTemplateView-DpWFExzQ.js} +18 -18
- package/dist/{UnitCostHistoryView-CfVLgSsg.js → UnitCostHistoryView-PEexDaAO.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D_5MeWML.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-i8HZEphD.js} +4 -4
- package/dist/{UnitView-CNEW1ZyC.js → UnitView-BPyyMHKE.js} +7 -7
- package/dist/{WarehouseView-BAEddBqH.js → WarehouseView-BmCech19.js} +5 -5
- package/dist/{WastageTemplateView-BDDcGlH1.js → WastageTemplateView-DJOBAWKd.js} +14 -14
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +92 -92
- package/dist/api/netsuite.d.ts +67 -67
- package/dist/api/surcharge.d.ts +2 -2
- package/dist/{app-8jckOqPv.js → app-D4P-koOR.js} +31824 -31795
- package/dist/app.d.ts +24 -24
- package/dist/app.js +1 -1
- package/dist/{closing-template-DI_wHTs-.js → closing-template-CCvXzoLm.js} +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +20 -20
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +6 -6
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +11 -11
- package/dist/{date2-R--GWp3h.js → date2-XHYHbI0K.js} +1 -1
- package/dist/{dayjs.min-BLMwzZoP.js → dayjs.min-pkE_kmHZ.js} +1 -1
- package/dist/{decimal-C1gVMYNr.js → decimal-CQ7SlCe0.js} +2 -2
- package/dist/{defineDeepModel-v4CSJ0KR.js → defineDeepModel-CZDkmNol.js} +1 -1
- package/dist/{duplicate-template-B2FyWucr.js → duplicate-template-BQ0bF_MO.js} +1 -1
- package/dist/export-CDIp6ydU.js +26 -0
- package/dist/{feature-D5wDntDA.js → feature-C4zPjstX.js} +2 -2
- package/dist/{format-time-from-id-iIaeuVUR.js → format-time-from-id-D_USijTz.js} +1 -1
- package/dist/{format-unit-display-DoXOol_B.js → format-unit-display-CF6-yU7v.js} +11 -11
- package/dist/helper/xlsx.util.d.ts +9 -0
- package/dist/{import-export.helper-CRZm_4kx.js → import-export.helper-iVXMr9yw.js} +6 -6
- package/dist/{index-DvydJuBP.js → index-BIG8c4oA.js} +3 -3
- package/dist/{index-Dctf0kPG.js → index-CTNLpvtM.js} +1 -1
- package/dist/{index-BlCcDs_t.js → index-EoaZ_eFV.js} +1 -1
- package/dist/{inventory-core-dart.default-BGNoRNOu.js → inventory-core-dart.default-D6cCA8tk.js} +1 -1
- package/dist/{lodash-BGLr9-Z4.js → lodash-DR7t9CsC.js} +1 -1
- package/dist/{lz-string-BXxSHhql.js → lz-string-DgqLqrsO.js} +1 -1
- package/dist/modules/print-template/api/print-template.d.ts +3 -3
- package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +6 -6
- package/dist/modules/print-template/store/print-template.d.ts +36 -36
- package/dist/{netsuite-QrjgLCzF.js → netsuite-ByBZj6uf.js} +55 -44
- package/dist/{number-BW3CMNw8.js → number-f4J4YlZT.js} +3 -3
- package/dist/{predefined-templates-BAl0dgvF.js → predefined-templates-BlmLhRsh.js} +1 -1
- package/dist/{purchase-order-template-BXiI76-R.js → purchase-order-template-BS94QDpg.js} +1 -1
- package/dist/{recalculationUtils-DryzcsyX.js → recalculationUtils-D0wl-tgM.js} +1 -1
- package/dist/{rules-uhOTzvDT.js → rules-Cpi5Vduo.js} +2 -2
- package/dist/{stock-DIzLmqOG.js → stock-BynB5KIH.js} +1 -1
- package/dist/{stock-CFigyCpv.js → stock-GYUDrBUF.js} +3 -3
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +22 -22
- package/dist/stores/inventory.d.ts +91 -91
- package/dist/stores/location.d.ts +28 -28
- package/dist/stores/stock.d.ts +3 -3
- package/dist/stores/supplier.d.ts +120 -120
- package/dist/stores/surcharge.d.ts +1 -1
- package/dist/stores/warehouse.d.ts +5 -5
- package/dist/{supplier-DnHSGzUP.js → supplier-BDpzWHvm.js} +2 -2
- package/dist/{surcharge-NTU0Whsq.js → surcharge-ztZ3mUE2.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BTeCOYD1.js → use-ingredient-select-dialog-xx_W7OyU.js} +2 -2
- package/dist/{use-inventory-binding-dialog-C5dSHkMZ.js → use-inventory-binding-dialog-B_OV8CCL.js} +2 -2
- package/dist/{use-template-enabled-locations-Ba9BFrFN.js → use-template-enabled-locations-ByOi4t2R.js} +2 -2
- package/dist/{use-transfer-locations-D__VLxA7.js → use-transfer-locations-BOR-wq8s.js} +2 -2
- package/dist/{useHrmPermission-DMlbCSlp.js → useHrmPermission-BtXw89bp.js} +1 -1
- package/dist/{useNavigationMenu-jtnBmp0t.js → useNavigationMenu-Ds6IBfYX.js} +2 -2
- package/dist/{useSseClient-D8q23tYV.js → useSseClient-q5d7Qjrq.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -60
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/table.d.ts +66 -66
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +156 -156
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +55 -55
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +234 -234
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -8
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +132 -132
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +132 -132
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +2 -2
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +1 -1
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +9 -9
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +6 -6
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -32
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +4 -4
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +1 -1
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -8
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +32 -32
- package/dist/views/integration/components/netsuite/PurchaseOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/TransferOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +12 -12
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +60 -60
- package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +4 -4
- package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +152 -152
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +32 -32
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +64 -64
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +16 -16
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +221 -221
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1503 -1503
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1758 -1758
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +6 -6
- package/dist/views/recipe/composables/use-recipe-bulk-editor.d.ts +90 -90
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +26 -26
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +2 -2
- package/dist/views/supplier/composables/use-supplier-table.d.ts +5 -5
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +122 -122
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +18 -18
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +32 -32
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -16
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +16 -16
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +48 -48
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +757 -757
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +755 -755
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +2 -2
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +2 -2
- package/dist/views/unit/composables/use-unit-table.d.ts +1 -1
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +3 -3
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +10 -10
- package/dist/{vue-i18n-8-OMxHzQ.js → vue-i18n-C35dl24s.js} +302 -302
- package/dist/{xlsx-BFjtlsJV.js → xlsx-CzLrFB_A.js} +1 -1
- package/dist/xlsx.util-osyDkxYO.js +101 -0
- package/package.json +5 -5
- package/dist/export-rvaYes9_.js +0 -25
- package/dist/xlsx.util-0LMGvDYM.js +0 -78
package/dist/app.d.ts
CHANGED
|
@@ -5461,8 +5461,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5461
5461
|
rules: {
|
|
5462
5462
|
type: import("vue").PropType<(import("@feedmepos/ui-library").ValidationResult | ((bindings: {
|
|
5463
5463
|
measurement?: {
|
|
5464
|
-
id: string;
|
|
5465
5464
|
name: string;
|
|
5465
|
+
id: string;
|
|
5466
5466
|
abbrev: string;
|
|
5467
5467
|
conversion: {
|
|
5468
5468
|
amount: number;
|
|
@@ -5471,17 +5471,17 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5471
5471
|
} | null | undefined;
|
|
5472
5472
|
rules?: Record<string, any> | null | undefined;
|
|
5473
5473
|
alternatives?: {
|
|
5474
|
-
priority?: number | null | undefined;
|
|
5475
5474
|
default?: boolean | null | undefined;
|
|
5476
5475
|
trackingMeasurement?: string | null | undefined;
|
|
5476
|
+
priority?: number | null | undefined;
|
|
5477
5477
|
_id: string;
|
|
5478
5478
|
}[] | null | undefined;
|
|
5479
|
-
id: string;
|
|
5480
5479
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
5481
5480
|
amount: {
|
|
5482
5481
|
amount: number;
|
|
5483
5482
|
precision: number;
|
|
5484
5483
|
};
|
|
5484
|
+
id: string;
|
|
5485
5485
|
}[]) => import("@feedmepos/ui-library").ValidationResult))[]>;
|
|
5486
5486
|
default: () => never[];
|
|
5487
5487
|
};
|
|
@@ -5497,8 +5497,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5497
5497
|
modelValue: {
|
|
5498
5498
|
type: import("vue").PropType<{
|
|
5499
5499
|
measurement?: {
|
|
5500
|
-
id: string;
|
|
5501
5500
|
name: string;
|
|
5501
|
+
id: string;
|
|
5502
5502
|
abbrev: string;
|
|
5503
5503
|
conversion: {
|
|
5504
5504
|
amount: number;
|
|
@@ -5507,17 +5507,17 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5507
5507
|
} | null | undefined;
|
|
5508
5508
|
rules?: Record<string, any> | null | undefined;
|
|
5509
5509
|
alternatives?: {
|
|
5510
|
-
priority?: number | null | undefined;
|
|
5511
5510
|
default?: boolean | null | undefined;
|
|
5512
5511
|
trackingMeasurement?: string | null | undefined;
|
|
5512
|
+
priority?: number | null | undefined;
|
|
5513
5513
|
_id: string;
|
|
5514
5514
|
}[] | null | undefined;
|
|
5515
|
-
id: string;
|
|
5516
5515
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
5517
5516
|
amount: {
|
|
5518
5517
|
amount: number;
|
|
5519
5518
|
precision: number;
|
|
5520
5519
|
};
|
|
5520
|
+
id: string;
|
|
5521
5521
|
}[]>;
|
|
5522
5522
|
default: () => never[];
|
|
5523
5523
|
};
|
|
@@ -5530,8 +5530,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5530
5530
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5531
5531
|
"update:modelValue": (bindings: {
|
|
5532
5532
|
measurement?: {
|
|
5533
|
-
id: string;
|
|
5534
5533
|
name: string;
|
|
5534
|
+
id: string;
|
|
5535
5535
|
abbrev: string;
|
|
5536
5536
|
conversion: {
|
|
5537
5537
|
amount: number;
|
|
@@ -5540,17 +5540,17 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5540
5540
|
} | null | undefined;
|
|
5541
5541
|
rules?: Record<string, any> | null | undefined;
|
|
5542
5542
|
alternatives?: {
|
|
5543
|
-
priority?: number | null | undefined;
|
|
5544
5543
|
default?: boolean | null | undefined;
|
|
5545
5544
|
trackingMeasurement?: string | null | undefined;
|
|
5545
|
+
priority?: number | null | undefined;
|
|
5546
5546
|
_id: string;
|
|
5547
5547
|
}[] | null | undefined;
|
|
5548
|
-
id: string;
|
|
5549
5548
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
5550
5549
|
amount: {
|
|
5551
5550
|
amount: number;
|
|
5552
5551
|
precision: number;
|
|
5553
5552
|
};
|
|
5553
|
+
id: string;
|
|
5554
5554
|
}[]) => void;
|
|
5555
5555
|
"click:pick-inventory-bindings": (type: "RECIPE" | "SKU" | "SKU_GROUP") => void;
|
|
5556
5556
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -5560,8 +5560,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5560
5560
|
rules: {
|
|
5561
5561
|
type: import("vue").PropType<(import("@feedmepos/ui-library").ValidationResult | ((bindings: {
|
|
5562
5562
|
measurement?: {
|
|
5563
|
-
id: string;
|
|
5564
5563
|
name: string;
|
|
5564
|
+
id: string;
|
|
5565
5565
|
abbrev: string;
|
|
5566
5566
|
conversion: {
|
|
5567
5567
|
amount: number;
|
|
@@ -5570,17 +5570,17 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5570
5570
|
} | null | undefined;
|
|
5571
5571
|
rules?: Record<string, any> | null | undefined;
|
|
5572
5572
|
alternatives?: {
|
|
5573
|
-
priority?: number | null | undefined;
|
|
5574
5573
|
default?: boolean | null | undefined;
|
|
5575
5574
|
trackingMeasurement?: string | null | undefined;
|
|
5575
|
+
priority?: number | null | undefined;
|
|
5576
5576
|
_id: string;
|
|
5577
5577
|
}[] | null | undefined;
|
|
5578
|
-
id: string;
|
|
5579
5578
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
5580
5579
|
amount: {
|
|
5581
5580
|
amount: number;
|
|
5582
5581
|
precision: number;
|
|
5583
5582
|
};
|
|
5583
|
+
id: string;
|
|
5584
5584
|
}[]) => import("@feedmepos/ui-library").ValidationResult))[]>;
|
|
5585
5585
|
default: () => never[];
|
|
5586
5586
|
};
|
|
@@ -5596,8 +5596,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5596
5596
|
modelValue: {
|
|
5597
5597
|
type: import("vue").PropType<{
|
|
5598
5598
|
measurement?: {
|
|
5599
|
-
id: string;
|
|
5600
5599
|
name: string;
|
|
5600
|
+
id: string;
|
|
5601
5601
|
abbrev: string;
|
|
5602
5602
|
conversion: {
|
|
5603
5603
|
amount: number;
|
|
@@ -5606,17 +5606,17 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5606
5606
|
} | null | undefined;
|
|
5607
5607
|
rules?: Record<string, any> | null | undefined;
|
|
5608
5608
|
alternatives?: {
|
|
5609
|
-
priority?: number | null | undefined;
|
|
5610
5609
|
default?: boolean | null | undefined;
|
|
5611
5610
|
trackingMeasurement?: string | null | undefined;
|
|
5611
|
+
priority?: number | null | undefined;
|
|
5612
5612
|
_id: string;
|
|
5613
5613
|
}[] | null | undefined;
|
|
5614
|
-
id: string;
|
|
5615
5614
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
5616
5615
|
amount: {
|
|
5617
5616
|
amount: number;
|
|
5618
5617
|
precision: number;
|
|
5619
5618
|
};
|
|
5619
|
+
id: string;
|
|
5620
5620
|
}[]>;
|
|
5621
5621
|
default: () => never[];
|
|
5622
5622
|
};
|
|
@@ -5629,8 +5629,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5629
5629
|
}>> & Readonly<{
|
|
5630
5630
|
"onUpdate:modelValue"?: ((bindings: {
|
|
5631
5631
|
measurement?: {
|
|
5632
|
-
id: string;
|
|
5633
5632
|
name: string;
|
|
5633
|
+
id: string;
|
|
5634
5634
|
abbrev: string;
|
|
5635
5635
|
conversion: {
|
|
5636
5636
|
amount: number;
|
|
@@ -5639,24 +5639,24 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5639
5639
|
} | null | undefined;
|
|
5640
5640
|
rules?: Record<string, any> | null | undefined;
|
|
5641
5641
|
alternatives?: {
|
|
5642
|
-
priority?: number | null | undefined;
|
|
5643
5642
|
default?: boolean | null | undefined;
|
|
5644
5643
|
trackingMeasurement?: string | null | undefined;
|
|
5644
|
+
priority?: number | null | undefined;
|
|
5645
5645
|
_id: string;
|
|
5646
5646
|
}[] | null | undefined;
|
|
5647
|
-
id: string;
|
|
5648
5647
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
5649
5648
|
amount: {
|
|
5650
5649
|
amount: number;
|
|
5651
5650
|
precision: number;
|
|
5652
5651
|
};
|
|
5652
|
+
id: string;
|
|
5653
5653
|
}[]) => any) | undefined;
|
|
5654
5654
|
"onClick:pick-inventory-bindings"?: ((type: "RECIPE" | "SKU" | "SKU_GROUP") => any) | undefined;
|
|
5655
5655
|
}>, {
|
|
5656
5656
|
rules: (import("@feedmepos/ui-library").ValidationResult | ((bindings: {
|
|
5657
5657
|
measurement?: {
|
|
5658
|
-
id: string;
|
|
5659
5658
|
name: string;
|
|
5659
|
+
id: string;
|
|
5660
5660
|
abbrev: string;
|
|
5661
5661
|
conversion: {
|
|
5662
5662
|
amount: number;
|
|
@@ -5665,22 +5665,22 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5665
5665
|
} | null | undefined;
|
|
5666
5666
|
rules?: Record<string, any> | null | undefined;
|
|
5667
5667
|
alternatives?: {
|
|
5668
|
-
priority?: number | null | undefined;
|
|
5669
5668
|
default?: boolean | null | undefined;
|
|
5670
5669
|
trackingMeasurement?: string | null | undefined;
|
|
5670
|
+
priority?: number | null | undefined;
|
|
5671
5671
|
_id: string;
|
|
5672
5672
|
}[] | null | undefined;
|
|
5673
|
-
id: string;
|
|
5674
5673
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
5675
5674
|
amount: {
|
|
5676
5675
|
amount: number;
|
|
5677
5676
|
precision: number;
|
|
5678
5677
|
};
|
|
5678
|
+
id: string;
|
|
5679
5679
|
}[]) => import("@feedmepos/ui-library").ValidationResult))[];
|
|
5680
5680
|
modelValue: {
|
|
5681
5681
|
measurement?: {
|
|
5682
|
-
id: string;
|
|
5683
5682
|
name: string;
|
|
5683
|
+
id: string;
|
|
5684
5684
|
abbrev: string;
|
|
5685
5685
|
conversion: {
|
|
5686
5686
|
amount: number;
|
|
@@ -5689,17 +5689,17 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
5689
5689
|
} | null | undefined;
|
|
5690
5690
|
rules?: Record<string, any> | null | undefined;
|
|
5691
5691
|
alternatives?: {
|
|
5692
|
-
priority?: number | null | undefined;
|
|
5693
5692
|
default?: boolean | null | undefined;
|
|
5694
5693
|
trackingMeasurement?: string | null | undefined;
|
|
5694
|
+
priority?: number | null | undefined;
|
|
5695
5695
|
_id: string;
|
|
5696
5696
|
}[] | null | undefined;
|
|
5697
|
-
id: string;
|
|
5698
5697
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
5699
5698
|
amount: {
|
|
5700
5699
|
amount: number;
|
|
5701
5700
|
precision: number;
|
|
5702
5701
|
};
|
|
5702
|
+
id: string;
|
|
5703
5703
|
}[];
|
|
5704
5704
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5705
5705
|
export declare const InventoryBindingSummary: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
package/dist/app.js
CHANGED
|
@@ -6,8 +6,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6
6
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (modelValue: {
|
|
8
8
|
measurement?: {
|
|
9
|
-
id: string;
|
|
10
9
|
name: string;
|
|
10
|
+
id: string;
|
|
11
11
|
abbrev: string;
|
|
12
12
|
conversion: {
|
|
13
13
|
amount: number;
|
|
@@ -16,17 +16,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
} | null | undefined;
|
|
17
17
|
rules?: Record<string, any> | null | undefined;
|
|
18
18
|
alternatives?: {
|
|
19
|
-
priority?: number | null | undefined;
|
|
20
19
|
default?: boolean | null | undefined;
|
|
21
20
|
trackingMeasurement?: string | null | undefined;
|
|
21
|
+
priority?: number | null | undefined;
|
|
22
22
|
_id: string;
|
|
23
23
|
}[] | null | undefined;
|
|
24
|
-
id: string;
|
|
25
24
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
26
25
|
amount: {
|
|
27
26
|
amount: number;
|
|
28
27
|
precision: number;
|
|
29
28
|
};
|
|
29
|
+
id: string;
|
|
30
30
|
}[]) => void;
|
|
31
31
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InventoryBindingProps>, {
|
|
32
32
|
modelValue: () => never[];
|
|
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
35
35
|
}>>> & Readonly<{
|
|
36
36
|
"onUpdate:modelValue"?: ((modelValue: {
|
|
37
37
|
measurement?: {
|
|
38
|
-
id: string;
|
|
39
38
|
name: string;
|
|
39
|
+
id: string;
|
|
40
40
|
abbrev: string;
|
|
41
41
|
conversion: {
|
|
42
42
|
amount: number;
|
|
@@ -45,17 +45,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
45
45
|
} | null | undefined;
|
|
46
46
|
rules?: Record<string, any> | null | undefined;
|
|
47
47
|
alternatives?: {
|
|
48
|
-
priority?: number | null | undefined;
|
|
49
48
|
default?: boolean | null | undefined;
|
|
50
49
|
trackingMeasurement?: string | null | undefined;
|
|
50
|
+
priority?: number | null | undefined;
|
|
51
51
|
_id: string;
|
|
52
52
|
}[] | null | undefined;
|
|
53
|
-
id: string;
|
|
54
53
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
55
54
|
amount: {
|
|
56
55
|
amount: number;
|
|
57
56
|
precision: number;
|
|
58
57
|
};
|
|
58
|
+
id: string;
|
|
59
59
|
}[]) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
61
|
skus: {
|
|
@@ -65,8 +65,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
65
|
measurement?: string | null | undefined;
|
|
66
66
|
inventoryBindings?: {
|
|
67
67
|
measurement?: {
|
|
68
|
-
id: string;
|
|
69
68
|
name: string;
|
|
69
|
+
id: string;
|
|
70
70
|
abbrev: string;
|
|
71
71
|
conversion: {
|
|
72
72
|
amount: number;
|
|
@@ -75,24 +75,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
rules?: Record<string, any> | null | undefined;
|
|
77
77
|
alternatives?: {
|
|
78
|
-
priority?: number | null | undefined;
|
|
79
78
|
default?: boolean | null | undefined;
|
|
80
79
|
trackingMeasurement?: string | null | undefined;
|
|
80
|
+
priority?: number | null | undefined;
|
|
81
81
|
_id: string;
|
|
82
82
|
}[] | null | undefined;
|
|
83
|
-
id: string;
|
|
84
83
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
85
84
|
amount: {
|
|
86
85
|
amount: number;
|
|
87
86
|
precision: number;
|
|
88
87
|
};
|
|
88
|
+
id: string;
|
|
89
89
|
}[] | null | undefined;
|
|
90
90
|
} | null | undefined;
|
|
91
91
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
92
92
|
defaultCost?: {
|
|
93
93
|
measurement?: {
|
|
94
|
-
id: string;
|
|
95
94
|
name: string;
|
|
95
|
+
id: string;
|
|
96
96
|
abbrev: string;
|
|
97
97
|
conversion: {
|
|
98
98
|
amount: number;
|
|
@@ -111,17 +111,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
111
111
|
mid: number;
|
|
112
112
|
} | null | undefined;
|
|
113
113
|
customAttributes?: Record<string, any> | null | undefined;
|
|
114
|
-
_id: string;
|
|
115
|
-
name: string;
|
|
116
|
-
code: string;
|
|
117
114
|
unit: {
|
|
118
115
|
_id: string;
|
|
119
116
|
name: string;
|
|
120
117
|
abbrev: string;
|
|
121
118
|
precision: number;
|
|
122
119
|
measurements: {
|
|
123
|
-
id: string;
|
|
124
120
|
name: string;
|
|
121
|
+
id: string;
|
|
125
122
|
abbrev: string;
|
|
126
123
|
conversion: {
|
|
127
124
|
amount: number;
|
|
@@ -129,11 +126,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
126
|
};
|
|
130
127
|
}[];
|
|
131
128
|
};
|
|
129
|
+
code: string;
|
|
130
|
+
_id: string;
|
|
131
|
+
name: string;
|
|
132
132
|
}[];
|
|
133
133
|
modelValue: {
|
|
134
134
|
measurement?: {
|
|
135
|
-
id: string;
|
|
136
135
|
name: string;
|
|
136
|
+
id: string;
|
|
137
137
|
abbrev: string;
|
|
138
138
|
conversion: {
|
|
139
139
|
amount: number;
|
|
@@ -142,17 +142,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
142
142
|
} | null | undefined;
|
|
143
143
|
rules?: Record<string, any> | null | undefined;
|
|
144
144
|
alternatives?: {
|
|
145
|
-
priority?: number | null | undefined;
|
|
146
145
|
default?: boolean | null | undefined;
|
|
147
146
|
trackingMeasurement?: string | null | undefined;
|
|
147
|
+
priority?: number | null | undefined;
|
|
148
148
|
_id: string;
|
|
149
149
|
}[] | null | undefined;
|
|
150
|
-
id: string;
|
|
151
150
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
152
151
|
amount: {
|
|
153
152
|
amount: number;
|
|
154
153
|
precision: number;
|
|
155
154
|
};
|
|
155
|
+
id: string;
|
|
156
156
|
}[];
|
|
157
157
|
recipes: {
|
|
158
158
|
customAttributes?: Record<string, any> | null | undefined;
|
|
@@ -161,8 +161,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
161
|
name: string;
|
|
162
162
|
contains: {
|
|
163
163
|
measurement?: {
|
|
164
|
-
id: string;
|
|
165
164
|
name: string;
|
|
165
|
+
id: string;
|
|
166
166
|
abbrev: string;
|
|
167
167
|
conversion: {
|
|
168
168
|
amount: number;
|
|
@@ -171,17 +171,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
171
171
|
} | null | undefined;
|
|
172
172
|
rules?: Record<string, any> | null | undefined;
|
|
173
173
|
alternatives?: {
|
|
174
|
-
priority?: number | null | undefined;
|
|
175
174
|
default?: boolean | null | undefined;
|
|
176
175
|
trackingMeasurement?: string | null | undefined;
|
|
176
|
+
priority?: number | null | undefined;
|
|
177
177
|
_id: string;
|
|
178
178
|
}[] | null | undefined;
|
|
179
|
-
id: string;
|
|
180
179
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
181
180
|
amount: {
|
|
182
181
|
amount: number;
|
|
183
182
|
precision: number;
|
|
184
183
|
};
|
|
184
|
+
id: string;
|
|
185
185
|
}[];
|
|
186
186
|
}[];
|
|
187
187
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -14,8 +14,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
14
|
initialValue: {
|
|
15
15
|
type: PropType<{
|
|
16
16
|
measurement?: {
|
|
17
|
-
id: string;
|
|
18
17
|
name: string;
|
|
18
|
+
id: string;
|
|
19
19
|
abbrev: string;
|
|
20
20
|
conversion: {
|
|
21
21
|
amount: number;
|
|
@@ -24,17 +24,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
} | null | undefined;
|
|
25
25
|
rules?: Record<string, any> | null | undefined;
|
|
26
26
|
alternatives?: {
|
|
27
|
-
priority?: number | null | undefined;
|
|
28
27
|
default?: boolean | null | undefined;
|
|
29
28
|
trackingMeasurement?: string | null | undefined;
|
|
29
|
+
priority?: number | null | undefined;
|
|
30
30
|
_id: string;
|
|
31
31
|
}[] | null | undefined;
|
|
32
|
-
id: string;
|
|
33
32
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
34
33
|
amount: {
|
|
35
34
|
amount: number;
|
|
36
35
|
precision: number;
|
|
37
36
|
};
|
|
37
|
+
id: string;
|
|
38
38
|
}[]>;
|
|
39
39
|
required: true;
|
|
40
40
|
};
|
|
@@ -58,8 +58,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
initialValue: {
|
|
59
59
|
type: PropType<{
|
|
60
60
|
measurement?: {
|
|
61
|
-
id: string;
|
|
62
61
|
name: string;
|
|
62
|
+
id: string;
|
|
63
63
|
abbrev: string;
|
|
64
64
|
conversion: {
|
|
65
65
|
amount: number;
|
|
@@ -68,17 +68,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
68
68
|
} | null | undefined;
|
|
69
69
|
rules?: Record<string, any> | null | undefined;
|
|
70
70
|
alternatives?: {
|
|
71
|
-
priority?: number | null | undefined;
|
|
72
71
|
default?: boolean | null | undefined;
|
|
73
72
|
trackingMeasurement?: string | null | undefined;
|
|
73
|
+
priority?: number | null | undefined;
|
|
74
74
|
_id: string;
|
|
75
75
|
}[] | null | undefined;
|
|
76
|
-
id: string;
|
|
77
76
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
78
77
|
amount: {
|
|
79
78
|
amount: number;
|
|
80
79
|
precision: number;
|
|
81
80
|
};
|
|
81
|
+
id: string;
|
|
82
82
|
}[]>;
|
|
83
83
|
required: true;
|
|
84
84
|
};
|
|
@@ -31,8 +31,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
31
31
|
measurement?: string | null | undefined;
|
|
32
32
|
inventoryBindings?: {
|
|
33
33
|
measurement?: {
|
|
34
|
-
id: string;
|
|
35
34
|
name: string;
|
|
35
|
+
id: string;
|
|
36
36
|
abbrev: string;
|
|
37
37
|
conversion: {
|
|
38
38
|
amount: number;
|
|
@@ -41,24 +41,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
41
|
} | null | undefined;
|
|
42
42
|
rules?: Record<string, any> | null | undefined;
|
|
43
43
|
alternatives?: {
|
|
44
|
-
priority?: number | null | undefined;
|
|
45
44
|
default?: boolean | null | undefined;
|
|
46
45
|
trackingMeasurement?: string | null | undefined;
|
|
46
|
+
priority?: number | null | undefined;
|
|
47
47
|
_id: string;
|
|
48
48
|
}[] | null | undefined;
|
|
49
|
-
id: string;
|
|
50
49
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
51
50
|
amount: {
|
|
52
51
|
amount: number;
|
|
53
52
|
precision: number;
|
|
54
53
|
};
|
|
54
|
+
id: string;
|
|
55
55
|
}[] | null | undefined;
|
|
56
56
|
} | null | undefined;
|
|
57
57
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
58
58
|
defaultCost?: {
|
|
59
59
|
measurement?: {
|
|
60
|
-
id: string;
|
|
61
60
|
name: string;
|
|
61
|
+
id: string;
|
|
62
62
|
abbrev: string;
|
|
63
63
|
conversion: {
|
|
64
64
|
amount: number;
|
|
@@ -77,17 +77,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
77
77
|
mid: number;
|
|
78
78
|
} | null | undefined;
|
|
79
79
|
customAttributes?: Record<string, any> | null | undefined;
|
|
80
|
-
_id: string;
|
|
81
|
-
name: string;
|
|
82
|
-
code: string;
|
|
83
80
|
unit: {
|
|
84
81
|
_id: string;
|
|
85
82
|
name: string;
|
|
86
83
|
abbrev: string;
|
|
87
84
|
precision: number;
|
|
88
85
|
measurements: {
|
|
89
|
-
id: string;
|
|
90
86
|
name: string;
|
|
87
|
+
id: string;
|
|
91
88
|
abbrev: string;
|
|
92
89
|
conversion: {
|
|
93
90
|
amount: number;
|
|
@@ -95,6 +92,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
95
92
|
};
|
|
96
93
|
}[];
|
|
97
94
|
};
|
|
95
|
+
code: string;
|
|
96
|
+
_id: string;
|
|
97
|
+
name: string;
|
|
98
98
|
}[];
|
|
99
99
|
items: InventoryBinding[];
|
|
100
100
|
editable: boolean;
|
|
@@ -105,8 +105,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
105
105
|
name: string;
|
|
106
106
|
contains: {
|
|
107
107
|
measurement?: {
|
|
108
|
-
id: string;
|
|
109
108
|
name: string;
|
|
109
|
+
id: string;
|
|
110
110
|
abbrev: string;
|
|
111
111
|
conversion: {
|
|
112
112
|
amount: number;
|
|
@@ -115,17 +115,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
115
115
|
} | null | undefined;
|
|
116
116
|
rules?: Record<string, any> | null | undefined;
|
|
117
117
|
alternatives?: {
|
|
118
|
-
priority?: number | null | undefined;
|
|
119
118
|
default?: boolean | null | undefined;
|
|
120
119
|
trackingMeasurement?: string | null | undefined;
|
|
120
|
+
priority?: number | null | undefined;
|
|
121
121
|
_id: string;
|
|
122
122
|
}[] | null | undefined;
|
|
123
|
-
id: string;
|
|
124
123
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
125
124
|
amount: {
|
|
126
125
|
amount: number;
|
|
127
126
|
precision: number;
|
|
128
127
|
};
|
|
128
|
+
id: string;
|
|
129
129
|
}[];
|
|
130
130
|
}[];
|
|
131
131
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { u as s, w as i } from "./xlsx-CzLrFB_A.js";
|
|
2
|
+
import { u } from "./xlsx.util-osyDkxYO.js";
|
|
3
|
+
function p(o, a) {
|
|
4
|
+
return a.map((e) => typeof e.selector == "function" ? e.selector(o) : o[e.selector]);
|
|
5
|
+
}
|
|
6
|
+
function f(o, a) {
|
|
7
|
+
const e = a.map((t) => t.name), n = o.map((t) => p(t, a));
|
|
8
|
+
return s.aoa_to_sheet([e, ...n]);
|
|
9
|
+
}
|
|
10
|
+
async function d(o, a) {
|
|
11
|
+
const e = s.book_new(), n = /* @__PURE__ */ new Set();
|
|
12
|
+
for (const t of o) {
|
|
13
|
+
const c = f(
|
|
14
|
+
t.data,
|
|
15
|
+
t.columns.map((r) => typeof r == "string" ? {
|
|
16
|
+
name: r,
|
|
17
|
+
selector: r
|
|
18
|
+
} : r)
|
|
19
|
+
);
|
|
20
|
+
s.book_append_sheet(e, c, u(t.name, n));
|
|
21
|
+
}
|
|
22
|
+
await i(e, a);
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
d as e
|
|
26
|
+
};
|
|
@@ -2,9 +2,9 @@ var _t = Object.defineProperty;
|
|
|
2
2
|
var ft = (l, c, h) => c in l ? _t(l, c, { enumerable: !0, configurable: !0, writable: !0, value: h }) : l[c] = h;
|
|
3
3
|
var ce = (l, c, h) => ft(l, typeof c != "symbol" ? c + "" : c, h);
|
|
4
4
|
import { useCoreStore as De } from "@feedmepos/mf-common";
|
|
5
|
-
import { U as ve, u as Ke, j as at, a as gt } from "./app-
|
|
5
|
+
import { U as ve, u as Ke, j as at, a as gt } from "./app-D4P-koOR.js";
|
|
6
6
|
import { ref as he, readonly as Ge } from "vue";
|
|
7
|
-
import "./inventory-core-dart.default-
|
|
7
|
+
import "./inventory-core-dart.default-D6cCA8tk.js";
|
|
8
8
|
var Ve = { exports: {} };
|
|
9
9
|
(function(l, c) {
|
|
10
10
|
(function(h, f) {
|