@feedmepos/mf-inventory-portal 0.0.19-dev.12 → 0.0.19-dev.14
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.vue.d.ts +1 -1
- package/dist/{ApprovalView-CuTAFiWC.js → ApprovalView-BY13XuOu.js} +5 -5
- package/dist/{BindingsDialog-C_ndNZ8f.js → BindingsDialog-B3PP-XkE.js} +22 -22
- package/dist/{BindingsPicker-CcAod_ha.js → BindingsPicker-DL17pRty.js} +17 -17
- package/dist/{BindingsTable-Bm4-kj_a.js → BindingsTable-CjKOv7Yw.js} +29 -29
- package/dist/Entry.vue.d.ts +1 -1
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DoF7wwNT.js +306 -0
- package/dist/{IngredientsView-CyD65_rv.js → IngredientsView-C-rsKAsF.js} +294 -294
- package/dist/{IntegrationView-Bh1BWAq-.js → IntegrationView-BkhfPSjM.js} +278 -278
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cw3SEkW_.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Buc21sEN.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-B_kVFkxk.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BRijSilS.js} +1 -1
- package/dist/PurchaseOrderPrintPreview-CGMMozPA.js +152 -0
- package/dist/{ReceiveRequestView-C0r1FIwM.js → ReceiveRequestView-Bk0pUeEm.js} +7 -7
- package/dist/{RecipeView-CYE6gi__.js → RecipeView-kzA9kIg8.js} +181 -181
- package/dist/Standalone.vue.d.ts +1 -1
- package/dist/{StockView-CKyhKuGi.js → StockView-DF-ucES_.js} +23 -23
- package/dist/SupplierView-XlzsU00G.js +813 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-8L6lwGpu.js → TransferDetails.vue_vue_type_script_setup_true_lang-Bp7AJiJ-.js} +106 -106
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-D1NAkXMT.js +1690 -0
- package/dist/TransferTemplateView-CsA2SzQY.js +1279 -0
- package/dist/{UnitView-DXnLq5nR.js → UnitView-9VMIlEZ_.js} +242 -242
- package/dist/{WarehouseView-BCnvqHHp.js → WarehouseView-JTYLFBsu.js} +360 -362
- package/dist/api/bill.d.ts +238 -84
- package/dist/api/supplier.d.ts +4 -4
- package/dist/app-kYGuBDV8.js +68549 -0
- package/dist/app.d.ts +24 -0
- package/dist/app.js +3 -3
- package/dist/components/ChangeLocationComponent.vue.d.ts +11 -1
- package/dist/components/DeferableLoading.vue.d.ts +1 -1
- package/dist/components/DeleteDialog.vue.d.ts +1 -1
- package/dist/components/FmCoordinateInput.vue.d.ts +3 -3
- package/dist/components/FmDroppableField.vue.d.ts +6 -6
- package/dist/components/FmFilterableSelect.vue.d.ts +3 -3
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +21 -10
- package/dist/components/FmMinMaxInput.vue.d.ts +20 -0
- package/dist/components/FmMinMaxInputProps.d.ts +16 -0
- package/dist/components/FmMinMaxInputRules.d.ts +4 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +5 -5
- package/dist/components/FmMultiselectDialogProps.d.ts +3 -0
- package/dist/components/FmUnitInputRules.d.ts +1 -0
- package/dist/components/MultiSelectDialog.vue.d.ts +1 -1
- package/dist/components/NavigationTab.vue.d.ts +1 -1
- package/dist/components/NumberPrecisionInput.vue.d.ts +3 -3
- package/dist/components/PremiumBadge.vue.d.ts +3 -3
- package/dist/components/PreviewBadge.vue.d.ts +3 -3
- package/dist/components/StockForecast.vue.d.ts +1 -1
- package/dist/components/TableActionableRow.vue.d.ts +4 -4
- package/dist/components/UnitDisplayControl.vue.d.ts +1 -1
- package/dist/components/icons/IconCommunity.vue.d.ts +1 -1
- package/dist/components/icons/IconDocumentation.vue.d.ts +1 -1
- package/dist/components/icons/IconEcosystem.vue.d.ts +1 -1
- package/dist/components/icons/IconSupport.vue.d.ts +1 -1
- package/dist/components/icons/IconTooling.vue.d.ts +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +5 -5
- package/dist/components/map/CoordinateDialog.vue.d.ts +4 -4
- package/dist/components/map/GoogleMap.vue.d.ts +6 -6
- package/dist/components/nested-multiselect/FmNestedMultiselectDialog.vue.d.ts +3 -3
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +3 -3
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +5 -5
- package/dist/components/ui-library/FmDateRangePickerChip.vue.d.ts +5 -5
- package/dist/composable/useIframe.d.ts +1 -1
- package/dist/composable/useSearch.d.ts +1 -1
- package/dist/{decimal-DN0h6619.js → decimal-E3w4eGHF.js} +1 -1
- package/dist/helper/number.d.ts +2 -0
- package/dist/{id-to-date-D1fU6Y7T.js → id-to-date-gyR82hWy.js} +1 -1
- package/dist/is-linked-ingredient-error-fJ2TJb3z.js +37 -0
- package/dist/layout/InventoryLayout.vue.d.ts +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +5 -5
- package/dist/layout/components/NavigationButton.vue.d.ts +4 -4
- package/dist/{layout-DcSLry7F.js → layout-BTYR4n3X.js} +1 -1
- package/dist/{purchase-order-transaction-type-D0c31GiL.js → purchase-order-transaction-type-CUtdDhYo.js} +2 -2
- package/dist/stores/feature.d.ts +2 -1
- package/dist/stores/location.d.ts +108 -148
- package/dist/stores/supplier.d.ts +672 -18
- package/dist/stores/warehouse.d.ts +9 -5
- package/dist/supplier-Ed-Bva_-.js +60 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/InventoryView.vue.d.ts +1 -1
- package/dist/views/SelectBussinessDialog.vue.d.ts +1 -1
- package/dist/views/approval/ApprovalView.vue.d.ts +1 -1
- package/dist/views/dev/ComponentPreview.vue.d.ts +1 -1
- package/dist/views/dev/components/CoordinateTest.vue.d.ts +1 -1
- package/dist/views/dev/components/DateRange.vue.d.ts +1 -1
- package/dist/views/dev/components/FmDecimalInputTest.vue.d.ts +1 -1
- package/dist/views/dev/components/FmMultiselectDialogGrouped.vue.d.ts +1 -1
- package/dist/views/dev/components/FmSelectTest.vue.d.ts +1 -1
- package/dist/views/dev/components/InventoryIframe.vue.d.ts +1 -1
- package/dist/views/dev/components/LayoutDev.vue.d.ts +1 -1
- package/dist/views/dev/components/MfCommontTest.vue.d.ts +1 -1
- package/dist/views/dev/components/NestedSelection.vue.d.ts +1 -1
- package/dist/views/dev/components/NumberStepper.vue.d.ts +1 -1
- package/dist/views/dev/components/TabStorageTest.vue.d.ts +1 -1
- package/dist/views/dev/components/UnitInput.vue.d.ts +1 -1
- package/dist/views/dev/helpers/pinia-test.d.ts +1 -1
- package/dist/views/home/HomeView.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-dialog/BindingsDialog.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-picker/BindingsPicker.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-table/BindingsTable.vue.d.ts +1 -1
- package/dist/views/ingredients/IngredientsView.vue.d.ts +1 -1
- package/dist/views/ingredients/components/cannot-delete/CannotDelete.vue.d.ts +4 -4
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +3 -3
- package/dist/views/ingredients/components/import-ingredients/ImportIngredientItem.vue.d.ts +1 -1
- package/dist/views/ingredients/components/import-ingredients/ImportIngredients.vue.d.ts +1 -1
- package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItem.vue.d.ts +1 -1
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialog.vue.d.ts +5 -5
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -4
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingSummary.vue.d.ts +3 -3
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +8 -8
- package/dist/views/integration/IntegrationView.vue.d.ts +1 -1
- package/dist/views/integration/components/ApplyAddon.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +5 -5
- package/dist/views/receive-request/ReceiveRequestView.vue.d.ts +1 -1
- package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistory.vue.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-dialog/TransferDialog.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +27 -27
- package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/components/TransferItem.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/composables/use-backdate-po.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/composables/use-compare-price.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -8
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1012 -66
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +24 -24
- package/dist/views/receive-request/print-preview/PurchaseOrderPrintPreview.vue.d.ts +1 -1
- package/dist/views/recipe/RecipeView.vue.d.ts +1 -1
- package/dist/views/recipe/components/recipe-dialog/RecipeDialog.vue.d.ts +5 -5
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +4 -4
- package/dist/views/recipe/composables/use-recipe-form.d.ts +8 -8
- package/dist/views/stock/StockView.vue.d.ts +1 -1
- package/dist/views/stock/components/StockHeaderPreview.vue.d.ts +1 -1
- package/dist/views/stock/components/StockHistory.vue.d.ts +3 -3
- package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +123 -46
- package/dist/views/stock/components/dialog/AdjustSkuDialog.vue.d.ts +4 -4
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +3 -3
- package/dist/views/stock/components/dialog/ConvertSkuDialog.vue.d.ts +4 -4
- package/dist/views/stock/composables/use-stock-action.d.ts +11 -11
- package/dist/views/supplier/SupplierView.vue.d.ts +1 -1
- package/dist/views/supplier/components/SupplierDialog.vue.d.ts +4 -4
- package/dist/views/supplier/components/SupplierDialogProps.d.ts +1 -0
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -3
- package/dist/views/supplier/composables/use-supplier-table.d.ts +3 -3
- package/dist/views/transfer-template/TransferTemplateView.vue.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +3 -3
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +4 -4
- package/dist/views/transfer-template/components/transfer-template-form/TransferTemplateForm.vue.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItem.vue.d.ts +3 -3
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +7 -7
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +13 -8
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1020 -79
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +309 -11
- package/dist/views/unit/UnitView.vue.d.ts +1 -1
- package/dist/views/unit/components/unit-dialog/UnitDialog.vue.d.ts +5 -5
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +4 -4
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +3 -3
- package/dist/views/unit/components/unit-used-by/UnitUsedBy.vue.d.ts +1 -1
- package/dist/views/unit/composables/use-unit-form.d.ts +8 -8
- package/dist/views/warehouse/WarehouseView.vue.d.ts +1 -1
- package/dist/views/warehouse/components/WarehouseDialog.vue.d.ts +4 -4
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +22 -14
- package/dist/{xlsx-yV2SoDMC.js → xlsx-q6Ctgevr.js} +2759 -2759
- package/dist/{xlsx.util-CTIDgqw2.js → xlsx.util-Cvqg56mI.js} +2 -2
- package/package.json +4 -3
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-rDMoAXyd.js +0 -272
- package/dist/PurchaseOrderPrintPreview-Uf0aO8n1.js +0 -152
- package/dist/SupplierView-BSJoZFMr.js +0 -801
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-Bdby-n4P.js +0 -1676
- package/dist/TransferTemplateView-B23JFk-I.js +0 -1101
- package/dist/app-DDxzU9iC.js +0 -67196
- package/dist/is-linked-ingredient-error-C6AghEwR.js +0 -37
- package/dist/supplier-CQXRbSC3.js +0 -54
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, openBlock as n, createElementBlock as s, createElementVNode as r, createTextVNode as a, toDisplayString as o, Fragment as d, renderList as m } from "vue";
|
|
2
|
-
const u = { class: "w-[400px] h-[100px]" }, p = { class: "font-bold text-neutral-500 mx-1" }, _ = { class: "mt-3" }, g = /* @__PURE__ */ c({
|
|
3
|
-
__name: "CannotDelete",
|
|
4
|
-
props: {
|
|
5
|
-
subject: {
|
|
6
|
-
type: String
|
|
7
|
-
},
|
|
8
|
-
items: {
|
|
9
|
-
type: Array,
|
|
10
|
-
default: () => []
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
setup(e) {
|
|
14
|
-
return (t, f) => (n(), s("div", u, [
|
|
15
|
-
r("div", null, [
|
|
16
|
-
a(" Cannot delete "),
|
|
17
|
-
r("span", p, o(e.subject), 1),
|
|
18
|
-
a(" because this unit is linked in these inventory items: ")
|
|
19
|
-
]),
|
|
20
|
-
r("ol", _, [
|
|
21
|
-
(n(!0), s(d, null, m(e.items, (i, l) => (n(), s("li", {
|
|
22
|
-
class: "pl-5 font-bold text-neutral-500",
|
|
23
|
-
key: l
|
|
24
|
-
}, " • (" + o(i.module) + ") " + o(i.name), 1))), 128))
|
|
25
|
-
])
|
|
26
|
-
]));
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
function x(e) {
|
|
30
|
-
return e.errorResponse.error === "validation failed" && Array.isArray(e.errorResponse.message) && e.errorResponse.message.every(
|
|
31
|
-
(t) => typeof t.module == "string" && typeof t.name == "string"
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
export {
|
|
35
|
-
g as _,
|
|
36
|
-
x as i
|
|
37
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { n as o, j as s, Q as u, T as c } from "./app-DDxzU9iC.js";
|
|
2
|
-
import { defineStore as l } from "pinia";
|
|
3
|
-
import { ref as d } from "vue";
|
|
4
|
-
const n = o((t, e) => {
|
|
5
|
-
const r = s();
|
|
6
|
-
return {
|
|
7
|
-
async readSuppliers() {
|
|
8
|
-
const p = r.currentLocation.dbName, a = `${t.inventoryBackendUrl}/${p}/supplier`;
|
|
9
|
-
return await e.get(a);
|
|
10
|
-
},
|
|
11
|
-
async createSupplier(p) {
|
|
12
|
-
const a = r.currentLocation.dbName, i = `${t.inventoryBackendUrl}/${a}/supplier`;
|
|
13
|
-
return await e.post(i, p);
|
|
14
|
-
},
|
|
15
|
-
async updateSupplier(p) {
|
|
16
|
-
const a = r.currentLocation.dbName, i = `${t.inventoryBackendUrl}/${a}/supplier`;
|
|
17
|
-
return await e.put(i, p);
|
|
18
|
-
},
|
|
19
|
-
async deleteSupplier(p) {
|
|
20
|
-
const a = r.currentLocation.dbName, i = `${t.inventoryBackendUrl}/${a}/supplier`;
|
|
21
|
-
return await e.delete(i, p);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
}), m = l("supplier", () => {
|
|
25
|
-
const t = d(new Array());
|
|
26
|
-
return {
|
|
27
|
-
// action
|
|
28
|
-
async readSuppliers() {
|
|
29
|
-
const e = n();
|
|
30
|
-
t.value = await e.readSuppliers();
|
|
31
|
-
},
|
|
32
|
-
async createSupplier(e) {
|
|
33
|
-
await n().createSupplier(e);
|
|
34
|
-
},
|
|
35
|
-
async updateSupplier(e) {
|
|
36
|
-
await n().updateSupplier(e);
|
|
37
|
-
},
|
|
38
|
-
async deleteSupplier(e) {
|
|
39
|
-
await n().deleteSupplier(e);
|
|
40
|
-
},
|
|
41
|
-
async init() {
|
|
42
|
-
const e = u();
|
|
43
|
-
try {
|
|
44
|
-
await this.readSuppliers();
|
|
45
|
-
} catch (r) {
|
|
46
|
-
throw r instanceof c || e.error("Error at reading suppliers"), r;
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
suppliers: t
|
|
50
|
-
};
|
|
51
|
-
});
|
|
52
|
-
export {
|
|
53
|
-
m as u
|
|
54
|
-
};
|