@feedmepos/mf-inventory-portal 0.0.23-dev.43 → 0.0.23-dev.44
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-C8wsA5dN.js → App-Bu28H-qV.js} +63 -59
- package/dist/{ApprovalView-ZV8rwQp1.js → ApprovalView-Cgb6Getu.js} +2 -2
- package/dist/{BindingsDialog-Sbtijb1i.js → BindingsDialog-DGtPuzr1.js} +2 -2
- package/dist/{BindingsPicker-wnlrCohJ.js → BindingsPicker-BamL3_Vk.js} +1 -1
- package/dist/{BindingsTable-BZCI3MS6.js → BindingsTable-C9FeglE4.js} +1 -1
- package/dist/{ClosingDraftView-DyKbXVev.js → ClosingDraftView-C_B1u3g1.js} +2 -2
- package/dist/{ClosingTemplateView-DJr6D7iw.js → ClosingTemplateView-BxK3yAV4.js} +1 -1
- package/dist/{FmCustomAttribute.vue_vue_type_script_setup_true_lang-B1mRTbf9.js → FmCustomAttribute.vue_vue_type_script_setup_true_lang-DAWPJ65s.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BUiVV1lj.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D1PU7pae.js} +3 -3
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-qU9EBVED.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D1AIFe-0.js} +1 -1
- package/dist/{IngredientGroupView-BWeMME4-.js → IngredientGroupView-S7ps5Bsc.js} +1 -1
- package/dist/{IngredientsView-BRxpBv77.js → IngredientsView-BesGBkXM.js} +3 -3
- package/dist/{IntegrationView-DZqL0Ekt.js → IntegrationView-Bkf7zGLw.js} +1 -1
- package/dist/{InventoryBindingForm-C2zDhhfZ.js → InventoryBindingForm-DHwTsR2G.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BhaK3zOk.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CseHejfD.js} +3 -3
- package/dist/{InventoryBindingSummary-CJP0sf4N.js → InventoryBindingSummary-COybHYsZ.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Dplylu1K.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cgv6gv2x.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CC1nuQKm.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BGJNkqYH.js} +1 -1
- package/dist/PublishView-2EcaLsU2.js +192 -0
- package/dist/{PurchaseOrderPrintPreview-C5afxprc.js → PurchaseOrderPrintPreview-DPFfFQQd.js} +1 -1
- package/dist/ReceiveRequestView-Dnl79p8h.js +1843 -0
- package/dist/{RecipeView-8koCeNhZ.js → RecipeView-CmaMGv6N.js} +3 -3
- package/dist/{StockView-C3Ef3mQz.js → StockView-CLw8un14.js} +7 -7
- package/dist/{SupplierView-BHuYKWgW.js → SupplierView-DLcZ6HDt.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-8rCAz5GA.js → TransferDetails.vue_vue_type_script_setup_true_lang-DgwS1KTx.js} +3 -3
- package/dist/{TransferTemplateView-u1u-VV-i.js → TransferTemplateView-BRDq2_Zw.js} +5 -5
- package/dist/{UnitView-ucQ_K9ot.js → UnitView-rJrXqu8W.js} +3 -3
- package/dist/{WarehouseView-CCwLKR3J.js → WarehouseView-BwSLmicZ.js} +1 -1
- package/dist/api/inventory.d.ts +4 -0
- package/dist/{app-BvW6mdJl.js → app-F909rQ5n.js} +1291 -1253
- package/dist/app.d.ts +24 -0
- package/dist/app.js +1 -1
- package/dist/{decimal-hD6H0C0M.js → decimal-0pQSNdVz.js} +1 -1
- package/dist/{format-unit-display-BfYIFIft.js → format-unit-display-CM40cl03.js} +2 -2
- package/dist/{index-BQUuh_Xy.js → index-DzA11XLY.js} +1 -1
- package/dist/{index-y9SmouGG.js → index-rBUXpqWE.js} +3 -3
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -0
- package/dist/router/name.d.ts +1 -0
- package/dist/{stock-CHW2fGsm.js → stock-c68S1hmD.js} +1 -1
- package/dist/stores/location.d.ts +28 -0
- package/dist/{supplier-CCUVm2qD.js → supplier-CPuz6JVf.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-B8Cgp_x2.js → use-inventory-binding-dialog-DjlU5nUb.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +48 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +48 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -0
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +48 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +48 -0
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +48 -0
- package/dist/views/publish/PublishView.vue.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +16 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +24 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +24 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -0
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -0
- package/dist/vue-i18n-BiavdzKQ.js +2365 -0
- package/package.json +1 -1
- package/dist/ReceiveRequestView-DzbcqmMA.js +0 -4204
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as x, onUnmounted as F, defineComponent as h, watch as
|
|
2
|
-
import { u as k, a as D, b as H, R as e, c as B, g as
|
|
1
|
+
import { ref as x, onUnmounted as F, defineComponent as h, watch as P, onMounted as U, computed as g, resolveComponent as b, openBlock as S, createElementBlock as I, unref as v, createVNode as _, createElementVNode as p, toDisplayString as w, createBlock as G, createCommentVNode as M } from "vue";
|
|
2
|
+
import { u as k, a as D, b as H, R as e, c as B, g as s, d as W } from "./app-F909rQ5n.js";
|
|
3
3
|
import { useCoreStore as A, useI18n as O } from "@feedmepos/mf-common";
|
|
4
4
|
import { useRouter as C, useRoute as K } from "vue-router";
|
|
5
5
|
import { u as $ } from "./useTabStorage-BkIVScW_.js";
|
|
@@ -40,37 +40,37 @@ const q = {
|
|
|
40
40
|
}, X = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, Y = { class: "fm-typo-en-title-lg-600" }, Z = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ee = { class: "flex gap-16" }, te = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, oe = { href: "https://feedme.ai/form" }, ne = /* @__PURE__ */ h({
|
|
41
41
|
__name: "InventoryView",
|
|
42
42
|
setup(l) {
|
|
43
|
-
const n = k(), i = D(), u = H(),
|
|
44
|
-
|
|
45
|
-
[() =>
|
|
46
|
-
([t,
|
|
47
|
-
f(t,
|
|
43
|
+
const n = k(), i = D(), u = H(), r = A(), c = C(), o = z(), R = B(), { t: d } = O();
|
|
44
|
+
P(
|
|
45
|
+
[() => r.sessionUser.value, () => r.currentBusiness.value],
|
|
46
|
+
([t, a]) => {
|
|
47
|
+
f(t, a);
|
|
48
48
|
}
|
|
49
|
-
),
|
|
50
|
-
await
|
|
51
|
-
const t =
|
|
52
|
-
f(t,
|
|
49
|
+
), U(async () => {
|
|
50
|
+
await R.init(), await r.readBusinesses();
|
|
51
|
+
const t = r.sessionUser.value, a = r.currentBusiness.value;
|
|
52
|
+
f(t, a);
|
|
53
53
|
});
|
|
54
|
-
function f(t,
|
|
55
|
-
!t || !
|
|
54
|
+
function f(t, a) {
|
|
55
|
+
!t || !a || T();
|
|
56
56
|
}
|
|
57
57
|
async function T() {
|
|
58
58
|
return await n.init(), await u.readSetting().catch((t) => {
|
|
59
59
|
console.error("error on reading netsuite store", t);
|
|
60
60
|
}), await i.init();
|
|
61
61
|
}
|
|
62
|
-
const
|
|
63
|
-
return (t,
|
|
64
|
-
const m =
|
|
62
|
+
const y = g(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? R.enablePoTemplate : !0);
|
|
63
|
+
return (t, a) => {
|
|
64
|
+
const m = b("FmSpacer"), N = b("FmCircularProgress"), L = b("FmButton"), V = b("RouterView");
|
|
65
65
|
return S(), I("div", null, [
|
|
66
66
|
v(o).isLoading ? (S(), I("div", q, [
|
|
67
67
|
_(m),
|
|
68
68
|
p("div", null, [
|
|
69
69
|
_(N, { size: "xl" })
|
|
70
70
|
]),
|
|
71
|
-
|
|
71
|
+
a[0] || (a[0] = p("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
|
|
72
72
|
_(m)
|
|
73
|
-
])) :
|
|
73
|
+
])) : y.value ? v(r).sessionUser.value ? (S(), G(V, { key: 2 })) : M("", !0) : (S(), I("div", J, [
|
|
74
74
|
p("div", X, [
|
|
75
75
|
p("div", Y, w(v(d)("inventory.common.proPlan.title")), 1),
|
|
76
76
|
p("div", Z, w(v(d)("inventory.common.proPlan.subtitle")), 1)
|
|
@@ -93,66 +93,66 @@ const q = {
|
|
|
93
93
|
]);
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
}),
|
|
96
|
+
}), ae = { class: "h-full flex flex-col overflow-auto py-16" }, re = /* @__PURE__ */ h({
|
|
97
97
|
__name: "NavigationTab",
|
|
98
98
|
setup(l) {
|
|
99
|
-
const n = K(), i = C(), u = A(),
|
|
100
|
-
|
|
101
|
-
(t == null ? void 0 : t.menuVersion) === "v3" && (
|
|
99
|
+
const n = K(), i = C(), u = A(), r = B(), c = $(), { t: o } = O();
|
|
100
|
+
P([() => u.currentBusiness.value, () => n.name], ([t, a]) => {
|
|
101
|
+
(t == null ? void 0 : t.menuVersion) === "v3" && (a === e.INGREDIENTS || a === e.RECIPE || a === e.UNIT) && i.push({ name: e.STOCK });
|
|
102
102
|
});
|
|
103
|
-
const
|
|
104
|
-
var
|
|
103
|
+
const R = g(() => {
|
|
104
|
+
var a;
|
|
105
105
|
const t = [
|
|
106
106
|
{
|
|
107
|
-
label:
|
|
107
|
+
label: s(e.STOCK, o),
|
|
108
108
|
// icon: 'inventory_2',
|
|
109
109
|
children: [
|
|
110
110
|
{
|
|
111
111
|
label: "Stock balance",
|
|
112
112
|
value: e.STOCK
|
|
113
113
|
},
|
|
114
|
-
...
|
|
114
|
+
...r.enableWastageTemplate ? [
|
|
115
115
|
{
|
|
116
|
-
label:
|
|
116
|
+
label: s(e.WASTAGE_TEMPLATE, o),
|
|
117
117
|
value: e.WASTAGE_TEMPLATE
|
|
118
118
|
}
|
|
119
119
|
] : []
|
|
120
120
|
]
|
|
121
121
|
},
|
|
122
|
-
...
|
|
122
|
+
...r.enableClosingTemplate ? [
|
|
123
123
|
{
|
|
124
124
|
label: "Closing",
|
|
125
125
|
children: [
|
|
126
126
|
{
|
|
127
|
-
label:
|
|
127
|
+
label: s(e.CLOSING_TEMPLATE, o),
|
|
128
128
|
value: e.CLOSING_TEMPLATE
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
|
-
label:
|
|
131
|
+
label: s(e.CLOSING_DRAFT, o),
|
|
132
132
|
value: e.CLOSING_DRAFT
|
|
133
133
|
}
|
|
134
134
|
]
|
|
135
135
|
}
|
|
136
136
|
] : [],
|
|
137
137
|
{
|
|
138
|
-
label:
|
|
138
|
+
label: s(e.INGREDIENTS, o),
|
|
139
139
|
// icon: 'grocery',
|
|
140
140
|
value: e.INGREDIENTS
|
|
141
141
|
},
|
|
142
|
-
...
|
|
142
|
+
...r.enableIngredientGroup ? [
|
|
143
143
|
{
|
|
144
|
-
label:
|
|
144
|
+
label: s(e.INGREDIENT_GROUP, o),
|
|
145
145
|
// icon: 'grocery',
|
|
146
146
|
value: e.INGREDIENT_GROUP
|
|
147
147
|
}
|
|
148
148
|
] : [],
|
|
149
149
|
{
|
|
150
|
-
label:
|
|
150
|
+
label: s(e.RECIPE, o),
|
|
151
151
|
// icon: 'weight',
|
|
152
152
|
value: e.RECIPE
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
label:
|
|
155
|
+
label: s(e.UNIT, o),
|
|
156
156
|
// icon: 'fastfood',
|
|
157
157
|
value: e.UNIT
|
|
158
158
|
},
|
|
@@ -161,38 +161,42 @@ const q = {
|
|
|
161
161
|
// icon: 'swap_horiz',
|
|
162
162
|
children: [
|
|
163
163
|
{
|
|
164
|
-
label:
|
|
164
|
+
label: s(e.RECEIVE_REQUEST, o),
|
|
165
165
|
value: e.RECEIVE_REQUEST
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
|
-
label:
|
|
168
|
+
label: s(e.APPROVAL, o),
|
|
169
169
|
value: e.APPROVAL
|
|
170
170
|
},
|
|
171
|
-
...
|
|
171
|
+
...r.enablePoTemplate ? [
|
|
172
172
|
{
|
|
173
|
-
label:
|
|
173
|
+
label: s(e.TRANSFER_TEMPLATE, o),
|
|
174
174
|
value: e.TRANSFER_TEMPLATE
|
|
175
175
|
}
|
|
176
176
|
] : []
|
|
177
177
|
]
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
|
-
label:
|
|
180
|
+
label: s(e.SUPPLIER, o),
|
|
181
181
|
// icon: 'group',
|
|
182
182
|
value: e.SUPPLIER
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
|
-
label:
|
|
185
|
+
label: s(e.WAREHOUSE, o),
|
|
186
186
|
// icon: 'warehouse',
|
|
187
187
|
value: e.WAREHOUSE
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
|
-
label:
|
|
190
|
+
label: s(e.PUBLISH, o),
|
|
191
|
+
value: e.PUBLISH
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
label: s(e.INTEGRATION, o),
|
|
191
195
|
// icon: 'integration_instructions',
|
|
192
196
|
value: e.INTEGRATION
|
|
193
197
|
}
|
|
194
198
|
];
|
|
195
|
-
return ((
|
|
199
|
+
return ((a = u.currentBusiness.value) == null ? void 0 : a.menuVersion) === "v3" ? t.filter(
|
|
196
200
|
(m) => m.value !== e.INGREDIENTS && m.value !== e.RECIPE && m.value !== e.UNIT
|
|
197
201
|
) : t;
|
|
198
202
|
}), d = g({
|
|
@@ -208,7 +212,7 @@ const q = {
|
|
|
208
212
|
var t;
|
|
209
213
|
return `NavigationTab.${(t = u.currentBusiness.value) == null ? void 0 : t._id}`;
|
|
210
214
|
}
|
|
211
|
-
), T = x(!1),
|
|
215
|
+
), T = x(!1), y = g({
|
|
212
216
|
get() {
|
|
213
217
|
return T.value;
|
|
214
218
|
},
|
|
@@ -216,17 +220,17 @@ const q = {
|
|
|
216
220
|
T.value = t, t || c.setItem(f.value, "true");
|
|
217
221
|
}
|
|
218
222
|
});
|
|
219
|
-
return
|
|
223
|
+
return P([() => f.value], () => {
|
|
220
224
|
T.value = !1, setTimeout(() => {
|
|
221
|
-
|
|
225
|
+
y.value = !c.getItem(f.value);
|
|
222
226
|
}, 2e3);
|
|
223
|
-
}), (t,
|
|
224
|
-
const m =
|
|
225
|
-
return S(), I("div",
|
|
227
|
+
}), (t, a) => {
|
|
228
|
+
const m = b("FmCollapsibleTabs");
|
|
229
|
+
return S(), I("div", ae, [
|
|
226
230
|
_(m, {
|
|
227
231
|
modelValue: d.value,
|
|
228
|
-
"onUpdate:modelValue":
|
|
229
|
-
items:
|
|
232
|
+
"onUpdate:modelValue": a[0] || (a[0] = (N) => d.value = N),
|
|
233
|
+
items: R.value
|
|
230
234
|
}, null, 8, ["modelValue", "items"])
|
|
231
235
|
]);
|
|
232
236
|
};
|
|
@@ -234,8 +238,8 @@ const q = {
|
|
|
234
238
|
});
|
|
235
239
|
typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
|
|
236
240
|
let l, n;
|
|
237
|
-
return { promise: new Promise((u,
|
|
238
|
-
l = u, n =
|
|
241
|
+
return { promise: new Promise((u, r) => {
|
|
242
|
+
l = u, n = r;
|
|
239
243
|
}), resolve: l, reject: n };
|
|
240
244
|
});
|
|
241
245
|
typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(l) {
|
|
@@ -245,18 +249,18 @@ const de = /* @__PURE__ */ h({
|
|
|
245
249
|
__name: "App",
|
|
246
250
|
setup(l) {
|
|
247
251
|
const n = A(), i = Q(), u = W();
|
|
248
|
-
|
|
252
|
+
U(() => {
|
|
249
253
|
if (window.location.href.includes("print-preview")) {
|
|
250
254
|
n.setEmbedded(!0);
|
|
251
255
|
return;
|
|
252
256
|
}
|
|
253
|
-
n.registerSidebarComponent(
|
|
257
|
+
n.registerSidebarComponent(re), i.initGoogleMap(u.appApi.googleMap).catch(() => {
|
|
254
258
|
console.error("Google map cannot be loaded");
|
|
255
259
|
});
|
|
256
|
-
}),
|
|
257
|
-
|
|
260
|
+
}), P([() => n.currentCountry.value], () => {
|
|
261
|
+
r();
|
|
258
262
|
});
|
|
259
|
-
async function
|
|
263
|
+
async function r() {
|
|
260
264
|
var c;
|
|
261
265
|
try {
|
|
262
266
|
await n.readBusinesses(), n.currentBusiness.value = (c = n.businesses.value) == null ? void 0 : c.find((o) => o);
|
|
@@ -264,7 +268,7 @@ const de = /* @__PURE__ */ h({
|
|
|
264
268
|
console.error("error when trying to reset businesses:", o);
|
|
265
269
|
}
|
|
266
270
|
}
|
|
267
|
-
return (c, o) => (S(),
|
|
271
|
+
return (c, o) => (S(), G(ne));
|
|
268
272
|
}
|
|
269
273
|
});
|
|
270
274
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as ae, ref as g, watch as oe, computed as b, resolveComponent as re, openBlock as x, createBlock as J, unref as e, withCtx as y, 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, av as v, aF as de, a8 as K, z as fe, _ as ve, B as _e, E as he, G as _ } from "./app-
|
|
3
|
-
import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, av as v, aF as de, a8 as K, z as fe, _ as ve, B as _e, E as he, G as _ } from "./app-F909rQ5n.js";
|
|
3
|
+
import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-DgwS1KTx.js";
|
|
4
4
|
import { useBreakpoints as xe } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as ye } 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 = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
-
import { a as V, aL as S } from "./app-
|
|
2
|
+
import { _ as P } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CseHejfD.js";
|
|
3
|
+
import { a as V, aL as S } from "./app-F909rQ5n.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,5 +1,5 @@
|
|
|
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, aL as x, J as z } from "./app-
|
|
2
|
+
import { a as M, aL as x, J as z } from "./app-F909rQ5n.js";
|
|
3
3
|
const F = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex flex-col gap-16"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { F as v, a as x, aL as E } from "./app-F909rQ5n.js";
|
|
3
3
|
import { components as F } from "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
const P = /* @__PURE__ */ _({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as ye, ref as O, resolveComponent as E, openBlock as _, createBlock as ne, withCtx as N, createElementVNode as o, createTextVNode as ge, toDisplayString as L, unref as h, createVNode as D, h as $, computed as M, onMounted as He, watch as ze, isRef as _e, createElementBlock as F, Fragment as W, createCommentVNode as le, normalizeClass as ie, renderList as ue, normalizeStyle as we, Teleport as Ee, mergeProps as Le } from "vue";
|
|
2
|
-
import { X as Ne, u as be, af as q, m as Oe, K as he, j as C, t as Ve, L as ce, q as Ke, r as Ye, s as Ge, ag as ke, ah as je, a3 as Ce, ai as Se, aj as oe, a9 as qe, ae as X, V as Be, D as De, i as de, h as Ze, f as We, a as Xe, z as Je, _ as Qe, B as et, E as tt, G as me } from "./app-
|
|
2
|
+
import { X as Ne, u as be, af as q, m as Oe, K as he, j as C, t as Ve, L as ce, q as Ke, r as Ye, s as Ge, ag as ke, ah as je, a3 as Ce, ai as Se, aj as oe, a9 as qe, ae as X, V as Be, D as De, i as de, h as Ze, f as We, a as Xe, z as Je, _ as Qe, B as et, E as tt, G as me } from "./app-F909rQ5n.js";
|
|
3
3
|
import { useCoreStore as at, useI18n as Fe } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as Ae, useDialog as nt, useProxiedModel as ot, components as ae, useBreakpoints as st } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Re, storeToRefs as rt } from "pinia";
|
|
6
|
-
import { u as $e } from "./stock-
|
|
6
|
+
import { u as $e } from "./stock-c68S1hmD.js";
|
|
7
7
|
import { E as lt } from "./empty-placeholder-wf6-BWE8.js";
|
|
8
8
|
const Te = Ne((n, d) => {
|
|
9
9
|
function e() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as D, h as F, defineComponent as O, resolveComponent as R, openBlock as k, createElementBlock as I, createElementVNode as _, normalizeClass as Y, createTextVNode as Fe, toDisplayString as C, unref as v, createCommentVNode as K, createVNode as T, withCtx as P, Fragment as H, renderList as J, computed as E, watch as Re, createSlots as Pe, createBlock as V, isRef as je, normalizeStyle as Ye, Teleport as Ge, normalizeProps as Ke, guardReactiveProps as Je, mergeProps as We } from "vue";
|
|
2
|
-
import { X as qe, u as le, a9 as Xe, D as Se, i as N, h as Qe, f as Ae, aa as oe, r as Ze, ab as Ee, s as Ue, a as ae, b as et, v as tt, w as Ve, x as nt, y as ot, e as z, G as j, H as st, ac as lt, m as at, E as Ne, A as rt, J as it, ad as ct, ae as ne, z as mt, _ as ut, B as dt } from "./app-
|
|
2
|
+
import { X as qe, u as le, a9 as Xe, D as Se, i as N, h as Qe, f as Ae, aa as oe, r as Ze, ab as Ee, s as Ue, a as ae, b as et, v as tt, w as Ve, x as nt, y as ot, e as z, G as j, H as st, ac as lt, m as at, E as Ne, A as rt, J as it, ad as ct, ae as ne, z as mt, _ as ut, B as dt } from "./app-F909rQ5n.js";
|
|
3
3
|
import { useCoreStore as re, useI18n as B } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as pt, useSnackbar as Z, useDialog as ie, FmButtonVariant as De, components as L, useProxiedModel as ft, useBreakpoints as vt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Be, storeToRefs as Le } from "pinia";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as g, openBlock as a, createElementBlock as i, createElementVNode as m, toDisplayString as u, unref as h, Fragment as C, renderList as N, computed as v, resolveComponent as V, createVNode as S, createCommentVNode as w, h as B } from "vue";
|
|
2
|
-
import { j as b, K as F, f as $ } from "./app-
|
|
2
|
+
import { j as b, K as F, f as $ } from "./app-F909rQ5n.js";
|
|
3
3
|
import { useI18n as k, useCoreStore as I } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as O } from "@feedmepos/ui-library";
|
|
5
5
|
const T = { class: "flex flex-col" }, j = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, z = { class: "flex-1 py-8 px-16" }, D = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as k, t as B, ao as w, u as H, at as I, aD as R, aE as M } from "./app-
|
|
2
|
-
import { u as j } from "./supplier-
|
|
3
|
-
import { P as S } from "./format-unit-display-
|
|
1
|
+
import { j as k, t as B, ao as w, u as H, at as I, aD as R, aE as M } from "./app-F909rQ5n.js";
|
|
2
|
+
import { u as j } from "./supplier-CPuz6JVf.js";
|
|
3
|
+
import { P as S } from "./format-unit-display-CM40cl03.js";
|
|
4
4
|
import { computed as y, defineComponent as $, mergeModels as W, useModel as J, resolveComponent as U, openBlock as T, createElementBlock as A, normalizeStyle as K, createElementVNode as D, createVNode as Q, withCtx as X, createBlock as x, createCommentVNode as E, Fragment as Y, renderList as Z, unref as V } from "vue";
|
|
5
5
|
function z(l, r, e) {
|
|
6
6
|
var s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as oe, mergeModels as z, useModel as se, computed as v, ref as P, watch as O, inject as ie, resolveComponent as b, openBlock as f, createElementBlock as y, createElementVNode as u, createVNode as h, withCtx as g, renderSlot as T, normalizeClass as V, toDisplayString as x, withDirectives as le, vModelText as ae, createCommentVNode as q, createTextVNode as ue, createBlock as W, Fragment as re, renderList as me } from "vue";
|
|
2
|
-
import { $ as I, I as k, P as L, L as ce, j as M, aB as de, t as pe, K as fe, ah as ve, az as be, ay as ye } from "./app-
|
|
2
|
+
import { $ as I, I as k, P as L, L as ce, j as M, aB as de, t as pe, K as fe, ah as ve, az as be, ay as ye } from "./app-F909rQ5n.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
function E() {
|
|
5
5
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as C, computed as F, defineComponent as Y, resolveComponent as S, openBlock as M, createBlock as O, withCtx as R, createElementVNode as x, createVNode as g, unref as l, createElementBlock as ee, toDisplayString as j, createTextVNode as te, watch as ue, isRef as ce, normalizeClass as de, normalizeStyle as me, createSlots as pe, Teleport as fe, normalizeProps as ve, guardReactiveProps as ge } from "vue";
|
|
2
|
-
import { a as J, e as h, f as B, h as ye, D as oe, i as Q, H as be, m as _e, A as xe, J as ne, p as se, u as ke, z as he, _ as we, B as Se, E as Ie, G as ae } from "./app-
|
|
2
|
+
import { a as J, e as h, f as B, h as ye, D as oe, i as Q, H as be, m as _e, A as xe, J as ne, p as se, u as ke, z as he, _ as we, B as Se, E as Ie, G as ae } from "./app-F909rQ5n.js";
|
|
3
3
|
import { useDialog as le, useSnackbar as Z, useProxiedModel as Fe, useBreakpoints as Ce } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as W } from "@feedmepos/mf-common";
|
|
5
5
|
import { defineStore as ie, storeToRefs as re } from "pinia";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as j, defineComponent as oe, computed as S, resolveComponent as C, openBlock as f, createBlock as B, withCtx as V, createVNode as p, unref as m, createElementBlock as T, Fragment as Q, createElementVNode as d, createCommentVNode as Y, renderSlot as ve, createTextVNode as Ie, toDisplayString as D, normalizeClass as te, onMounted as et, watch as He, renderList as ue, isRef as Re, createSlots as Ye, normalizeStyle as tt, Teleport as Ae, normalizeProps as nt, guardReactiveProps as ot } from "vue";
|
|
2
|
-
import { a as le, e as K, f as je, S as lt, h as at, D as Te, i as fe, A as ge, b as Me, j as Oe, k as be, t as qe, l as ce, m as xe, U as rt, n as st, M as it, o as De, c as Ge, C as ke, p as Pe, q as We, r as ut, s as Ke, v as dt, w as mt, I as ct, x as pt, y as vt, u as ft, z as yt, _ as gt, B as bt, E as ht, G as Be } from "./app-
|
|
2
|
+
import { a as le, e as K, f as je, S as lt, h as at, D as Te, i as fe, A as ge, b as Me, j as Oe, k as be, t as qe, l as ce, m as xe, U as rt, n as st, M as it, o as De, c as Ge, C as ke, p as Pe, q as We, r as ut, s as Ke, v as dt, w as mt, I as ct, x as pt, y as vt, u as ft, z as yt, _ as gt, B as bt, E as ht, G as Be } from "./app-F909rQ5n.js";
|
|
3
3
|
import { useDialog as Ze, useSnackbar as he, useProxiedModel as Ne, useDialogChild as _t, useBreakpoints as xt } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as kt, _ as Vt } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { useI18n as ae, useCoreStore as pe } from "@feedmepos/mf-common";
|
|
6
6
|
import { defineStore as St, storeToRefs as Ct } from "pinia";
|
|
7
7
|
import { g as wt, _ as Ve, S as Se } from "./StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js";
|
|
8
|
-
import { _ as Ft } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as Ce, a as It } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Ft } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CseHejfD.js";
|
|
9
|
+
import { _ as Ce, a as It } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-DAWPJ65s.js";
|
|
10
10
|
import { _ as we } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
11
11
|
import "./array-hChJVZLE.js";
|
|
12
12
|
const Fe = St("ingredientForm", function() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as Q, computed as R, defineComponent as F, mergeModels as ge, useModel as pe, onMounted as ve, resolveComponent as O, openBlock as C, createElementBlock as V, createElementVNode as c, toDisplayString as L, unref as b, createVNode as M, createBlock as Z, withCtx as J, Fragment as G, renderList as U, normalizeClass as q, normalizeStyle as Ie, createSlots as be, createCommentVNode as K, withModifiers as ye, reactive as te, watch as ne, isRef as ie, Teleport as oe } from "vue";
|
|
2
2
|
import { E as Ee } from "./empty-placeholder-wf6-BWE8.js";
|
|
3
|
-
import { u as _, aJ as se, b as re, aK as le, aE as he, f as T, _ as Be, B as Ce } from "./app-
|
|
3
|
+
import { u as _, aJ as se, b as re, aK as le, aE as he, f as T, _ as Be, B as Ce } from "./app-F909rQ5n.js";
|
|
4
4
|
import { useSnackbar as ae, useDialogChild as Se, useDialog as de, useProxiedModel as ue, useBreakpoints as $ } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as Y, useCoreStore as ke } from "@feedmepos/mf-common";
|
|
6
6
|
function xe() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as J, computed as _, reactive as Q, resolveComponent as x, openBlock as m, createElementBlock as y, createVNode as c, createElementVNode as n, toDisplayString as v, unref as i, createBlock as V, createCommentVNode as g, Fragment as R, renderList as N, withCtx as S, nextTick as X } from "vue";
|
|
2
|
-
import { a as Z, aM as ee, aN as ne, j as B, aO as oe, N as T, L as te, F as le } from "./app-
|
|
3
|
-
import { u as ie } from "./use-inventory-binding-dialog-
|
|
4
|
-
import { _ as se, c as re, d as de } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as Z, aM as ee, aN as ne, j as B, aO as oe, N as T, L as te, F as le } from "./app-F909rQ5n.js";
|
|
3
|
+
import { u as ie } from "./use-inventory-binding-dialog-DjlU5nUb.js";
|
|
4
|
+
import { _ as se, c as re, d as de } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D1AIFe-0.js";
|
|
5
5
|
import { useI18n as ae } from "@feedmepos/mf-common";
|
|
6
6
|
const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-16" }, ce = { class: "flex items-center" }, pe = { class: "flex-1 fm-typo-en-title-sm-600" }, fe = { class: "flex flex-col" }, ye = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, ve = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, _e = {
|
|
7
7
|
class: "flex items-center w-full border-b border-fm-color-neutral-gray-100",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as c, openBlock as m, 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-F909rQ5n.js";
|
|
5
5
|
const B = /* @__PURE__ */ s({
|
|
6
6
|
__name: "InventoryBindingSummary",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, computed as V, ref as w, watch as h, resolveComponent as u, openBlock as F, createBlock as A, withCtx as s, createVNode as g, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import { L as d } from "./app-
|
|
2
|
+
import { L as d } from "./app-F909rQ5n.js";
|
|
3
3
|
const _ = ["value", "disabled"], D = /* @__PURE__ */ y({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aw as d, ax as f, X as _, u as h } from "./app-
|
|
1
|
+
import { aw as d, ax as f, X as _, u as h } from "./app-F909rQ5n.js";
|
|
2
2
|
import { useCoreStore as F } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as y, defineComponent as v, resolveComponent as p, openBlock as k, createElementBlock as g, renderSlot as x, createVNode as l, withCtx as S } from "vue";
|
|
4
4
|
function w(e, t) {
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { defineComponent as j, computed as i, ref as q, resolveComponent as a, openBlock as k, createBlock as D, unref as p, createSlots as G, withCtx as r, createElementVNode as b, normalizeClass as J, createVNode as n, normalizeStyle as Q, Teleport as W, h } from "vue";
|
|
2
|
+
import { u as X, a as Z, z as ee, _ as te, ae as P } from "./app-F909rQ5n.js";
|
|
3
|
+
import { useBreakpoints as oe, components as ne } from "@feedmepos/ui-library";
|
|
4
|
+
import { u as le } from "./vue-i18n-BiavdzKQ.js";
|
|
5
|
+
const ae = { class: "flex flex-col py-8" }, se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ie = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, pe = /* @__PURE__ */ j({
|
|
6
|
+
__name: "PublishView",
|
|
7
|
+
setup(re) {
|
|
8
|
+
const { t: l } = le(), { breakpoints: y } = oe(), _ = X(), g = Z(), u = i(() => g.state.inventory.updatedAt ? g.state.inventory.updatedAt : null), H = ee(), L = i(() => _.locations), f = i(() => y.value.xs || y.value.sm), R = i(() => f.value ? 10 : 20), Y = i(() => [
|
|
9
|
+
// { label: t('inventory.publish.actions.publishAll'), value: 'publish' }
|
|
10
|
+
]);
|
|
11
|
+
function B(e) {
|
|
12
|
+
switch (e) {
|
|
13
|
+
case "publish":
|
|
14
|
+
console.log("publish all");
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const v = q(!1), I = [
|
|
18
|
+
{
|
|
19
|
+
value: "publish",
|
|
20
|
+
label: l("inventory.publish.actions.publishAll")
|
|
21
|
+
}
|
|
22
|
+
];
|
|
23
|
+
function N(e) {
|
|
24
|
+
switch (v.value = !1, e) {
|
|
25
|
+
case "publish":
|
|
26
|
+
console.log("publish all");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
const U = [
|
|
30
|
+
{
|
|
31
|
+
id: "type",
|
|
32
|
+
header: () => l("inventory.publish.columns.type"),
|
|
33
|
+
enableSorting: !0,
|
|
34
|
+
cell(e) {
|
|
35
|
+
return h(ne.FmChip, {
|
|
36
|
+
color: "primary",
|
|
37
|
+
label: e.row.original.type
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
accessorKey: "name",
|
|
43
|
+
header: () => l("inventory.publish.columns.location"),
|
|
44
|
+
enableSorting: !0,
|
|
45
|
+
size: 300
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "version",
|
|
49
|
+
header: () => l("inventory.publish.columns.version"),
|
|
50
|
+
enableSorting: !0,
|
|
51
|
+
cell(e) {
|
|
52
|
+
var t, o;
|
|
53
|
+
return (t = e.row.original.inventory) != null && t.updatedAt ? P((o = e.row.original.inventory) == null ? void 0 : o.updatedAt) : "";
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: "status",
|
|
58
|
+
header: () => l("inventory.publish.columns.status"),
|
|
59
|
+
enableSorting: !0,
|
|
60
|
+
cell(e) {
|
|
61
|
+
var o;
|
|
62
|
+
if (!u.value)
|
|
63
|
+
return "";
|
|
64
|
+
const t = ((o = e.row.original.inventory) == null ? void 0 : o.updatedAt) == u.value;
|
|
65
|
+
return h(
|
|
66
|
+
"div",
|
|
67
|
+
{
|
|
68
|
+
class: "flex"
|
|
69
|
+
},
|
|
70
|
+
h(
|
|
71
|
+
"div",
|
|
72
|
+
{
|
|
73
|
+
class: [
|
|
74
|
+
"fm-status-badge",
|
|
75
|
+
t ? "fm-status-badge-success-secondary" : "fm-status-badge-info-secondary"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
t ? "Published" : "Outdated"
|
|
79
|
+
)
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// {
|
|
84
|
+
// id: 'action',
|
|
85
|
+
// header: '',
|
|
86
|
+
// cell(props) {
|
|
87
|
+
// return createContextMenuComponents(
|
|
88
|
+
// [DefaultRowActions[RowActionEnum.Edit], DefaultRowActions[RowActionEnum.Delete]],
|
|
89
|
+
// (action) => {
|
|
90
|
+
// onActionMenu(action, props.row.original)
|
|
91
|
+
// }
|
|
92
|
+
// )
|
|
93
|
+
// },
|
|
94
|
+
// enableSorting: false,
|
|
95
|
+
// size: 40,
|
|
96
|
+
// meta: {
|
|
97
|
+
// cellClass: '',
|
|
98
|
+
// headerClass: ''
|
|
99
|
+
// }
|
|
100
|
+
// }
|
|
101
|
+
];
|
|
102
|
+
return (e, t) => {
|
|
103
|
+
const o = a("FmChip"), x = a("FlexRender"), $ = a("TableActionableRow"), E = a("FmTable"), K = a("FmCollapsibleTabs"), O = a("FmBottomSheet");
|
|
104
|
+
return k(), D(te, {
|
|
105
|
+
title: p(l)("inventory.publish.title"),
|
|
106
|
+
actions: Y.value,
|
|
107
|
+
"onClick:action": B
|
|
108
|
+
}, G({
|
|
109
|
+
default: r(() => {
|
|
110
|
+
var w;
|
|
111
|
+
return [
|
|
112
|
+
b("div", {
|
|
113
|
+
class: J([
|
|
114
|
+
"flex flex-col gap-8 max-h-full",
|
|
115
|
+
{
|
|
116
|
+
"p-0": f.value,
|
|
117
|
+
"px-24 ": !f.value
|
|
118
|
+
}
|
|
119
|
+
])
|
|
120
|
+
}, [
|
|
121
|
+
n(E, {
|
|
122
|
+
style: Q(p(H).tableHeight),
|
|
123
|
+
"column-defs": U,
|
|
124
|
+
"row-data": L.value,
|
|
125
|
+
loading: ((w = p(_)._locations) == null ? void 0 : w.length) === 0,
|
|
126
|
+
"loading-text": "Loading",
|
|
127
|
+
"page-size": R.value
|
|
128
|
+
}, {
|
|
129
|
+
"list-row": r((s) => [
|
|
130
|
+
n($, { row: s }, {
|
|
131
|
+
default: r((c) => {
|
|
132
|
+
var S, A, F, d, M, C, T, V, m, z;
|
|
133
|
+
return [
|
|
134
|
+
b("div", ae, [
|
|
135
|
+
b("div", se, [
|
|
136
|
+
n(x, {
|
|
137
|
+
render: (F = (A = (S = c.code) == null ? void 0 : S.column) == null ? void 0 : A.columnDef) == null ? void 0 : F.cell,
|
|
138
|
+
props: (M = (d = c.code) == null ? void 0 : d.getContext) == null ? void 0 : M.call(d)
|
|
139
|
+
}, null, 8, ["render", "props"])
|
|
140
|
+
]),
|
|
141
|
+
b("div", ie, [
|
|
142
|
+
n(x, {
|
|
143
|
+
render: (V = (T = (C = c.name) == null ? void 0 : C.column) == null ? void 0 : T.columnDef) == null ? void 0 : V.cell,
|
|
144
|
+
props: (z = (m = c.name) == null ? void 0 : m.getContext) == null ? void 0 : z.call(m)
|
|
145
|
+
}, null, 8, ["render", "props"])
|
|
146
|
+
])
|
|
147
|
+
])
|
|
148
|
+
];
|
|
149
|
+
}),
|
|
150
|
+
_: 2
|
|
151
|
+
}, 1032, ["row"])
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
}, 8, ["style", "row-data", "loading", "page-size"])
|
|
155
|
+
], 2),
|
|
156
|
+
(k(), D(W, { to: "body" }, [
|
|
157
|
+
n(O, {
|
|
158
|
+
"dismiss-away": "",
|
|
159
|
+
modelValue: v.value,
|
|
160
|
+
"onUpdate:modelValue": t[1] || (t[1] = (s) => v.value = s)
|
|
161
|
+
}, {
|
|
162
|
+
default: r(() => [
|
|
163
|
+
n(K, {
|
|
164
|
+
class: "pb-8",
|
|
165
|
+
items: I,
|
|
166
|
+
"onUpdate:modelValue": t[0] || (t[0] = (s) => N(s))
|
|
167
|
+
})
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
}, 8, ["modelValue"])
|
|
171
|
+
]))
|
|
172
|
+
];
|
|
173
|
+
}),
|
|
174
|
+
_: 2
|
|
175
|
+
}, [
|
|
176
|
+
u.value ? {
|
|
177
|
+
name: "headerInfo",
|
|
178
|
+
fn: r(() => [
|
|
179
|
+
n(o, {
|
|
180
|
+
variant: "info",
|
|
181
|
+
label: `Latest: ${p(P)(u.value)}`
|
|
182
|
+
}, null, 8, ["label"])
|
|
183
|
+
]),
|
|
184
|
+
key: "0"
|
|
185
|
+
} : void 0
|
|
186
|
+
]), 1032, ["title", "actions"]);
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
export {
|
|
191
|
+
pe as default
|
|
192
|
+
};
|