@feedmepos/mf-inventory-portal 0.0.22-dev.6 → 0.0.22-dev.8
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/{ApprovalView-C3pfc3dI.js → ApprovalView-BNeTV3TV.js} +4 -4
- package/dist/{BindingsDialog-B5Wslo-f.js → BindingsDialog-pBelBtiH.js} +1 -1
- package/dist/{BindingsPicker-DvI3H5lb.js → BindingsPicker-VHr76FFM.js} +19 -19
- package/dist/{BindingsTable-B6yXjwVZ.js → BindingsTable-CgIp6DKB.js} +1 -1
- package/dist/ClosingTemplateView-FleQasJi.js +1065 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BTw7Szfi.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BYfojQsH.js} +1 -1
- package/dist/{IngredientsView-J-HwciIj.js → IngredientsView-BEW8_MJ0.js} +3 -3
- package/dist/{IntegrationView-CJgc6NQo.js → IntegrationView-NnpJ8nYO.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CzCVf08r.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJMb1aR1.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BJHZI0SZ.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DWSq3JsJ.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-DQlHM7ar.js → PurchaseOrderPrintPreview-BZ5uhyRy.js} +1 -1
- package/dist/{ReceiveRequestView-l-agN7yj.js → ReceiveRequestView-DN9u5HLn.js} +6 -6
- package/dist/{RecipeView-Bo85tc7w.js → RecipeView-DM20cOk3.js} +3 -3
- package/dist/{StockView-CqORznbJ.js → StockView-LppKR-nM.js} +6 -6
- package/dist/{SupplierView-BSc10_7O.js → SupplierView-DHh6MhoI.js} +37 -37
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-KHwccWdi.js +754 -0
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-2QZK3Iu5.js +1485 -0
- package/dist/TransferTemplateView-CUQSQR8U.js +1278 -0
- package/dist/{UnitView-C4Ynhnes.js → UnitView-D8XJca7H.js} +4 -4
- package/dist/{WarehouseView-CXhsdB6L.js → WarehouseView-DTnx3-Fi.js} +2 -2
- package/dist/api/inventory.d.ts +1 -0
- package/dist/api/netsuite.d.ts +40 -0
- package/dist/api/purchase-order-template.d.ts +0 -4
- package/dist/{app-CEx_CAFE.js → app-Cn0UYdAW.js} +8183 -7946
- package/dist/app.d.ts +6 -0
- package/dist/app.js +3 -3
- package/dist/{decimal-c4am8-9x.js → decimal-BiLgcnqq.js} +1 -1
- package/dist/{defineDeepModel-DstjIWV3.js → defineDeepModel-CXCb8GcR.js} +4 -4
- package/dist/{format-time-from-id-C7eIbCJx.js → format-time-from-id-5QzQNKlI.js} +1 -1
- package/dist/{id-to-date-BvvYzy9E.js → id-to-date-C-LYuoim.js} +1 -1
- package/dist/purchase-order-transaction-type-BV80Rx9h.js +676 -0
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/helper/core-store-proxy.d.ts +27 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/netsuite.d.ts +49 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-Buou9AeW.js → supplier-Bg9MjX_y.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-template-enabled-locations-2-CzY-UFrc.js +85 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +14 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +42 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +2 -2
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +84 -0
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +28 -986
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +7 -0
- package/dist/{xlsx-_u-mXW67.js → xlsx-BsdfXPiA.js} +1 -1
- package/dist/{xlsx.util-C_mH9WMn.js → xlsx.util-B_ynXZ3Q.js} +2 -2
- package/package.json +5 -5
- package/dist/ClosingTemplateView-YW5Sw9M5.js +0 -1030
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-qfnlbLSa.js +0 -740
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-CW4b6og_.js +0 -1409
- package/dist/TransferTemplateView-Djn47L76.js +0 -1230
- package/dist/purchase-order-transaction-type-DpJe0L78.js +0 -702
- package/dist/use-template-enabled-locations-BPap1ER6.js +0 -57
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { j as u, y as p } from "./app-CEx_CAFE.js";
|
|
2
|
-
import { useI18n as L } from "@feedmepos/mf-common";
|
|
3
|
-
import { useDialog as f } from "@feedmepos/ui-library";
|
|
4
|
-
import { computed as c } from "vue";
|
|
5
|
-
function S(e) {
|
|
6
|
-
const m = f(), i = u(), { t: a } = L(), l = c({
|
|
7
|
-
get() {
|
|
8
|
-
return Array.isArray(e.getLocations());
|
|
9
|
-
},
|
|
10
|
-
set(t) {
|
|
11
|
-
t ? e.setLocations([]) : e.setLocations(null);
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
function r() {
|
|
15
|
-
var t;
|
|
16
|
-
m.open({
|
|
17
|
-
title: "Select at least one location",
|
|
18
|
-
contentComponent: p,
|
|
19
|
-
contentComponentProps: {
|
|
20
|
-
modelValue: ((t = s.value) == null ? void 0 : t.map((o) => o.doc._id)) ?? [],
|
|
21
|
-
items: i.locations.map((o) => ({
|
|
22
|
-
label: o.name,
|
|
23
|
-
sublabel: o.type,
|
|
24
|
-
value: o.doc._id
|
|
25
|
-
}))
|
|
26
|
-
},
|
|
27
|
-
primaryActions: {
|
|
28
|
-
text: a("common.confirm"),
|
|
29
|
-
close: !0
|
|
30
|
-
},
|
|
31
|
-
secondaryActions: {
|
|
32
|
-
text: a("common.close"),
|
|
33
|
-
close: !0
|
|
34
|
-
}
|
|
35
|
-
}).onPrimary((o) => {
|
|
36
|
-
e.setLocations(i.locations.filter((n) => o.includes(n.doc._id)));
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
const s = c(() => {
|
|
40
|
-
var o;
|
|
41
|
-
const t = /* @__PURE__ */ new Set([...i.locations.map((n) => n.doc._id)]);
|
|
42
|
-
return (o = e.getLocations()) == null ? void 0 : o.filter((n) => t.has(n.doc._id));
|
|
43
|
-
});
|
|
44
|
-
function d(t) {
|
|
45
|
-
var o;
|
|
46
|
-
e.setLocations((o = e.getLocations()) == null ? void 0 : o.filter((n) => n.doc._id !== t));
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
enabledLocations: s,
|
|
50
|
-
enabledLocationsSwitch: l,
|
|
51
|
-
promptSelectLocations: r,
|
|
52
|
-
removeLocation: d
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
export {
|
|
56
|
-
S as u
|
|
57
|
-
};
|