@feedmepos/mf-inventory-portal 1.8.0-dev.17 → 1.8.0-dev.19
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-CRmKXhRV.js → App-BXDscpMf.js} +9 -9
- package/dist/{ApprovalView-tDkNN-Cd.js → ApprovalView-CbP2H_8q.js} +9 -9
- package/dist/{BindingsDialog-DrB0U9F6.js → BindingsDialog-C7OFDUAr.js} +2 -2
- package/dist/{BindingsPicker-tjjgijNe.js → BindingsPicker-BQjHQWPl.js} +2 -2
- package/dist/{BindingsTable-D7EGgWxE.js → BindingsTable-grJZdI5F.js} +10 -10
- package/dist/{BulkReceiveRequestPage-B7GEE9qI.js → BulkReceiveRequestPage-jZtPq5XF.js} +21 -21
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-B4j6Acmo.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DOgwkHnO.js} +1 -1
- package/dist/{ClosingDraftView-DH0eBMZ8.js → ClosingDraftView-UmNAyX_s.js} +19 -19
- package/dist/{ClosingHistoryView-FmdYCiLI.js → ClosingHistoryView-CZcOYK98.js} +7 -7
- package/dist/{ClosingTemplateView-BGmFG2-y.js → ClosingTemplateView-CP2-ib2S.js} +18 -18
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DHboInU_.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DYZjiuAH.js} +1 -1
- package/dist/{DefaultView-CsNlHUlf.js → DefaultView-DOa4PWSU.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-CMe2DpP1.js → DeliveryOrderPrintPreview-DtFuSUby.js} +9 -9
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-Yen9u78U.js → EmailDialog.vue_vue_type_script_setup_true_lang-CxsxIwZm.js} +23 -23
- package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BJy8_H2s.js → FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-B3mPB7-O.js} +1 -1
- package/dist/{FeatureCapabilityGate-DN8b1697.js → FeatureCapabilityGate-Dp_SfIlO.js} +28 -28
- package/dist/{FeaturePageGate.vue_vue_type_script_setup_true_lang-DmNFZYam.js → FeaturePageGate.vue_vue_type_script_setup_true_lang-O58GGptu.js} +1 -1
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-2zOATqzb.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CCrEBis5.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CVBUkN02.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-YGOFZ7uY.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BuE-1qd6.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-F36jHbKZ.js} +2 -2
- package/dist/{FmMultiselectDialog-LI5ekHzQ.js → FmMultiselectDialog-BDCQmCSh.js} +2 -2
- package/dist/{FmMultiselectDialog-C3B8pd2Z.js → FmMultiselectDialog-Dd9oKz5m.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DQZ7aJGJ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CUmlLKDV.js} +5 -5
- package/dist/{ImportView-DYoeJLdr.js → ImportView-CbRrxlrW.js} +6 -6
- package/dist/{IngredientsView-u3KHfALO.js → IngredientsView-Bcxo5AlS.js} +366 -364
- package/dist/{IntegrationExplorerView-Bl0Z8sxM.js → IntegrationExplorerView-C2jsPi_3.js} +6 -6
- package/dist/{IntegrationPlatformView-CybBB3RA.js → IntegrationPlatformView-Cr7Fyt4p.js} +2 -2
- package/dist/{IntegrationView-Dxy7QhCp.js → IntegrationView-BTcnK-_q.js} +14 -14
- package/dist/{InventoryBindingForm-DyUvyOsa.js → InventoryBindingForm-e1rSW4FA.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dmch1sfA.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BjDz4LFE.js} +4 -4
- package/dist/{InventoryBindingSummary-DwY3vUf_.js → InventoryBindingSummary-CAGMRuy4.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B2UtnJtf.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-eygCK9vN.js} +2 -2
- package/dist/{ProductionRunDetailPage-Cdi4hv3E.js → ProductionRunDetailPage-CQz-U7Sw.js} +145 -144
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-D5jlF5x4.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BtnKFZy2.js} +1652 -1710
- package/dist/{ProductionRunPage-RcbHy0Mj.js → ProductionRunPage-BZnmoyLo.js} +40 -39
- package/dist/{PublishView-CyJ_rE-5.js → PublishView-BJFoRmsD.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-ZlbV3YfE.js → PurchaseOrderPrintPreview-BQExGk_A.js} +13 -13
- package/dist/{ReceiveRequestView-BKz8N6yK.js → ReceiveRequestView-C4XUYhl5.js} +13 -13
- package/dist/{RecipeView-D3IEyQoK.js → RecipeView-Bd5--ENI.js} +16 -16
- package/dist/{SettingsView-A0eozTq3.js → SettingsView-BDogzqxV.js} +7 -7
- package/dist/StockView-BCWwamwk.js +2756 -0
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CD11VzXa.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ce82k1-V.js} +1 -1
- package/dist/{SupplierView-Cg60vwsj.js → SupplierView-DRSh4m07.js} +13 -13
- package/dist/{SurchargeView-Dxvg-RnC.js → SurchargeView-gNIDCY22.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DDLGEaa2.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DrP1vAZX.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DfYoaT5a.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Cxpc2Wtp.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-D3wClK8t.js → TransferDetails.vue_vue_type_script_setup_true_lang-D4kpyIAQ.js} +809 -788
- package/dist/{TransferTemplateView-DfCJzLHt.js → TransferTemplateView-adEB_aZg.js} +19 -19
- package/dist/{UnitCostHistoryView-BkNnwNUc.js → UnitCostHistoryView-ClgafUAg.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-Clufqvr_.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DpN-7H9P.js} +4 -4
- package/dist/{UnitView-D_agG3Kd.js → UnitView-DU-Kim1r.js} +35 -30
- package/dist/{WarehouseView-DE_CaJCb.js → WarehouseView-Dw1xkcrx.js} +8 -8
- package/dist/{WastageTemplateView-r3b6angy.js → WastageTemplateView-CQj821yg.js} +15 -15
- package/dist/{app-CLTXsVH_.js → app--e70sT_h.js} +23677 -25029
- package/dist/app.d.ts +5 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-yP6QT_6M.js → closing-template-i0bDCk-x.js} +1 -1
- package/dist/components/FeatureCapabilityGate.vue.d.ts +1 -0
- package/dist/{date2-9jq_OKuv.js → date2-CXI-d_rQ.js} +1 -1
- package/dist/{dayjs.min-CAxu5-hQ.js → dayjs.min-Ivf4HAC3.js} +1 -1
- package/dist/{decimal-BhGvDuWQ.js → decimal-d3XWw4d_.js} +2 -2
- package/dist/defineDeepModel-DrQmqGvi.js +19 -0
- package/dist/{duplicate-template-X72Zob-u.js → duplicate-template-yVd6JWGz.js} +1 -1
- package/dist/{feature-CC2pF6VK.js → feature-CBrHj9bO.js} +2 -2
- package/dist/{format-time-from-id-DhZOfLN4.js → format-time-from-id-DpFUCBGw.js} +1 -1
- package/dist/{format-unit-display-BalKqHYj.js → format-unit-display-CICNepRU.js} +12 -12
- package/dist/helper/menu-usage-module.d.ts +2 -1
- package/dist/{id-to-date-Cb9v4BtX.js → id-to-date-BicEvFx1.js} +1 -1
- package/dist/{import-export.helper-9D5DLoaq.js → import-export.helper-Cy-nm8Ao.js} +5 -5
- package/dist/{index-B0T8iGU6.js → index-BfY6L-3r.js} +1 -1
- package/dist/{index-CnjRz458.js → index-CiWNQMAX.js} +3 -3
- package/dist/{index-DqV626Os.js → index-W7Q7cZGV.js} +934 -890
- package/dist/{lz-string-CK_kK0b8.js → lz-string-ClJ0qg4U.js} +1 -1
- package/dist/menu-usage-module-Bq_KLsO4.js +74 -0
- package/dist/{netsuite-explorer-BugWV6N7.js → netsuite-explorer-BWrO3KfB.js} +1 -1
- package/dist/{netsuite-Czq6x14E.js → netsuite-jSt2nlwO.js} +247 -262
- package/dist/{predefined-templates-D5qjNE4o.js → predefined-templates-DKiqLY6F.js} +1 -1
- package/dist/production-run-list-DR1WsaBR.js +61 -0
- package/dist/{purchase-order-template-Bc0QP-bq.js → purchase-order-template-D-NkhbNh.js} +1 -1
- package/dist/{recalculationUtils-CJknKvb-.js → recalculationUtils-Bbe1w-wj.js} +1 -1
- package/dist/{row-action.enum-Cz1k6Kht.js → row-action.enum-C8JhgYiR.js} +1 -1
- package/dist/{rules-BQscySfb.js → rules-CrAeAKSS.js} +3 -3
- package/dist/stock-B27nWQ5z.js +78 -0
- package/dist/{stock--68mu-M1.js → stock-x072pQVW.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-U06ZrnoC.js → supplier-sh98cdAW.js} +2 -2
- package/dist/{surcharge-B5DGPlf5.js → surcharge-DsF53Jiz.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DfBYytl6.js → uom-rules-DuYrxEZK.js} +1 -1
- package/dist/{use-ingredient-select-dialog-BRTxaEaQ.js → use-ingredient-select-dialog-DZJPaYJX.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DQDv8yOS.js → use-inventory-binding-dialog-CEr-Nctj.js} +2 -2
- package/dist/{use-template-enabled-locations-DzQVNhev.js → use-template-enabled-locations-h-1Om4op.js} +2 -2
- package/dist/{use-transfer-locations-CGvKssyQ.js → use-transfer-locations-CuCYcO6G.js} +2 -2
- package/dist/{useHrmPermission-BkOtYcLu.js → useHrmPermission-Db-rrPU-.js} +1 -1
- package/dist/{useNavigationMenu-korDNdFf.js → useNavigationMenu-DJCT15IW.js} +4 -4
- package/dist/{useSseClient-BjoRcYKu.js → useSseClient-B2_SvHJ2.js} +1 -1
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1 -1
- package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +3 -1
- package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +4 -4
- package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +8 -8
- package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +14 -14
- package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +1 -1
- package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +6 -6
- package/dist/views/production-run/shared/model/production-run-list.d.ts +1 -1
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +1 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +9 -9
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +7 -7
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +16 -16
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +16 -2
- package/dist/views/unit/composables/use-unit-form.spec.d.ts +1 -0
- package/dist/{vue-hPU91AHR.js → vue-Co39mHJn.js} +2 -2
- package/dist/{vue-i18n-VFYpKHHB.js → vue-i18n-C2pkD_vQ.js} +365 -365
- package/dist/{xlsx.util-VlHt05TU.js → xlsx.util-CLUjDX2E.js} +2 -2
- package/package.json +6 -6
- package/dist/StockView-DrxkHTH4.js +0 -2651
- package/dist/defineDeepModel-Czbczabc.js +0 -19
- package/dist/menu-usage-module-BdjYEk3s.js +0 -57
- package/dist/stock-DCz3ZTmd.js +0 -74
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { c as a, ab as u } from "./app-CLTXsVH_.js";
|
|
2
|
-
import { getCurrentInstance as d, reactive as b, watch as o } from "vue";
|
|
3
|
-
function g(i = "modelValue", e) {
|
|
4
|
-
var n, c;
|
|
5
|
-
const s = ((n = d()) == null ? void 0 : n.props) ?? {}, f = ((c = d()) == null ? void 0 : c.emit) ?? (() => {
|
|
6
|
-
}), t = b(a(s[i] ?? (e == null ? void 0 : e.default) ?? {})), m = `update:${u(i)}`;
|
|
7
|
-
return e != null && e.watchProps && o(
|
|
8
|
-
() => s[i],
|
|
9
|
-
(r) => {
|
|
10
|
-
r && r !== t && Object.assign(t, a(r));
|
|
11
|
-
},
|
|
12
|
-
{ deep: !0, immediate: !0 }
|
|
13
|
-
), o(t, (r) => {
|
|
14
|
-
f(m, r);
|
|
15
|
-
}), t;
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
g as d
|
|
19
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { defineComponent as _, resolveComponent as g, createElementBlock as r, openBlock as o, createVNode as v, createElementVNode as c, withCtx as b, toDisplayString as i, Fragment as n, renderList as d, createTextVNode as a, createCommentVNode as x, unref as h } from "vue";
|
|
2
|
-
import { useI18n as k } from "@feedmepos/mf-common";
|
|
3
|
-
const C = { class: "w-[500px] max-h-[60vh] overflow-y-auto" }, N = { class: "font-bold text-neutral-500 mx-1" }, A = { class: "mt-3" }, I = /* @__PURE__ */ _({
|
|
4
|
-
__name: "CannotDelete",
|
|
5
|
-
props: {
|
|
6
|
-
subject: {
|
|
7
|
-
type: String
|
|
8
|
-
},
|
|
9
|
-
items: {
|
|
10
|
-
type: Array,
|
|
11
|
-
default: () => []
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
setup(e) {
|
|
15
|
-
const { t } = k();
|
|
16
|
-
return (s, u) => {
|
|
17
|
-
const y = g("i18n-t");
|
|
18
|
-
return o(), r("div", C, [
|
|
19
|
-
v(y, {
|
|
20
|
-
keypath: "inventory.common.usage.body",
|
|
21
|
-
tag: "div"
|
|
22
|
-
}, {
|
|
23
|
-
subject: b(() => [
|
|
24
|
-
c("span", N, i(e.subject), 1)
|
|
25
|
-
]),
|
|
26
|
-
_: 1
|
|
27
|
-
}),
|
|
28
|
-
c("ol", A, [
|
|
29
|
-
(o(!0), r(n, null, d(e.items, (f, p) => (o(), r("li", {
|
|
30
|
-
class: "pl-5 font-bold text-neutral-500",
|
|
31
|
-
key: p
|
|
32
|
-
}, [
|
|
33
|
-
u[0] || (u[0] = a(" • ")),
|
|
34
|
-
(o(!0), r(n, null, d(f.chain, (m, l) => (o(), r(n, { key: l }, [
|
|
35
|
-
l > 0 ? (o(), r(n, { key: 0 }, [
|
|
36
|
-
a(" > ")
|
|
37
|
-
], 64)) : x("", !0),
|
|
38
|
-
a(i(m.itemName) + " (" + i(h(t)(`inventory.common.usage.module.${m.moduleKey}`)) + ")", 1)
|
|
39
|
-
], 64))), 128))
|
|
40
|
-
]))), 128))
|
|
41
|
-
])
|
|
42
|
-
]);
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
function R(e) {
|
|
47
|
-
const t = e.errorResponse;
|
|
48
|
-
return !!t && typeof t == "object" && t.error === "VALIDATION_ERROR" && Array.isArray(t.errors) && t.errors.every((s) => typeof s.module == "string" && typeof s.name == "string");
|
|
49
|
-
}
|
|
50
|
-
function j(e) {
|
|
51
|
-
return e.includes("variantCombinations") ? "variant" : e.startsWith("modules.catalog") ? "catalog" : e.startsWith("modules.item") ? "item" : e.startsWith("modules.group") ? "group" : "menu";
|
|
52
|
-
}
|
|
53
|
-
export {
|
|
54
|
-
I as _,
|
|
55
|
-
R as i,
|
|
56
|
-
j as m
|
|
57
|
-
};
|
package/dist/stock-DCz3ZTmd.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { u as i } from "./stock--68mu-M1.js";
|
|
2
|
-
import { a as s, s as p, Z as B } from "./app-CLTXsVH_.js";
|
|
3
|
-
import { computed as k, ref as d } from "vue";
|
|
4
|
-
function v() {
|
|
5
|
-
return {
|
|
6
|
-
stockBalance: {
|
|
7
|
-
_id: "",
|
|
8
|
-
items: []
|
|
9
|
-
},
|
|
10
|
-
productBalance: []
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
const m = p.fromNumber(0), f = {
|
|
14
|
-
id: "",
|
|
15
|
-
balance: m,
|
|
16
|
-
closing: null,
|
|
17
|
-
costs: null
|
|
18
|
-
}, a = d(v()), h = () => {
|
|
19
|
-
const r = s(), u = k(() => {
|
|
20
|
-
var n;
|
|
21
|
-
const c = (n = a.value.stockBalance.skus) == null ? void 0 : n.groupBy((t) => t.id), o = (t) => {
|
|
22
|
-
var e;
|
|
23
|
-
return ((e = c == null ? void 0 : c.get(t)) == null ? void 0 : e[0]) ?? { ...f, id: t };
|
|
24
|
-
};
|
|
25
|
-
return r.skus.map((t) => o(t._id));
|
|
26
|
-
}), l = i();
|
|
27
|
-
return {
|
|
28
|
-
// state
|
|
29
|
-
get stockBalance() {
|
|
30
|
-
return {
|
|
31
|
-
...a.value.stockBalance,
|
|
32
|
-
skus: u.value
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
set stockBalance(c) {
|
|
36
|
-
a.value.stockBalance = c;
|
|
37
|
-
},
|
|
38
|
-
get productBalance() {
|
|
39
|
-
return a.value.productBalance;
|
|
40
|
-
},
|
|
41
|
-
set productBalance(c) {
|
|
42
|
-
a.value.productBalance = c;
|
|
43
|
-
},
|
|
44
|
-
// actions
|
|
45
|
-
async readStockBalance() {
|
|
46
|
-
this.stockBalance = await l.readStockBalance();
|
|
47
|
-
},
|
|
48
|
-
async readProductBalance() {
|
|
49
|
-
this.productBalance = [];
|
|
50
|
-
const c = s(), o = B({
|
|
51
|
-
recipes: c.recipes,
|
|
52
|
-
skus: c.skus,
|
|
53
|
-
skuGroups: [],
|
|
54
|
-
inventoryBindingMapping: {},
|
|
55
|
-
stockBalance: this.stockBalance
|
|
56
|
-
// silent: true
|
|
57
|
-
});
|
|
58
|
-
function n(t, e) {
|
|
59
|
-
return Object.prototype.hasOwnProperty.call(t, e);
|
|
60
|
-
}
|
|
61
|
-
for (const t in o.convertCountdown)
|
|
62
|
-
if (n(o.convertCountdown, t)) {
|
|
63
|
-
const e = o.convertCountdown[t];
|
|
64
|
-
this.productBalance.push({
|
|
65
|
-
id: t,
|
|
66
|
-
count: e
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
export {
|
|
73
|
-
h as u
|
|
74
|
-
};
|