@feedmepos/mf-inventory-portal 0.0.7-dev.1 → 0.0.7-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ApprovalView-BYZcvkso.js → ApprovalView-DbvyMW1R.js} +6 -6
- package/dist/{BindingsDialog-pdS86VDU.js → BindingsDialog-CyqLp0Mq.js} +2 -2
- package/dist/{BindingsPicker-D891Cfzu.js → BindingsPicker-XRdmN_Zn.js} +2 -2
- package/dist/{BindingsTable-tmr6QwLk.js → BindingsTable-ktdc9eb0.js} +3 -3
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bss0q2Zt.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bvc3EyUZ.js} +1 -1
- package/dist/{FmMultiselectDialog.vue_vue_type_script_setup_true_lang-BHcLUkdm.js → FmMultiselectDialog.vue_vue_type_script_setup_true_lang-YEAz0S0C.js} +2 -2
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BIww2Noe.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bn3w9SMf.js} +1 -1
- package/dist/{IngredientsView-BH6G7830.js → IngredientsView-D8NwGu57.js} +72 -76
- package/dist/{IntegrationView-CfJn6Fzn.js → IntegrationView-w0TXPcxZ.js} +3 -3
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-39U8Iavr.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BuP2g613.js} +5 -5
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-nDxqau1g.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BRjAsTYp.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-Db2U_IQL.js → PurchaseOrderPrintPreview-B78Jnkqg.js} +1 -1
- package/dist/{ReceiveRequestView-CgVfcS8C.js → ReceiveRequestView-BHKghS0r.js} +11 -11
- package/dist/{RecipeView-C9_Y_A9b.js → RecipeView-M7bw_AGS.js} +7 -7
- package/dist/StockView-DL1LSMJR.js +1953 -0
- package/dist/{SupplierView-CNq6wVfN.js → SupplierView-DgFjga62.js} +7 -7
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Cmajrg-9.js → TransferDetails.vue_vue_type_script_setup_true_lang-Djn88uN3.js} +5 -5
- package/dist/{UnitView-Buyp4Gnc.js → UnitView-Cjed2i4A.js} +6 -6
- package/dist/{WarehouseView-DbUib0PR.js → WarehouseView-BbRXA9_p.js} +3 -3
- package/dist/{app-DM4Thqjw.js → app-C2kiRXHk.js} +203 -203
- package/dist/app.js +1 -1
- package/dist/components/PremiumBadge.vue.d.ts +15 -0
- package/dist/{date2-DpU4LDaP.js → date2-1aCkDJKL.js} +1 -1
- package/dist/{dayjs.min-D4Q_pHH9.js → dayjs.min-BMCGIZaB.js} +2 -2
- package/dist/{decimal-M4vjE6Br.js → decimal-76iBoy3n.js} +1 -1
- package/dist/{fuzzy-fD_FTJWH.js → fuzzy-CMzsp7th.js} +1 -1
- package/dist/{init-date-range-DJ1Nl5TB.js → init-date-range-CL5wzuE9.js} +1 -1
- package/dist/{layout-kY567oHX.js → layout-BUVfQNxR.js} +1 -1
- package/dist/{rules-CVxh5XVG.js → rules-C-XEHjZO.js} +1 -1
- package/dist/{stock-estimate-lkaYlz7I.js → stock-estimate-DvI651uK.js} +2 -2
- package/dist/{supplier-evd71Y1H.js → supplier-xM9dK1Aa.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-CGuXojFC.js → use-inventory-binding-dialog-wlCHTAwl.js} +2 -2
- package/dist/views/stock/components/StockHeaderPreview.vue.d.ts +2 -0
- package/dist/{xlsx-DpBw8KA4.js → xlsx-DXl3cDnf.js} +1016 -1016
- package/package.json +3 -8
- package/dist/StockView-CoUI3Faj.js +0 -1916
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, watch as B, computed as I, resolveComponent as ee, openBlock as h, createBlock as P, withCtx as D, createElementVNode as o, createVNode as r, normalizeStyle as te, unref as e, toDisplayString as ae, createElementBlock as oe, createCommentVNode as re, Teleport as se, mergeProps as ne } from "vue";
|
|
2
|
-
import { o as d, e as le } from "./app-
|
|
3
|
-
import { a as pe } from "./init-date-range-
|
|
4
|
-
import { a as ce, b as ie, _ as me } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { q as H } from "./date2-
|
|
2
|
+
import { o as d, e as le } from "./app-C2kiRXHk.js";
|
|
3
|
+
import { a as pe } from "./init-date-range-CL5wzuE9.js";
|
|
4
|
+
import { a as ce, b as ie, _ as me } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Djn88uN3.js";
|
|
5
|
+
import { q as H } from "./date2-1aCkDJKL.js";
|
|
6
6
|
import { _ as ue } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js";
|
|
7
|
-
import { _ as de } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as fe, F as f, u as _e } from "./layout-
|
|
7
|
+
import { _ as de } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bvc3EyUZ.js";
|
|
8
|
+
import { _ as fe, F as f, u as _e } from "./layout-BUVfQNxR.js";
|
|
9
9
|
import { useBreakpoints as ve } from "@feedmepos/ui-library";
|
|
10
10
|
const he = { class: "px-24 xs:p-0 sm:p-0 flex flex-col gap-8 max-h-full" }, De = { class: "px-8 flex gap-8 items-center xs:gap-0 xs:flex-col-reverse sm:gap-0 sm:flex-col-reverse" }, xe = { class: "xs:w-full sm:w-full flex gap-8 items-center overflow-x-auto no-scrollbar py-8" }, ge = /* @__PURE__ */ o("div", { class: "h-32" }, null, -1), be = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Oe = {
|
|
11
11
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as x, watch as F, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as L, x as S } from "./app-
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-BuP2g613.js";
|
|
3
|
+
import { u as L, x as S } from "./app-C2kiRXHk.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { _ as x } from "./FmMultiselectDialog.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as M, x as h } from "./app-
|
|
2
|
+
import { _ as x } from "./FmMultiselectDialog.vue_vue_type_script_setup_true_lang-YEAz0S0C.js";
|
|
3
|
+
import { u as M, x as h } from "./app-C2kiRXHk.js";
|
|
4
4
|
const z = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex flex-col gap-16"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as h, ref as o, provide as C, computed as v, resolveComponent as x, openBlock as r, createElementBlock as u, Fragment as L, renderList as F, createElementVNode as p, toDisplayString as k, createVNode as w, withModifiers as I, createStaticVNode as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
|
|
2
|
-
import { h as b, u as P, x as R } from "./app-
|
|
3
|
-
import "./dayjs.min-
|
|
2
|
+
import { h as b, u as P, x as R } from "./app-C2kiRXHk.js";
|
|
3
|
+
import "./dayjs.min-BMCGIZaB.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
|
-
import "./fuzzy-
|
|
5
|
+
import "./fuzzy-CMzsp7th.js";
|
|
6
6
|
const U = { class: "" }, D = /* @__PURE__ */ N('<div class="flex font-bold bg-[#F7F8FA]"><div class="flex-grow-0 flex-shrink-0 basis-5/12 py-8"></div><div class="flex-grow-0 flex-shrink-0 basis-3/12 py-8">Ingredient</div><div class="flex-grow-0 flex-shrink-0 basis-3/12 py-8">Recipe</div><div class="flex-grow-0 flex-shrink-0 basis-1/12 py-8"></div></div>', 1), O = ["onClick"], V = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, T = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, A = /* @__PURE__ */ h({
|
|
7
7
|
__name: "binding-ui",
|
|
8
8
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as S, ref as V, computed as p, resolveComponent as a, openBlock as t, createElementBlock as v, createVNode as l, withCtx as w, createElementVNode as i, toDisplayString as H, unref as _, Fragment as k, renderList as C, createBlock as d, createCommentVNode as L } from "vue";
|
|
2
|
-
import { e as I } from "./app-
|
|
2
|
+
import { e as I } from "./app-C2kiRXHk.js";
|
|
3
3
|
const B = { class: "inline-flex" }, D = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400" }, z = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, E = {
|
|
4
4
|
class: "overflow-hidden overflow-y-scroll",
|
|
5
5
|
style: { maxHeight: "105px" }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as $, ref as C, onMounted as N, watch as E, computed as f, resolveComponent as m, openBlock as v, createElementBlock as _, createElementVNode as s, createVNode as d, createTextVNode as M, toDisplayString as T, createSlots as U, withCtx as h, createBlock as I, Fragment as j, renderList as z } from "vue";
|
|
2
2
|
import { useDialogChild as q } from "@feedmepos/ui-library";
|
|
3
|
-
import { v as c } from "./app-
|
|
4
|
-
import { f as H } from "./fuzzy-
|
|
3
|
+
import { v as c } from "./app-C2kiRXHk.js";
|
|
4
|
+
import { f as H } from "./fuzzy-CMzsp7th.js";
|
|
5
5
|
const R = { class: "flex flex-col h-[400px]" }, G = { class: "flex justify-between py-24 items-center relative" }, J = { class: "flex gap-16 basis-1/2" }, K = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, O = /* @__PURE__ */ s("span", { class: "xs:hidden" }, "selected", -1), P = /* @__PURE__ */ s("div", { class: "absolute pointer-events-none -bottom-[304px] left-0 w-full h-[308px] overflow-hidden flex flex-col justify-between" }, [
|
|
6
6
|
/* @__PURE__ */ s("div", { class: "h-1 fm-shadow-light-200" }),
|
|
7
7
|
/* @__PURE__ */ s("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as f, openBlock as s, createElementBlock as n, createElementVNode as r, toDisplayString as o, Fragment as u, renderList as p, unref as x } from "vue";
|
|
2
|
-
import { a, b as d } from "./date2-
|
|
2
|
+
import { a, b as d } from "./date2-1aCkDJKL.js";
|
|
3
3
|
const y = { class: "flex flex-col" }, _ = { 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" }, v = { class: "flex-1 py-8 px-16" }, h = /* @__PURE__ */ r("div", {
|
|
4
4
|
class: "flex-0 py-8 px-16",
|
|
5
5
|
style: { "flex-basis": "120px" }
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ref as L, defineComponent as te, computed as m, resolveComponent as y, openBlock as k, createBlock as P, withCtx as
|
|
2
|
-
import { u as le, c as Fe, S as Pe, g as fe, F as N, d as ge, a as Te, C as ue, b as be, e as Be } from "./app-
|
|
1
|
+
import { ref as L, defineComponent as te, computed as m, resolveComponent as y, openBlock as k, createBlock as P, withCtx as w, createVNode as d, createElementBlock as J, Fragment as ne, createElementVNode as I, createCommentVNode as G, onMounted as Ie, watch as xe, unref as i, normalizeClass as pe, createTextVNode as Ae, toDisplayString as ae, renderList as Ue, isRef as ve, normalizeStyle as Ee, Teleport as Re, normalizeProps as De, guardReactiveProps as $e } from "vue";
|
|
2
|
+
import { u as le, c as Fe, S as Pe, g as fe, F as N, d as ge, a as Te, C as ue, b as be, e as Be } from "./app-C2kiRXHk.js";
|
|
3
3
|
import { useDialog as Le, useSnackbar as Ce, useProxiedModel as Ve, useBreakpoints as Oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Ne, _ as ze } from "./is-linked-ingredient-error-C6AghEwR.js";
|
|
5
|
-
import { F as
|
|
6
|
-
import { c as Ge, _ as Ye, F as _e, u as qe } from "./layout-
|
|
5
|
+
import { F as M, D as ye, R as ee } from "./row-action.enum-BwQbURNh.js";
|
|
6
|
+
import { c as Ge, _ as Ye, F as _e, u as qe } from "./layout-BUVfQNxR.js";
|
|
7
7
|
import { _ as We } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js";
|
|
8
|
-
import { R as se, U as He, A as je, M as Ke } from "./rules-
|
|
9
|
-
import { g as Je } from "./use-inventory-binding-dialog-
|
|
10
|
-
import { _ as Qe } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as re } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { a as Xe, t as Ze } from "./date2-
|
|
8
|
+
import { R as se, U as He, A as je, M as Ke } from "./rules-C-XEHjZO.js";
|
|
9
|
+
import { g as Je } from "./use-inventory-binding-dialog-wlCHTAwl.js";
|
|
10
|
+
import { _ as Qe } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-BuP2g613.js";
|
|
11
|
+
import { _ as re } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bn3w9SMf.js";
|
|
12
|
+
import { a as Xe, t as Ze } from "./date2-1aCkDJKL.js";
|
|
13
13
|
import { useCoreStore as en } from "@feedmepos/mf-common";
|
|
14
14
|
function nn() {
|
|
15
15
|
const A = Le(), F = Ce(), g = le(), t = L(!1), l = L();
|
|
16
16
|
function a() {
|
|
17
17
|
const u = {
|
|
18
18
|
unit: {},
|
|
19
|
-
mode:
|
|
19
|
+
mode: M.CREATE,
|
|
20
20
|
show: !0,
|
|
21
21
|
"onUpdate:show"(b) {
|
|
22
22
|
l.value.show = b;
|
|
@@ -27,7 +27,7 @@ function nn() {
|
|
|
27
27
|
async function c(u) {
|
|
28
28
|
const b = {
|
|
29
29
|
unit: Fe(u),
|
|
30
|
-
mode:
|
|
30
|
+
mode: M.UPDATE,
|
|
31
31
|
show: !0,
|
|
32
32
|
"onUpdate:show"(s) {
|
|
33
33
|
l.value.show = s;
|
|
@@ -197,8 +197,8 @@ const ln = /* @__PURE__ */ te({
|
|
|
197
197
|
variant: "outlined",
|
|
198
198
|
class: "p-16 flex flex-col gap-16"
|
|
199
199
|
}, {
|
|
200
|
-
default:
|
|
201
|
-
var R,
|
|
200
|
+
default: w(() => {
|
|
201
|
+
var R, x;
|
|
202
202
|
return [
|
|
203
203
|
d(T, {
|
|
204
204
|
value: "",
|
|
@@ -209,7 +209,7 @@ const ln = /* @__PURE__ */ te({
|
|
|
209
209
|
labelPlacement: "right"
|
|
210
210
|
}, null, 8, ["model-value"]),
|
|
211
211
|
c.value ? (k(), J(ne, { key: 0 }, [
|
|
212
|
-
|
|
212
|
+
I("div", null, [
|
|
213
213
|
d(C, {
|
|
214
214
|
label: "Recipes and ingredients convert to",
|
|
215
215
|
modelValue: (R = b.value) == null ? void 0 : R.value,
|
|
@@ -219,7 +219,7 @@ const ln = /* @__PURE__ */ te({
|
|
|
219
219
|
]),
|
|
220
220
|
d(Qe, {
|
|
221
221
|
id: l.value,
|
|
222
|
-
"model-value": ((
|
|
222
|
+
"model-value": ((x = s.modelValue) == null ? void 0 : x.inventoryBindings) ?? [],
|
|
223
223
|
"onUpdate:modelValue": u,
|
|
224
224
|
"exclude-binding-id": l.value
|
|
225
225
|
}, null, 8, ["id", "model-value", "exclude-binding-id"])
|
|
@@ -230,10 +230,10 @@ const ln = /* @__PURE__ */ te({
|
|
|
230
230
|
});
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
|
-
}), on = { class: "text-fm-color-typo-secondary" }, an = { class: "
|
|
233
|
+
}), on = { class: "text-fm-color-typo-secondary" }, an = { class: "text-fm-color-typo-secondary whitespace-nowrap" }, un = { class: "col-span-2 mt-16" }, sn = {
|
|
234
234
|
key: 1,
|
|
235
235
|
class: "col-span-2 mt-16 border-1 border-fm-color-neutral-gray-200 fm-corner-radius-lg flex flex-col p-16 gap-16"
|
|
236
|
-
},
|
|
236
|
+
}, rn = /* @__PURE__ */ te({
|
|
237
237
|
__name: "IngredientForm",
|
|
238
238
|
props: {
|
|
239
239
|
mode: {},
|
|
@@ -251,9 +251,9 @@ const ln = /* @__PURE__ */ te({
|
|
|
251
251
|
};
|
|
252
252
|
o.unit || (o.unit = n, l("update:modelValue", o));
|
|
253
253
|
}
|
|
254
|
-
|
|
254
|
+
Ie(() => {
|
|
255
255
|
U(a.units);
|
|
256
|
-
}),
|
|
256
|
+
}), xe([() => a.units], ([e]) => {
|
|
257
257
|
U(e);
|
|
258
258
|
});
|
|
259
259
|
function u() {
|
|
@@ -361,7 +361,7 @@ const ln = /* @__PURE__ */ te({
|
|
|
361
361
|
}
|
|
362
362
|
}), l("update:modelValue", p);
|
|
363
363
|
}
|
|
364
|
-
const
|
|
364
|
+
const x = m({
|
|
365
365
|
get() {
|
|
366
366
|
var e;
|
|
367
367
|
return ((e = t.modelValue) == null ? void 0 : e.convert) ?? null;
|
|
@@ -466,7 +466,7 @@ const ln = /* @__PURE__ */ te({
|
|
|
466
466
|
class: "grid grid-cols-2 gap-24",
|
|
467
467
|
onValidationSuccess: u
|
|
468
468
|
}, {
|
|
469
|
-
default:
|
|
469
|
+
default: w(() => [
|
|
470
470
|
d(o, {
|
|
471
471
|
label: "Code",
|
|
472
472
|
"model-value": b.value,
|
|
@@ -494,12 +494,12 @@ const ln = /* @__PURE__ */ te({
|
|
|
494
494
|
rules: [i(se)()],
|
|
495
495
|
"label-mark": "required"
|
|
496
496
|
}, {
|
|
497
|
-
label:
|
|
497
|
+
label: w(() => [
|
|
498
498
|
d(_, { label: "Unit" })
|
|
499
499
|
]),
|
|
500
|
-
default:
|
|
500
|
+
default: w(({ invalid: f }) => [
|
|
501
501
|
d(he, null, {
|
|
502
|
-
"menu-button":
|
|
502
|
+
"menu-button": w(() => [
|
|
503
503
|
d(p, {
|
|
504
504
|
class: pe([
|
|
505
505
|
"fm-typo-en-body-lg-400",
|
|
@@ -511,7 +511,7 @@ const ln = /* @__PURE__ */ te({
|
|
|
511
511
|
invalid: f,
|
|
512
512
|
"append-icon": "expand_more"
|
|
513
513
|
}, {
|
|
514
|
-
default:
|
|
514
|
+
default: w(() => {
|
|
515
515
|
var h;
|
|
516
516
|
return [
|
|
517
517
|
Ae(ae((h = T.value) == null ? void 0 : h.name), 1)
|
|
@@ -520,8 +520,8 @@ const ln = /* @__PURE__ */ te({
|
|
|
520
520
|
_: 2
|
|
521
521
|
}, 1032, ["class", "invalid"])
|
|
522
522
|
]),
|
|
523
|
-
default:
|
|
524
|
-
|
|
523
|
+
default: w(() => [
|
|
524
|
+
I("div", {
|
|
525
525
|
class: "overflow-x-hidden overflow-y-auto max-h-[300px]",
|
|
526
526
|
onVnodeMounted: Z
|
|
527
527
|
}, [
|
|
@@ -553,38 +553,34 @@ const ln = /* @__PURE__ */ te({
|
|
|
553
553
|
label: "Price per unit",
|
|
554
554
|
"model-value": v.value,
|
|
555
555
|
"onUpdate:modelValue": n[3] || (n[3] = (f) => v.value = f),
|
|
556
|
-
rules: [i(je)(0), i(Ke)(2)]
|
|
557
|
-
"label-mark": "required"
|
|
556
|
+
rules: [i(je)(0), i(Ke)(2)]
|
|
558
557
|
}, {
|
|
559
|
-
prepend:
|
|
558
|
+
prepend: w(() => {
|
|
560
559
|
var f, h;
|
|
561
560
|
return [
|
|
562
|
-
|
|
561
|
+
I("div", on, ae(H(((f = i(c).currentCountry) == null ? void 0 : f.value) ?? i(ge)) === "MYR" ? "RM" : H(((h = i(c).currentCountry) == null ? void 0 : h.value) ?? i(ge))), 1)
|
|
563
562
|
];
|
|
564
563
|
}),
|
|
565
|
-
append:
|
|
564
|
+
append: w(() => {
|
|
566
565
|
var f, h, oe, ie, de, me;
|
|
567
566
|
return [
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
return Me.id === ((ce = e.modelValue) == null ? void 0 : ce.trackingMeasurement);
|
|
573
|
-
})) == null ? void 0 : ie.abbrev) ?? ((me = (de = e.modelValue) == null ? void 0 : de.unit) == null ? void 0 : me.abbrev)), 1)
|
|
574
|
-
])
|
|
567
|
+
I("div", an, " / " + ae(((ie = (oe = (h = (f = e.modelValue) == null ? void 0 : f.unit) == null ? void 0 : h.measurements) == null ? void 0 : oe.find((Me) => {
|
|
568
|
+
var ce;
|
|
569
|
+
return Me.id === ((ce = e.modelValue) == null ? void 0 : ce.trackingMeasurement);
|
|
570
|
+
})) == null ? void 0 : ie.abbrev) ?? ((me = (de = e.modelValue) == null ? void 0 : de.unit) == null ? void 0 : me.abbrev)), 1)
|
|
575
571
|
];
|
|
576
572
|
}),
|
|
577
573
|
_: 1
|
|
578
574
|
}, 8, ["model-value", "rules"])) : G("", !0),
|
|
579
|
-
|
|
575
|
+
I("div", un, [
|
|
580
576
|
d(ln, {
|
|
581
|
-
"model-value":
|
|
582
|
-
"onUpdate:modelValue": n[4] || (n[4] = (f) =>
|
|
577
|
+
"model-value": x.value,
|
|
578
|
+
"onUpdate:modelValue": n[4] || (n[4] = (f) => x.value = f),
|
|
583
579
|
"root-value": e.modelValue
|
|
584
580
|
}, null, 8, ["model-value", "root-value"])
|
|
585
581
|
]),
|
|
586
|
-
e.mode !== i(
|
|
587
|
-
|
|
582
|
+
e.mode !== i(M).CREATE ? (k(), J("div", sn, [
|
|
583
|
+
I("div", null, [
|
|
588
584
|
d(ke, {
|
|
589
585
|
label: "Show binded items",
|
|
590
586
|
modelValue: $.value,
|
|
@@ -613,32 +609,32 @@ const ln = /* @__PURE__ */ te({
|
|
|
613
609
|
}, 8, ["disabled"]);
|
|
614
610
|
};
|
|
615
611
|
}
|
|
616
|
-
}),
|
|
612
|
+
}), dn = { class: "flex gap-4" }, mn = /* @__PURE__ */ te({
|
|
617
613
|
__name: "IngredientDialog",
|
|
618
614
|
props: {
|
|
619
615
|
show: { type: Boolean },
|
|
620
616
|
unit: {},
|
|
621
|
-
mode: { default:
|
|
617
|
+
mode: { default: M.READ }
|
|
622
618
|
},
|
|
623
619
|
emits: ["update:show"],
|
|
624
620
|
setup(A) {
|
|
625
621
|
const F = A, g = le(), t = Ce(), l = Ve(F, "show"), a = Ve(F, "unit"), c = m(() => {
|
|
626
622
|
switch (F.mode) {
|
|
627
|
-
case
|
|
623
|
+
case M.READ:
|
|
628
624
|
return "View ingredient";
|
|
629
|
-
case
|
|
625
|
+
case M.UPDATE:
|
|
630
626
|
return "Edit ingredient";
|
|
631
|
-
case
|
|
627
|
+
case M.CREATE:
|
|
632
628
|
return "Add ingredient";
|
|
633
629
|
}
|
|
634
630
|
return "";
|
|
635
631
|
}), S = m(() => {
|
|
636
632
|
switch (F.mode) {
|
|
637
|
-
case
|
|
633
|
+
case M.READ:
|
|
638
634
|
return "";
|
|
639
|
-
case
|
|
635
|
+
case M.UPDATE:
|
|
640
636
|
return "Save";
|
|
641
|
-
case
|
|
637
|
+
case M.CREATE:
|
|
642
638
|
return "Add";
|
|
643
639
|
}
|
|
644
640
|
return "";
|
|
@@ -685,17 +681,17 @@ const ln = /* @__PURE__ */ te({
|
|
|
685
681
|
}
|
|
686
682
|
function T() {
|
|
687
683
|
switch (F.mode) {
|
|
688
|
-
case
|
|
684
|
+
case M.READ:
|
|
689
685
|
return;
|
|
690
|
-
case
|
|
686
|
+
case M.UPDATE:
|
|
691
687
|
return s();
|
|
692
|
-
case
|
|
688
|
+
case M.CREATE:
|
|
693
689
|
return b();
|
|
694
690
|
}
|
|
695
691
|
}
|
|
696
692
|
return (C, V) => {
|
|
697
|
-
const R = y("FmButton"),
|
|
698
|
-
return k(), P(
|
|
693
|
+
const R = y("FmButton"), x = y("FmSideSheet");
|
|
694
|
+
return k(), P(x, {
|
|
699
695
|
"model-value": i(l),
|
|
700
696
|
"onUpdate:modelValue": V[3] || (V[3] = (E) => ve(l) ? l.value = E : null),
|
|
701
697
|
header: c.value,
|
|
@@ -703,8 +699,8 @@ const ln = /* @__PURE__ */ te({
|
|
|
703
699
|
"dismiss-away": "",
|
|
704
700
|
"max-width": 500
|
|
705
701
|
}, {
|
|
706
|
-
"side-sheet-footer":
|
|
707
|
-
|
|
702
|
+
"side-sheet-footer": w(() => [
|
|
703
|
+
I("div", dn, [
|
|
708
704
|
d(R, {
|
|
709
705
|
loading: u.value,
|
|
710
706
|
label: S.value,
|
|
@@ -718,8 +714,8 @@ const ln = /* @__PURE__ */ te({
|
|
|
718
714
|
}, null, 8, ["disabled"])
|
|
719
715
|
])
|
|
720
716
|
]),
|
|
721
|
-
default:
|
|
722
|
-
d(
|
|
717
|
+
default: w(() => [
|
|
718
|
+
d(rn, {
|
|
723
719
|
class: "w-full",
|
|
724
720
|
ref_key: "hasValidationExpose",
|
|
725
721
|
ref: U,
|
|
@@ -734,7 +730,7 @@ const ln = /* @__PURE__ */ te({
|
|
|
734
730
|
}, 8, ["model-value", "header"]);
|
|
735
731
|
};
|
|
736
732
|
}
|
|
737
|
-
}),
|
|
733
|
+
}), cn = { class: "px-24 xs:p-0 sm:p-0 flex flex-col gap-8 max-h-full" }, pn = { class: "px-8 flex items-center xs:gap-0 xs:flex-col-reverse sm:gap-0 sm:flex-col-reverse" }, vn = { class: "flex-1 w-full" }, fn = { class: "flex flex-col py-8" }, gn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, bn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Un = /* @__PURE__ */ te({
|
|
738
734
|
__name: "IngredientsView",
|
|
739
735
|
setup(A) {
|
|
740
736
|
const F = le(), g = m(() => F.skus), t = Be(), {
|
|
@@ -748,21 +744,21 @@ const ln = /* @__PURE__ */ te({
|
|
|
748
744
|
R === "add" && l();
|
|
749
745
|
}
|
|
750
746
|
const s = L(""), v = m(() => U.value), { breakpoints: T } = Oe(), C = m(() => T.value.xs || T.value.sm ? 10 : 20), V = qe();
|
|
751
|
-
return (R,
|
|
747
|
+
return (R, x) => {
|
|
752
748
|
const E = y("FmTableToolbar"), Q = y("FmTable");
|
|
753
749
|
return k(), P(We, {
|
|
754
750
|
title: "Ingredient",
|
|
755
751
|
actions: [{ label: "Add ingredient", value: "add", isPrimary: !0, prependIcon: "add" }],
|
|
756
752
|
"onClick:action": b
|
|
757
753
|
}, {
|
|
758
|
-
default:
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
754
|
+
default: w(() => [
|
|
755
|
+
I("div", cn, [
|
|
756
|
+
I("div", pn, [
|
|
757
|
+
I("div", vn, [
|
|
762
758
|
d(E, {
|
|
763
759
|
searchable: "",
|
|
764
760
|
"search-model": s.value,
|
|
765
|
-
"onUpdate:searchModel":
|
|
761
|
+
"onUpdate:searchModel": x[0] || (x[0] = (D) => s.value = D)
|
|
766
762
|
}, null, 8, ["search-model"])
|
|
767
763
|
])
|
|
768
764
|
]),
|
|
@@ -772,25 +768,25 @@ const ln = /* @__PURE__ */ te({
|
|
|
772
768
|
"row-data": g.value,
|
|
773
769
|
"search-value": s.value,
|
|
774
770
|
loading: !i(t)._currentLocation || v.value,
|
|
775
|
-
onRowClick:
|
|
771
|
+
onRowClick: x[1] || (x[1] = (D) => i(a)(D.original)),
|
|
776
772
|
"page-size": C.value
|
|
777
773
|
}, {
|
|
778
|
-
"list-row":
|
|
774
|
+
"list-row": w((D) => [
|
|
779
775
|
d(Ye, {
|
|
780
776
|
row: D,
|
|
781
777
|
onRowClick: i(a)
|
|
782
778
|
}, {
|
|
783
|
-
default:
|
|
779
|
+
default: w(($) => {
|
|
784
780
|
var Y, q, W, z, X, Z, H, j, e, n;
|
|
785
781
|
return [
|
|
786
|
-
|
|
787
|
-
|
|
782
|
+
I("div", fn, [
|
|
783
|
+
I("div", gn, [
|
|
788
784
|
d(i(_e), {
|
|
789
785
|
render: (W = (q = (Y = $.code) == null ? void 0 : Y.column) == null ? void 0 : q.columnDef) == null ? void 0 : W.cell,
|
|
790
786
|
props: (X = (z = $.code) == null ? void 0 : z.getContext) == null ? void 0 : X.call(z)
|
|
791
787
|
}, null, 8, ["render", "props"])
|
|
792
788
|
]),
|
|
793
|
-
|
|
789
|
+
I("div", bn, [
|
|
794
790
|
d(i(_e), {
|
|
795
791
|
render: (j = (H = (Z = $.name) == null ? void 0 : Z.column) == null ? void 0 : H.columnDef) == null ? void 0 : j.cell,
|
|
796
792
|
props: (n = (e = $.name) == null ? void 0 : e.getContext) == null ? void 0 : n.call(e)
|
|
@@ -806,7 +802,7 @@ const ln = /* @__PURE__ */ te({
|
|
|
806
802
|
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
|
|
807
803
|
]),
|
|
808
804
|
(k(), P(Re, { to: "body" }, [
|
|
809
|
-
d(
|
|
805
|
+
d(mn, De($e(i(S))), null, 16)
|
|
810
806
|
]))
|
|
811
807
|
]),
|
|
812
808
|
_: 1
|
|
@@ -815,5 +811,5 @@ const ln = /* @__PURE__ */ te({
|
|
|
815
811
|
}
|
|
816
812
|
});
|
|
817
813
|
export {
|
|
818
|
-
|
|
814
|
+
Un as default
|
|
819
815
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as E, mergeModels as ae, useModel as de, onMounted as ue, ref as D, computed as L, resolveComponent as B, openBlock as F, createElementBlock as S, createElementVNode as c, toDisplayString as Z, createVNode as M, createBlock as j, withCtx as I, Fragment as z, renderList as G, normalizeClass as R, normalizeStyle as ce, createSlots as fe, unref as P, createCommentVNode as O, withModifiers as me, reactive as Q, watch as X, isRef as ee, Teleport as pe } from "vue";
|
|
2
2
|
import { E as ge } from "./empty-placeholder-wf6-BWE8.js";
|
|
3
|
-
import { v as ve, c as U, w as be, e as ye } from "./app-
|
|
3
|
+
import { v as ve, c as U, w as be, e as ye } from "./app-C2kiRXHk.js";
|
|
4
4
|
import { useDialogChild as he, useDialog as te, useProxiedModel as ne, useSnackbar as _e } from "@feedmepos/ui-library";
|
|
5
|
-
import { f as oe } from "./fuzzy-
|
|
5
|
+
import { f as oe } from "./fuzzy-CMzsp7th.js";
|
|
6
6
|
import { _ as Ce } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js";
|
|
7
|
-
import { _ as xe } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as xe } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bvc3EyUZ.js";
|
|
8
8
|
import { useCoreStore as we } from "@feedmepos/mf-common";
|
|
9
9
|
const He = "data:image/svg+xml,%3csvg%20width='200'%20height='101'%20viewBox='0%200%20200%20101'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M98.9161%2038.4456V24.1772H108.527V27.1988H102.12V30.2202H107.347V32.7382H102.12V38.4456H98.9161Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.382%2031.2276C110.382%2027.5345%20113.249%2024.1772%20117.127%2024.1772C121.174%2024.1772%20123.872%2027.7024%20123.872%2031.3953C123.872%2035.0884%20121.005%2038.6133%20117.127%2038.6133C113.08%2038.4456%20110.382%2034.9204%20110.382%2031.2276ZM117.127%2035.5919C119.487%2035.5919%20120.499%2033.4096%20120.499%2031.2276C120.499%2029.0452%20119.319%2027.0309%20117.127%2027.0309C114.935%2027.0309%20113.754%2029.213%20113.754%2031.2276C113.754%2033.5776%20114.935%2035.5919%20117.127%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M126.232%2031.2276C126.232%2027.5345%20129.099%2024.1772%20132.977%2024.1772C137.024%2024.1772%20139.722%2027.7024%20139.722%2031.3953C139.722%2035.0884%20136.855%2038.6133%20132.977%2038.6133C128.93%2038.4456%20126.232%2034.9204%20126.232%2031.2276ZM132.977%2035.5919C135.337%2035.5919%20136.349%2033.4096%20136.349%2031.2276C136.349%2029.0452%20135.169%2027.0309%20132.977%2027.0309C130.785%2027.0309%20129.604%2029.213%20129.604%2031.2276C129.604%2033.5776%20130.785%2035.5919%20132.977%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M142.926%2038.4455V24.345H148.153C152.874%2024.345%20155.235%2027.5343%20155.235%2031.3952C155.235%2035.5918%20152.368%2038.4455%20148.153%2038.4455H142.926ZM148.153%2027.0308H146.129V35.4238H148.153C150.513%2035.4238%20151.862%2033.5775%20151.862%2031.2272C151.862%2028.8773%20150.513%2027.0308%20148.153%2027.0308Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.045%2057.5607V49.1676L107.009%2055.2107H105.324L102.12%2049.1676V57.5607H98.9161V43.4604H102.457L106.167%2050.8465L109.876%2043.4604H113.417V57.5607H110.045Z'%20fill='%235D5359'/%3e%3cpath%20d='M115.947%2057.5607L121.342%2043.4604H124.04L129.436%2057.5607H125.895L124.715%2054.3716H120.331L119.319%2057.5607H115.947ZM122.691%2046.9856L121.005%2052.1893H124.378L122.691%2046.9856Z'%20fill='%235D5359'/%3e%3cpath%20d='M131.965%2057.5607V43.4604H138.373C141.07%2043.4604%20142.925%2045.8105%20142.925%2048.1605C142.925%2049.8393%20142.082%2051.5179%20140.565%2052.1893L143.768%2057.393H140.059L137.192%2052.8607H135V57.393H131.965V57.5607ZM135.169%2050.175H138.204C139.047%2050.175%20139.553%2049.3356%20139.553%2048.1605C139.553%2046.9856%20138.71%2046.3142%20138.035%2046.3142H135.169V50.175Z'%20fill='%235D5359'/%3e%3cpath%20d='M146.635%2057.5607V43.4604H150.007V49.8393L155.403%2043.4604H158.776L153.548%2049.6713L159.281%2057.5607H155.74L151.693%2051.5179L150.007%2053.3642V57.5607H146.635Z'%20fill='%235D5359'/%3e%3cpath%20d='M171.422%2054.7073V57.5607H161.474V43.4604H171.253V46.3142H164.677V48.9999H170.242V51.6856H164.677V54.7073H171.422Z'%20fill='%235D5359'/%3e%3cpath%20d='M185.417%2046.3142H181.202V57.5607H177.829V46.3142H173.614V43.4604H185.417V46.3142Z'%20fill='%235D5359'/%3e%3cpath%20d='M111.057%2062.5967V76.6973H107.853V70.9898H102.12V76.6973H98.9161V62.5967H102.12V68.1361H107.853V62.5967H111.057Z'%20fill='%235D5359'/%3e%3cpath%20d='M124.04%2069.815V62.5967H127.244V69.815C127.244%2073.6758%20125.389%2076.865%20121.005%2076.865C116.453%2076.865%20114.766%2073.5078%20114.766%2069.815V62.5967H117.97V69.815C117.97%2071.997%20118.813%2074.0115%20121.005%2074.0115C123.366%2074.0115%20124.04%2071.997%20124.04%2069.815Z'%20fill='%235D5359'/%3e%3cpath%20d='M138.036%2076.6973H131.122V62.5967H139.047C141.071%2062.5967%20142.251%2064.4433%20142.251%2066.2898C142.251%2067.6327%20141.576%2068.9755%20140.228%2069.4793C141.914%2069.9827%20142.926%2071.1578%20142.926%2073.1721C142.757%2075.5221%20140.733%2076.6973%20138.036%2076.6973ZM134.326%2065.4504V68.3041H137.53C138.204%2068.3041%20138.879%2067.8004%20138.879%2066.7933C138.879%2065.7861%20138.373%2065.2827%20137.698%2065.2827H134.326V65.4504ZM138.204%2070.8221H134.494V73.8435H138.204C139.047%2073.8435%20139.722%2073.1721%20139.722%2072.3327C139.553%2071.6613%20138.879%2070.8221%20138.204%2070.8221Z'%20fill='%235D5359'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M73.4753%2051.4994C78.7281%2050.5396%2082.8911%2046.4891%2083.9954%2041.3137L84.1232%2040.7134L83.9445%2040.1256C80.5804%2029.066%2071.9945%2020.2704%2061.0373%2016.5726C57.4%2015.3451%2053.5046%2014.6804%2049.458%2014.6804C45.4112%2014.6804%2041.5158%2015.3451%2037.8784%2016.5726C26.9214%2020.2704%2018.3354%2029.066%2014.9712%2040.1256L14.7924%2040.7134L14.9206%2041.3137C16.0247%2046.4891%2020.1875%2050.5396%2025.4405%2051.4994V58.8839H14.4183C14.6758%2059.9557%2014.9818%2061.0088%2015.3337%2062.0411C20.1553%2076.1811%2033.6083%2086.3619%2049.458%2086.3619C65.3074%2086.3619%2078.7606%2076.1811%2083.5822%2062.0411C83.9342%2061.0088%2084.2399%2059.9557%2084.4974%2058.8839H73.4753V51.4994ZM41.0517%2020.5973V38.5742C41.0517%2043.1931%2044.8155%2046.9371%2049.458%2046.9371C54.1005%2046.9371%2057.8641%2043.1931%2057.8641%2038.5742V20.5973C55.1919%2019.856%2052.3732%2019.4592%2049.458%2019.4592C46.5428%2019.4592%2043.7241%2019.856%2041.0517%2020.5973ZM62.6675%2022.3673V38.5742C62.6675%2043.1931%2066.431%2046.9371%2071.0735%2046.9371C74.9051%2046.9371%2078.1425%2044.3848%2079.1528%2040.8942C76.4672%2032.6902%2070.4379%2025.9824%2062.6675%2022.3673ZM60.2658%2046.1322C57.8753%2049.5094%2053.9255%2051.7159%2049.458%2051.7159C44.9902%2051.7159%2041.0408%2049.5094%2038.65%2046.1322C36.6982%2048.8894%2033.7074%2050.8662%2030.2439%2051.4994V58.8839H68.6718V51.4994C65.2083%2050.8662%2062.2175%2048.8894%2060.2658%2046.1322ZM21.1583%2063.6628C26.1349%2074.2514%2036.9382%2081.5834%2049.458%2081.5834C61.9776%2081.5834%2072.781%2074.2514%2077.7574%2063.6628H21.1583ZM36.2482%2038.5742V22.3673C28.4779%2025.9824%2022.4486%2032.6902%2019.7631%2040.8942C20.7733%2044.3848%2024.0106%2046.9371%2027.8422%2046.9371C32.4847%2046.9371%2036.2482%2043.1931%2036.2482%2038.5742Z'%20fill='%23FFC35D'/%3e%3c/svg%3e";
|
|
10
10
|
function Y(_, v) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as Q, computed as x, resolveComponent as y, openBlock as p, createElementBlock as B, createVNode as a, unref as r, createElementVNode as n, Fragment as R, renderList as M, createBlock as F, withCtx as V, createTextVNode as E, toDisplayString as P, createCommentVNode as T, createStaticVNode as W } from "vue";
|
|
2
|
-
import { u as X } from "./app-
|
|
3
|
-
import { u as Y, g as Z } from "./use-inventory-binding-dialog-
|
|
4
|
-
import { a as I, c as ee } from "./date2-
|
|
5
|
-
import { A as oe, b as ne, a as L, M as te } from "./rules-
|
|
6
|
-
import { g as le } from "./dayjs.min-
|
|
2
|
+
import { u as X } from "./app-C2kiRXHk.js";
|
|
3
|
+
import { u as Y, g as Z } from "./use-inventory-binding-dialog-wlCHTAwl.js";
|
|
4
|
+
import { a as I, c as ee } from "./date2-1aCkDJKL.js";
|
|
5
|
+
import { A as oe, b as ne, a as L, M as te } from "./rules-C-XEHjZO.js";
|
|
6
|
+
import { g as le } from "./dayjs.min-BMCGIZaB.js";
|
|
7
7
|
const ie = { class: "flex flex-col gap-24" }, de = { class: "flex flex-col gap-16" }, se = { class: "flex items-center" }, ae = /* @__PURE__ */ n("div", { class: "flex-1 fm-typo-en-title-sm-600" }, "Recipe", -1), re = { class: "flex flex-col" }, ue = /* @__PURE__ */ n("div", { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, [
|
|
8
8
|
/* @__PURE__ */ n("div", { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, "Recipe"),
|
|
9
9
|
/* @__PURE__ */ n("div", { class: "w-[200px]" }),
|
|
@@ -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 { c as d } from "./date2-
|
|
2
|
+
import { c as d } from "./date2-1aCkDJKL.js";
|
|
3
3
|
const _ = ["value", "disabled"], D = /* @__PURE__ */ y({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
package/dist/{PurchaseOrderPrintPreview-Db2U_IQL.js → PurchaseOrderPrintPreview-B78Jnkqg.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, computed as f, ref as m, onMounted as g, openBlock as r, createElementBlock as o, createElementVNode as e, toDisplayString as t, normalizeStyle as w, createTextVNode as i, Fragment as u, createCommentVNode as h, renderList as _, normalizeClass as k, pushScopeId as S, popScopeId as C } from "vue";
|
|
2
2
|
import { useRoute as P } from "vue-router";
|
|
3
|
-
import { n as v, _ as R } from "./app-
|
|
3
|
+
import { n as v, _ as R } from "./app-C2kiRXHk.js";
|
|
4
4
|
const n = (d) => (S("data-v-54384fc1"), d = d(), C(), d), A = { class: "purchase-box" }, N = { valign: "bottom" }, E = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "title" }, "Inventory Receive Note", -1)), O = { class: "text-right" }, D = { class: "header" }, q = /* @__PURE__ */ n(() => /* @__PURE__ */ e("hr", null, null, -1)), I = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "header" }, "Supplier", -1)), T = { class: "sub-header" }, F = { class: "caption" }, L = { class: "address" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), V = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), z = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), B = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), H = { class: "text-right" }, M = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "header" }, "Delivery To", -1)), J = { class: "sub-header" }, Q = { class: "address" }, j = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), G = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), K = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), W = /* @__PURE__ */ n(() => /* @__PURE__ */ e("br", null, null, -1)), X = { class: "purchase-body" }, Y = /* @__PURE__ */ n(() => /* @__PURE__ */ e("thead", { class: "item-header" }, [
|
|
5
5
|
/* @__PURE__ */ e("tr", null, [
|
|
6
6
|
/* @__PURE__ */ e("th", {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent as ke, ref as z, watch as ce, computed as M, resolveComponent as D, openBlock as _, createBlock as Z, withCtx as A, createElementVNode as s, createVNode as u, toDisplayString as W, createElementBlock as F, Fragment as $e, renderList as ot, unref as d, createTextVNode as mo, mergeModels as Bt, reactive as po, useModel as fo, onMounted as vo, createCommentVNode as G, normalizeClass as Je, normalizeStyle as no, h as L, isRef as _o, Teleport as go, mergeProps as Gt } from "vue";
|
|
2
|
-
import { I as it, d as xe, m as Ce, n as yo, e as mt, a as ho, C as ut, u as bo, o as Xe, p as xo } from "./app-
|
|
3
|
-
import { i as at } from "./init-date-range-
|
|
4
|
-
import { u as ro, p as Wt, P as R, a as Co, b as ko, _ as wo, g as Do } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { a as B, k as Zt, b as tt, s as dt, t as So, u as Fo, v as Jt, w as Vo, i as Xt, x as Po, q as eo, y as To, j as Uo, f as Ro, c as to } from "./date2-
|
|
6
|
-
import { u as Mo, i as Ao, e as $o } from "./stock-estimate-
|
|
7
|
-
import { d as ct } from "./dayjs.min-
|
|
2
|
+
import { I as it, d as xe, m as Ce, n as yo, e as mt, a as ho, C as ut, u as bo, o as Xe, p as xo } from "./app-C2kiRXHk.js";
|
|
3
|
+
import { i as at } from "./init-date-range-CL5wzuE9.js";
|
|
4
|
+
import { u as ro, p as Wt, P as R, a as Co, b as ko, _ as wo, g as Do } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Djn88uN3.js";
|
|
5
|
+
import { a as B, k as Zt, b as tt, s as dt, t as So, u as Fo, v as Jt, w as Vo, i as Xt, x as Po, q as eo, y as To, j as Uo, f as Ro, c as to } from "./date2-1aCkDJKL.js";
|
|
6
|
+
import { u as Mo, i as Ao, e as $o } from "./stock-estimate-DvI651uK.js";
|
|
7
|
+
import { d as ct } from "./dayjs.min-BMCGIZaB.js";
|
|
8
8
|
import { _ as Eo } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js";
|
|
9
|
-
import { _ as Oo } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Oo } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bvc3EyUZ.js";
|
|
10
10
|
import { useDialog as No, useSnackbar as pt, components as le, useProxiedModel as Ho, useBreakpoints as Yo } from "@feedmepos/ui-library";
|
|
11
11
|
import { R as oo, F as Ae } from "./row-action.enum-BwQbURNh.js";
|
|
12
12
|
import { useCoreStore as qo } from "@feedmepos/mf-common";
|
|
13
|
-
import { _ as Io } from "./FmMultiselectDialog.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { F as ee, _ as io, u as jo } from "./layout-
|
|
15
|
-
import { R as et, B as Lo, M as ao, a as zo } from "./rules-
|
|
16
|
-
import { u as uo } from "./supplier-
|
|
13
|
+
import { _ as Io } from "./FmMultiselectDialog.vue_vue_type_script_setup_true_lang-YEAz0S0C.js";
|
|
14
|
+
import { F as ee, _ as io, u as jo } from "./layout-BUVfQNxR.js";
|
|
15
|
+
import { R as et, B as Lo, M as ao, a as zo } from "./rules-C-XEHjZO.js";
|
|
16
|
+
import { u as uo } from "./supplier-xM9dK1Aa.js";
|
|
17
17
|
const Qo = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400" }, Ko = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, Bo = /* @__PURE__ */ ke({
|
|
18
18
|
__name: "FmDateRangePickerChip",
|
|
19
19
|
props: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as N, ref as R, onMounted as le, resolveComponent as x, openBlock as w, createElementBlock as A, Fragment as re, createElementVNode as g, toDisplayString as ie, createVNode as v, createCommentVNode as j, computed as S, watch as ce, createBlock as T, withCtx as $, unref as b, isRef as Z, normalizeStyle as ue, Teleport as de, normalizeProps as me, guardReactiveProps as pe } from "vue";
|
|
2
|
-
import { u as I, c as K, S as fe, b as ee, e as ve } from "./app-
|
|
2
|
+
import { u as I, c as K, S as fe, b as ee, e as ve } from "./app-C2kiRXHk.js";
|
|
3
3
|
import { useDialog as _e, useSnackbar as ae, useProxiedModel as te, useBreakpoints as ye } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as ge, _ as be } from "./is-linked-ingredient-error-C6AghEwR.js";
|
|
5
5
|
import { F as h, D as oe, R as z } from "./row-action.enum-BwQbURNh.js";
|
|
6
|
-
import { _ as se } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { c as he, _ as we, F as ne, u as xe } from "./layout-
|
|
8
|
-
import { a as q, f as Re } from "./date2-
|
|
6
|
+
import { _ as se } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bn3w9SMf.js";
|
|
7
|
+
import { c as he, _ as we, F as ne, u as xe } from "./layout-BUVfQNxR.js";
|
|
8
|
+
import { a as q, f as Re } from "./date2-1aCkDJKL.js";
|
|
9
9
|
import { _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js";
|
|
10
|
-
import { R as Ce, U as Ee } from "./rules-
|
|
11
|
-
import { _ as Se } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { u as H, w as Fe } from "./xlsx-
|
|
10
|
+
import { R as Ce, U as Ee } from "./rules-C-XEHjZO.js";
|
|
11
|
+
import { _ as Se } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-BuP2g613.js";
|
|
12
|
+
import { u as H, w as Fe } from "./xlsx-DXl3cDnf.js";
|
|
13
13
|
const Ve = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "flex flex-col items-center w-full h-full gap-24"
|