@feedmepos/mf-inventory-portal 1.0.36-dev.6 → 1.0.36
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-p0OfVvta.js → App-BM-ivBnF.js} +46 -47
- package/dist/{ApprovalView-DPBSTlsb.js → ApprovalView-C4hE43Zp.js} +8 -8
- package/dist/{BindingsDialog-ADhnq8rd.js → BindingsDialog-BqjiXxGY.js} +8 -8
- package/dist/{BindingsPicker-C27I8rla.js → BindingsPicker-DqCR7P5k.js} +1 -1
- package/dist/{BindingsTable-BCrjUyRA.js → BindingsTable-DD_mVBtS.js} +1 -1
- package/dist/{ClosingDraftView-CAeA34YR.js → ClosingDraftView-CL09Xu9q.js} +49 -49
- package/dist/ClosingTemplateView-CDWMdZOk.js +1804 -0
- package/dist/{DeliveryOrderPrintPreview-BHaatock.js → DeliveryOrderPrintPreview-CNPUHnpX.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-n7mTgY-4.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DB6m8oSF.js} +3 -3
- package/dist/{FmMultiselectDialog-D3hCA4Hk.js → FmMultiselectDialog-DJ5cyN7G.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-GRMblS9k.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CPAnSCWa.js} +17 -17
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BMTgY6ZR.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CauBVtK9.js} +1 -1
- package/dist/{IngredientGroupView-CoQ5jJq-.js → IngredientGroupView-D0U1ivRz.js} +21 -21
- package/dist/IngredientsView-pgJWthql.js +1838 -0
- package/dist/IntegrationView-hERgFYsT.js +3303 -0
- package/dist/{InventoryBindingForm-rBxn4aQn.js → InventoryBindingForm-vO00BnZP.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DeAbgkjo.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bku7tdc-.js} +37 -37
- package/dist/{InventoryBindingSummary-DRnfFnXw.js → InventoryBindingSummary-DWOniuG6.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CFimf-EA.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4_atZsW.js} +4 -4
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CkLC3e7r.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DUdI1WOL.js} +1 -1
- package/dist/{PublishView-CWPu6VU5.js → PublishView-enVS6QHQ.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-BB-UHWyM.js → PurchaseOrderPrintPreview-Z769Yvkh.js} +1 -1
- package/dist/{ReceiveRequestView-DzE2O14-.js → ReceiveRequestView-BYYWrgNX.js} +773 -789
- package/dist/{RecipeView-CdFqHWFg.js → RecipeView-CU9pkFiv.js} +38 -39
- package/dist/{StockView-2QkNXA2I.js → StockView-iqR-h1Mg.js} +68 -69
- package/dist/{SupplierView-BmIvZtRX.js → SupplierView-DFzgQ53O.js} +11 -12
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-KakO6jI_.js → TransferDetails.vue_vue_type_script_setup_true_lang-BEVlutvf.js} +67 -68
- package/dist/{TransferTemplateView-CiwTECtX.js → TransferTemplateView-EZ_z14kY.js} +107 -108
- package/dist/{UnitView-xcRT1636.js → UnitView-gYD75UdW.js} +19 -19
- package/dist/{WarehouseView-DFUkzdn3.js → WarehouseView-COLgYw-j.js} +14 -14
- package/dist/api/inventory.d.ts +0 -4
- package/dist/api/netsuite.d.ts +2 -7
- package/dist/app-DMbkakEB.js +124324 -0
- package/dist/app.d.ts +0 -9
- package/dist/app.js +6 -6
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +0 -1
- package/dist/components/row-action.enum.d.ts +1 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +0 -1
- package/dist/{decimal-tvbOiScu.js → decimal-BLjZMddB.js} +1 -1
- package/dist/format-unit-display-BkXJg2Ux.js +1230 -0
- package/dist/{index-5P4r_6vv.js → index-Bj0hlHvy.js} +3 -4
- package/dist/{index-DunD6flC.js → index-C5rv3Yu2.js} +1 -1
- package/dist/{stock-D4Q1lqHe.js → stock-DjOpPBxG.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/integration/netsuite.d.ts +2 -7
- package/dist/stores/inventory.d.ts +0 -9
- package/dist/{supplier-nyMBwI1e.js → supplier-BRKfl2V3.js} +25 -26
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CucQZ-Oc.js → use-ingredient-select-dialog-DRIWNN3P.js} +1 -1
- package/dist/{use-inventory-binding-dialog-ZF-LeZNi.js → use-inventory-binding-dialog-DLnKkFpe.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +1 -4
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +0 -8
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +0 -24
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +0 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1 -16
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +0 -12
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +0 -2
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +0 -1
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +0 -2
- package/dist/views/integration/components/netsuite/InventoryTransferOutTable.vue.d.ts +2 -0
- package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +0 -4
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +0 -17
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +0 -2
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +0 -4
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -1
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +0 -4
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +0 -24
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +0 -24
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +0 -1
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +0 -3
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1 -16
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +0 -12
- package/dist/vue-i18n-x8-PdKzv.js +2365 -0
- package/package.json +1 -1
- package/dist/ClosingTemplateView-DdtZPTyt.js +0 -1849
- package/dist/IngredientsView-B0n-ed2z.js +0 -1885
- package/dist/IntegrationView-CUacWvt2.js +0 -6531
- package/dist/api/duplicate-template.d.ts +0 -5
- package/dist/app-D8WIbWK8.js +0 -102338
- package/dist/feature-CXf7RRWE.js +0 -19100
- package/dist/format-unit-display-C42DxO2e.js +0 -1275
- package/dist/vue-i18n-BmNDS6W5.js +0 -2365
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as ee, computed as
|
|
2
|
-
import { a as te,
|
|
3
|
-
import { u as re } from "./use-inventory-binding-dialog-
|
|
4
|
-
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as ee, computed as g, reactive as ne, resolveComponent as k, openBlock as r, createElementBlock as p, createVNode as y, withCtx as U, createElementVNode as n, toDisplayString as m, unref as i, createBlock as B, createCommentVNode as v, Fragment as E, renderList as C, nextTick as oe } from "vue";
|
|
2
|
+
import { a as te, X as le, a_ as ie, j as h, a$ as N, V as G, T as se, F as de } from "./app-DMbkakEB.js";
|
|
3
|
+
import { u as re } from "./use-inventory-binding-dialog-DLnKkFpe.js";
|
|
4
|
+
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CPAnSCWa.js";
|
|
5
5
|
import { useI18n as ce } from "@feedmepos/mf-common";
|
|
6
|
-
const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-16" }, fe = { class: "flex items-center" }, ve = { class: "flex-1 fm-typo-en-title-sm-600" }, be = { class: "flex flex-col" },
|
|
6
|
+
const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-16" }, fe = { class: "flex items-center" }, ve = { class: "flex-1 fm-typo-en-title-sm-600" }, be = { class: "flex flex-col" }, _e = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, ge = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, he = {
|
|
7
7
|
class: "flex items-center",
|
|
8
8
|
style: { "min-height": "48px" }
|
|
9
9
|
}, Ve = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Be = { class: "flex flex-col" }, ke = { class: "w-[200px]" }, Ie = {
|
|
@@ -21,16 +21,16 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
21
21
|
}, Pe = {
|
|
22
22
|
class: "flex items-center",
|
|
23
23
|
style: { "min-height": "48px" }
|
|
24
|
-
}, Te = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Ne = { class: "flex flex-col" }, Me = { class: "w-[200px]" },
|
|
24
|
+
}, Te = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Ne = { class: "flex flex-col" }, Me = { class: "w-[200px]" }, $e = {
|
|
25
25
|
key: 0,
|
|
26
26
|
class: "w-[52px]"
|
|
27
|
-
},
|
|
27
|
+
}, De = { class: "flex flex-col gap-16" }, Ke = { class: "flex items-center" }, je = { class: "flex-1 fm-typo-en-title-sm-600" }, ze = { class: "flex flex-col" }, Le = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, Oe = { class: "flex-1 fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, Ye = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary w-[150px] px-16" }, We = {
|
|
28
28
|
class: "flex items-center w-full",
|
|
29
29
|
style: { "min-height": "48px" }
|
|
30
|
-
},
|
|
30
|
+
}, Xe = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, qe = { class: "line-clamp-1" }, He = { class: "w-[150px]" }, Je = {
|
|
31
31
|
key: 0,
|
|
32
32
|
class: "w-[52px]"
|
|
33
|
-
},
|
|
33
|
+
}, Qe = { class: "flex flex-col px-12 pb-4" }, ln = /* @__PURE__ */ ee({
|
|
34
34
|
__name: "InventoryBindingForm",
|
|
35
35
|
props: {
|
|
36
36
|
id: {},
|
|
@@ -43,8 +43,8 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
43
43
|
enableIngredientGroup: { type: Boolean }
|
|
44
44
|
},
|
|
45
45
|
emits: ["update:modelValue", "click:pick-inventory-bindings"],
|
|
46
|
-
setup(M, { emit:
|
|
47
|
-
const { t: a } = ce(), x = te(),
|
|
46
|
+
setup(M, { emit: $ }) {
|
|
47
|
+
const { t: a } = ce(), x = te(), D = g(() => x.recipeById), I = g(() => x.skuById), K = g(() => x.skuGroupById), s = M, b = $, A = g(() => le({
|
|
48
48
|
parentId: s.id,
|
|
49
49
|
bindings: s.modelValue,
|
|
50
50
|
recipes: x.recipes.map((o) => o._id === s.id ? {
|
|
@@ -58,13 +58,13 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
58
58
|
}
|
|
59
59
|
} : o),
|
|
60
60
|
skuGroups: x.skuGroups
|
|
61
|
-
}).inventoryBindings.filter((o) => "error" in o && o.error).map((o) => o).filter((o) => o.reason === ie.enum.circularDependency)), w =
|
|
61
|
+
}).inventoryBindings.filter((o) => "error" in o && o.error).map((o) => o).filter((o) => o.reason === ie.enum.circularDependency)), w = g(
|
|
62
62
|
() => new Set(A.value.map((e) => {
|
|
63
63
|
var t;
|
|
64
64
|
return (t = e.bindingPaths[0]) == null ? void 0 : t.id;
|
|
65
65
|
}))
|
|
66
|
-
), j =
|
|
67
|
-
async function
|
|
66
|
+
), j = g(() => s.modelValue.filter((e) => e.type === "RECIPE")), { promptIngredientsBinding: z, promptRecipesBinding: L, promptIngredientGroupsBinding: O } = re();
|
|
67
|
+
async function Y() {
|
|
68
68
|
if (s.iframeMode) {
|
|
69
69
|
b("click:pick-inventory-bindings", "RECIPE");
|
|
70
70
|
return;
|
|
@@ -75,15 +75,15 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
75
75
|
s.id ? [s.id] : []
|
|
76
76
|
);
|
|
77
77
|
}
|
|
78
|
-
const
|
|
79
|
-
async function
|
|
78
|
+
const W = g(() => s.modelValue.filter((e) => e.type === "SKU_GROUP"));
|
|
79
|
+
async function X() {
|
|
80
80
|
O(
|
|
81
81
|
s.modelValue,
|
|
82
82
|
(e) => b("update:modelValue", e),
|
|
83
83
|
s.id ? [s.id] : []
|
|
84
84
|
);
|
|
85
85
|
}
|
|
86
|
-
const R =
|
|
86
|
+
const R = g(() => s.modelValue.filter((e) => e.type === "SKU") ?? []);
|
|
87
87
|
async function q() {
|
|
88
88
|
if (s.iframeMode) {
|
|
89
89
|
b("click:pick-inventory-bindings", "SKU");
|
|
@@ -125,7 +125,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
125
125
|
b("update:modelValue", d);
|
|
126
126
|
}
|
|
127
127
|
const T = ne({});
|
|
128
|
-
function
|
|
128
|
+
function Q(e) {
|
|
129
129
|
return T[e.id] ?? {
|
|
130
130
|
modelValue: {
|
|
131
131
|
amount: e.amount,
|
|
@@ -171,12 +171,12 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
171
171
|
"border-color": "primary",
|
|
172
172
|
label: i(a)("inventory.inventoryBindings.linkRecipe"),
|
|
173
173
|
"prepend-icon": "link",
|
|
174
|
-
onClick:
|
|
174
|
+
onClick: Y
|
|
175
175
|
}, null, 8, ["label"]))
|
|
176
176
|
]),
|
|
177
177
|
n("div", be, [
|
|
178
|
-
n("div",
|
|
179
|
-
n("div",
|
|
178
|
+
n("div", _e, [
|
|
179
|
+
n("div", ge, m(i(a)("inventory.inventoryBindings.recipe")), 1),
|
|
180
180
|
t[1] || (t[1] = n("div", { class: "w-[200px]" }, null, -1)),
|
|
181
181
|
t[2] || (t[2] = n("div", { class: "w-[52px]" }, null, -1))
|
|
182
182
|
]),
|
|
@@ -187,12 +187,12 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
187
187
|
rules: [i(N)(0), i(G)(0)]
|
|
188
188
|
}, {
|
|
189
189
|
default: U(({ invalid: V }) => {
|
|
190
|
-
var
|
|
190
|
+
var _;
|
|
191
191
|
return [
|
|
192
192
|
n("div", xe, [
|
|
193
193
|
n("div", he, [
|
|
194
194
|
n("div", Ve, [
|
|
195
|
-
n("div", Be, m((
|
|
195
|
+
n("div", Be, m((_ = D.value[l.id]) == null ? void 0 : _.name), 1)
|
|
196
196
|
]),
|
|
197
197
|
n("div", ke, [
|
|
198
198
|
y(f, {
|
|
@@ -239,7 +239,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
239
239
|
"border-color": "primary",
|
|
240
240
|
label: i(a)("inventory.inventoryBindings.linkIngredientGroup"),
|
|
241
241
|
"prepend-icon": "link",
|
|
242
|
-
onClick:
|
|
242
|
+
onClick: X
|
|
243
243
|
}, null, 8, ["label"]))
|
|
244
244
|
]),
|
|
245
245
|
n("div", Ce, [
|
|
@@ -248,14 +248,14 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
248
248
|
t[3] || (t[3] = n("div", { class: "w-[200px]" }, null, -1)),
|
|
249
249
|
t[4] || (t[4] = n("div", { class: "w-[52px]" }, null, -1))
|
|
250
250
|
]),
|
|
251
|
-
(r(!0), p(E, null, C(
|
|
251
|
+
(r(!0), p(E, null, C(W.value, (l) => (r(), B(o, {
|
|
252
252
|
key: l.id,
|
|
253
253
|
disabled: e.disabled,
|
|
254
254
|
modelValue: +i(h)(l.amount ?? { amount: 1, precision: 0 }),
|
|
255
255
|
rules: [i(N)(0), i(G)(0)]
|
|
256
256
|
}, {
|
|
257
257
|
default: U(({ invalid: V }) => {
|
|
258
|
-
var
|
|
258
|
+
var _;
|
|
259
259
|
return [
|
|
260
260
|
n("div", Re, [
|
|
261
261
|
w.value.has(l.id) ? (r(), p("div", Se, [
|
|
@@ -268,7 +268,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
268
268
|
])) : v("", !0),
|
|
269
269
|
n("div", Pe, [
|
|
270
270
|
n("div", Te, [
|
|
271
|
-
n("div", Ne, m((
|
|
271
|
+
n("div", Ne, m((_ = K.value[l.id]) == null ? void 0 : _.name), 1)
|
|
272
272
|
]),
|
|
273
273
|
n("div", Me, [
|
|
274
274
|
y(f, {
|
|
@@ -279,7 +279,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
279
279
|
invalid: V
|
|
280
280
|
}, null, 8, ["disabled", "modelValue", "onUpdate:modelValue", "invalid"])
|
|
281
281
|
]),
|
|
282
|
-
e.readonly ? v("", !0) : (r(), p("div",
|
|
282
|
+
e.readonly ? v("", !0) : (r(), p("div", $e, [
|
|
283
283
|
y(d, {
|
|
284
284
|
disabled: e.disabled,
|
|
285
285
|
type: "button",
|
|
@@ -297,8 +297,8 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
297
297
|
}, 1032, ["disabled", "modelValue", "rules"]))), 128))
|
|
298
298
|
])
|
|
299
299
|
])) : v("", !0),
|
|
300
|
-
n("div",
|
|
301
|
-
n("div",
|
|
300
|
+
n("div", De, [
|
|
301
|
+
n("div", Ke, [
|
|
302
302
|
n("div", je, m(i(a)("inventory.inventoryBindings.ingredient")), 1),
|
|
303
303
|
e.readonly ? v("", !0) : (r(), B(d, {
|
|
304
304
|
key: 0,
|
|
@@ -313,18 +313,18 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
313
313
|
n("div", ze, [
|
|
314
314
|
n("div", Le, [
|
|
315
315
|
n("div", Oe, m(i(a)("inventory.inventoryBindings.ingredient")), 1),
|
|
316
|
-
n("div",
|
|
316
|
+
n("div", Ye, m(i(a)("inventory.inventoryBindings.amount")), 1),
|
|
317
317
|
t[5] || (t[5] = n("div", { class: "w-[52px]" }, null, -1))
|
|
318
318
|
]),
|
|
319
319
|
(r(!0), p(E, null, C(R.value, (l, V) => {
|
|
320
|
-
var
|
|
320
|
+
var _;
|
|
321
321
|
return r(), p("div", {
|
|
322
322
|
key: l.id,
|
|
323
323
|
class: "flex flex-col border-b border-fm-color-neutral-gray-100"
|
|
324
324
|
}, [
|
|
325
|
-
n("div",
|
|
326
|
-
n("div",
|
|
327
|
-
n("span", qe, m((
|
|
325
|
+
n("div", We, [
|
|
326
|
+
n("div", Xe, [
|
|
327
|
+
n("span", qe, m((_ = I.value[l.id]) == null ? void 0 : _.name), 1)
|
|
328
328
|
]),
|
|
329
329
|
n("div", He, [
|
|
330
330
|
y(ae, {
|
|
@@ -347,13 +347,13 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
|
|
|
347
347
|
}, null, 8, ["disabled", "onClick"])
|
|
348
348
|
]))
|
|
349
349
|
]),
|
|
350
|
-
n("div",
|
|
350
|
+
n("div", Qe, [
|
|
351
351
|
y(o, {
|
|
352
352
|
modelValue: +i(h)(l.amount ?? { amount: 1, precision: 0 }),
|
|
353
353
|
rules: [i(G)(0)]
|
|
354
354
|
}, null, 8, ["modelValue", "rules"]),
|
|
355
355
|
y(o, {
|
|
356
|
-
modelValue:
|
|
356
|
+
modelValue: Q(l),
|
|
357
357
|
rules: [
|
|
358
358
|
i(ue)(),
|
|
359
359
|
i(me)(P(l)),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock as d, h as g } from "vue";
|
|
2
2
|
import { useI18n as p } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as u } from "@feedmepos/ui-library";
|
|
4
|
-
import { F as r } from "./app-
|
|
4
|
+
import { F as r } from "./app-DMbkakEB.js";
|
|
5
5
|
const w = /* @__PURE__ */ l({
|
|
6
6
|
__name: "InventoryBindingSummary",
|
|
7
7
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as i, openBlock as F, createBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
2
|
+
import { T as s } from "./app-DMbkakEB.js";
|
|
3
|
+
const T = ["value", "disabled"], B = /* @__PURE__ */ V({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
6
6
|
modelValue: {},
|
|
@@ -57,7 +57,7 @@ const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
|
|
|
57
57
|
"text-fm-color-typo-disabled": e.disabled
|
|
58
58
|
}),
|
|
59
59
|
disabled: e.disabled
|
|
60
|
-
}, null, 42,
|
|
60
|
+
}, null, 42, T)
|
|
61
61
|
]),
|
|
62
62
|
_: 2
|
|
63
63
|
}, 1032, ["invalid"])
|
|
@@ -68,5 +68,5 @@ const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
export {
|
|
71
|
-
|
|
71
|
+
B as _
|
|
72
72
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aC as u, aD as _,
|
|
1
|
+
import { aC as u, aD as _, a3 as h, u as F } from "./app-DMbkakEB.js";
|
|
2
2
|
import { useCoreStore as y } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as v, defineComponent as k, resolveComponent as l, openBlock as g, createElementBlock as S, renderSlot as x, createVNode as m, withCtx as O } from "vue";
|
|
4
4
|
function w(e, t) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as Q, ref as
|
|
2
|
-
import { u as oe, a as ne,
|
|
1
|
+
import { defineComponent as Q, ref as z, computed as r, resolveComponent as s, openBlock as I, createBlock as B, unref as v, createSlots as X, withCtx as u, createElementVNode as h, normalizeClass as Z, createVNode as n, normalizeStyle as ee, Teleport as te, h as f } from "vue";
|
|
2
|
+
import { u as oe, a as ne, aV as ae, B as se, _ as le, ak as H } from "./app-DMbkakEB.js";
|
|
3
3
|
import { useBreakpoints as ie, useDialog as re, useSnackbar as ue, components as R } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as ce } from "./vue-i18n-
|
|
4
|
+
import { u as ce } from "./vue-i18n-x8-PdKzv.js";
|
|
5
5
|
const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
|
|
6
6
|
__name: "PublishView",
|
|
7
7
|
setup(ye) {
|
|
8
|
-
const { t } = ce(), { breakpoints: x } = ie(), l = oe(), A = ne(), S = ae(), g =
|
|
8
|
+
const { t } = ce(), { breakpoints: x } = ie(), l = oe(), A = ne(), S = ae(), g = z(!1), c = r(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), Y = se(), k = re(), N = ue(), $ = r(() => l.locations), _ = r(() => x.value.xs || x.value.sm), U = r(() => _.value ? 10 : 20), q = r(() => [
|
|
9
9
|
{
|
|
10
10
|
label: t("inventory.common.refresh"),
|
|
11
11
|
value: "refresh",
|
|
@@ -30,7 +30,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
30
30
|
break;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
const w =
|
|
33
|
+
const w = z(!1), K = [
|
|
34
34
|
{
|
|
35
35
|
value: "publish",
|
|
36
36
|
label: t("inventory.publish.actions.publishAll")
|
|
@@ -160,7 +160,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
160
160
|
"list-row": u((i) => [
|
|
161
161
|
n(p, { row: i }, {
|
|
162
162
|
default: u((d) => {
|
|
163
|
-
var C, F, M, y, P,
|
|
163
|
+
var C, F, M, y, P, V, L, T, b, D;
|
|
164
164
|
return [
|
|
165
165
|
h("div", me, [
|
|
166
166
|
h("div", pe, [
|
|
@@ -171,8 +171,8 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
171
171
|
]),
|
|
172
172
|
h("div", de, [
|
|
173
173
|
n(m, {
|
|
174
|
-
render: (
|
|
175
|
-
props: (
|
|
174
|
+
render: (T = (L = (V = d.name) == null ? void 0 : V.column) == null ? void 0 : L.columnDef) == null ? void 0 : T.cell,
|
|
175
|
+
props: (D = (b = d.name) == null ? void 0 : b.getContext) == null ? void 0 : D.call(b)
|
|
176
176
|
}, null, 8, ["render", "props"])
|
|
177
177
|
])
|
|
178
178
|
])
|
package/dist/{PurchaseOrderPrintPreview-BB-UHWyM.js → PurchaseOrderPrintPreview-Z769Yvkh.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, computed as m, ref as x, onMounted as f, openBlock as u, createElementBlock as n, createElementVNode as t, toDisplayString as e, normalizeStyle as g, createTextVNode as i, Fragment as o, createCommentVNode as p, renderList as v } from "vue";
|
|
2
2
|
import { useRoute as w } from "vue-router";
|
|
3
|
-
import { aw as y, aj as k } from "./app-
|
|
3
|
+
import { aw as y, aj as k } from "./app-DMbkakEB.js";
|
|
4
4
|
const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "title" }, N = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = { class: "sub-header" }, F = { class: "address" }, q = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, B = { class: "text-right" }, H = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, M = { valign: "bottom" }, j = { class: "header" }, z = { class: "caption" }, J = {
|
|
5
5
|
class: "text-left",
|
|
6
6
|
style: { width: "20%" }
|