@feedmepos/mf-inventory-portal 0.0.23-dev.36 → 0.0.23-dev.38
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-CRVwCmFX.js → App-DQgtWkQj.js} +20 -20
- package/dist/{ApprovalView-CfJQdSRz.js → ApprovalView-CvSK9fGA.js} +10 -10
- package/dist/{BindingsDialog-BKL8E0Ni.js → BindingsDialog-BAC0_xCP.js} +8 -8
- package/dist/{BindingsPicker-M9-ARPgB.js → BindingsPicker-ecWMwsNp.js} +3 -3
- package/dist/{BindingsTable-BUs8wO0p.js → BindingsTable-D5kQydOU.js} +10 -10
- package/dist/{ClosingDraftView-BI3P4oS4.js → ClosingDraftView-CnHQ59rX.js} +46 -46
- package/dist/{ClosingTemplateView-D732hJJj.js → ClosingTemplateView-vRTsVZ0c.js} +21 -21
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DzXJBW2r.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CpIzIvkU.js} +17 -17
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BPOPaW5x.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CNzEHF-R.js} +37 -37
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DCYtyGvl.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DBhBaRrd.js} +1 -1
- package/dist/{IngredientGroupView-CnnqKFGA.js → IngredientGroupView-BLsABZ3h.js} +1 -1
- package/dist/IngredientsView-Cs4TIf6V.js +1794 -0
- package/dist/{IntegrationView-6-Qvhwbr.js → IntegrationView-BqAqngtM.js} +137 -137
- package/dist/{InventoryBindingForm-F3o3dWhJ.js → InventoryBindingForm-D54V_qZQ.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-B1hTEubD.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-KIW9J7Xn.js} +106 -96
- package/dist/{InventoryBindingSummary-B9ziVhZr.js → InventoryBindingSummary-htT7GNto.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BquI8s88.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BlEgALMj.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BHRxlIxi.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DHbxXDGy.js} +9 -9
- package/dist/{PurchaseOrderPrintPreview-DyjA8BsV.js → PurchaseOrderPrintPreview-hmzxKuIa.js} +5 -5
- package/dist/{ReceiveRequestView-BQoADy5j.js → ReceiveRequestView-_YioyWqU.js} +182 -182
- package/dist/{RecipeView-DOEPiT-V.js → RecipeView-88KJ0nvU.js} +3 -3
- package/dist/StockView-R4cnEbHQ.js +1818 -0
- package/dist/{SupplierView-BX6T3B40.js → SupplierView-CevGG507.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-C-8uS9KA.js → TransferDetails.vue_vue_type_script_setup_true_lang-CeWP9msS.js} +52 -52
- package/dist/{TransferTemplateView-D3smZIqo.js → TransferTemplateView-QDniAq8o.js} +114 -114
- package/dist/{UnitView-PZthqb2i.js → UnitView-SjwJ3lZ0.js} +14 -14
- package/dist/{WarehouseView-Qqqwk353.js → WarehouseView-55LiPQXG.js} +70 -70
- package/dist/api/adjustment-template.d.ts +2 -0
- package/dist/api/bill.d.ts +240 -84
- package/dist/api/inventory.d.ts +15 -6
- package/dist/{app-Dzll4soM.js → app-UTiudUUR.js} +6779 -6514
- package/dist/app.d.ts +8 -0
- package/dist/app.js +1 -1
- package/dist/components/FmCustomAttribute.vue.d.ts +23 -0
- package/dist/components/FmLockableField.vue.d.ts +37 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +3 -1
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +3 -1
- package/dist/{decimal-CSwcVJ9W.js → decimal-tyBgHJ47.js} +1 -1
- package/dist/feature-z7inw9y6.js +946 -0
- package/dist/{format-unit-display-D2-2_8Wo.js → format-unit-display-DN0KtCh2.js} +61 -61
- package/dist/index-Dj2Ccgp1.js +29202 -0
- package/dist/{StockView-CyJlLOjk.js → index-DlhdTaa8.js} +2218 -3854
- package/dist/{stock-VALQOiWM.js → stock-CxRxidDu.js} +1 -1
- package/dist/stores/feature.d.ts +5 -0
- package/dist/stores/inventory.d.ts +20 -8
- package/dist/stores/supplier.d.ts +1 -1
- package/dist/{supplier-CYRocBpq.js → supplier-BhyiTwSJ.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-SiBEsYI-.js → use-inventory-binding-dialog-DwSvUvRl.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/WastageTemplateReason.vue.d.ts +18 -0
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +37 -3
- package/dist/views/adjustment-template/wastage-template/props.d.ts +7 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +32 -2
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -4
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +48 -24
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +2 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +24 -12
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +24 -12
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +6 -3
- package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +1 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -2
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +1 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +2 -1
- package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +34 -17
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +4 -2
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +48 -24
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +48 -24
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +120 -42
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +4 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -1
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +24 -12
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +24 -12
- package/package.json +7 -6
- package/dist/IngredientsView-DZS3wyBm.js +0 -1657
- package/dist/feature-CFAsUae4.js +0 -92
- package/dist/index-CLdXLjws.js +0 -12087
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { u as k, a as D, b as H, R as e, g as r, _ as K, c as W } from "./app-
|
|
1
|
+
import { ref as x, onUnmounted as F, defineComponent as h, watch as y, onMounted as G, computed as g, resolveComponent as R, openBlock as S, createElementBlock as I, unref as v, createVNode as E, createElementVNode as p, toDisplayString as w, createBlock as U, createCommentVNode as M } from "vue";
|
|
2
|
+
import { u as k, a as D, b as H, R as e, g as r, _ as K, c as W } from "./app-UTiudUUR.js";
|
|
3
3
|
import { useCoreStore as A, useI18n as B } from "@feedmepos/mf-common";
|
|
4
4
|
import { useRouter as C, useRoute as $ } from "vue-router";
|
|
5
|
-
import { u as O } from "./feature-
|
|
5
|
+
import { u as O } from "./feature-z7inw9y6.js";
|
|
6
6
|
import { u as Q } from "./useTabStorage-BkIVScW_.js";
|
|
7
7
|
import { u as j } from "./googlemap-Dm8ERVai.js";
|
|
8
8
|
import "./array-hChJVZLE.js";
|
|
@@ -12,7 +12,7 @@ function z() {
|
|
|
12
12
|
isLoading: !1
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
const _ =
|
|
15
|
+
const _ = x(z());
|
|
16
16
|
function q() {
|
|
17
17
|
const l = C();
|
|
18
18
|
if (!_.value.loadingHookInstalled) {
|
|
@@ -41,14 +41,14 @@ const J = {
|
|
|
41
41
|
}, Y = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, Z = { class: "fm-typo-en-title-lg-600" }, ee = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, te = { class: "flex gap-16" }, oe = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, ne = { href: "https://feedme.ai/form" }, se = /* @__PURE__ */ h({
|
|
42
42
|
__name: "InventoryView",
|
|
43
43
|
setup(l) {
|
|
44
|
-
const n = k(), i = D(), u = H(), a = A(), c = C(), o = q(),
|
|
45
|
-
|
|
44
|
+
const n = k(), i = D(), u = H(), a = A(), c = C(), o = q(), b = O(), { t: d } = B();
|
|
45
|
+
y(
|
|
46
46
|
[() => a.sessionUser.value, () => a.currentBusiness.value],
|
|
47
47
|
([t, s]) => {
|
|
48
48
|
f(t, s);
|
|
49
49
|
}
|
|
50
50
|
), G(async () => {
|
|
51
|
-
await a.readBusinesses();
|
|
51
|
+
await b.init(), await a.readBusinesses();
|
|
52
52
|
const t = a.sessionUser.value, s = a.currentBusiness.value;
|
|
53
53
|
f(t, s);
|
|
54
54
|
});
|
|
@@ -60,21 +60,21 @@ const J = {
|
|
|
60
60
|
console.error("error on reading netsuite store", t);
|
|
61
61
|
}), await i.init();
|
|
62
62
|
}
|
|
63
|
-
const N = g(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ?
|
|
63
|
+
const N = g(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? b.enablePoTemplate : !0);
|
|
64
64
|
return (t, s) => {
|
|
65
65
|
const m = R("FmSpacer"), P = R("FmCircularProgress"), L = R("FmButton"), V = R("RouterView");
|
|
66
|
-
return S(),
|
|
67
|
-
v(o).isLoading ? (S(),
|
|
66
|
+
return S(), I("div", null, [
|
|
67
|
+
v(o).isLoading ? (S(), I("div", J, [
|
|
68
68
|
E(m),
|
|
69
69
|
p("div", null, [
|
|
70
70
|
E(P, { size: "xl" })
|
|
71
71
|
]),
|
|
72
72
|
s[0] || (s[0] = p("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
|
|
73
73
|
E(m)
|
|
74
|
-
])) : N.value ? v(a).sessionUser.value ? (S(), U(V, { key: 2 })) : M("", !0) : (S(),
|
|
74
|
+
])) : N.value ? v(a).sessionUser.value ? (S(), U(V, { key: 2 })) : M("", !0) : (S(), I("div", X, [
|
|
75
75
|
p("div", Y, [
|
|
76
|
-
p("div", Z,
|
|
77
|
-
p("div", ee,
|
|
76
|
+
p("div", Z, w(v(d)("inventory.common.proPlan.title")), 1),
|
|
77
|
+
p("div", ee, w(v(d)("inventory.common.proPlan.subtitle")), 1)
|
|
78
78
|
]),
|
|
79
79
|
p("div", te, [
|
|
80
80
|
p("a", oe, [
|
|
@@ -98,10 +98,10 @@ const J = {
|
|
|
98
98
|
__name: "NavigationTab",
|
|
99
99
|
setup(l) {
|
|
100
100
|
const n = $(), i = C(), u = A(), a = O(), c = Q(), { t: o } = B();
|
|
101
|
-
|
|
101
|
+
y([() => u.currentBusiness.value, () => n.name], ([t, s]) => {
|
|
102
102
|
(t == null ? void 0 : t.menuVersion) === "v3" && (s === e.INGREDIENTS || s === e.RECIPE || s === e.UNIT) && i.push({ name: e.STOCK });
|
|
103
103
|
});
|
|
104
|
-
const
|
|
104
|
+
const b = g(() => {
|
|
105
105
|
var s;
|
|
106
106
|
const t = [
|
|
107
107
|
{
|
|
@@ -203,7 +203,7 @@ const J = {
|
|
|
203
203
|
var t;
|
|
204
204
|
return `NavigationTab.${(t = u.currentBusiness.value) == null ? void 0 : t._id}`;
|
|
205
205
|
}
|
|
206
|
-
), T =
|
|
206
|
+
), T = x(!1), N = g({
|
|
207
207
|
get() {
|
|
208
208
|
return T.value;
|
|
209
209
|
},
|
|
@@ -211,17 +211,17 @@ const J = {
|
|
|
211
211
|
T.value = t, t || c.setItem(f.value, "true");
|
|
212
212
|
}
|
|
213
213
|
});
|
|
214
|
-
return
|
|
214
|
+
return y([() => f.value], () => {
|
|
215
215
|
T.value = !1, setTimeout(() => {
|
|
216
216
|
N.value = !c.getItem(f.value);
|
|
217
217
|
}, 2e3);
|
|
218
218
|
}), (t, s) => {
|
|
219
219
|
const m = R("FmCollapsibleTabs");
|
|
220
|
-
return S(),
|
|
220
|
+
return S(), I("div", re, [
|
|
221
221
|
E(m, {
|
|
222
222
|
modelValue: d.value,
|
|
223
223
|
"onUpdate:modelValue": s[0] || (s[0] = (P) => d.value = P),
|
|
224
|
-
items:
|
|
224
|
+
items: b.value
|
|
225
225
|
}, null, 8, ["modelValue", "items"])
|
|
226
226
|
]);
|
|
227
227
|
};
|
|
@@ -248,7 +248,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
248
248
|
n.registerSidebarComponent(le), i.initGoogleMap(u.appApi.googleMap).catch(() => {
|
|
249
249
|
console.error("Google map cannot be loaded");
|
|
250
250
|
});
|
|
251
|
-
}),
|
|
251
|
+
}), y([() => n.currentCountry.value], () => {
|
|
252
252
|
a();
|
|
253
253
|
});
|
|
254
254
|
async function a() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ae, ref as g, watch as oe, computed as b, resolveComponent as re, openBlock as y, createBlock as J, unref as e, withCtx as x, createElementVNode as s, normalizeClass as ne, createVNode as n, normalizeStyle as se, toDisplayString as le, createElementBlock as ce, createCommentVNode as ie, Teleport as ue, mergeProps as pe } from "vue";
|
|
2
|
-
import { u as me,
|
|
3
|
-
import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, au as v, aE as de, a8 as K, y as fe, z as ve, B as _e, E as he, G as _ } from "./app-UTiudUUR.js";
|
|
3
|
+
import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CeWP9msS.js";
|
|
4
4
|
import { useBreakpoints as ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as xe } from "@feedmepos/mf-common";
|
|
6
6
|
const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ke = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Oe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Se = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
9
|
-
}, Te = { class: "pt-8" },
|
|
9
|
+
}, Te = { class: "pt-8" }, Ve = /* @__PURE__ */ ae({
|
|
10
10
|
__name: "ApprovalView",
|
|
11
11
|
setup(Ce) {
|
|
12
12
|
const o = De("approval"), { columnDefs: Q } = ge("approval", o), W = me();
|
|
@@ -85,7 +85,7 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
85
85
|
onRowClick: (t) => e(o).promptShowTransferDetails(t.purchaseOrder, t)
|
|
86
86
|
}, {
|
|
87
87
|
default: x((t) => {
|
|
88
|
-
var O, S, T, i, C, z, M, $, u,
|
|
88
|
+
var O, S, T, i, C, z, M, $, u, E, F, p, V, m, Y, q, L, N, P, d, j, A, H, G, f, U;
|
|
89
89
|
return [
|
|
90
90
|
s("div", we, [
|
|
91
91
|
s("div", Re, [
|
|
@@ -97,11 +97,11 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
97
97
|
s("div", ke, [
|
|
98
98
|
n(e(_), {
|
|
99
99
|
render: ($ = (M = (z = t.to_name) == null ? void 0 : z.column) == null ? void 0 : M.columnDef) == null ? void 0 : $.cell,
|
|
100
|
-
props: (
|
|
100
|
+
props: (E = (u = t.to_name) == null ? void 0 : u.getContext) == null ? void 0 : E.call(u)
|
|
101
101
|
}, null, 8, ["render", "props"])
|
|
102
102
|
]),
|
|
103
|
-
s("div", Oe, le((
|
|
104
|
-
(
|
|
103
|
+
s("div", Oe, le((Y = (m = (V = (p = (F = r.original.purchaseOrder) == null ? void 0 : F.items) == null ? void 0 : p.map) == null ? void 0 : V.call(p, (te) => `${te.name}`)) == null ? void 0 : m.join) == null ? void 0 : Y.call(m, ", ")), 1),
|
|
104
|
+
(q = r.original.purchaseOrder) != null && q.ref ? (y(), ce("div", Se, [
|
|
105
105
|
n(e(_), {
|
|
106
106
|
render: (P = (N = (L = t.purchaseOrder_ref) == null ? void 0 : L.column) == null ? void 0 : N.columnDef) == null ? void 0 : P.cell,
|
|
107
107
|
props: (j = (d = t.purchaseOrder_ref) == null ? void 0 : d.getContext) == null ? void 0 : j.call(d)
|
|
@@ -109,8 +109,8 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
109
109
|
])) : ie("", !0),
|
|
110
110
|
s("div", Te, [
|
|
111
111
|
n(e(_), {
|
|
112
|
-
render: (
|
|
113
|
-
props: (
|
|
112
|
+
render: (G = (H = (A = t.purchaseOrder_status) == null ? void 0 : A.column) == null ? void 0 : H.columnDef) == null ? void 0 : G.cell,
|
|
113
|
+
props: (U = (f = t.purchaseOrder_status) == null ? void 0 : f.getContext) == null ? void 0 : U.call(f)
|
|
114
114
|
}, null, 8, ["render", "props"])
|
|
115
115
|
])
|
|
116
116
|
])
|
|
@@ -134,5 +134,5 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
136
|
export {
|
|
137
|
-
|
|
137
|
+
Ve as default
|
|
138
138
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { a as
|
|
1
|
+
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as L } from "vue";
|
|
2
|
+
import { _ as P } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-KIW9J7Xn.js";
|
|
3
|
+
import { a as V, aL as S } from "./app-UTiudUUR.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
7
7
|
}, E = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "p-24 flex items-center justify-center gap-16"
|
|
10
|
-
},
|
|
10
|
+
}, D = /* @__PURE__ */ C({
|
|
11
11
|
__name: "BindingsDialog",
|
|
12
12
|
setup(N) {
|
|
13
|
-
const p =
|
|
13
|
+
const p = V(), d = o(!0), s = o(new Array()), u = o(), t = S(y);
|
|
14
14
|
async function y() {
|
|
15
15
|
await p.readInventory(), u.value = t.onMessage("props:inventory-bindings", (e) => {
|
|
16
16
|
d.value = !1, s.value = e;
|
|
@@ -55,7 +55,7 @@ const U = {
|
|
|
55
55
|
}, [
|
|
56
56
|
d.value ? (i(), c("div", E, [
|
|
57
57
|
a(h, { size: "md" }),
|
|
58
|
-
n[2] || (n[2] =
|
|
58
|
+
n[2] || (n[2] = L("div", null, "Loading bindings dialog...", -1))
|
|
59
59
|
])) : (i(), I(B, {
|
|
60
60
|
key: 0,
|
|
61
61
|
onValidationSuccess: n[1] || (n[1] = () => r.value ? void 0 : b()),
|
|
@@ -64,7 +64,7 @@ const U = {
|
|
|
64
64
|
class: "flex flex-col gap-16"
|
|
65
65
|
}, {
|
|
66
66
|
default: R(() => [
|
|
67
|
-
a(
|
|
67
|
+
a(P, {
|
|
68
68
|
"model-value": s.value,
|
|
69
69
|
"onUpdate:modelValue": n[0] || (n[0] = (w) => s.value = w),
|
|
70
70
|
"iframe-mode": "",
|
|
@@ -90,5 +90,5 @@ const U = {
|
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
export {
|
|
93
|
-
|
|
93
|
+
D as default
|
|
94
94
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
-
import { a as M,
|
|
2
|
+
import { a as M, aL as x, J as z } from "./app-UTiudUUR.js";
|
|
3
3
|
const F = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex flex-col gap-16"
|
|
6
6
|
}, K = { class: "flex justify-end gap-8 items-center" }, w = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "p-24 flex items-center justify-center gap-16"
|
|
9
|
-
},
|
|
9
|
+
}, N = /* @__PURE__ */ S({
|
|
10
10
|
__name: "BindingsPicker",
|
|
11
11
|
setup(L) {
|
|
12
12
|
const d = M(), C = r(() => d.recipes), I = r(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = r(() => a.value === "SKU" ? I.value.map((s) => ({
|
|
@@ -119,5 +119,5 @@ const F = {
|
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
export {
|
|
122
|
-
|
|
122
|
+
N as default
|
|
123
123
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as _, ref as c, provide as C, computed as f, resolveComponent as b, openBlock as p, createBlock as h, h as z, onMounted as B, onUnmounted as I, createElementBlock as y, createVNode as N, createElementVNode as
|
|
2
|
-
import { F as v, a as
|
|
3
|
-
import { components as
|
|
1
|
+
import { defineComponent as _, ref as c, provide as C, computed as f, resolveComponent as b, openBlock as p, createBlock as h, h as z, onMounted as B, onUnmounted as I, createElementBlock as y, createVNode as N, createElementVNode as L } from "vue";
|
|
2
|
+
import { F as v, a as x, aL as E } from "./app-UTiudUUR.js";
|
|
3
|
+
import { components as F } from "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
|
-
const
|
|
5
|
+
const P = /* @__PURE__ */ _({
|
|
6
6
|
__name: "binding-ui",
|
|
7
7
|
props: {
|
|
8
8
|
items: { default: () => [] },
|
|
@@ -64,7 +64,7 @@ const O = /* @__PURE__ */ _({
|
|
|
64
64
|
size: 24,
|
|
65
65
|
cell(i) {
|
|
66
66
|
const e = a.value.find((n) => n.key === i.row.original.key);
|
|
67
|
-
return z(
|
|
67
|
+
return z(F.FmButton, {
|
|
68
68
|
icon: "edit",
|
|
69
69
|
bgColor: "white",
|
|
70
70
|
textColor: "neutral-grey-400",
|
|
@@ -87,13 +87,13 @@ const O = /* @__PURE__ */ _({
|
|
|
87
87
|
}, null, 8, ["row-data"]);
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
|
-
}),
|
|
90
|
+
}), R = {
|
|
91
91
|
key: 1,
|
|
92
92
|
class: "p-24 flex items-center justify-center gap-16"
|
|
93
93
|
}, D = /* @__PURE__ */ _({
|
|
94
94
|
__name: "BindingsTable",
|
|
95
95
|
setup(k) {
|
|
96
|
-
const d =
|
|
96
|
+
const d = x(), u = c(!0), o = c(new Array()), m = f(() => d.recipes), a = f(() => d.skus), g = c(""), i = E(n), e = c();
|
|
97
97
|
async function n() {
|
|
98
98
|
await d.readInventory(), e.value = i.onMessage(
|
|
99
99
|
"props:grouped-bindings",
|
|
@@ -124,10 +124,10 @@ const O = /* @__PURE__ */ _({
|
|
|
124
124
|
ref_key: "resizeableRef",
|
|
125
125
|
ref: l
|
|
126
126
|
}, [
|
|
127
|
-
u.value ? (p(), y("div",
|
|
127
|
+
u.value ? (p(), y("div", R, [
|
|
128
128
|
N(w, { size: "md" }),
|
|
129
|
-
r[0] || (r[0] =
|
|
130
|
-
])) : (p(), h(
|
|
129
|
+
r[0] || (r[0] = L("div", null, "Loading bindings table...", -1))
|
|
130
|
+
])) : (p(), h(P, {
|
|
131
131
|
key: 0,
|
|
132
132
|
items: o.value,
|
|
133
133
|
recipes: m.value,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as ge, ref as O, resolveComponent as z, openBlock as _, createBlock as ne, withCtx as N, createElementVNode as o, createTextVNode as ve, toDisplayString as H, unref as h, createVNode as D, h as E, computed as R, onMounted as ze, watch as He, isRef as Ae, createElementBlock as S, Fragment as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as ge, ref as O, resolveComponent as z, openBlock as _, createBlock as ne, withCtx as N, createElementVNode as o, createTextVNode as ve, toDisplayString as H, unref as h, createVNode as D, h as E, computed as R, onMounted as ze, watch as He, isRef as Ae, createElementBlock as S, Fragment as Z, createCommentVNode as le, normalizeClass as ie, renderList as ue, normalizeStyle as _e, Teleport as Ee, mergeProps as Le } from "vue";
|
|
2
|
+
import { X as Ne, u as ye, ae as G, l as Oe, K as be, i as j, t as Ve, L as ce, p as Ke, q as Ye, r as Ge, af as we, ag as ke, a3 as Ce, ah as je, ai as oe, a9 as qe, ad as W, V as Se, D as xe, h as de, f as Ze, e as We, a as Xe, y as Je, z as Qe, B as et, E as tt, G as me } from "./app-UTiudUUR.js";
|
|
3
3
|
import { useCoreStore as at, useI18n as Be } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as he, useDialog as nt, useProxiedModel as ot, components as ae, useBreakpoints as st } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Fe, storeToRefs as rt } from "pinia";
|
|
6
|
-
import { u as $e } from "./stock-
|
|
6
|
+
import { u as $e } from "./stock-CxRxidDu.js";
|
|
7
7
|
import { E as lt } from "./empty-placeholder-wf6-BWE8.js";
|
|
8
8
|
const Re = Ne((n, d) => {
|
|
9
9
|
function e() {
|
|
@@ -182,13 +182,13 @@ function gt(n) {
|
|
|
182
182
|
];
|
|
183
183
|
}
|
|
184
184
|
function yt(n, d) {
|
|
185
|
-
var s, p, L, M, C,
|
|
185
|
+
var s, p, L, M, C, Q, $;
|
|
186
186
|
const e = d.groupBy(
|
|
187
187
|
(g) => g.id,
|
|
188
188
|
(g) => g.balance
|
|
189
189
|
), u = [...n.items, ...n.negativeStockItems ?? []], m = u.map((g) => {
|
|
190
|
-
var
|
|
191
|
-
const V = ((
|
|
190
|
+
var X;
|
|
191
|
+
const V = ((X = e.get(g.sku._id)) == null ? void 0 : X[0]) ?? mt;
|
|
192
192
|
return pt(g, V);
|
|
193
193
|
}), v = vt(u), l = at().currentBusiness.value, y = gt(v), B = [
|
|
194
194
|
["Business name:", l == null ? void 0 : l.name],
|
|
@@ -205,7 +205,7 @@ function yt(n, d) {
|
|
|
205
205
|
],
|
|
206
206
|
[
|
|
207
207
|
"Action at",
|
|
208
|
-
n.approvedAt ? new Date(n.approvedAt) : n.rejectionHistory ? new Date((
|
|
208
|
+
n.approvedAt ? new Date(n.approvedAt) : n.rejectionHistory ? new Date((Q = n.rejectionHistory[0]) == null ? void 0 : Q.rejectedAt) : ""
|
|
209
209
|
],
|
|
210
210
|
[
|
|
211
211
|
"Action remark",
|
|
@@ -339,7 +339,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
339
339
|
e.closeDraftDialog(), l();
|
|
340
340
|
}
|
|
341
341
|
function T(r, s) {
|
|
342
|
-
switch (s =
|
|
342
|
+
switch (s = We(s), r) {
|
|
343
343
|
case de.Details:
|
|
344
344
|
return e.viewDraft(s);
|
|
345
345
|
case de.Export:
|
|
@@ -363,7 +363,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
363
363
|
},
|
|
364
364
|
{
|
|
365
365
|
id: "updatedAt",
|
|
366
|
-
accessorFn: (r) =>
|
|
366
|
+
accessorFn: (r) => W(r.updatedAt),
|
|
367
367
|
header: () => "Updated at",
|
|
368
368
|
enableSorting: !0,
|
|
369
369
|
size: 200
|
|
@@ -436,7 +436,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
436
436
|
value: G.enum.rejectDraft
|
|
437
437
|
}
|
|
438
438
|
];
|
|
439
|
-
return
|
|
439
|
+
return Ze(
|
|
440
440
|
[...p, ...s.status === oe.enum.DRAFT ? L : []],
|
|
441
441
|
(M) => T(M, s)
|
|
442
442
|
);
|
|
@@ -481,7 +481,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
481
481
|
}, Vt = { class: "flex-1 flex flex-col items-center" }, Kt = {
|
|
482
482
|
class: "py-12 flex flex-col gap-4 flex-1",
|
|
483
483
|
name: "delivery details"
|
|
484
|
-
}, Yt = { class: "flex flex-col gap-8" }, Gt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, qt = { class: "flex flex-col gap-4" },
|
|
484
|
+
}, Yt = { class: "flex flex-col gap-8" }, Gt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, qt = { class: "flex flex-col gap-4" }, Zt = { class: "flex gap-8" }, Wt = /* @__PURE__ */ ge({
|
|
485
485
|
__name: "ClosingDraftDialog",
|
|
486
486
|
props: {
|
|
487
487
|
show: { type: Boolean },
|
|
@@ -489,7 +489,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
489
489
|
},
|
|
490
490
|
emits: ["submitted"],
|
|
491
491
|
setup(n, { emit: d }) {
|
|
492
|
-
const e = n, u = $e(), m = fe(), v = ot(e, "show"), A = O(!1), l = O(new Array()), y = je(), B = he(), T =
|
|
492
|
+
const e = n, u = $e(), m = fe(), v = ot(e, "show"), A = O(!1), l = O(new Array()), y = je(), B = he(), T = Xe(), F = d, r = R(() => {
|
|
493
493
|
var a, t;
|
|
494
494
|
return [
|
|
495
495
|
...((a = e.draft) == null ? void 0 : a.items) ?? [],
|
|
@@ -540,7 +540,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
540
540
|
A.value = !1;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
const
|
|
543
|
+
const Q = R(
|
|
544
544
|
() => l.value.groupBy(
|
|
545
545
|
(a) => a.id,
|
|
546
546
|
(a) => a.balance
|
|
@@ -705,9 +705,9 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
707
|
];
|
|
708
|
-
}),
|
|
709
|
-
var Y,
|
|
710
|
-
const t = (Y = $.value.get(a._id)) == null ? void 0 : Y[0], c = ((
|
|
708
|
+
}), X = R(() => V.value.map((a) => a.size ?? 0).reduce((a, t) => a + t)), se = R(() => s.value.map((a) => {
|
|
709
|
+
var Y, J;
|
|
710
|
+
const t = (Y = $.value.get(a._id)) == null ? void 0 : Y[0], c = ((J = Q.value.get(a._id)) == null ? void 0 : J[0]) ?? L;
|
|
711
711
|
if (!t)
|
|
712
712
|
return {
|
|
713
713
|
code: a.code,
|
|
@@ -741,12 +741,12 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
741
741
|
var t, c;
|
|
742
742
|
if (!e.draft) return [];
|
|
743
743
|
const a = e.draft.approvedAt ? {
|
|
744
|
-
action: `Approve at ${
|
|
744
|
+
action: `Approve at ${W(e.draft.approvedAt)}`,
|
|
745
745
|
// actionAt: props.draft.approvedAt,
|
|
746
746
|
actionBy: e.draft.approvedBy,
|
|
747
747
|
remark: e.draft.approveRemark
|
|
748
748
|
} : (t = e.draft.rejectionHistory) == null ? void 0 : t.computeFirst((i) => ({
|
|
749
|
-
action: `Reject at ${
|
|
749
|
+
action: `Reject at ${W(i.rejectedAt)}`,
|
|
750
750
|
// actionAt: e.rejectedAt,
|
|
751
751
|
actionBy: i.rejectedBy,
|
|
752
752
|
remark: i.rejectRemark
|
|
@@ -754,7 +754,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
754
754
|
return [
|
|
755
755
|
{
|
|
756
756
|
label: "Created at",
|
|
757
|
-
value:
|
|
757
|
+
value: W(e.draft.createdAt)
|
|
758
758
|
},
|
|
759
759
|
{
|
|
760
760
|
label: "Created by",
|
|
@@ -762,7 +762,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
762
762
|
},
|
|
763
763
|
{
|
|
764
764
|
label: "Updated at",
|
|
765
|
-
value:
|
|
765
|
+
value: W(e.draft.updatedAt)
|
|
766
766
|
},
|
|
767
767
|
{
|
|
768
768
|
label: "Updated by",
|
|
@@ -770,7 +770,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
770
770
|
},
|
|
771
771
|
{
|
|
772
772
|
label: "Effective at",
|
|
773
|
-
value:
|
|
773
|
+
value: W(e.draft.effectiveAt ?? e.draft.updatedAt)
|
|
774
774
|
},
|
|
775
775
|
e.draft.remark ? {
|
|
776
776
|
label: "Remark",
|
|
@@ -804,7 +804,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
804
804
|
...(((t = e.draft) == null ? void 0 : t.rejectionHistory) ?? []).map(
|
|
805
805
|
(f) => ({
|
|
806
806
|
header: "Reject",
|
|
807
|
-
date:
|
|
807
|
+
date: W(f.rejectedAt),
|
|
808
808
|
info: [
|
|
809
809
|
{
|
|
810
810
|
label: "Rejected by",
|
|
@@ -820,7 +820,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
820
820
|
...(c = e.draft) != null && c.approvedBy ? [
|
|
821
821
|
{
|
|
822
822
|
header: "Approve",
|
|
823
|
-
date: e.draft.approvedAt ?
|
|
823
|
+
date: e.draft.approvedAt ? W(e.draft.approvedAt) : "",
|
|
824
824
|
info: [
|
|
825
825
|
{
|
|
826
826
|
label: "Approved by",
|
|
@@ -844,7 +844,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
844
844
|
].filter((k) => k).join(" ");
|
|
845
845
|
});
|
|
846
846
|
return (a, t) => {
|
|
847
|
-
const c = z("FmButtonGroup"), i = z("FmMenuDivider"), b = z("FmCard"), f = z("FmButton"), P = z("FmCircularProgress"), k = z("FmTable"), Y = z("FmSpacer"),
|
|
847
|
+
const c = z("FmButtonGroup"), i = z("FmMenuDivider"), b = z("FmCard"), f = z("FmButton"), P = z("FmCircularProgress"), k = z("FmTable"), Y = z("FmSpacer"), J = z("FmTooltip"), I = z("FmSideSheet");
|
|
848
848
|
return _(), ne(I, {
|
|
849
849
|
"dismiss-away": "",
|
|
850
850
|
"max-width": 900,
|
|
@@ -855,9 +855,9 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
855
855
|
"side-sheet-footer": N(() => {
|
|
856
856
|
var x, w;
|
|
857
857
|
return [
|
|
858
|
-
o("div",
|
|
859
|
-
((x = e.draft) == null ? void 0 : x.status) === h(oe).enum.DRAFT ? (_(), S(
|
|
860
|
-
re.value ? (_(), ne(
|
|
858
|
+
o("div", Zt, [
|
|
859
|
+
((x = e.draft) == null ? void 0 : x.status) === h(oe).enum.DRAFT ? (_(), S(Z, { key: 0 }, [
|
|
860
|
+
re.value ? (_(), ne(J, {
|
|
861
861
|
key: 0,
|
|
862
862
|
"z-index": 51
|
|
863
863
|
}, {
|
|
@@ -902,7 +902,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
902
902
|
"onUpdate:modelValue": t[0] || (t[0] = (x) => q.value = x)
|
|
903
903
|
}, null, 8, ["modelValue"])
|
|
904
904
|
]),
|
|
905
|
-
q.value.value === "overview" ? (_(), S(
|
|
905
|
+
q.value.value === "overview" ? (_(), S(Z, { key: 0 }, [
|
|
906
906
|
D(b, {
|
|
907
907
|
variant: "outlined",
|
|
908
908
|
class: "flex flex-col gap-8 px-12 py-16"
|
|
@@ -919,7 +919,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
919
919
|
])
|
|
920
920
|
]),
|
|
921
921
|
D(i),
|
|
922
|
-
(_(!0), S(
|
|
922
|
+
(_(!0), S(Z, null, ue(ee.value, (U, pe) => (_(), S("div", {
|
|
923
923
|
class: "flex flex-col gap-4",
|
|
924
924
|
key: pe
|
|
925
925
|
}, [
|
|
@@ -958,7 +958,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
958
958
|
t[11] || (t[11] = o("div", { class: "h-80" }, null, -1))
|
|
959
959
|
])) : (_(), S("div", Ft, [
|
|
960
960
|
o("div", {
|
|
961
|
-
style: _e({ width: `${
|
|
961
|
+
style: _e({ width: `${X.value}px` })
|
|
962
962
|
}, [
|
|
963
963
|
D(k, {
|
|
964
964
|
"column-defs": V.value,
|
|
@@ -970,7 +970,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
970
970
|
], 64)) : le("", !0),
|
|
971
971
|
q.value.value === "history" ? (_(), S("div", $t, [
|
|
972
972
|
K.value.length ? (_(), S("div", Mt, [
|
|
973
|
-
(_(!0), S(
|
|
973
|
+
(_(!0), S(Z, null, ue(K.value, (x, w) => (_(), S(Z, { key: w }, [
|
|
974
974
|
o("div", Pt, [
|
|
975
975
|
o("div", It, [
|
|
976
976
|
o("div", Ut, [
|
|
@@ -1023,13 +1023,13 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
1023
1023
|
}, {
|
|
1024
1024
|
default: N(() => [
|
|
1025
1025
|
o("div", Yt, [
|
|
1026
|
-
(_(!0), S(
|
|
1026
|
+
(_(!0), S(Z, null, ue(x.info, (U, pe) => (_(), S("div", {
|
|
1027
1027
|
key: pe,
|
|
1028
1028
|
class: "flex flex-col gap-4"
|
|
1029
1029
|
}, [
|
|
1030
1030
|
o("div", Gt, H(U == null ? void 0 : U.label), 1),
|
|
1031
1031
|
o("div", qt, [
|
|
1032
|
-
(_(!0), S(
|
|
1032
|
+
(_(!0), S(Z, null, ue(U == null ? void 0 : U.values, (Ie, Ue) => (_(), S("div", {
|
|
1033
1033
|
key: Ue,
|
|
1034
1034
|
class: "fm-typo-en-body-lg-600"
|
|
1035
1035
|
}, H(Ie), 1))), 128))
|
|
@@ -1062,10 +1062,10 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
1062
1062
|
}, 8, ["model-value"]);
|
|
1063
1063
|
};
|
|
1064
1064
|
}
|
|
1065
|
-
}),
|
|
1065
|
+
}), Xt = { class: "flex-1 flex flex-col gap-8" }, Jt = { class: "flex flex-col" }, Qt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ea = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ta = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, aa = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, ua = /* @__PURE__ */ ge({
|
|
1066
1066
|
__name: "ClosingDraftView",
|
|
1067
1067
|
setup(n) {
|
|
1068
|
-
const { t: d } = Be(), { viewDraft: e } = fe(), { viewClosingDraftProps: u, viewClosingDraftShow: m } = rt(fe()), v = ye(), A = bt(), l =
|
|
1068
|
+
const { t: d } = Be(), { viewDraft: e } = fe(), { viewClosingDraftProps: u, viewClosingDraftShow: m } = rt(fe()), v = ye(), A = bt(), l = Je(), { breakpoints: y } = st();
|
|
1069
1069
|
v.watchLocation(A.fetchDrafts);
|
|
1070
1070
|
const B = R(() => A.loading), T = O(""), F = R(() => y.value.xs || y.value.sm), r = R(() => F.value ? 10 : 20);
|
|
1071
1071
|
function s(M) {
|
|
@@ -1091,9 +1091,9 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
]);
|
|
1093
1093
|
return (M, C) => {
|
|
1094
|
-
const
|
|
1095
|
-
return _(), S(
|
|
1096
|
-
D(
|
|
1094
|
+
const Q = z("FmTable");
|
|
1095
|
+
return _(), S(Z, null, [
|
|
1096
|
+
D(Qe, {
|
|
1097
1097
|
title: h(d)("inventory.closing.draft.title"),
|
|
1098
1098
|
actions: L.value,
|
|
1099
1099
|
"onClick:action": s
|
|
@@ -1114,7 +1114,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
1114
1114
|
search: T.value,
|
|
1115
1115
|
"onUpdate:search": C[0] || (C[0] = ($) => T.value = $)
|
|
1116
1116
|
}, null, 8, ["search"]),
|
|
1117
|
-
D(
|
|
1117
|
+
D(Q, {
|
|
1118
1118
|
style: _e(h(l).tableHeight),
|
|
1119
1119
|
"column-defs": h(A).columnDefs,
|
|
1120
1120
|
"row-data": h(A).drafts,
|
|
@@ -1129,13 +1129,13 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
1129
1129
|
onRowClick: (g) => h(e)(g)
|
|
1130
1130
|
}, {
|
|
1131
1131
|
default: N((g) => {
|
|
1132
|
-
var V,
|
|
1132
|
+
var V, X, se, ee, te, q, K, re, a, t, c, i, b, f, P, k, Y, J, I, x;
|
|
1133
1133
|
return [
|
|
1134
|
-
o("div",
|
|
1135
|
-
o("div",
|
|
1136
|
-
o("div",
|
|
1134
|
+
o("div", Xt, [
|
|
1135
|
+
o("div", Jt, [
|
|
1136
|
+
o("div", Qt, [
|
|
1137
1137
|
D(h(me), {
|
|
1138
|
-
render: (se = (
|
|
1138
|
+
render: (se = (X = (V = g._id) == null ? void 0 : V.column) == null ? void 0 : X.columnDef) == null ? void 0 : se.cell,
|
|
1139
1139
|
props: (te = (ee = g._id) == null ? void 0 : ee.getContext) == null ? void 0 : te.call(ee)
|
|
1140
1140
|
}, null, 8, ["render", "props"])
|
|
1141
1141
|
]),
|
|
@@ -1158,7 +1158,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
1158
1158
|
]),
|
|
1159
1159
|
o("div", null, [
|
|
1160
1160
|
D(h(me), {
|
|
1161
|
-
render: (
|
|
1161
|
+
render: (J = (Y = (k = g.status) == null ? void 0 : k.column) == null ? void 0 : Y.columnDef) == null ? void 0 : J.cell,
|
|
1162
1162
|
props: (x = (I = g.status) == null ? void 0 : I.getContext) == null ? void 0 : x.call(I)
|
|
1163
1163
|
}, null, 8, ["render", "props"])
|
|
1164
1164
|
])
|
|
@@ -1175,7 +1175,7 @@ const bt = Fe("closingDraftTable", function() {
|
|
|
1175
1175
|
_: 1
|
|
1176
1176
|
}, 8, ["title", "actions"]),
|
|
1177
1177
|
(_(), ne(Ee, { to: "body" }, [
|
|
1178
|
-
D(
|
|
1178
|
+
D(Wt, Le(h(u), {
|
|
1179
1179
|
show: h(m),
|
|
1180
1180
|
"onUpdate:show": C[2] || (C[2] = ($) => Ae(m) ? m.value = $ : null),
|
|
1181
1181
|
onSubmitted: C[3] || (C[3] = () => (m.value = !1, h(A).fetchDrafts()))
|