@feedmepos/mf-inventory-portal 1.7.14 → 1.7.15-dev.0
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-aeh6OigH.js +1476 -0
- package/dist/{ApprovalView-BPDiAWh_.js → ApprovalView-D9U2VmYa.js} +9 -9
- package/dist/{BindingsDialog-RUlhC05W.js → BindingsDialog-Ddh44o3y.js} +2 -2
- package/dist/{BindingsPicker-voEXbc8p.js → BindingsPicker-CFtdG6ld.js} +2 -2
- package/dist/{BindingsTable-QuFV3fHq.js → BindingsTable-Dl44JUUS.js} +4 -4
- package/dist/BulkReceiveRequestView-DzjYw8z3.js +2657 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CSxFa-Hr.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bg8FBGzq.js} +6 -2
- package/dist/{ClosingDraftView-BUWt7ufW.js → ClosingDraftView-D0SGlTkF.js} +19 -19
- package/dist/{ClosingHistoryView-BzQ7f_31.js → ClosingHistoryView-BKfhpOEw.js} +5 -5
- package/dist/{ClosingTemplateView-BoDHKL2a.js → ClosingTemplateView-Ikq2OM4z.js} +16 -16
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-B-t0N1PO.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BhTM2C3K.js} +1 -1
- package/dist/{DefaultView-CO4Fk0X3.js → DefaultView-ClKfklyX.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-Clslc2Wf.js → DeliveryOrderPrintPreview-Cfz_N8Bf.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BfQdw5-j.js → EmailDialog.vue_vue_type_script_setup_true_lang-C-GPckzY.js} +2259 -2254
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Brtj-hCD.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BxkzheM9.js} +6 -6
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CHUQOFif.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CoFcZ-Zv.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BqIWvN-i.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BAEpf31G.js} +2 -2
- package/dist/FmLockableField.vue_vue_type_script_setup_true_lang-FCg4K7y8.js +89 -0
- package/dist/{FmMultiselectDialog-D7cnUmM5.js → FmMultiselectDialog-CiOdsRlf.js} +1 -1
- package/dist/{FmMultiselectDialog-GAdb6F9O.js → FmMultiselectDialog-Dr8wRNW7.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DAjM0Dya.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D-Ycop6K.js} +6 -6
- package/dist/{ImportView-CrmY9zsK.js → ImportView-BBqak01n.js} +499 -496
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Sm0goJ7U.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CAJDLjrN.js} +1 -1
- package/dist/{IngredientGroupView-BebnVDQI.js → IngredientGroupView-CghsReO0.js} +5 -5
- package/dist/IngredientsView-DLxTWo-n.js +2239 -0
- package/dist/{IntegrationExplorerView-DxjMZi_f.js → IntegrationExplorerView-C05R8EzL.js} +4 -4
- package/dist/{IntegrationView-Dm6Bkv1g.js → IntegrationView-DpN7PYPc.js} +3077 -3001
- package/dist/{InventoryBindingForm-B5Dd6UGk.js → InventoryBindingForm-CnHzZu12.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-Cls49Zgb.js +563 -0
- package/dist/{InventoryBindingSummary-BO8imeDG.js → InventoryBindingSummary-DK5Z9AKC.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Dp6O-oVL.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-FsxbejSt.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Mkt2BoGf.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DvIbqRH9.js} +1 -1
- package/dist/{ProductionView-DIwvqo6L.js → ProductionView-DeUmELdm.js} +7 -7
- package/dist/{PublishView-CbeljE1v.js → PublishView-CGHFmmCG.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-PzYdJJW9.js → PurchaseOrderPrintPreview-xyXZU3oQ.js} +2 -2
- package/dist/{ReceiveRequestView-NKnqWM_b.js → ReceiveRequestView-CVmAUuqN.js} +14 -14
- package/dist/RecipeView-BSd1V9En.js +3625 -0
- package/dist/{SettingsView-BjX4I2pe.js → SettingsView-AI-JaGxh.js} +4 -4
- package/dist/{StockView--9-NLfX0.js → StockView-CRrYes0h.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BWHPauQW.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DNXdZVOA.js} +1 -1
- package/dist/{SupplierView-B8T6cose.js → SupplierView-BMupiPVi.js} +1156 -1035
- package/dist/{SurchargeView-eVcM29Ss.js → SurchargeView-77KsLF2T.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CYXfguPD.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Brw98Ihw.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CMM1DWU3.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Cjt4YAII.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CuNAt9UU.js → TransferDetails.vue_vue_type_script_setup_true_lang-BHeqFlka.js} +1599 -1535
- package/dist/{TransferTemplateView-D_oKyOUD.js → TransferTemplateView-BMF1_tLd.js} +20 -20
- package/dist/{UnitCostHistoryView-DThFdkNP.js → UnitCostHistoryView-Gp8uWjMQ.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-B6cHxf2Q.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-mwAMQ0B3.js} +4 -4
- package/dist/{UnitView-BQZepbTS.js → UnitView-Cuk5oaOf.js} +8 -8
- package/dist/WarehouseView-Bat0looR.js +1082 -0
- package/dist/{WastageTemplateView-BQO1geZz.js → WastageTemplateView-Coag2jbG.js} +14 -14
- package/dist/api/changelog.d.ts +132 -0
- package/dist/api/netsuite.d.ts +2 -0
- package/dist/api/purchase-order.d.ts +2 -0
- package/dist/{app-KaSY7GIt.js → app-C3gNrduY.js} +10397 -9443
- package/dist/app.d.ts +940 -9
- package/dist/app.js +1 -1
- package/dist/{closing-template-BFEWl8-N.js → closing-template-DKklbhBW.js} +1 -1
- package/dist/cypress/component/ChangelogPanel.cy.d.ts +1 -0
- package/dist/cypress/support/component.d.ts +1 -2
- package/dist/{date2-DnqAk4pp.js → date2-Cx-YVc4N.js} +5 -5
- package/dist/{dayjs.min-e3pyVvVk.js → dayjs.min-Cj2Eh8Tj.js} +1 -1
- package/dist/{decimal-DUKpY1WE.js → decimal-OxPQV_Pd.js} +2 -2
- package/dist/{defineDeepModel-T75uoBAd.js → defineDeepModel-Dud4PiVz.js} +1 -1
- package/dist/{duplicate-template-CdBNGLA2.js → duplicate-template-XAhspiYs.js} +1 -1
- package/dist/{feature-dE--ixN-.js → feature-gYL54g_K.js} +2 -2
- package/dist/{format-time-from-id-D8SWSpBR.js → format-time-from-id-T7WHy_x1.js} +1 -1
- package/dist/{format-unit-display-ChGKpRsq.js → format-unit-display-BsjRSrAe.js} +27 -27
- package/dist/{import-export.helper-BGjE6JjK.js → import-export.helper-CEdt0BWR.js} +6 -6
- package/dist/{index-D_QylMOJ.js → index-BZynONs2.js} +3 -3
- package/dist/{index-JPtVC3tk.js → index-CBcKeIhg.js} +3306 -3232
- package/dist/{index-DdMg0SgN.js → index-DQKbOIoT.js} +1 -1
- package/dist/{inventory-core-dart.default-0h8jmf3F.js → inventory-core-dart.default-D4zV0IQQ.js} +1 -1
- package/dist/{lz-string-NnYfN1XC.js → lz-string-BtyfM17N.js} +1 -1
- package/dist/{netsuite-CAphkhg7.js → netsuite-BEW5HsxM.js} +1717 -1692
- package/dist/{number-C8J8sC6d.js → number-CQBgN-M7.js} +3 -3
- package/dist/{predefined-templates-CB1opHrA.js → predefined-templates-CpP9HOqv.js} +1 -1
- package/dist/{purchase-order-template-p6EdpieI.js → purchase-order-template-PekDPb4u.js} +1 -1
- package/dist/{recalculationUtils-C5whNKrN.js → recalculationUtils-lfhKnVFx.js} +1 -1
- package/dist/{rules-sRZqLpuQ.js → rules-5x2UEFmU.js} +2 -2
- package/dist/{stock-BpfRRZPr.js → stock-Ch5c3jO9.js} +3 -3
- package/dist/{stock-DWrhlch4.js → stock-DqIRhhsu.js} +4 -4
- package/dist/stores/bulk-job.d.ts +13 -0
- package/dist/stores/integration/netsuite.d.ts +54 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-MzC5sRqv.js → supplier-DVxdFpgr.js} +2 -2
- package/dist/{surcharge-ClMtrRgS.js → surcharge-CNGep-bs.js} +8 -8
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-Di7y-2Xl.js → uom-rules-RPvKxFQI.js} +1 -1
- package/dist/{use-ingredient-select-dialog-BPhQJhXq.js → use-ingredient-select-dialog-CPdwTQrN.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BStbsMsT.js → use-inventory-binding-dialog-CeyqcDPW.js} +2 -2
- package/dist/{use-template-enabled-locations-ChCTz0-t.js → use-template-enabled-locations-DJ46fm8w.js} +2 -2
- package/dist/{use-transfer-locations-D8N8x1cE.js → use-transfer-locations-DBIAb9MY.js} +2 -2
- package/dist/{useHrmPermission-DCSqbLxW.js → useHrmPermission-BEDY0i29.js} +1 -1
- package/dist/{useNavigationMenu-D3-zmwIs.js → useNavigationMenu-xXANo9uC.js} +2 -2
- package/dist/{useSseClient-BRHLaPnM.js → useSseClient-B-dfDpdW.js} +1 -1
- package/dist/views/changelog/components/ChangelogDialog.vue.d.ts +19 -0
- package/dist/views/changelog/components/ChangelogFloatingButton.spec.d.ts +1 -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/fab-position.d.ts +21 -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/integration/components/netsuite/business/vendor-publish.d.ts +7 -0
- package/dist/views/integration/components/netsuite/business/vendor-publish.spec.d.ts +1 -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-BMo8ADYz.js → vue-i18n-D64MVhs-.js} +196 -196
- package/dist/{xlsx.util-BSzjcX4G.js → xlsx.util-BntGs-ye.js} +2 -2
- package/package.json +3 -3
- package/dist/App-Blx6Ojzj.js +0 -311
- package/dist/BulkReceiveRequestView-Bix6MV0Z.js +0 -2595
- package/dist/IngredientsView-CZ6Angq_.js +0 -2321
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-D4shlQ9Z.js +0 -441
- package/dist/RecipeView-COQ6WUcz.js +0 -3584
- package/dist/WarehouseView-BZSn9BHl.js +0 -1079
package/dist/app.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import './commands';
|
|
2
|
-
import { mount } from 'cypress/vue';
|
|
3
2
|
import '@/assets/main.css';
|
|
4
3
|
declare global {
|
|
5
4
|
namespace Cypress {
|
|
6
5
|
interface Chainable {
|
|
7
|
-
mount:
|
|
6
|
+
mount(component: unknown, options?: Record<string, any>): Chainable<any>;
|
|
8
7
|
}
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as l } from "./dayjs.min-
|
|
1
|
+
import { d as l } from "./dayjs.min-Cj2Eh8Tj.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-C3gNrduY.js";
|
|
6
6
|
import { readonly as Ge, ref as de } from "vue";
|
|
7
|
-
import "./inventory-core-dart.default-
|
|
7
|
+
import "./inventory-core-dart.default-D4zV0IQQ.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-PekDPb4u.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-C3gNrduY.js";
|
|
7
7
|
import { useRouter as He } from "vue-router";
|
|
8
|
-
import { a as
|
|
8
|
+
import { a as ze } from "./FmMultiselectDialog-Dr8wRNW7.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-T7WHy_x1.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-BntGs-ye.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-CQBgN-M7.js";
|
|
16
|
+
import { f as Je } from "./date2-Cx-YVc4N.js";
|
|
17
|
+
import { u as ge } from "./supplier-DVxdFpgr.js";
|
|
18
|
+
import { a as Ze, B as Xe } from "./rules-5x2UEFmU.js";
|
|
19
|
+
import { u as Te } from "./netsuite-BEW5HsxM.js";
|
|
20
|
+
import { u as et } from "./duplicate-template-XAhspiYs.js";
|
|
21
|
+
import { u as tt } from "./vue-i18n-D64MVhs-.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-CQBgN-M7.js";
|
|
2
|
+
import { u as P } from "./feature-gYL54g_K.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-C3gNrduY.js";
|
|
5
|
+
import { b as N, d as $, s as I } from "./xlsx.util-BntGs-ye.js";
|
|
6
|
+
import { f as _ } from "./date2-Cx-YVc4N.js";
|
|
7
|
+
import { I as O } from "./rules-5x2UEFmU.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-BEW5HsxM.js";
|
|
3
|
+
import { A as L, a as p, u as y, d as k, G as h } from "./app-C3gNrduY.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-gYL54g_K.js";
|
|
7
7
|
function C() {
|
|
8
8
|
return {
|
|
9
9
|
setting: {
|