@feedmepos/mf-inventory-portal 0.0.25-dev.17 → 0.0.25-dev.19
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-7ReqlqA4.js → App-Hgn8IBaK.js} +2 -2
- package/dist/{ApprovalView-qAV_1bug.js → ApprovalView-BSk9kEGm.js} +15 -9
- package/dist/{BindingsDialog-D8KPqrv8.js → BindingsDialog-SxUwbW5x.js} +2 -2
- package/dist/{BindingsPicker-BnnpoQfF.js → BindingsPicker-_zOGJ17i.js} +5 -5
- package/dist/{BindingsTable-Dnc5yg5v.js → BindingsTable-I8MLwuIR.js} +5 -5
- package/dist/{ClosingDraftView-DV-dP-0G.js → ClosingDraftView-D80vDRO7.js} +53 -53
- package/dist/{ClosingTemplateView-Bo5uzKK2.js → ClosingTemplateView-BCE-SHm9.js} +2 -2
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BmLxDo6V.js +215 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Bycca0S5.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D21lpws0.js} +1 -1
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-sVM6cQes.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-WTlNX0f8.js} +1 -1
- package/dist/{IngredientGroupView-CmkSvOxJ.js → IngredientGroupView-DDD_-og5.js} +1 -1
- package/dist/{IngredientsView-DIn-3Jee.js → IngredientsView-CJ4F7BwZ.js} +4 -4
- package/dist/{IntegrationView-CtawckJy.js → IntegrationView-B0TjX4yz.js} +1 -1
- package/dist/{InventoryBindingForm-Dmd68jKK.js → InventoryBindingForm-DGXN2PXz.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DBAwheaI.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-gQNCKIfa.js} +3 -3
- package/dist/{InventoryBindingSummary-Dho1qrPY.js → InventoryBindingSummary-CDAivJA8.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Dja0BjOa.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CfaZ1GtI.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CjvQTt0Y.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DmhP_O3l.js} +1 -1
- package/dist/{PublishView-DG9ppOMN.js → PublishView-DvriUy_9.js} +13 -13
- package/dist/{PurchaseOrderPrintPreview-BfogmnuA.js → PurchaseOrderPrintPreview-Dr-I6VKI.js} +1 -1
- package/dist/ReceiveRequestView-FcC0nStC.js +2318 -0
- package/dist/{RecipeView-B3t6mU2N.js → RecipeView-BMYzOsb2.js} +3 -3
- package/dist/{StockView-DfylYVkd.js → StockView-gTmg4gih.js} +7 -7
- package/dist/{SupplierView-BQHWrUpw.js → SupplierView-CrixDjq3.js} +4 -4
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-15cqyqCC.js +1567 -0
- package/dist/{TransferTemplateView-BxO2UFyf.js → TransferTemplateView-DhgyCwnD.js} +7 -7
- package/dist/{UnitView-Cl299OpQ.js → UnitView-Bll1VTnD.js} +3 -3
- package/dist/{WarehouseView-C9oa2Jis.js → WarehouseView-KstzwWxq.js} +1 -1
- package/dist/{app-DZ9U0oko.js → app-qyqp2u_f.js} +7576 -7525
- package/dist/app.js +1 -1
- package/dist/components/FmMultiselectDialog.d.ts +24 -1
- package/dist/components/MountListener.vue.d.ts +15 -0
- package/dist/{decimal-Q0qpn1nX.js → decimal-BQ6Hkwom.js} +1 -1
- package/dist/{feature-CwrW1toS.js → feature-C6Z6N_iv.js} +52 -63
- package/dist/{format-unit-display-Cijlq5k5.js → format-unit-display-T-fT7FAg.js} +13 -13
- package/dist/{index-CG9f2hcH.js → index-B6HIaHJq.js} +2 -2
- package/dist/{stock-B8OABZwR.js → stock-Cd6rXnhv.js} +1 -1
- package/dist/stores/feature.d.ts +0 -4
- package/dist/{supplier-OhriR4IQ.js → supplier-b6qWYeQu.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-P6o_ZU_Z.js → use-ingredient-select-dialog-C8sylcwR.js} +1 -1
- package/dist/{use-inventory-binding-dialog-8a_D3hzG.js → use-inventory-binding-dialog-D7wI4_lU.js} +1 -1
- package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +1387 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +3 -1
- package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +3 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -2
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +27 -9
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +22 -9
- package/dist/views/receive-request/helper/po-to-po-template.util.d.ts +1 -0
- package/dist/views/transfer-template/helpers/location-to-po-supplier.util.d.ts +75 -0
- package/dist/{vue-i18n-BmOal3Ap.js → vue-i18n-BmWUvN1e.js} +261 -261
- package/package.json +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BPNKuOjZ.js +0 -211
- package/dist/ReceiveRequestView-DcshoUs1.js +0 -2239
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-aQkAoXb3.js +0 -1501
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +0 -3006
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as Q, ref as z, computed as r, resolveComponent as s, openBlock as I, createBlock as R, unref as h, createSlots as X, withCtx as u, createElementVNode as v, 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,
|
|
2
|
+
import { u as oe, a as ne, aN as ae, y as se, _ as le, ai as B } from "./app-qyqp2u_f.js";
|
|
3
3
|
import { useBreakpoints as ie, useDialog as re, useSnackbar as ue, components as H } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as ce } from "./vue-i18n-
|
|
4
|
+
import { u as ce } from "./vue-i18n-BmWUvN1e.js";
|
|
5
5
|
const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, pe = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
|
|
6
6
|
__name: "PublishView",
|
|
7
7
|
setup(be) {
|
|
8
|
-
const { t: o } = ce(), { breakpoints: x } = ie(), l = oe(), A = ne(), S = ae(), g = z(!1), c = r(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null),
|
|
8
|
+
const { t: o } = ce(), { breakpoints: x } = ie(), l = oe(), A = ne(), S = ae(), g = z(!1), c = r(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), N = se(), P = re(), Y = ue(), $ = r(() => l.locations), _ = r(() => x.value.xs || x.value.sm), U = r(() => _.value ? 10 : 20), q = r(() => [
|
|
9
9
|
{
|
|
10
10
|
label: "Refresh",
|
|
11
11
|
value: "refresh",
|
|
@@ -13,7 +13,7 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
13
13
|
},
|
|
14
14
|
{ label: o("inventory.publish.actions.publishAll"), value: "publish", isPrimary: !0 }
|
|
15
15
|
]);
|
|
16
|
-
async function
|
|
16
|
+
async function E(e) {
|
|
17
17
|
switch (e) {
|
|
18
18
|
case "publish":
|
|
19
19
|
P.open({
|
|
@@ -30,13 +30,13 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
30
30
|
break;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
const w = z(!1),
|
|
33
|
+
const w = z(!1), K = [
|
|
34
34
|
{
|
|
35
35
|
value: "publish",
|
|
36
36
|
label: o("inventory.publish.actions.publishAll")
|
|
37
37
|
}
|
|
38
38
|
];
|
|
39
|
-
function
|
|
39
|
+
function O(e) {
|
|
40
40
|
switch (w.value = !1, e) {
|
|
41
41
|
case "publish":
|
|
42
42
|
console.log("publish all");
|
|
@@ -105,7 +105,7 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
105
105
|
primaryActions: { text: "Publish", close: !0 },
|
|
106
106
|
secondaryActions: { text: "Cancel", close: !0 }
|
|
107
107
|
}).onPrimary(async () => {
|
|
108
|
-
await S.publishInventory(a.split("_")[1]), await l.readLocations(),
|
|
108
|
+
await S.publishInventory(a.split("_")[1]), await l.readLocations(), Y.open({ message: "Publish request submitted", type: "success" });
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
}) : null
|
|
@@ -136,8 +136,8 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
136
136
|
const a = s("FmChip"), m = s("FlexRender"), d = s("TableActionableRow"), j = s("FmTable"), G = s("FmCollapsibleTabs"), J = s("FmBottomSheet");
|
|
137
137
|
return I(), R(le, {
|
|
138
138
|
title: h(o)("inventory.publish.title"),
|
|
139
|
-
actions:
|
|
140
|
-
"onClick:action":
|
|
139
|
+
actions: q.value,
|
|
140
|
+
"onClick:action": E
|
|
141
141
|
}, X({
|
|
142
142
|
default: u(() => [
|
|
143
143
|
v("div", {
|
|
@@ -150,12 +150,12 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
150
150
|
])
|
|
151
151
|
}, [
|
|
152
152
|
n(j, {
|
|
153
|
-
style: ee(h(
|
|
153
|
+
style: ee(h(N).tableHeight),
|
|
154
154
|
"column-defs": W,
|
|
155
155
|
"row-data": $.value,
|
|
156
156
|
loading: !h(l)._currentLocation || g.value,
|
|
157
157
|
"loading-text": "Loading",
|
|
158
|
-
"page-size":
|
|
158
|
+
"page-size": U.value
|
|
159
159
|
}, {
|
|
160
160
|
"list-row": u((i) => [
|
|
161
161
|
n(d, { row: i }, {
|
|
@@ -193,8 +193,8 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
193
193
|
default: u(() => [
|
|
194
194
|
n(G, {
|
|
195
195
|
class: "pb-8",
|
|
196
|
-
items:
|
|
197
|
-
"onUpdate:modelValue": t[0] || (t[0] = (i) =>
|
|
196
|
+
items: K,
|
|
197
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => O(i))
|
|
198
198
|
})
|
|
199
199
|
]),
|
|
200
200
|
_: 1
|
package/dist/{PurchaseOrderPrintPreview-BfogmnuA.js → PurchaseOrderPrintPreview-Dr-I6VKI.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, computed as x, ref as m, onMounted as f, openBlock as n, createElementBlock as u, createElementVNode as t, toDisplayString as l, normalizeStyle as g, createTextVNode as i, Fragment as d, createCommentVNode as p, renderList as v, normalizeClass as w } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { av as y, ah as C } from "./app-
|
|
3
|
+
import { av as y, ah as C } from "./app-qyqp2u_f.js";
|
|
4
4
|
const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "text-right" }, N = { class: "header" }, E = { class: "sub-header" }, O = { class: "caption" }, S = { class: "address" }, D = { class: "text-right" }, T = { class: "sub-header" }, q = { class: "address" }, F = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, z = { style: { "padding-top": "30px" } }, B = { valign: "bottom" }, H = { class: "header" }, I = { class: "caption" }, M = {
|
|
5
5
|
class: "text-left",
|
|
6
6
|
style: { width: "20%" }
|