@feedmepos/mf-inventory-portal 1.7.11 → 1.7.12-dev.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-DE5q8pJt.js +1434 -0
- package/dist/{ApprovalView-Dn0-OeH0.js → ApprovalView-tn3kgVnm.js} +9 -9
- package/dist/{BindingsDialog-BVVu8xWS.js → BindingsDialog-BcpMSsbG.js} +2 -2
- package/dist/{BindingsPicker-krMKURKj.js → BindingsPicker-D-XtjmkW.js} +2 -2
- package/dist/{BindingsTable-CLiGmTHB.js → BindingsTable-CpQ6DVv6.js} +4 -4
- package/dist/BulkReceiveRequestView-BOUrL6ir.js +2657 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BYtJnIsF.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bu9YI9f7.js} +1 -1
- package/dist/{ClosingDraftView-fUMDbnI6.js → ClosingDraftView-BQkusa3K.js} +19 -19
- package/dist/{ClosingHistoryView-Cfvkxwlh.js → ClosingHistoryView-DNmUcfKW.js} +5 -5
- package/dist/{ClosingTemplateView-DtIeSknz.js → ClosingTemplateView-BGMMQIlm.js} +16 -16
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Bz7CjD7v.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BlrhLlmx.js} +1 -1
- package/dist/{DefaultView-BbN62d8p.js → DefaultView-DbW7mva7.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-91UH3oJ8.js → DeliveryOrderPrintPreview-C6gqP8ro.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DDunnzgw.js → EmailDialog.vue_vue_type_script_setup_true_lang-XU50lg6w.js} +2259 -2254
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CKlpaNGP.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D-3eipuP.js} +6 -6
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DOqGzn08.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CfmhYGml.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxdQsFqQ.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DyEY4i7p.js} +2 -2
- package/dist/{FmMultiselectDialog-Dg70WmLs.js → FmMultiselectDialog-DCzjYd3G.js} +2 -2
- package/dist/{FmMultiselectDialog-BEVkUX96.js → FmMultiselectDialog-zWGXAdy0.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-RQ44PYLb.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Ple3fGYg.js} +6 -6
- package/dist/{ImportView-C0hAMz8m.js → ImportView-pEnmvGQZ.js} +499 -496
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-C6SNYEJl.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-zneEDRRK.js} +1 -1
- package/dist/{IngredientGroupView-CRGyWM_X.js → IngredientGroupView-C4LKT2no.js} +5 -5
- package/dist/{IngredientsView-C7CVkoou.js → IngredientsView-BuAz_kTx.js} +18 -17
- package/dist/{IntegrationExplorerView-2nvAOHbA.js → IntegrationExplorerView-C2BSURrj.js} +4 -4
- package/dist/{IntegrationView-CYSaTE2T.js → IntegrationView-D_mBNCCe.js} +14 -14
- package/dist/{InventoryBindingForm-CezLMw2l.js → InventoryBindingForm-bZo-006V.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-DJg4Yogw.js +563 -0
- package/dist/{InventoryBindingSummary-QOztXyC8.js → InventoryBindingSummary-BB9KGZ2m.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BT0zK5o_.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DXUTZvuO.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-_w5kZ9SM.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BaBJdjs1.js} +1 -1
- package/dist/{ProductionView-BveNOlcK.js → ProductionView-Dl-Cyg38.js} +7 -7
- package/dist/{PublishView-bmecemJd.js → PublishView-C3X5HiH6.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CDvO6BLm.js → PurchaseOrderPrintPreview-CSrsukQD.js} +2 -2
- package/dist/{ReceiveRequestView-CwVQ-KzO.js → ReceiveRequestView-DHfHO1hN.js} +14 -14
- package/dist/RecipeView-CDWEAe2t.js +3625 -0
- package/dist/{SettingsView-DJcAum3t.js → SettingsView-BLIWAA-o.js} +4 -4
- package/dist/{StockView-GDvWxpOJ.js → StockView-C0v3io9V.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DcCO7HHD.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DlECppRw.js} +1 -1
- package/dist/{SupplierView-C3S8tTyF.js → SupplierView-J61tPOTo.js} +12 -12
- package/dist/{SurchargeView-skaVlUu3.js → SurchargeView-BACvlFV2.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BrBgjPjN.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DJ08rDXE.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BcvXD9Kt.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CSLs6e0k.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BO6vRibE.js → TransferDetails.vue_vue_type_script_setup_true_lang-C_cRs9Cy.js} +1639 -1575
- package/dist/{TransferTemplateView-j6GNvA2S.js → TransferTemplateView-CEAAZaYQ.js} +20 -20
- package/dist/{UnitCostHistoryView-0H_0-DbA.js → UnitCostHistoryView-rmgLm5vt.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DJa1AaL2.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-o1eSDUbx.js} +4 -4
- package/dist/{UnitView-CSD1Gnsb.js → UnitView-C0xIGsAy.js} +8 -8
- package/dist/WarehouseView-RPXyVYIR.js +1082 -0
- package/dist/{WastageTemplateView-kvuJXBiI.js → WastageTemplateView-DrEDl-Cn.js} +14 -14
- package/dist/api/changelog.d.ts +132 -0
- package/dist/api/purchase-order.d.ts +2 -0
- package/dist/{app-Bon7qTu5.js → app-DxdWfyxo.js} +10046 -9137
- package/dist/app.d.ts +906 -15
- package/dist/app.js +1 -1
- package/dist/{closing-template-BjekEF5s.js → closing-template-DLkEPmhO.js} +1 -1
- package/dist/{date2-BXEHP1It.js → date2-_HV-UUr-.js} +5 -5
- package/dist/{dayjs.min-iFbgqyzU.js → dayjs.min-B4ZBHgnH.js} +1 -1
- package/dist/{decimal-BIi1j8fj.js → decimal-BP9r-3Fd.js} +2 -2
- package/dist/{defineDeepModel-IMW3a6OW.js → defineDeepModel-512Elkp4.js} +1 -1
- package/dist/{duplicate-template-DFciXweZ.js → duplicate-template-B5Wg73Th.js} +1 -1
- package/dist/{feature-CNI4MMSc.js → feature-CqyeXw0w.js} +2 -2
- package/dist/{format-time-from-id-DDH3ceGb.js → format-time-from-id-CBkBQaBx.js} +1 -1
- package/dist/{format-unit-display-Dp383g0F.js → format-unit-display-DNWWwkbf.js} +27 -27
- package/dist/{import-export.helper-BPK_S1mX.js → import-export.helper-BSz6k4kC.js} +6 -6
- package/dist/{index-BeP05_CC.js → index-BcC1HW4y.js} +3 -3
- package/dist/{index-BbhrAzLH.js → index-DCGTaCsW.js} +1 -1
- package/dist/{index-D20KUiXn.js → index-Dxc2IYXi.js} +3306 -3232
- package/dist/{inventory-core-dart.default-B7F_lZ7E.js → inventory-core-dart.default-BbZy6Cok.js} +1 -1
- package/dist/{lz-string-C_xIP_0T.js → lz-string-RCKGmlTu.js} +1 -1
- package/dist/{netsuite-a6M2ml9V.js → netsuite-tMIpKK4c.js} +3 -2
- package/dist/{number-4OG2ZSmc.js → number-Bf8QDJ39.js} +3 -3
- package/dist/{predefined-templates-CjXICvUU.js → predefined-templates-Bh5ObypP.js} +1 -1
- package/dist/{purchase-order-template-CXdomQWy.js → purchase-order-template-Cdeh8-im.js} +1 -1
- package/dist/{recalculationUtils-CEAhd7BW.js → recalculationUtils-CJ02T70y.js} +1 -1
- package/dist/{rules-Dvr47IAA.js → rules-BrpDaHZu.js} +2 -2
- package/dist/{stock-Caf05ukJ.js → stock-BP1CvvEN.js} +3 -3
- package/dist/{stock-DEOhLNew.js → stock-Ca3ejqyO.js} +1 -1
- package/dist/stores/bulk-job.d.ts +13 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-BvHSfhV9.js → supplier-CikAplrR.js} +2 -2
- package/dist/{surcharge-Cu0KfPTD.js → surcharge-z_QfAREF.js} +8 -8
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-D71zOsgd.js → uom-rules-BU0EkWV5.js} +1 -1
- package/dist/{use-ingredient-select-dialog-DZzvq4UK.js → use-ingredient-select-dialog-DxxL31dH.js} +2 -2
- package/dist/{use-inventory-binding-dialog-C1focrkJ.js → use-inventory-binding-dialog-oRxuJqJI.js} +2 -2
- package/dist/{use-template-enabled-locations-DMcKtqkt.js → use-template-enabled-locations-CcQMhBXm.js} +2 -2
- package/dist/{use-transfer-locations-DJttEyyP.js → use-transfer-locations-ByuoGAkE.js} +2 -2
- package/dist/{useHrmPermission-DaLaaQR9.js → useHrmPermission-VmapATbV.js} +1 -1
- package/dist/{useNavigationMenu-CoX50gGK.js → useNavigationMenu-D6vXqC9N.js} +2 -2
- package/dist/{useSseClient-DTpRYQC7.js → useSseClient-Dzsg1Vj-.js} +1 -1
- package/dist/views/changelog/components/ChangelogDialog.vue.d.ts +19 -0
- package/dist/views/changelog/components/ChangelogFloatingButton.vue.d.ts +2 -0
- package/dist/views/changelog/components/ChangelogPanel.spec.d.ts +1 -0
- package/dist/views/changelog/components/ChangelogPanel.vue.d.ts +20 -0
- package/dist/views/changelog/composables/change-path.d.ts +10 -0
- package/dist/views/changelog/composables/commit-message.d.ts +9 -0
- package/dist/views/changelog/composables/commit-message.spec.d.ts +1 -0
- package/dist/views/changelog/composables/json-line-diff.d.ts +10 -0
- package/dist/views/changelog/composables/json-line-diff.spec.d.ts +1 -0
- package/dist/views/changelog/composables/use-changelog.d.ts +90 -0
- package/dist/views/changelog/composables/use-changelog.spec.d.ts +1 -0
- package/dist/views/changelog/composables/use-inventory-record-commits.d.ts +97 -0
- package/dist/views/changelog/composables/use-inventory-record-commits.spec.d.ts +1 -0
- package/dist/views/changelog/composables/use-snapshot-diff.d.ts +29 -0
- package/dist/views/changelog/composables/use-snapshot-diff.spec.d.ts +1 -0
- package/dist/views/changelog/composables/value-tree.d.ts +14 -0
- package/dist/views/changelog/composables/value-tree.spec.d.ts +1 -0
- package/dist/views/import/helper/submit-rows.d.ts +13 -0
- package/dist/views/import/helper/submit-rows.spec.d.ts +1 -0
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +2 -0
- package/dist/views/ingredients/components/inventory-binding/RecipeBindingBreakdown.vue.d.ts +25 -0
- package/dist/views/ingredients/components/inventory-binding/composables/recipe-breakdown.d.ts +34 -0
- package/dist/views/ingredients/components/inventory-binding/composables/recipe-breakdown.spec.d.ts +1 -0
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +2 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +4 -0
- package/dist/views/receive-request/components/email-dialog/EmailDialog.spec.d.ts +1 -0
- package/dist/views/receive-request/components/email-dialog/EmailDialogProps.d.ts +23 -9
- package/dist/views/recipe/composables/use-recipe-table.d.ts +11 -0
- package/dist/{vue-i18n-BC7M3p_r.js → vue-i18n-DApbl4qi.js} +540 -540
- package/dist/{xlsx.util-D7HlgjJM.js → xlsx.util-B75j3mbr.js} +2 -2
- package/package.json +3 -3
- package/dist/App-C_6oyWjy.js +0 -311
- package/dist/BulkReceiveRequestView-FKdv9h5_.js +0 -2595
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CJ1HyFqS.js +0 -441
- package/dist/RecipeView-B32tleCa.js +0 -3584
- package/dist/WarehouseView-Cua66P5F.js +0 -1079
package/dist/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as l } from "./dayjs.min-
|
|
1
|
+
import { d as l } from "./dayjs.min-B4ZBHgnH.js";
|
|
2
2
|
const T = new Intl.DateTimeFormat("en-US", {
|
|
3
3
|
year: "numeric",
|
|
4
4
|
month: "2-digit",
|
|
@@ -102,10 +102,10 @@ function I(e, t = /* @__PURE__ */ new Date()) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
export {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
g as a,
|
|
106
|
+
p as b,
|
|
107
|
+
c,
|
|
108
|
+
M as d,
|
|
109
109
|
h as e,
|
|
110
110
|
w as f,
|
|
111
111
|
I as g,
|
|
@@ -2,9 +2,9 @@ var ht = Object.defineProperty;
|
|
|
2
2
|
var pt = (l, u, _) => u in l ? ht(l, u, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : l[u] = _;
|
|
3
3
|
var ce = (l, u, _) => pt(l, typeof u != "symbol" ? u + "" : u, _);
|
|
4
4
|
import { useCoreStore as Ke } from "@feedmepos/mf-common";
|
|
5
|
-
import { Y as ve, a as ft, u as Ve,
|
|
5
|
+
import { Y as ve, a as ft, u as Ve, k as ot } from "./app-DxdWfyxo.js";
|
|
6
6
|
import { readonly as Ge, ref as de } from "vue";
|
|
7
|
-
import "./inventory-core-dart.default-
|
|
7
|
+
import "./inventory-core-dart.default-BbZy6Cok.js";
|
|
8
8
|
var qe = { exports: {} };
|
|
9
9
|
(function(l, u) {
|
|
10
10
|
(function(_, p) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { components as ce, useDialogChild as Pe, useSnackbar as de, useDialog as Me, FmButtonVariant as te } from "@feedmepos/ui-library";
|
|
2
2
|
import { defineStore as pe } from "pinia";
|
|
3
3
|
import { F as xe } from "./form-mode.enum-BKiNVH6A.js";
|
|
4
|
-
import { u as fe } from "./purchase-order-template-
|
|
5
|
-
import { ref as I, h as oe, defineComponent as ye, resolveComponent as W, createElementBlock as F, openBlock as O, createElementVNode as N, createCommentVNode as J, normalizeClass as Z, createTextVNode as Be, toDisplayString as q, unref as B, createVNode as
|
|
6
|
-
import { a as X, c as ve, r as L, u as ie,
|
|
4
|
+
import { u as fe } from "./purchase-order-template-Cdeh8-im.js";
|
|
5
|
+
import { ref as I, h as oe, defineComponent as ye, resolveComponent as W, createElementBlock as F, openBlock as O, createElementVNode as N, createCommentVNode as J, normalizeClass as Z, createTextVNode as Be, toDisplayString as q, unref as B, createVNode as z, withCtx as me, Fragment as Y, renderList as ae, onMounted as Le, computed as H, watch as Qe, createSlots as Ue, createBlock as re } from "vue";
|
|
6
|
+
import { a as X, c as ve, r as L, u as ie, m as qe, k as _e, s as Ve, R as we } from "./app-DxdWfyxo.js";
|
|
7
7
|
import { useRouter as He } from "vue-router";
|
|
8
|
-
import { a as
|
|
8
|
+
import { a as ze } from "./FmMultiselectDialog-DCzjYd3G.js";
|
|
9
9
|
import { D as ne, R as U } from "./row-action.enum-ncgDYAjP.js";
|
|
10
|
-
import { c as
|
|
11
|
-
import { f as Ye } from "./format-time-from-id-
|
|
10
|
+
import { c as je } from "./component-BmLAdDiY.js";
|
|
11
|
+
import { f as Ye } from "./format-time-from-id-CBkBQaBx.js";
|
|
12
12
|
import { useI18n as he, useCoreStore as Ie } from "@feedmepos/mf-common";
|
|
13
|
-
import { t as K, a as Ce, d as Oe, s as Ae, r as Ke } from "./xlsx.util-
|
|
13
|
+
import { t as K, a as Ce, d as Oe, s as Ae, r as Ke } from "./xlsx.util-B75j3mbr.js";
|
|
14
14
|
import { F as Ge } from "./FmDroppableField-J0tG_U3w.js";
|
|
15
|
-
import { a as G, c as We, t as se, g as ue } from "./number-
|
|
16
|
-
import { f as Je } from "./date2-
|
|
17
|
-
import { u as ge } from "./supplier-
|
|
18
|
-
import { a as Ze, B as Xe } from "./rules-
|
|
19
|
-
import { u as Te } from "./netsuite-
|
|
20
|
-
import { u as et } from "./duplicate-template-
|
|
21
|
-
import { u as tt } from "./vue-i18n-
|
|
15
|
+
import { a as G, c as We, t as se, g as ue } from "./number-Bf8QDJ39.js";
|
|
16
|
+
import { f as Je } from "./date2-_HV-UUr-.js";
|
|
17
|
+
import { u as ge } from "./supplier-CikAplrR.js";
|
|
18
|
+
import { a as Ze, B as Xe } from "./rules-BrpDaHZu.js";
|
|
19
|
+
import { u as Te } from "./netsuite-tMIpKK4c.js";
|
|
20
|
+
import { u as et } from "./duplicate-template-B5Wg73Th.js";
|
|
21
|
+
import { u as tt } from "./vue-i18n-DApbl4qi.js";
|
|
22
22
|
function De(n) {
|
|
23
23
|
const e = X(), o = n.sku, d = e.skuById[o._id];
|
|
24
24
|
if (d.unit._id !== o.unit._id) return !0;
|
|
@@ -161,7 +161,7 @@ const be = pe(
|
|
|
161
161
|
ne[U.Duplicate],
|
|
162
162
|
ne[U.Delete]
|
|
163
163
|
];
|
|
164
|
-
return
|
|
164
|
+
return je(h, (b) => i(b, c));
|
|
165
165
|
},
|
|
166
166
|
enableSorting: !1,
|
|
167
167
|
size: 40,
|
|
@@ -737,14 +737,14 @@ const dt = { class: "flex items-center gap-12 pl-8" }, pt = { class: "flex flex-
|
|
|
737
737
|
e.type === "create" ? (O(), F("span", vt, "(new)")) : J("", !0)
|
|
738
738
|
], 2),
|
|
739
739
|
e.errors.length ? (O(), F("div", ht, [
|
|
740
|
-
|
|
740
|
+
z(u, { "z-index": 50 }, {
|
|
741
741
|
content: me(() => [
|
|
742
742
|
N("ol", null, [
|
|
743
743
|
(O(!0), F(Y, null, ae(e.errors, (r, i) => (O(), F("li", { key: i }, q(r), 1))), 128))
|
|
744
744
|
])
|
|
745
745
|
]),
|
|
746
746
|
default: me(() => [
|
|
747
|
-
|
|
747
|
+
z(d, {
|
|
748
748
|
name: "error",
|
|
749
749
|
size: "sm",
|
|
750
750
|
color: "system-error-300"
|
|
@@ -850,14 +850,14 @@ const dt = { class: "flex items-center gap-12 pl-8" }, pt = { class: "flex flex-
|
|
|
850
850
|
t[2] || (t[2] = N("div", { class: "fm-typo-en-body-md-400" }, "Import transfer templates from excel sheets.", -1)),
|
|
851
851
|
s.value ? (O(), F("div", Tt, [
|
|
852
852
|
N("div", null, [
|
|
853
|
-
|
|
853
|
+
z(S, {
|
|
854
854
|
size: "md",
|
|
855
855
|
color: "neutral-gray-200"
|
|
856
856
|
})
|
|
857
857
|
]),
|
|
858
858
|
t[1] || (t[1] = N("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, "Loading...", -1))
|
|
859
859
|
])) : (O(), F(Y, { key: 1 }, [
|
|
860
|
-
|
|
860
|
+
z(Ge, {
|
|
861
861
|
class: Z({
|
|
862
862
|
"w-full": !0,
|
|
863
863
|
"h-[200px]": !e.value
|
|
@@ -903,7 +903,7 @@ const dt = { class: "flex items-center gap-12 pl-8" }, pt = { class: "flex flex-
|
|
|
903
903
|
N("div", St, q(e.value.name), 1)
|
|
904
904
|
], 2),
|
|
905
905
|
u.value ? J("", !0) : (O(), F("div", xt, [
|
|
906
|
-
|
|
906
|
+
z(w, {
|
|
907
907
|
label: B(c)("inventory.ingredient.import.replaceFile"),
|
|
908
908
|
variant: p.value ? "destructive" : "secondary",
|
|
909
909
|
"prepend-icon": p.value ? void 0 : "autorenew",
|
|
@@ -916,7 +916,7 @@ const dt = { class: "flex items-center gap-12 pl-8" }, pt = { class: "flex flex-
|
|
|
916
916
|
key: _,
|
|
917
917
|
class: "flex gap-8 items-center"
|
|
918
918
|
}, [
|
|
919
|
-
|
|
919
|
+
z(E, {
|
|
920
920
|
name: "error",
|
|
921
921
|
size: "sm",
|
|
922
922
|
color: "system-error-300"
|
|
@@ -997,8 +997,8 @@ const Ct = {
|
|
|
997
997
|
return $.purchaseOrder.items = $.purchaseOrder.items.map((k) => {
|
|
998
998
|
if (k.sku._id !== T) return k;
|
|
999
999
|
const P = {};
|
|
1000
|
-
for (const
|
|
1001
|
-
for (const ee of Ct[
|
|
1000
|
+
for (const j of p.value)
|
|
1001
|
+
for (const ee of Ct[j])
|
|
1002
1002
|
P[ee] = i.value[ee];
|
|
1003
1003
|
return { ...k, ...P };
|
|
1004
1004
|
}), $;
|
|
@@ -1039,13 +1039,13 @@ const Ct = {
|
|
|
1039
1039
|
), $ = /* @__PURE__ */ new Map();
|
|
1040
1040
|
C.forEach((k, P) => {
|
|
1041
1041
|
if (k.status === "rejected") {
|
|
1042
|
-
const
|
|
1043
|
-
$.set(
|
|
1042
|
+
const j = T[P], ee = k.reason instanceof Error ? k.reason.message : String(k.reason ?? "Unknown error");
|
|
1043
|
+
$.set(j._id, ee);
|
|
1044
1044
|
} else
|
|
1045
1045
|
b.value = /* @__PURE__ */ new Set([...b.value, T[P]._id]);
|
|
1046
1046
|
}), $.size > 0 ? (h.value = $, await d.fetchTemplates(), l.value = l.value.map((k) => {
|
|
1047
1047
|
if (!$.has(k._id)) return k;
|
|
1048
|
-
const P = d.templates.find((
|
|
1048
|
+
const P = d.templates.find((j) => j._id === k._id);
|
|
1049
1049
|
return P ? { ...k, _rev: P._rev } : k;
|
|
1050
1050
|
}), o.open({
|
|
1051
1051
|
title: e("inventory.transfer.template.bulkEditor.save.partialErrorTitle"),
|
|
@@ -1293,7 +1293,7 @@ const Ct = {
|
|
|
1293
1293
|
});
|
|
1294
1294
|
return D.sort((g, M) => +!!g.disabled - +!!M.disabled), n.open({
|
|
1295
1295
|
title: "Select one template",
|
|
1296
|
-
contentComponent:
|
|
1296
|
+
contentComponent: ze,
|
|
1297
1297
|
contentComponentProps: {
|
|
1298
1298
|
items: D,
|
|
1299
1299
|
singleSelect: !0
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as w, t as H, f as T } from "./number-
|
|
2
|
-
import { u as P } from "./feature-
|
|
1
|
+
import { a as w, t as H, f as T } from "./number-Bf8QDJ39.js";
|
|
2
|
+
import { u as P } from "./feature-CqyeXw0w.js";
|
|
3
3
|
import { useCoreStore as y } from "@feedmepos/mf-common";
|
|
4
|
-
import { a as g, g as k,
|
|
5
|
-
import { b as N, d as $, s as I } from "./xlsx.util-
|
|
6
|
-
import { f as _ } from "./date2-
|
|
7
|
-
import { I as O } from "./rules-
|
|
4
|
+
import { a as g, g as k, m as j, e as S } from "./app-DxdWfyxo.js";
|
|
5
|
+
import { b as N, d as $, s as I } from "./xlsx.util-B75j3mbr.js";
|
|
6
|
+
import { f as _ } from "./date2-_HV-UUr-.js";
|
|
7
|
+
import { I as O } from "./rules-BrpDaHZu.js";
|
|
8
8
|
function U() {
|
|
9
9
|
return {
|
|
10
10
|
low: 6,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as v, computed as f } from "vue";
|
|
2
|
-
import { u as w } from "./netsuite-
|
|
3
|
-
import { A as L, a as p, u as y,
|
|
2
|
+
import { u as w } from "./netsuite-tMIpKK4c.js";
|
|
3
|
+
import { A as L, a as p, u as y, d as k, G as h } from "./app-DxdWfyxo.js";
|
|
4
4
|
import { useSnackbar as B } from "@feedmepos/ui-library";
|
|
5
5
|
import { useCoreStore as E } from "@feedmepos/mf-common";
|
|
6
|
-
import { u as S } from "./feature-
|
|
6
|
+
import { u as S } from "./feature-CqyeXw0w.js";
|
|
7
7
|
function C() {
|
|
8
8
|
return {
|
|
9
9
|
setting: {
|