@feedmepos/mf-inventory-portal 0.0.22-dev.4 → 0.0.22-dev.40
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/{ApprovalView-xF73Z1jN.js → ApprovalView-JOsQBu1z.js} +25 -26
- package/dist/{BindingsDialog-CCSAxGT4.js → BindingsDialog-DG2ZolH1.js} +9 -9
- package/dist/{BindingsPicker-ErFH0uEQ.js → BindingsPicker-B7h_iST8.js} +22 -22
- package/dist/{BindingsTable-D8ffJgIJ.js → BindingsTable-BToh6gcG.js} +1 -1
- package/dist/ClosingTemplateView-BwMJAxuz.js +1688 -0
- package/dist/FmDroppableField-CJNAT3h2.js +152 -0
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-4NHQdjz7.js +266 -0
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Cc_P0kss.js +364 -0
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-DMOalXUS.js +51 -0
- package/dist/IngredientsView-ChnCqdWi.js +1611 -0
- package/dist/{IntegrationView-54yz2EqS.js → IntegrationView-NWkc9PLW.js} +71 -71
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKvKlCk-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQW6HYyD.js} +1 -1
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BQqcpZIJ.js +116 -0
- package/dist/{PurchaseOrderPrintPreview-pcpWSfl4.js → PurchaseOrderPrintPreview-BvED8ZbQ.js} +7 -7
- package/dist/ReceiveRequestView-DdxBaqmU.js +4069 -0
- package/dist/RecipeView-YdSRy_yP.js +591 -0
- package/dist/Standalone.vue.d.ts +2 -0
- package/dist/StockView-WF5z4dTF.js +7762 -0
- package/dist/{SupplierView-TYCkPXan.js → SupplierView-H2Vi5lSs.js} +111 -111
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D48gSqHW.js +1137 -0
- package/dist/TransferTemplateView-DeT32cat.js +2054 -0
- package/dist/{UnitView-B9yE4-rc.js → UnitView-qD9JSdHT.js} +18 -18
- package/dist/{WarehouseView-DUtVLTjb.js → WarehouseView-C19Dd53y.js} +176 -177
- package/dist/api/bill.d.ts +84 -238
- package/dist/api/closing-template.d.ts +6 -4
- package/dist/api/inventory.d.ts +72 -85
- package/dist/api/netsuite.d.ts +47 -0
- package/dist/api/purchase-order-template.d.ts +4 -6
- package/dist/{app-w8TOQVZc.js → app-DKE_n9Mo.js} +24520 -23671
- package/dist/app.d.ts +7 -0
- package/dist/app.js +3 -3
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
- package/dist/components/FmMinMaxInputRules.d.ts +2 -0
- package/dist/components/FmUnitInputRules.d.ts +2 -0
- package/dist/components/map/GoogleMap.vue.d.ts +4 -4
- package/dist/{decimal-C4q7UMfr.js → decimal-veoPLYim.js} +1 -1
- package/dist/defineDeepModel-u6t3hXU9.js +13 -0
- package/dist/format-time-from-id-8gjg5B98.js +15 -0
- package/dist/helper/rules.d.ts +7 -0
- package/dist/helper/rules.spec.d.ts +1 -0
- package/dist/helper/xlsx.util.d.ts +7 -0
- package/dist/purchase-order-transaction-type-CIDEpjJB.js +348 -0
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/feature.d.ts +0 -1
- package/dist/stores/helper/core-store-proxy.d.ts +3 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/inventory.d.ts +85 -0
- package/dist/stores/location.d.ts +508 -503
- package/dist/stores/netsuite.d.ts +69 -0
- package/dist/stores/route.d.ts +0 -5
- package/dist/stores/supplier.d.ts +120 -3
- package/dist/style.css +1 -1
- package/dist/supplier-DLcmVScz.js +70 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-template-enabled-locations-2-CdJVJikY.js +85 -0
- package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1093 -1026
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +1098 -1037
- package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +45 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1944 -82
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2351 -284
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2300 -233
- package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +42 -119
- package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1263 -1466
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1688 -897
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -0
- package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
- package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
- package/dist/{xlsx-BggStaH1.js → xlsx-CrKrCGZz.js} +1525 -1525
- package/dist/xlsx.util-Bcpkvw1Z.js +78 -0
- package/package.json +5 -5
- package/dist/ClosingTemplateView-DdZlX1ug.js +0 -1030
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ZYtBNoaE.js +0 -372
- package/dist/IngredientsView-DnwwQJTN.js +0 -1758
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Bom_KvXW.js +0 -88
- package/dist/ReceiveRequestView-D5HXMY4Z.js +0 -215
- package/dist/RecipeView-BHkTgm5H.js +0 -581
- package/dist/StockView-iczCFYxn.js +0 -1892
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-EN3JgHKF.js +0 -740
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DC0Ss5hi.js +0 -1409
- package/dist/TransferTemplateView-Bbvpuys7.js +0 -1230
- package/dist/defineDeepModel-BOApqV24.js +0 -13
- package/dist/format-time-from-id-Cafjo8fn.js +0 -15
- package/dist/id-to-date-CtSHSVJF.js +0 -30
- package/dist/layout/layout-routes.d.ts +0 -6
- package/dist/purchase-order-transaction-type-CIC5h-6x.js +0 -712
- package/dist/supplier-CM-vZ4bQ.js +0 -69
- package/dist/use-template-enabled-locations-Bm00vEzC.js +0 -57
- package/dist/xlsx.util-CqlYZLKW.js +0 -109
- /package/dist/{layout/InventoryLayout.vue.d.ts → views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as K, computed as _, openBlock as v, createElementBlock as w, createElementVNode as l, Fragment as q, renderList as H, toDisplayString as V, createCommentVNode as Y, ref as M, resolveComponent as I, createBlock as T, withCtx as R, createVNode as y, unref as a, isRef as Z, normalizeClass as ae, normalizeStyle as re, Teleport as ie, normalizeProps as ue, guardReactiveProps as de } from "vue";
|
|
2
|
-
import { u as G, S as me, c as oe, R as
|
|
2
|
+
import { u as G, S as me, c as oe, R as N, A as ce, a as J, l as pe, m as fe, e as ee, i as ve } from "./app-DKE_n9Mo.js";
|
|
3
3
|
import { useDialog as ye, useSnackbar as le, useProxiedModel as te, useBreakpoints as be } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as ge, _ as xe } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
|
-
import { F as U, D as ne, R as
|
|
5
|
+
import { F as U, D as ne, R as j } from "./row-action.enum-PMKMRrZR.js";
|
|
6
6
|
import { defineStore as _e, storeToRefs as he } from "pinia";
|
|
7
7
|
import { c as Ve, _ as Ue, F as we } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
8
8
|
import { useI18n as O } from "@feedmepos/mf-common";
|
|
9
|
-
import { u as Ce, _ as ke, a as Fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { F as Se } from "./decimal-
|
|
11
|
-
import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { u as Ce, _ as ke, a as Fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Cc_P0kss.js";
|
|
10
|
+
import { F as Se } from "./decimal-veoPLYim.js";
|
|
11
|
+
import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQW6HYyD.js";
|
|
12
12
|
const Ee = { class: "flex flex-col gap-8" }, Ie = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "flex flex-col"
|
|
@@ -189,15 +189,15 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
|
|
|
189
189
|
unitViewLoading: r
|
|
190
190
|
};
|
|
191
191
|
});
|
|
192
|
-
function
|
|
192
|
+
function Ne() {
|
|
193
193
|
const { updateUnit: k, deleteUnit: f } = Q(), { t: b } = O();
|
|
194
194
|
async function i(o, m) {
|
|
195
195
|
const c = oe(m);
|
|
196
|
-
if (o ===
|
|
196
|
+
if (o === j.Edit) {
|
|
197
197
|
await k(c);
|
|
198
198
|
return;
|
|
199
199
|
}
|
|
200
|
-
if (o ===
|
|
200
|
+
if (o === j.Delete) {
|
|
201
201
|
await f(c);
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
@@ -220,7 +220,7 @@ function je() {
|
|
|
220
220
|
header: "",
|
|
221
221
|
cell(o) {
|
|
222
222
|
return Ve(
|
|
223
|
-
[ne[
|
|
223
|
+
[ne[j.Edit], ne[j.Delete]],
|
|
224
224
|
(m) => {
|
|
225
225
|
i(m, o.row.original);
|
|
226
226
|
}
|
|
@@ -235,7 +235,7 @@ function je() {
|
|
|
235
235
|
}
|
|
236
236
|
] };
|
|
237
237
|
}
|
|
238
|
-
const
|
|
238
|
+
const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He = { class: "flex-1" }, Ke = { class: "flex-1" }, Ge = { class: "flex" }, Oe = { class: "flex items-center" }, Ye = { class: "fm-typo-en-body-lg-600 flex-grow" }, Je = { class: "flex flex-col gap-24" }, Qe = { class: "flex gap-24" }, We = { class: "flex-1" }, Xe = { class: "flex-1" }, Ze = /* @__PURE__ */ K({
|
|
239
239
|
__name: "UnitForm",
|
|
240
240
|
props: {
|
|
241
241
|
mode: {},
|
|
@@ -329,7 +329,7 @@ const Ne = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
329
329
|
default: R(() => {
|
|
330
330
|
var P;
|
|
331
331
|
return [
|
|
332
|
-
l("div",
|
|
332
|
+
l("div", je, [
|
|
333
333
|
l("div", qe, [
|
|
334
334
|
l("div", He, [
|
|
335
335
|
y(d, {
|
|
@@ -337,7 +337,7 @@ const Ne = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
337
337
|
label: a(o)("inventory.unit.name"),
|
|
338
338
|
modelValue: c.value,
|
|
339
339
|
"onUpdate:modelValue": t[0] || (t[0] = (C) => c.value = C),
|
|
340
|
-
rules: [a(
|
|
340
|
+
rules: [a(N)()],
|
|
341
341
|
"label-mark": "required"
|
|
342
342
|
}, null, 8, ["disabled", "label", "modelValue", "rules"])
|
|
343
343
|
]),
|
|
@@ -347,7 +347,7 @@ const Ne = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
347
347
|
label: a(o)("inventory.unit.symbol"),
|
|
348
348
|
modelValue: p.value,
|
|
349
349
|
"onUpdate:modelValue": t[1] || (t[1] = (C) => p.value = C),
|
|
350
|
-
rules: [a(
|
|
350
|
+
rules: [a(N)()],
|
|
351
351
|
"label-mark": "required"
|
|
352
352
|
}, null, 8, ["disabled", "label", "modelValue", "rules"])
|
|
353
353
|
])
|
|
@@ -397,7 +397,7 @@ const Ne = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
397
397
|
label: a(o)("inventory.unit.measurement.name"),
|
|
398
398
|
modelValue: e.modelValue.measurements[h].name,
|
|
399
399
|
"onUpdate:modelValue": ($) => e.modelValue.measurements[h].name = $,
|
|
400
|
-
rules: [a(
|
|
400
|
+
rules: [a(N)()],
|
|
401
401
|
"label-mark": "required"
|
|
402
402
|
}, null, 8, ["disabled", "label", "modelValue", "onUpdate:modelValue", "rules"])
|
|
403
403
|
]),
|
|
@@ -407,7 +407,7 @@ const Ne = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
407
407
|
label: a(o)("inventory.unit.measurement.symbol"),
|
|
408
408
|
modelValue: e.modelValue.measurements[h].abbrev,
|
|
409
409
|
"onUpdate:modelValue": ($) => e.modelValue.measurements[h].abbrev = $,
|
|
410
|
-
rules: [a(
|
|
410
|
+
rules: [a(N)()],
|
|
411
411
|
"label-mark": "required"
|
|
412
412
|
}, null, 8, ["disabled", "label", "modelValue", "onUpdate:modelValue", "rules"])
|
|
413
413
|
])
|
|
@@ -479,7 +479,7 @@ const Ne = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
479
479
|
try {
|
|
480
480
|
const t = oe(m.value);
|
|
481
481
|
t.precision ?? (t.precision = 0), t.measurements ?? (t.measurements = []), await b.createUnit(t), o.value = !1, i.open({
|
|
482
|
-
title: r("common.success"),
|
|
482
|
+
title: r("inventory.common.success"),
|
|
483
483
|
message: r("inventory.unit.create.success", { name: m.value.name }),
|
|
484
484
|
type: "success"
|
|
485
485
|
});
|
|
@@ -497,7 +497,7 @@ const Ne = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
497
497
|
n.value = !0;
|
|
498
498
|
try {
|
|
499
499
|
await b.updateUnit(m.value), o.value = !1, i.open({
|
|
500
|
-
title: r("common.success"),
|
|
500
|
+
title: r("inventory.common.success"),
|
|
501
501
|
message: r("inventory.unit.update.success", { name: m.value.name }),
|
|
502
502
|
type: "success"
|
|
503
503
|
});
|
|
@@ -569,7 +569,7 @@ const Ne = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
569
569
|
}), nt = { class: "flex flex-col py-8" }, ot = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, lt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, yt = /* @__PURE__ */ K({
|
|
570
570
|
__name: "UnitView",
|
|
571
571
|
setup(k) {
|
|
572
|
-
const f = G(), b = ve(), i = _(() => f.units), { createUnit: r, updateUnit: o } = Q(), { unitDialogProps: m, unitViewLoading: c } = he(Q()), { columnDefs: p } =
|
|
572
|
+
const f = G(), b = ve(), i = _(() => f.units), { createUnit: r, updateUnit: o } = Q(), { unitDialogProps: m, unitViewLoading: c } = he(Q()), { columnDefs: p } = Ne();
|
|
573
573
|
function s(D) {
|
|
574
574
|
D === "add" && r();
|
|
575
575
|
}
|