@feedmepos/mf-inventory-portal 1.7.9 → 1.7.11-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-8RkTRU8A.js +1434 -0
- package/dist/{ApprovalView-DRT6Qd2e.js → ApprovalView-3pDiNOMO.js} +10 -10
- package/dist/{BindingsDialog-CdAUadBI.js → BindingsDialog-CEXDujwo.js} +2 -2
- package/dist/{BindingsPicker-BN_wX0N8.js → BindingsPicker-UfogQ71P.js} +2 -2
- package/dist/{BindingsTable-CK6m-C2K.js → BindingsTable-qxNINfoB.js} +4 -4
- package/dist/BulkReceiveRequestView-BOz0aMxF.js +2657 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CFX666Wz.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Dyy-mkOF.js} +1 -1
- package/dist/ClosingDraftView-DgLOKZZv.js +4656 -0
- package/dist/{ClosingHistoryView-DrI5Qo6C.js → ClosingHistoryView-BMcoewSW.js} +6 -6
- package/dist/{ClosingTemplateView-DilRh_vH.js → ClosingTemplateView-C85_eRfx.js} +17 -17
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Dzaimy8_.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CIXV7TwL.js} +1 -1
- package/dist/{DefaultView-DAud5FWQ.js → DefaultView-BCPdBP97.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-V-x1xvBl.js → DeliveryOrderPrintPreview-DvKOE8bs.js} +8 -8
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-KUJLmR7a.js → EmailDialog.vue_vue_type_script_setup_true_lang-D0XF1ILm.js} +5072 -5067
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BStqqCMn.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-kTHffgJ0.js} +6 -6
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BnHM1BX1.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D6T3zCf3.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BPyrxPpe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-NuIzfwdk.js} +3 -3
- package/dist/{FmMultiselectDialog-BniqAG4j.js → FmMultiselectDialog-CE-n4_oS.js} +1 -1
- package/dist/{FmMultiselectDialog-C2PspPWe.js → FmMultiselectDialog-DAJZwLbn.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Bf3SW_Cs.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BKfT_BMX.js} +6 -6
- package/dist/{ImportView-DWRmu0QT.js → ImportView-CGgk98bu.js} +499 -496
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DY0kkryN.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-D19a-cBS.js} +1 -1
- package/dist/{IngredientGroupView-C6VVdwdq.js → IngredientGroupView-CQ-spqfv.js} +6 -6
- package/dist/{IngredientsView-DuEBYiLy.js → IngredientsView-BDuPrYSY.js} +19 -18
- package/dist/{IntegrationExplorerView-DJh7dTAl.js → IntegrationExplorerView-DXMTYLFQ.js} +5 -5
- package/dist/{IntegrationView-DsH2Hs1K.js → IntegrationView-B6qaoyfJ.js} +15 -15
- package/dist/{InventoryBindingForm-BACENuFH.js → InventoryBindingForm-Cj5DSxr7.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bj4R7KQF.js +563 -0
- package/dist/{InventoryBindingSummary-BncS50eD.js → InventoryBindingSummary-DTdjcASy.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-LzXw3Flm.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-L_Mk0z6y.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dra4APix.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BnjSVqIF.js} +1 -1
- package/dist/{ProductionView-CJ6Oi2ae.js → ProductionView-W2-oSNQn.js} +8 -8
- package/dist/{PublishView-30yz5vFX.js → PublishView-DEX148S9.js} +4 -4
- package/dist/{PurchaseOrderPrintPreview-CclxLcCT.js → PurchaseOrderPrintPreview-DN8TnmIP.js} +5 -5
- package/dist/{ReceiveRequestView-DIQeDhuy.js → ReceiveRequestView-C3ExFs2T.js} +15 -15
- package/dist/RecipeView-BYeKfM6_.js +3625 -0
- package/dist/{SettingsView-Bfp1K782.js → SettingsView-Bv0BdRhB.js} +5 -5
- package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js} +39 -37
- package/dist/{StockView-BNqzu1Rt.js → StockView-Cx2I8wc7.js} +22 -22
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DFI2fuD0.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D3AxBfTX.js} +1 -1
- package/dist/{SupplierView-Bnw_eUE1.js → SupplierView-n8tQo7GX.js} +13 -13
- package/dist/{SurchargeView-B0VoAU4k.js → SurchargeView-BSq_i2LS.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Cymvi3zl.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DrVYEbqs.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DBQx6RAo.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DHbTvUSw.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BMpUm52g.js → TransferDetails.vue_vue_type_script_setup_true_lang-AZjFZAHD.js} +1648 -1584
- package/dist/{TransferTemplateView-BjfxrwzR.js → TransferTemplateView-D29atWbe.js} +21 -21
- package/dist/{UnitCostHistoryView-C3ffDyKS.js → UnitCostHistoryView-Bc75dnSv.js} +5 -5
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-VG2ecWER.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-BL-N9tyu.js} +4 -4
- package/dist/{UnitView-BaR_a9Kw.js → UnitView-CP452QJB.js} +9 -9
- package/dist/{WarehouseView-RQjCcteZ.js → WarehouseView-hAFZ3OgC.js} +6 -6
- package/dist/{WastageTemplateView-D4z8zpwb.js → WastageTemplateView-BHoD95B4.js} +15 -15
- package/dist/api/changelog.d.ts +132 -0
- package/dist/api/purchase-order.d.ts +2 -0
- package/dist/{app-CyTU8N3H.js → app-DMuIqNOV.js} +22057 -21089
- package/dist/app.d.ts +906 -15
- package/dist/app.js +1 -1
- package/dist/{closing-template-B2tB7sQC.js → closing-template-vfraoomZ.js} +1 -1
- package/dist/{date2-DQH6DhKn.js → date2-nHWr0vbq.js} +5 -5
- package/dist/{dayjs.min-BOciSc8b.js → dayjs.min-CWDZGPnC.js} +5 -5
- package/dist/{decimal-yQvd_IOl.js → decimal-BRpZx0Ku.js} +2 -2
- package/dist/{defineDeepModel-DXNMJH2I.js → defineDeepModel-Cpd1mYyq.js} +1 -1
- package/dist/{duplicate-template-DO7WYSTm.js → duplicate-template-D0SC2p3z.js} +1 -1
- package/dist/{feature-v0qFoj-w.js → feature-_LWb4rW0.js} +2 -2
- package/dist/{format-time-from-id-BuBtGQBF.js → format-time-from-id-Dl3MwzI7.js} +1 -1
- package/dist/{format-unit-display-sljdJGi2.js → format-unit-display-DWI0rLun.js} +27 -27
- package/dist/{import-export.helper-B72QRGIw.js → import-export.helper-B0Y6WK3R.js} +6 -6
- package/dist/{index-CU4Kuswf.js → index-7XQuT32d.js} +1 -1
- package/dist/{index-BCGkKprE.js → index-BSnZJjFV.js} +3 -3
- package/dist/{index-TQcHaMrv.js → index-BpvlLCUv.js} +3306 -3232
- package/dist/{inventory-core-dart.default-BgoK1eTS.js → inventory-core-dart.default-DGcUQGOR.js} +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -0
- package/dist/{lz-string-BjdS2wyT.js → lz-string-Lbge8hci.js} +1 -1
- package/dist/{netsuite-z7vVdCsZ.js → netsuite-CFXLrvd1.js} +3 -2
- package/dist/{number-CPj4E2k6.js → number-B7y_oaIm.js} +3 -3
- package/dist/{predefined-templates-Bhig3JBF.js → predefined-templates-SX1B-fCF.js} +1 -1
- package/dist/{purchase-order-template-CNDfnM86.js → purchase-order-template-qKmMGW-y.js} +1 -1
- package/dist/{recalculationUtils-CQNmwxc2.js → recalculationUtils-DdG6rZr1.js} +1 -1
- package/dist/{rules-9N5HIcET.js → rules-DRizXY3Q.js} +2 -2
- package/dist/{stock-uZA1to9T.js → stock-BAMK_7xp.js} +1 -1
- package/dist/{stock-B7QJYZif.js → stock-CAlt5MDT.js} +3 -3
- package/dist/stores/bulk-job.d.ts +13 -0
- package/dist/stores/inventory.d.ts +11 -2
- package/dist/style.css +1 -1
- package/dist/{supplier-B8DQBfvr.js → supplier-B34rnmVy.js} +2 -2
- package/dist/{surcharge-DHf5QM_k.js → surcharge-CMBDRIiD.js} +8 -8
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-IHu3f_dQ.js → uom-rules-DE4OV7iK.js} +1 -1
- package/dist/{use-ingredient-select-dialog-Cd3IeQRi.js → use-ingredient-select-dialog-4yUGH4g0.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BG0l9YPD.js → use-inventory-binding-dialog-CY42PPSW.js} +2 -2
- package/dist/{use-template-enabled-locations-b39RUsFB.js → use-template-enabled-locations-BhYnNMZ_.js} +2 -2
- package/dist/{use-transfer-locations-BPzNKZEi.js → use-transfer-locations-agCdJKE0.js} +2 -2
- package/dist/{useHrmPermission-BpoNpgJ-.js → useHrmPermission-BQxDr0db.js} +1 -1
- package/dist/{useNavigationMenu-CaG9YOud.js → useNavigationMenu-Cm5dPWI-.js} +2 -2
- package/dist/{useSseClient-B2KhM-LZ.js → useSseClient-DkX7GX1_.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/closing-draft/components/closing-draft-dialog/ClosingDraftOutdatedApproveWarning.spec.d.ts +1 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftOutdatedApproveWarning.vue.d.ts +24 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftSkuCell.spec.d.ts +1 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftSkuCell.vue.d.ts +23 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/closing-draft-bridge.d.ts +4 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/use-outdated-draft-items.d.ts +10 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/use-outdated-draft-items.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-DgJpgCMa.js → vue-i18n-CsKZo5u4.js} +271 -271
- package/dist/{xlsx.util-Bkd2A_If.js → xlsx.util-Cy5DyLlu.js} +2 -2
- package/package.json +4 -2
- package/dist/App-wSwzHKiz.js +0 -311
- package/dist/BulkReceiveRequestView-BXs22T-g.js +0 -2584
- package/dist/ClosingDraftView-IffpT50J.js +0 -4496
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-BlxNT4bV.js +0 -441
- package/dist/RecipeView-D8DyqwP-.js +0 -3584
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-CWDZGPnC.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,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { y as Q,
|
|
1
|
+
import { y as Q, Y as K } from "./app-DMuIqNOV.js";
|
|
2
2
|
var E = { exports: {} };
|
|
3
|
-
(function(V,
|
|
3
|
+
(function(V, X) {
|
|
4
4
|
(function(W, k) {
|
|
5
5
|
V.exports = k();
|
|
6
|
-
})(
|
|
6
|
+
})(K, function() {
|
|
7
7
|
var W = 1e3, k = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", y = "year", _ = "date", J = "Invalid Date", q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, G = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
|
|
8
8
|
var n = ["th", "st", "nd", "rd"], t = s % 100;
|
|
9
9
|
return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
|
|
@@ -275,8 +275,8 @@ var E = { exports: {} };
|
|
|
275
275
|
}, f.en = D[x], f.Ls = D, f.p = {}, f;
|
|
276
276
|
});
|
|
277
277
|
})(E);
|
|
278
|
-
var
|
|
279
|
-
const et = /* @__PURE__ */ Q(
|
|
278
|
+
var R = E.exports;
|
|
279
|
+
const et = /* @__PURE__ */ Q(R);
|
|
280
280
|
export {
|
|
281
281
|
et as d
|
|
282
282
|
};
|
|
@@ -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 {
|
|
5
|
+
import { Y as ve, a as ft, u as Ve, k as ot } from "./app-DMuIqNOV.js";
|
|
6
6
|
import { readonly as Ge, ref as de } from "vue";
|
|
7
|
-
import "./inventory-core-dart.default-
|
|
7
|
+
import "./inventory-core-dart.default-DGcUQGOR.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-qKmMGW-y.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-DMuIqNOV.js";
|
|
7
7
|
import { useRouter as He } from "vue-router";
|
|
8
|
-
import { a as
|
|
8
|
+
import { a as ze } from "./FmMultiselectDialog-DAJZwLbn.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-Dl3MwzI7.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-Cy5DyLlu.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-B7y_oaIm.js";
|
|
16
|
+
import { f as Je } from "./date2-nHWr0vbq.js";
|
|
17
|
+
import { u as ge } from "./supplier-B34rnmVy.js";
|
|
18
|
+
import { a as Ze, B as Xe } from "./rules-DRizXY3Q.js";
|
|
19
|
+
import { u as Te } from "./netsuite-CFXLrvd1.js";
|
|
20
|
+
import { u as et } from "./duplicate-template-D0SC2p3z.js";
|
|
21
|
+
import { u as tt } from "./vue-i18n-CsKZo5u4.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-B7y_oaIm.js";
|
|
2
|
+
import { u as P } from "./feature-_LWb4rW0.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-DMuIqNOV.js";
|
|
5
|
+
import { b as N, d as $, s as I } from "./xlsx.util-Cy5DyLlu.js";
|
|
6
|
+
import { f as _ } from "./date2-nHWr0vbq.js";
|
|
7
|
+
import { I as O } from "./rules-DRizXY3Q.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-CFXLrvd1.js";
|
|
3
|
+
import { A as L, a as p, u as y, d as k, G as h } from "./app-DMuIqNOV.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-_LWb4rW0.js";
|
|
7
7
|
function C() {
|
|
8
8
|
return {
|
|
9
9
|
setting: {
|