@feedmepos/mf-inventory-portal 1.6.3 → 1.7.0-dev.1
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-C9leB4t0.js → App-BT6KYW8H.js} +6 -6
- package/dist/{ApprovalView-CqOXr5Hw.js → ApprovalView-Blu45mX4.js} +15 -15
- package/dist/{BindingsDialog-DRalvlwp.js → BindingsDialog-Ffb3DqzR.js} +3 -3
- package/dist/{BindingsPicker-zXli3Z1x.js → BindingsPicker-DJSieUGU.js} +6 -6
- package/dist/{BindingsTable--VoNPh7F.js → BindingsTable-BM_fnYD0.js} +5 -5
- package/dist/{BulkReceiveRequestView-Bon7uDCJ.js → BulkReceiveRequestView-LLE0EWF2.js} +36 -36
- package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DlW8baJa.js +126 -0
- package/dist/{ClosingDraftView-CdxQiwuz.js → ClosingDraftView-SLu2RsF2.js} +41 -40
- package/dist/{ClosingHistoryView-CTkdBXBa.js → ClosingHistoryView-DavlvyI8.js} +8 -8
- package/dist/{ClosingTemplateView-h9ohxtwI.js → ClosingTemplateView-CfOmfFEo.js} +18 -18
- package/dist/{DefaultView-CLRzOH5K.js → DefaultView-BG6SM2dx.js} +4 -4
- package/dist/{DeliveryOrderPrintPreview-vgPmHbtx.js → DeliveryOrderPrintPreview-CTZqCk5h.js} +19 -19
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-CE9wwNB_.js → EmailDialog.vue_vue_type_script_setup_true_lang-CeuncSiy.js} +9313 -9301
- package/dist/{FmAdminBadge-DjnBAgyv.js → FmAdminBadge-DlplQOHb.js} +6 -6
- package/dist/{FmConfirmationButton.vue_vue_type_script_setup_true_lang-DLrMEGFR.js → FmConfirmationButton.vue_vue_type_script_setup_true_lang-Vg8U7WMZ.js} +5 -5
- package/dist/{FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js → FmCustomAttribute.vue_vue_type_script_setup_true_lang-CG1m-B2p.js} +6 -6
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DTeWGr5O.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BoP7islj.js} +3 -3
- package/dist/{FmDroppableField-J0xUsOTV.js → FmDroppableField-J0tG_U3w.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DaXycWeg.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Cp-IGhN8.js} +3 -3
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CbD3tpTg.js +118 -0
- package/dist/{FmMultiselectDialog-Bnouf9vX.js → FmMultiselectDialog-Btgi9bcG.js} +4 -4
- package/dist/{FmMultiselectDialog-BAMaksR7.js → FmMultiselectDialog-CYMF7L6M.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DnfFPNWn.js → FmUnitInput.vue_vue_type_script_setup_true_lang-p5zOSCsD.js} +9 -9
- package/dist/{ImportView-DYhLRkQA.js → ImportView-Druqo-SE.js} +11 -11
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B4n5-iRK.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BrCQtful.js} +5 -5
- package/dist/{IngredientGroupView-Dn15H-1E.js → IngredientGroupView-X9-rsWxq.js} +9 -9
- package/dist/{IngredientsView-9sp4RWOF.js → IngredientsView-3VjrRo6Q.js} +26 -26
- package/dist/{IntegrationExplorerView-DSj9e9rb.js → IntegrationExplorerView-BsI1wdMs.js} +3897 -3898
- package/dist/{IntegrationView-DbcMnd4z.js → IntegrationView-DnClTLe8.js} +18 -18
- package/dist/{InventoryBindingForm-6OXalr29.js → InventoryBindingForm-GzG-Hd2M.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-6-CNpE55.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BRUPz8Nd.js} +6 -6
- package/dist/{InventoryBindingSummary-h7b4l6Wb.js → InventoryBindingSummary-CziMAdeu.js} +3 -3
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cq_SuRtd.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-E8xHqN0A.js} +3 -3
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-7CXXGTvk.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Dn_l93Az.js} +3 -3
- package/dist/{PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js → PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js} +2 -2
- package/dist/ProductionView-C5y_oeQ1.js +1330 -0
- package/dist/{PublishView-BNml0c7h.js → PublishView-DLaq3CIv.js} +7 -7
- package/dist/{PurchaseOrderPrintPreview-DMQ4-abx.js → PurchaseOrderPrintPreview-CfOxPPTs.js} +17 -17
- package/dist/{ReceiveRequestView-BTHWRSHt.js → ReceiveRequestView-CW0zq5Mi.js} +19 -19
- package/dist/{RecipeView-D7pdeDlr.js → RecipeView-MGQvVVkQ.js} +23 -23
- package/dist/{SettingsView-Ce3Fbejt.js → SettingsView-BAPGIrw5.js} +9 -9
- package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js} +2 -2
- package/dist/{StockView-BGH5uWNi.js → StockView-D1RGEL2U.js} +59 -58
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BegeXje7.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CzBZq9Vn.js} +8 -8
- package/dist/{SupplierView-BuyycuNM.js → SupplierView-CMH0w0sM.js} +201 -205
- package/dist/{SurchargeView-B3O9a7WC.js → SurchargeView-DTGGjNJz.js} +11 -11
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-TJ4VhnI3.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CmYuaLTY.js} +4 -4
- package/dist/{TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js → TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js} +7 -7
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BgkgLkWo.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CZ-CIM6O.js} +4 -4
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-9_7cUWrk.js +4607 -0
- package/dist/{TransferTemplateView-CehWEgcU.js → TransferTemplateView-BHRlpNZL.js} +24 -24
- package/dist/{UnitCostHistoryView-N9UZOJVt.js → UnitCostHistoryView-DTcMOBYp.js} +8 -8
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DpVe38HB.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-tnwNEshB.js} +9 -9
- package/dist/{UnitView-YB56lxTp.js → UnitView-CmaNofZF.js} +11 -11
- package/dist/{WarehouseView-DtBYtULO.js → WarehouseView-CrZOVqtW.js} +9 -9
- package/dist/{WastageTemplateView-BJQ94zo8.js → WastageTemplateView-oS1mOuVs.js} +18 -18
- package/dist/api/production.d.ts +29 -0
- package/dist/{app-DiX-EfV6.js → app-C39bYJmq.js} +283 -283
- package/dist/{app-CnwVdB-r.js → app-DurCmkYx.js} +6901 -6691
- package/dist/app.js +1 -1
- package/dist/{closing-template-B0GQRFlS.js → closing-template--ylzHY8o.js} +1 -1
- package/dist/{date2-CaCMUbxN.js → date2-Ci_bWmXL.js} +1 -1
- package/dist/{dayjs.min-C413l7qz.js → dayjs.min-C1KEGVyY.js} +3 -3
- package/dist/{decimal-dpWXqHCT.js → decimal-CqES0LqS.js} +2 -2
- package/dist/{defineDeepModel-wTAgCIGa.js → defineDeepModel-CPc4-vVR.js} +1 -1
- package/dist/{duplicate-template-DTkeAcof.js → duplicate-template-7WtxyOgk.js} +1 -1
- package/dist/{feature-CSsMjXm4.js → feature-BhtPIg0j.js} +209 -206
- package/dist/{format-time-from-id-A1BqDOzj.js → format-time-from-id-da6PCU8D.js} +1 -1
- package/dist/{format-unit-display-CHS1Vvqm.js → format-unit-display-DfnibgdI.js} +24 -25
- package/dist/{import-export.helper-C8qIeMrV.js → import-export.helper-OeITQ-ew.js} +6 -6
- package/dist/{index-CEbJe2zv.js → index-63f31zwB.js} +11 -15
- package/dist/{index-CCdOkfwD.js → index-C4oo6Jir.js} +3 -3
- package/dist/{index-dgiwVVtQ.js → index-CKo4S3fc.js} +1 -1
- package/dist/inventory-core-dart.default-CjR1Ux6B.js +25015 -0
- package/dist/{jszip.min-k8R8v9tK.js → jszip.min-wa9dg6V2.js} +133 -133
- package/dist/{lz-string-OLkSz-NK.js → lz-string-CEq3F4OR.js} +33 -34
- package/dist/{menu-usage-module-D7cxkbEk.js → menu-usage-module-BdjYEk3s.js} +5 -5
- package/dist/{netsuite-Cm4tUcLt.js → netsuite-BYihdmW3.js} +145 -145
- package/dist/{number-CF9W8sDX.js → number-DIjdjQTT.js} +3 -3
- package/dist/{predefined-templates-DmBAGnMN.js → predefined-templates-BZ5B0n2R.js} +4 -13
- package/dist/{purchase-order-template-C0ynPqX6.js → purchase-order-template-ri08SOOi.js} +1 -1
- package/dist/{recalculationUtils-pDs8JNho.js → recalculationUtils-7tP21R_L.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-CYCN4sgu.js → rules-De93ckqk.js} +2 -2
- package/dist/{stock-D8S1alJa.js → stock-DvslvTup.js} +1 -1
- package/dist/stock-oKttHRVV.js +75 -0
- package/dist/stores/feature.d.ts +2 -0
- package/dist/{supplier-CiPnrjsq.js → supplier-otlIc6_E.js} +2 -2
- package/dist/{surcharge-CanooUK6.js → surcharge-DMLazg9b.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-eVbKU0_1.js → uom-rules-BVc5JsZO.js} +1 -1
- package/dist/{use-ingredient-select-dialog-Lpcjl8Ws.js → use-ingredient-select-dialog-C3H4EuIT.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CA_03e_q.js → use-inventory-binding-dialog-BlLaBr8C.js} +2 -2
- package/dist/{use-template-enabled-locations-CWMCe4nl.js → use-template-enabled-locations-CwXGrrU2.js} +2 -2
- package/dist/{use-transfer-locations-rvGiFI0e.js → use-transfer-locations-DAMl3X7w.js} +2 -2
- package/dist/{useHrmPermission-wOFwl59u.js → useHrmPermission-hRmteNSl.js} +1 -1
- package/dist/{useNavigationMenu-BoDv65KI.js → useNavigationMenu-CNhXOgEu.js} +12 -7
- package/dist/useSseClient-Cn8CX__U.js +453 -0
- package/dist/views/production/ProductionBindingsCell.vue.d.ts +29 -0
- package/dist/views/production/ProductionCompletionDialog.vue.d.ts +32 -0
- package/dist/views/production/ProductionDetailSheet.vue.d.ts +38 -0
- package/dist/views/production/ProductionDuplicateDialog.vue.d.ts +280 -0
- package/dist/views/production/ProductionPrepareBuilder.vue.d.ts +6 -0
- package/dist/views/production/ProductionView.vue.d.ts +2 -0
- package/dist/views/receive-request/components/price-adjustment/PriceAdjustmentEditForm.vue.d.ts +19 -0
- package/dist/views/receive-request/components/price-adjustment/PriceAdjustmentEditor.vue.d.ts +18 -0
- package/dist/views/receive-request/components/price-adjustment/PriceAdjustmentList.vue.d.ts +33 -0
- package/dist/views/receive-request/components/price-adjustment/use-price-adjustment-form-controller.d.ts +9 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +10 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +20 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +120 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +140 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +100 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +20 -0
- package/dist/vue-i18n-DeNNnVic.js +2351 -0
- package/dist/{xlsx.util-0_Y_Q66v.js → xlsx.util-B8IJR8tZ.js} +3710 -3720
- package/package.json +3 -3
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CL9YNazx.js +0 -237
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CwY2xCQV.js +0 -4360
- package/dist/inventory-core-dart.default-CBuBQE02.js +0 -18716
- package/dist/useSseClient-DbWYwuT8.js +0 -524
- package/dist/vue-i18n-Bov_Y0eC.js +0 -2365
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { w as o } from "./app-
|
|
2
|
-
import { F as l } from "./decimal-
|
|
3
|
-
import "./dayjs.min-
|
|
1
|
+
import { w as o } from "./app-DurCmkYx.js";
|
|
2
|
+
import { F as l } from "./decimal-CqES0LqS.js";
|
|
3
|
+
import "./dayjs.min-C1KEGVyY.js";
|
|
4
4
|
function g(n, t) {
|
|
5
5
|
return o.convertPrecision({
|
|
6
6
|
value: n,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as qn, i as Wn, y as zn } from "./app-
|
|
1
|
+
import { m as qn, i as Wn, y as zn } from "./app-DurCmkYx.js";
|
|
2
2
|
import { defineStore as Vn } from "pinia";
|
|
3
3
|
import { ref as mt, computed as Kn } from "vue";
|
|
4
4
|
import { useCoreStore as Yn } from "@feedmepos/mf-common";
|
|
@@ -486,20 +486,11 @@ var zr = /* @__PURE__ */ Object.freeze({
|
|
|
486
486
|
});
|
|
487
487
|
const Pe = {
|
|
488
488
|
element: 1,
|
|
489
|
-
attribute: 2,
|
|
490
489
|
text: 3,
|
|
491
|
-
cdataSection: 4,
|
|
492
|
-
entityReference: 5,
|
|
493
|
-
// Deprecated
|
|
494
|
-
entityNode: 6,
|
|
495
490
|
// Deprecated
|
|
496
491
|
progressingInstruction: 7,
|
|
497
492
|
comment: 8,
|
|
498
|
-
document: 9
|
|
499
|
-
documentType: 10,
|
|
500
|
-
documentFragment: 11,
|
|
501
|
-
notation: 12
|
|
502
|
-
// Deprecated
|
|
493
|
+
document: 9
|
|
503
494
|
}, mi = function() {
|
|
504
495
|
return typeof window > "u" ? null : window;
|
|
505
496
|
}, vi = function(e, i) {
|
|
@@ -4529,8 +4520,8 @@ function Ns(t) {
|
|
|
4529
4520
|
export {
|
|
4530
4521
|
sr as B,
|
|
4531
4522
|
Ke as a,
|
|
4532
|
-
|
|
4533
|
-
|
|
4523
|
+
pe as b,
|
|
4524
|
+
xs as c,
|
|
4534
4525
|
Qn as d,
|
|
4535
4526
|
Ts as e,
|
|
4536
4527
|
Ms as f,
|
package/dist/router/name.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b, c as p } from "./date2-
|
|
1
|
+
import { c as f, a as u, g as d, b as m } from "./number-DIjdjQTT.js";
|
|
2
|
+
import { b, c as p } from "./date2-Ci_bWmXL.js";
|
|
3
3
|
function M() {
|
|
4
4
|
return function(e) {
|
|
5
5
|
return !!e || "Required";
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { u as i } from "./stock-DvslvTup.js";
|
|
2
|
+
import { a as s, P as p } from "./app-DurCmkYx.js";
|
|
3
|
+
import { computed as k, ref as B } from "vue";
|
|
4
|
+
import { c as d } from "./number-DIjdjQTT.js";
|
|
5
|
+
function m() {
|
|
6
|
+
return {
|
|
7
|
+
stockBalance: {
|
|
8
|
+
_id: "",
|
|
9
|
+
items: []
|
|
10
|
+
},
|
|
11
|
+
productBalance: []
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
const v = d(0), f = {
|
|
15
|
+
id: "",
|
|
16
|
+
balance: v,
|
|
17
|
+
closing: null,
|
|
18
|
+
costs: null
|
|
19
|
+
}, n = B(m()), w = () => {
|
|
20
|
+
const r = s(), u = k(() => {
|
|
21
|
+
var a;
|
|
22
|
+
const o = (a = n.value.stockBalance.skus) == null ? void 0 : a.groupBy((t) => t.id), e = (t) => {
|
|
23
|
+
var c;
|
|
24
|
+
return ((c = o == null ? void 0 : o.get(t)) == null ? void 0 : c[0]) ?? { ...f, id: t };
|
|
25
|
+
};
|
|
26
|
+
return r.skus.map((t) => e(t._id));
|
|
27
|
+
}), l = i();
|
|
28
|
+
return {
|
|
29
|
+
// state
|
|
30
|
+
get stockBalance() {
|
|
31
|
+
return {
|
|
32
|
+
...n.value.stockBalance,
|
|
33
|
+
skus: u.value
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
set stockBalance(o) {
|
|
37
|
+
n.value.stockBalance = o;
|
|
38
|
+
},
|
|
39
|
+
get productBalance() {
|
|
40
|
+
return n.value.productBalance;
|
|
41
|
+
},
|
|
42
|
+
set productBalance(o) {
|
|
43
|
+
n.value.productBalance = o;
|
|
44
|
+
},
|
|
45
|
+
// actions
|
|
46
|
+
async readStockBalance() {
|
|
47
|
+
this.stockBalance = await l.readStockBalance();
|
|
48
|
+
},
|
|
49
|
+
async readProductBalance() {
|
|
50
|
+
this.productBalance = [];
|
|
51
|
+
const o = s(), e = p({
|
|
52
|
+
recipes: o.recipes,
|
|
53
|
+
skus: o.skus,
|
|
54
|
+
skuGroups: o.skuGroups,
|
|
55
|
+
inventoryBindingMapping: {},
|
|
56
|
+
stockBalance: this.stockBalance
|
|
57
|
+
// silent: true
|
|
58
|
+
});
|
|
59
|
+
function a(t, c) {
|
|
60
|
+
return Object.prototype.hasOwnProperty.call(t, c);
|
|
61
|
+
}
|
|
62
|
+
for (const t in e.convertCountdown)
|
|
63
|
+
if (a(e.convertCountdown, t)) {
|
|
64
|
+
const c = e.convertCountdown[t];
|
|
65
|
+
this.productBalance.push({
|
|
66
|
+
id: t,
|
|
67
|
+
count: c
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
export {
|
|
74
|
+
w as u
|
|
75
|
+
};
|
package/dist/stores/feature.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export interface FeatureState {
|
|
|
30
30
|
inventory_bulk_import: boolean;
|
|
31
31
|
inventory_portal_surcharge: boolean;
|
|
32
32
|
inventory_purchase_order_cost_edit: boolean;
|
|
33
|
+
inventory_purchase_order_price_adjustment: boolean;
|
|
33
34
|
inventory_purchase_order_workflow_allow_to_mark_completed: boolean;
|
|
34
35
|
inventory_recipe_v2: boolean;
|
|
35
36
|
inventory_print_template: boolean;
|
|
@@ -83,6 +84,7 @@ export declare const useFeatureStore: () => {
|
|
|
83
84
|
readonly enableBulkImport: boolean;
|
|
84
85
|
readonly enableSurcharge: boolean;
|
|
85
86
|
readonly enablePurchaseOrderCostEdit: boolean;
|
|
87
|
+
readonly enablePurchaseOrderPriceAdjustment: boolean;
|
|
86
88
|
readonly poWorkflowAllowToMarkCompleted: boolean;
|
|
87
89
|
readonly enableRecipeV2: boolean;
|
|
88
90
|
readonly enablePrintTemplate: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as b, u, l as v, n as w, o as $ } from "./app-
|
|
2
|
-
import { u as S } from "./feature-
|
|
1
|
+
import { m as b, u, l as v, n as w, o as $ } from "./app-DurCmkYx.js";
|
|
2
|
+
import { u as S } from "./feature-BhtPIg0j.js";
|
|
3
3
|
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
4
4
|
import { defineStore as f } from "pinia";
|
|
5
5
|
import { ref as l, computed as d } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as d } from "vue";
|
|
2
|
-
import { m as w, i as g } from "./app-
|
|
2
|
+
import { m as w, i as g } from "./app-DurCmkYx.js";
|
|
3
3
|
import { useCoreStore as h } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as y } from "@feedmepos/ui-library";
|
|
5
5
|
const p = w((s, r) => {
|