@feedmepos/mf-inventory-portal 1.2.48 → 1.2.50-dev.1
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-DPGaFV4B.js → App-DkCjc9Ei.js} +72 -68
- package/dist/{ApprovalView-833HS5kH.js → ApprovalView-CVBi-iKx.js} +34 -34
- package/dist/{BindingsDialog-ChODu5A1.js → BindingsDialog-D1EDPBOt.js} +2 -2
- package/dist/{BindingsPicker-DvX4GyKv.js → BindingsPicker-BhtMvuQY.js} +2 -2
- package/dist/{BindingsTable-DNAiQ3jC.js → BindingsTable-UI5TuSBx.js} +4 -4
- package/dist/{ClosingDraftView-BNmLpJEn.js → ClosingDraftView-Dsj4ZYEi.js} +19 -18
- package/dist/{ClosingHistoryView-BWCsFzL4.js → ClosingHistoryView-DoW-S9iS.js} +3 -3
- package/dist/{ClosingTemplateView-oZwROzRq.js → ClosingTemplateView-vvlSzfDQ.js} +18 -17
- package/dist/{DeliveryOrderPrintPreview-CgF6Ah_t.js → DeliveryOrderPrintPreview-obetnJsJ.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-COu3S25S.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BQiI8aOT.js} +4 -4
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Br-AzVal.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B746F-IR.js} +12 -12
- package/dist/{FmMultiselectDialog-nOXJfHcT.js → FmMultiselectDialog-CCvkuTS3.js} +1 -1
- package/dist/FmMultiselectDialog-NSDOnWEh.js +621 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B0TLNBD_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DWwF_0sR.js} +3 -3
- package/dist/{ImportView-DiCAaSmP.js → ImportView-COQQTu8N.js} +7 -7
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CjzJ3O5a.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BeXoFMVr.js} +1 -1
- package/dist/{IngredientGroupView-DJ_gq48z.js → IngredientGroupView-RR_JvJ28.js} +108 -107
- package/dist/{IngredientsView-B2tdcbaR.js → IngredientsView-C3X5o2k_.js} +126 -125
- package/dist/{IntegrationView-siGNamS4.js → IntegrationView-B5eHHOqw.js} +80 -80
- package/dist/{InventoryBindingForm-CMH2losI.js → InventoryBindingForm-BUmVxK-a.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-D68w7k0f.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-jXzjJ0Kk.js} +4 -4
- package/dist/{InventoryBindingSummary-DAGsx_Mo.js → InventoryBindingSummary-BX1xdZX3.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cyl5cUO6.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BCcSPsw6.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CNze8ZJ7.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BUPtyu3J.js} +2 -2
- package/dist/{PublishView-D1AKbuKs.js → PublishView-CzxnrErB.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-BzGcJK1f.js → PurchaseOrderPrintPreview-fVyn0zFN.js} +1 -1
- package/dist/ReceiveRequestView-CkYyKxe-.js +3028 -0
- package/dist/{RecipeView-BcnjGf_a.js → RecipeView-DFCFRYey.js} +83 -82
- package/dist/{StockView-DdgYT4_P.js → StockView-BRcgulQk.js} +113 -112
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DRPzgTm4.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BOYDCjdV.js} +1 -1
- package/dist/{SupplierView-LRNOgWQk.js → SupplierView-DIPr4lvP.js} +28 -27
- package/dist/SurchargeView-Cszy8Wqp.js +460 -0
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CQJJ3XRC.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-v8ef-mpz.js} +2 -2
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js +84 -0
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-KBs8Dq8C.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B-oyRnPC.js} +13 -13
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-bP-1-mLN.js → TransferDetails.vue_vue_type_script_setup_true_lang-BlLY3DLp.js} +995 -996
- package/dist/{TransferTemplateView-Dp2W2doS.js → TransferTemplateView-DSpZoO9t.js} +16 -16
- package/dist/{UnitView-N5l93VfY.js → UnitView-IJsE_qkc.js} +20 -19
- package/dist/{WarehouseView-D7FGBKUP.js → WarehouseView-Dyd2kUli.js} +21 -20
- package/dist/{WastageTemplateView-BmSNPRPI.js → WastageTemplateView-Dk_bWOam.js} +165 -164
- package/dist/api/netsuite.d.ts +8 -0
- package/dist/api/surcharge.d.ts +31 -0
- package/dist/{app-CfCaSzjl.js → app-DavdITF-.js} +23188 -14546
- package/dist/app-DiX-EfV6.js +8167 -0
- package/dist/app.d.ts +1185 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-CJ4VCKvB.js → closing-template-DR9_kQ8D.js} +1 -1
- package/dist/component-DpCUABT3.js +82 -0
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +8 -0
- package/dist/components/FmMultiselectDialogProps.d.ts +5 -0
- package/dist/{date2-BcmOfaME.js → date2-8GI9HBWH.js} +1 -1
- package/dist/{dayjs.min-CiFpY16f.js → dayjs.min-BlY4XBqj.js} +1 -1
- package/dist/{decimal-DtLL5qsA.js → decimal-DL6mE527.js} +2 -2
- package/dist/{defineDeepModel-DBV1M6fx.js → defineDeepModel-BfjUieWa.js} +1 -1
- package/dist/{duplicate-template-DjhY01M8.js → duplicate-template-Bgv9_gY3.js} +1 -1
- package/dist/{feature-0OR7WTHu.js → feature-Cw8ehb86.js} +3399 -2620
- package/dist/{format-time-from-id-DATUhiz_.js → format-time-from-id-BGWQ_4he.js} +1 -1
- package/dist/{format-unit-display-9qQdeD4R.js → format-unit-display-DLGhl4yz.js} +11 -11
- package/dist/{import-export.helper-isWO7OKw.js → import-export.helper-BquBG7Ja.js} +5 -5
- package/dist/{index-BvtrCC8o.js → index-CU0XsNCT.js} +1 -1
- package/dist/{index-CG0HXAUt.js → index-CUO2gkjR.js} +3 -3
- package/dist/{index-YLMXpUuG.js → index-E5tuyI2k.js} +1 -1
- package/dist/locales/ja/common.json +7 -0
- package/dist/{lodash-D1GaTimh.js → lodash-CBzRp2rs.js} +1 -1
- package/dist/netsuite-fKE8zkqA.js +5402 -0
- package/dist/{purchase-order-template-C8k-zHLA.js → purchase-order-template-3KsyDF00.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-DCfupVMX.js → rules-nrlXpIxl.js} +3 -3
- package/dist/{stock-BwYeYuFG.js → stock-BDzZUQ12.js} +1 -1
- package/dist/{stock-AXiQCAeU.js → stock-BOXAynI6.js} +3 -3
- package/dist/stores/integration/netsuite.d.ts +5 -0
- package/dist/stores/surcharge.d.ts +18 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-p9r9OqFz.js → supplier-ImcuOQDw.js} +2 -2
- package/dist/surcharge-B8ym7Px4.js +71 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Cpmsu92V.js → use-ingredient-select-dialog-DyzX-ffV.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BPm1TXkw.js → use-inventory-binding-dialog-CSGz0tLk.js} +2 -2
- package/dist/{use-template-enabled-locations-2-Batk5Jq7.js → use-template-enabled-locations-2-BgCxeCaB.js} +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +714 -0
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +5 -0
- package/dist/views/surcharge/SurchargeView.vue.d.ts +2 -0
- package/dist/{vue-i18n-Xu3ISvbS.js → vue-i18n-DQB_dR_X.js} +376 -376
- package/dist/{xlsx-DTdVIUTe.js → xlsx-qb-9b1qs.js} +1 -1
- package/dist/{xlsx.util-twnxgS4l.js → xlsx.util-BCW4ouE2.js} +1 -1
- package/package.json +3 -3
- package/dist/FmMultiselectDialog-BcnuMvBx.js +0 -598
- package/dist/ReceiveRequestView-hvDCU729.js +0 -2913
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js +0 -162
- package/dist/app-uBuHtW8m.js +0 -8127
- package/dist/netsuite-C3C6Uju7.js +0 -5131
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref as B, onUnmounted as D, defineComponent as
|
|
2
|
-
import { u as K, a as $, R as e, m as
|
|
3
|
-
import { useCoreStore as
|
|
1
|
+
import { ref as B, onUnmounted as D, defineComponent as U, watch as C, onMounted as M, computed as P, resolveComponent as y, openBlock as g, createElementBlock as A, unref as T, createVNode as R, createElementVNode as v, toDisplayString as x, createBlock as F, createCommentVNode as W } from "vue";
|
|
2
|
+
import { u as K, a as $, R as e, m as E, g as r, b as H } from "./app-DavdITF-.js";
|
|
3
|
+
import { useCoreStore as w, useI18n as V } from "@feedmepos/mf-common";
|
|
4
4
|
import { useRouter as O, useRoute as j } from "vue-router";
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as z } from "./netsuite-
|
|
5
|
+
import { u as k } from "./feature-Cw8ehb86.js";
|
|
6
|
+
import { u as z } from "./netsuite-fKE8zkqA.js";
|
|
7
7
|
import { u as Q } from "./useTabStorage-BkIVScW_.js";
|
|
8
8
|
import { u as Y } from "./googlemap-Dm8ERVai.js";
|
|
9
9
|
function q() {
|
|
@@ -17,13 +17,13 @@ function J() {
|
|
|
17
17
|
const c = O();
|
|
18
18
|
if (!I.value.loadingHookInstalled) {
|
|
19
19
|
I.value.loadingHookInstalled = !0;
|
|
20
|
-
const
|
|
20
|
+
const a = c.beforeEach(() => {
|
|
21
21
|
I.value.isLoading = !0;
|
|
22
22
|
}), d = c.afterEach(() => {
|
|
23
23
|
I.value.isLoading = !1;
|
|
24
24
|
});
|
|
25
25
|
D(() => {
|
|
26
|
-
I.value.loadingHookInstalled = !1,
|
|
26
|
+
I.value.loadingHookInstalled = !1, a(), d();
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
@@ -38,11 +38,11 @@ const X = {
|
|
|
38
38
|
}, Z = {
|
|
39
39
|
key: 1,
|
|
40
40
|
class: "flex flex-col pt-[200px] gap-32 items-center"
|
|
41
|
-
}, ee = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, te = { class: "fm-typo-en-title-lg-600" }, oe = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ne = { class: "flex gap-16" }, re = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, ae = { href: "https://feedme.ai/form" }, le = /* @__PURE__ */
|
|
41
|
+
}, ee = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, te = { class: "fm-typo-en-title-lg-600" }, oe = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ne = { class: "flex gap-16" }, re = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, ae = { href: "https://feedme.ai/form" }, le = /* @__PURE__ */ U({
|
|
42
42
|
__name: "InventoryView",
|
|
43
43
|
setup(c) {
|
|
44
|
-
const
|
|
45
|
-
|
|
44
|
+
const a = K(), d = $(), p = z(), l = w(), s = O(), m = J(), t = k(), { t: _ } = V();
|
|
45
|
+
C(
|
|
46
46
|
[() => l.sessionUser.value, () => l.currentBusiness.value],
|
|
47
47
|
([u, i]) => {
|
|
48
48
|
h(u, i);
|
|
@@ -56,36 +56,36 @@ const X = {
|
|
|
56
56
|
!u || !i || N();
|
|
57
57
|
}
|
|
58
58
|
async function N() {
|
|
59
|
-
return await
|
|
59
|
+
return await a.init(), await p.readSetting().catch((u) => {
|
|
60
60
|
console.error("[all] error on reading netsuite store", u);
|
|
61
61
|
}), await d.init();
|
|
62
62
|
}
|
|
63
|
-
const
|
|
63
|
+
const L = P(() => s.currentRoute.value.name === e.TRANSFER_TEMPLATE ? t.enablePoTemplate : s.currentRoute.value.name === e.INGREDIENT_GROUP ? t.enableIngredientGroup : !0);
|
|
64
64
|
return (u, i) => {
|
|
65
65
|
const S = y("FmSpacer"), G = y("FmCircularProgress"), o = y("FmButton"), n = y("RouterView");
|
|
66
|
-
return
|
|
67
|
-
T(m).isLoading ? (
|
|
68
|
-
|
|
66
|
+
return g(), A("div", null, [
|
|
67
|
+
T(m).isLoading ? (g(), A("div", X, [
|
|
68
|
+
R(S),
|
|
69
69
|
v("div", null, [
|
|
70
|
-
|
|
70
|
+
R(G, { size: "xl" })
|
|
71
71
|
]),
|
|
72
72
|
i[0] || (i[0] = v("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
|
|
73
|
-
|
|
74
|
-
])) :
|
|
73
|
+
R(S)
|
|
74
|
+
])) : L.value ? T(l).sessionUser.value ? (g(), F(n, { key: 2 })) : W("", !0) : (g(), A("div", Z, [
|
|
75
75
|
v("div", ee, [
|
|
76
|
-
v("div", te, x(T(
|
|
77
|
-
v("div", oe, x(T(
|
|
76
|
+
v("div", te, x(T(_)("inventory.common.proPlan.title")), 1),
|
|
77
|
+
v("div", oe, x(T(_)("inventory.common.proPlan.subtitle")), 1)
|
|
78
78
|
]),
|
|
79
79
|
v("div", ne, [
|
|
80
80
|
v("a", re, [
|
|
81
|
-
|
|
82
|
-
label: T(
|
|
81
|
+
R(o, {
|
|
82
|
+
label: T(_)("inventory.common.proPlan.comparePlans"),
|
|
83
83
|
variant: "secondary"
|
|
84
84
|
}, null, 8, ["label"])
|
|
85
85
|
]),
|
|
86
86
|
v("a", ae, [
|
|
87
|
-
|
|
88
|
-
label: T(
|
|
87
|
+
R(o, {
|
|
88
|
+
label: T(_)("inventory.common.proPlan.callUs"),
|
|
89
89
|
"prepend-icon": "call"
|
|
90
90
|
}, null, 8, ["label"])
|
|
91
91
|
])
|
|
@@ -94,34 +94,34 @@ const X = {
|
|
|
94
94
|
]);
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
}), se = { class: "h-full flex flex-col overflow-auto py-16" }, ie = /* @__PURE__ */
|
|
97
|
+
}), se = { class: "h-full flex flex-col overflow-auto py-16" }, ie = /* @__PURE__ */ U({
|
|
98
98
|
__name: "NavigationTab",
|
|
99
99
|
setup(c) {
|
|
100
|
-
const
|
|
101
|
-
label:
|
|
102
|
-
value:
|
|
103
|
-
icon:
|
|
104
|
-
hide:
|
|
105
|
-
children:
|
|
106
|
-
}), d = j(), p = O(), l =
|
|
107
|
-
|
|
100
|
+
const a = E.object({
|
|
101
|
+
label: E.string(),
|
|
102
|
+
value: E.string().optional(),
|
|
103
|
+
icon: E.string().optional(),
|
|
104
|
+
hide: E.boolean().optional(),
|
|
105
|
+
children: E.array(E.lazy(() => a)).optional()
|
|
106
|
+
}), d = j(), p = O(), l = w(), s = k(), m = Q(), { t } = V(), { isDev: _ } = H();
|
|
107
|
+
C([() => l.currentBusiness.value, () => d.name], ([o, n]) => {
|
|
108
108
|
(o == null ? void 0 : o.menuVersion) === "v3" && (n === e.INGREDIENTS || n === e.RECIPE || n === e.UNIT) && p.push({ name: e.STOCK });
|
|
109
109
|
});
|
|
110
110
|
const h = (o) => o.filter((n) => !n.hide).map((n) => n.children ? { ...n, children: h(n.children) } : n), N = (o) => o.map((n) => {
|
|
111
111
|
delete n.hide;
|
|
112
112
|
const f = n;
|
|
113
113
|
return n.children && (f.children = N(n.children)), f;
|
|
114
|
-
}),
|
|
114
|
+
}), L = P(() => {
|
|
115
115
|
var f;
|
|
116
116
|
const o = [
|
|
117
117
|
{
|
|
118
118
|
label: "Non-Production Environment",
|
|
119
119
|
icon: "logo_dev",
|
|
120
120
|
disabled: !0,
|
|
121
|
-
hide: !
|
|
121
|
+
hide: !_
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
label:
|
|
124
|
+
label: r(e.STOCK, t),
|
|
125
125
|
// icon: 'inventory_2',
|
|
126
126
|
children: [
|
|
127
127
|
{
|
|
@@ -129,7 +129,7 @@ const X = {
|
|
|
129
129
|
value: e.STOCK
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
|
-
label:
|
|
132
|
+
label: r(e.WASTAGE_TEMPLATE, t),
|
|
133
133
|
value: e.WASTAGE_TEMPLATE,
|
|
134
134
|
hide: !s.enableWastageTemplate
|
|
135
135
|
}
|
|
@@ -139,39 +139,39 @@ const X = {
|
|
|
139
139
|
label: t("inventory.closing.title"),
|
|
140
140
|
children: [
|
|
141
141
|
{
|
|
142
|
-
label:
|
|
142
|
+
label: r(e.CLOSING_HISTORY, t),
|
|
143
143
|
value: e.CLOSING_HISTORY
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
label:
|
|
146
|
+
label: r(e.CLOSING_TEMPLATE, t),
|
|
147
147
|
value: e.CLOSING_TEMPLATE,
|
|
148
148
|
hide: !s.enableClosingTemplate
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
|
-
label:
|
|
151
|
+
label: r(e.CLOSING_DRAFT, t),
|
|
152
152
|
value: e.CLOSING_DRAFT,
|
|
153
153
|
hide: !s.enableClosingTemplate
|
|
154
154
|
}
|
|
155
155
|
]
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
|
-
label:
|
|
158
|
+
label: r(e.INGREDIENTS, t),
|
|
159
159
|
// icon: 'grocery',
|
|
160
160
|
value: e.INGREDIENTS
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
label:
|
|
163
|
+
label: r(e.INGREDIENT_GROUP, t),
|
|
164
164
|
// icon: 'grocery',
|
|
165
165
|
value: e.INGREDIENT_GROUP,
|
|
166
166
|
hide: !s.enableIngredientGroup
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
|
-
label:
|
|
169
|
+
label: r(e.RECIPE, t),
|
|
170
170
|
// icon: 'weight',
|
|
171
171
|
value: e.RECIPE
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
|
-
label:
|
|
174
|
+
label: r(e.UNIT, t),
|
|
175
175
|
// icon: 'fastfood',
|
|
176
176
|
value: e.UNIT
|
|
177
177
|
},
|
|
@@ -180,41 +180,45 @@ const X = {
|
|
|
180
180
|
// icon: 'swap_horiz',
|
|
181
181
|
children: [
|
|
182
182
|
{
|
|
183
|
-
label:
|
|
183
|
+
label: r(e.RECEIVE_REQUEST, t),
|
|
184
184
|
value: e.RECEIVE_REQUEST
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
|
-
label:
|
|
187
|
+
label: r(e.APPROVAL, t),
|
|
188
188
|
value: e.APPROVAL
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
|
-
label:
|
|
191
|
+
label: r(e.SURCHARGE, t),
|
|
192
|
+
value: e.SURCHARGE
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
label: r(e.TRANSFER_TEMPLATE, t),
|
|
192
196
|
value: e.TRANSFER_TEMPLATE,
|
|
193
197
|
hide: !s.enablePoTemplate
|
|
194
198
|
}
|
|
195
199
|
]
|
|
196
200
|
},
|
|
197
201
|
{
|
|
198
|
-
label:
|
|
202
|
+
label: r(e.SUPPLIER, t),
|
|
199
203
|
// icon: 'group',
|
|
200
204
|
value: e.SUPPLIER
|
|
201
205
|
},
|
|
202
206
|
{
|
|
203
|
-
label:
|
|
207
|
+
label: r(e.WAREHOUSE, t),
|
|
204
208
|
// icon: 'warehouse',
|
|
205
209
|
value: e.WAREHOUSE
|
|
206
210
|
},
|
|
207
211
|
{
|
|
208
|
-
label:
|
|
212
|
+
label: r(e.PUBLISH, t),
|
|
209
213
|
value: e.PUBLISH
|
|
210
214
|
},
|
|
211
215
|
{
|
|
212
|
-
label:
|
|
216
|
+
label: r(e.IMPORT, t),
|
|
213
217
|
value: e.IMPORT,
|
|
214
218
|
hide: !s.enableBulkImport
|
|
215
219
|
},
|
|
216
220
|
{
|
|
217
|
-
label:
|
|
221
|
+
label: r(e.INTEGRATION, t),
|
|
218
222
|
// icon: 'integration_instructions',
|
|
219
223
|
value: e.INTEGRATION
|
|
220
224
|
}
|
|
@@ -243,57 +247,57 @@ const X = {
|
|
|
243
247
|
S.value = o, o || m.setItem(i.value, "true");
|
|
244
248
|
}
|
|
245
249
|
});
|
|
246
|
-
return
|
|
250
|
+
return C([() => i.value], () => {
|
|
247
251
|
S.value = !1, setTimeout(() => {
|
|
248
252
|
G.value = !m.getItem(i.value);
|
|
249
253
|
}, 2e3);
|
|
250
254
|
}), (o, n) => {
|
|
251
255
|
const f = y("FmCollapsibleTabs");
|
|
252
|
-
return
|
|
253
|
-
|
|
256
|
+
return g(), A("div", se, [
|
|
257
|
+
R(f, {
|
|
254
258
|
modelValue: u.value,
|
|
255
259
|
"onUpdate:modelValue": n[0] || (n[0] = (b) => u.value = b),
|
|
256
|
-
items:
|
|
260
|
+
items: L.value
|
|
257
261
|
}, null, 8, ["modelValue", "items"])
|
|
258
262
|
]);
|
|
259
263
|
};
|
|
260
264
|
}
|
|
261
265
|
});
|
|
262
266
|
typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
|
|
263
|
-
let c,
|
|
267
|
+
let c, a;
|
|
264
268
|
return { promise: new Promise((p, l) => {
|
|
265
|
-
c = p,
|
|
266
|
-
}), resolve: c, reject:
|
|
269
|
+
c = p, a = l;
|
|
270
|
+
}), resolve: c, reject: a };
|
|
267
271
|
});
|
|
268
272
|
typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(c) {
|
|
269
|
-
return await new Promise((
|
|
273
|
+
return await new Promise((a) => setTimeout(a, c)), Promise.resolve(this);
|
|
270
274
|
});
|
|
271
|
-
const
|
|
275
|
+
const _e = /* @__PURE__ */ U({
|
|
272
276
|
__name: "App",
|
|
273
277
|
setup(c) {
|
|
274
|
-
const
|
|
278
|
+
const a = w(), d = Y(), p = H();
|
|
275
279
|
M(() => {
|
|
276
280
|
if (window.location.href.includes("print-preview")) {
|
|
277
|
-
|
|
281
|
+
a.setEmbedded(!0), document.body.classList.add("print-mode");
|
|
278
282
|
return;
|
|
279
283
|
}
|
|
280
|
-
|
|
284
|
+
a.registerSidebarComponent(ie), d.initGoogleMap(p.appApi.googleMap).catch(() => {
|
|
281
285
|
console.error("Google map cannot be loaded");
|
|
282
286
|
});
|
|
283
|
-
}),
|
|
287
|
+
}), C([() => a.currentCountry.value], () => {
|
|
284
288
|
l();
|
|
285
289
|
});
|
|
286
290
|
async function l() {
|
|
287
291
|
var s;
|
|
288
292
|
try {
|
|
289
|
-
await
|
|
293
|
+
await a.readBusinesses(), a.currentBusiness.value = (s = a.businesses.value) == null ? void 0 : s.find((m) => m);
|
|
290
294
|
} catch (m) {
|
|
291
295
|
console.error("error when trying to reset businesses:", m);
|
|
292
296
|
}
|
|
293
297
|
}
|
|
294
|
-
return (s, m) => (
|
|
298
|
+
return (s, m) => (g(), F(le));
|
|
295
299
|
}
|
|
296
300
|
});
|
|
297
301
|
export {
|
|
298
|
-
|
|
302
|
+
_e as default
|
|
299
303
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as ue, ref as y, watch as ie, computed as d, resolveComponent as ce, openBlock as x, createBlock as X, unref as n, withCtx as
|
|
2
|
-
import { u as De, m as b } from "./app-
|
|
3
|
-
import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as be, P as
|
|
5
|
-
import { d as Z } from "./date2-
|
|
1
|
+
import { defineComponent as ue, ref as y, watch as ie, computed as d, resolveComponent as ce, openBlock as x, createBlock as X, unref as n, withCtx as P, createElementVNode as c, normalizeClass as pe, createVNode as i, normalizeStyle as de, toDisplayString as me, createElementBlock as fe, createCommentVNode as ve, Teleport as he, mergeProps as _e } from "vue";
|
|
2
|
+
import { u as De, m as b } from "./app-DavdITF-.js";
|
|
3
|
+
import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B746F-IR.js";
|
|
4
|
+
import { u as be, P as k, a as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BlLY3DLp.js";
|
|
5
|
+
import { d as Z } from "./date2-8GI9HBWH.js";
|
|
6
6
|
import { u as Se, _ as xe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
7
|
-
import { _ as
|
|
8
|
-
import { useBreakpoints as
|
|
9
|
-
import { useI18n as
|
|
10
|
-
import {
|
|
11
|
-
import { u as
|
|
12
|
-
const
|
|
7
|
+
import { _ as Pe, F as O } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
8
|
+
import { useBreakpoints as ke } from "@feedmepos/ui-library";
|
|
9
|
+
import { useI18n as qe } from "@feedmepos/mf-common";
|
|
10
|
+
import { P as we, J as Te } from "./app-DiX-EfV6.js";
|
|
11
|
+
import { u as Ae } from "./netsuite-fKE8zkqA.js";
|
|
12
|
+
const Ce = { class: "flex flex-col py-8" }, Ne = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Fe = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
15
15
|
}, Le = { class: "pt-8" }, Xe = /* @__PURE__ */ ue({
|
|
16
16
|
__name: "ApprovalView",
|
|
17
17
|
setup(ze) {
|
|
18
|
-
const a = be(
|
|
18
|
+
const a = be(k.APPROVAL), { columnDefs: I } = Oe(k.APPROVAL, a, a.shipments), B = De(), ee = Ae();
|
|
19
19
|
b.object({
|
|
20
20
|
name: b.string().optional().nullable(),
|
|
21
21
|
start: b.date().optional().nullable(),
|
|
22
22
|
end: b.date().optional().nullable()
|
|
23
23
|
});
|
|
24
|
-
const
|
|
24
|
+
const q = y({
|
|
25
25
|
name: "",
|
|
26
26
|
...ge()
|
|
27
27
|
}), l = y({
|
|
28
|
-
startDate: Z(
|
|
29
|
-
endDate: Z(
|
|
28
|
+
startDate: Z(q.value.start ?? /* @__PURE__ */ new Date()),
|
|
29
|
+
endDate: Z(q.value.end ?? /* @__PURE__ */ new Date())
|
|
30
30
|
});
|
|
31
31
|
ie([() => l.value.startDate], () => {
|
|
32
32
|
if (!l.value.startDate)
|
|
@@ -42,9 +42,9 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
|
|
|
42
42
|
}
|
|
43
43
|
a.updateDateRange(l.value.startDate, l.value.endDate);
|
|
44
44
|
});
|
|
45
|
-
const R = y(""), { breakpoints:
|
|
45
|
+
const R = y(""), { breakpoints: w } = ke(), S = d(() => w.value.xs || w.value.sm), te = d(() => S.value ? 10 : 20), ae = Se(), { t: T } = qe(), re = d(() => [
|
|
46
46
|
{
|
|
47
|
-
label:
|
|
47
|
+
label: T("inventory.common.refresh"),
|
|
48
48
|
value: "refresh"
|
|
49
49
|
}
|
|
50
50
|
]);
|
|
@@ -102,10 +102,10 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
|
|
|
102
102
|
}), m = y(null), oe = d(() => {
|
|
103
103
|
if (!m.value)
|
|
104
104
|
return a.purchaseRequests.value;
|
|
105
|
-
const u =
|
|
105
|
+
const u = we.build(m.value);
|
|
106
106
|
return a.purchaseRequests.value.filter((s) => {
|
|
107
107
|
var e, r, t, o, p;
|
|
108
|
-
return
|
|
108
|
+
return Te(
|
|
109
109
|
{
|
|
110
110
|
netsuiteTransactionNumber: (r = (e = s.netSuite) == null ? void 0 : e.additionalInfo) == null ? void 0 : r.transactionnumber,
|
|
111
111
|
netsuiteOrderNo: (t = s.netSuite) == null ? void 0 : t.refNo,
|
|
@@ -119,11 +119,11 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
|
|
|
119
119
|
return (u, s) => {
|
|
120
120
|
const e = ce("FmTable");
|
|
121
121
|
return x(), X(xe, {
|
|
122
|
-
title: n(
|
|
122
|
+
title: n(T)("inventory.transfer.approval.title"),
|
|
123
123
|
actions: re.value,
|
|
124
124
|
"onClick:action": se
|
|
125
125
|
}, {
|
|
126
|
-
default:
|
|
126
|
+
default: P(() => {
|
|
127
127
|
var r;
|
|
128
128
|
return [
|
|
129
129
|
c("div", {
|
|
@@ -160,19 +160,19 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
|
|
|
160
160
|
)),
|
|
161
161
|
"page-size": te.value
|
|
162
162
|
}, {
|
|
163
|
-
"list-row":
|
|
164
|
-
i(
|
|
163
|
+
"list-row": P((t) => [
|
|
164
|
+
i(Pe, {
|
|
165
165
|
row: t,
|
|
166
166
|
onRowClick: (o) => n(a).promptShowTransferDetails(o.purchaseOrder, o)
|
|
167
167
|
}, {
|
|
168
|
-
default:
|
|
169
|
-
var p,
|
|
168
|
+
default: P((o) => {
|
|
169
|
+
var p, A, C, f, N, M, V, F, v, L, z, h, $, _, E, Y, U, j, H, D, J, G, K, Q, g, W;
|
|
170
170
|
return [
|
|
171
|
-
c("div",
|
|
172
|
-
c("div",
|
|
171
|
+
c("div", Ce, [
|
|
172
|
+
c("div", Ne, [
|
|
173
173
|
i(n(O), {
|
|
174
|
-
render: (
|
|
175
|
-
props: (
|
|
174
|
+
render: (C = (A = (p = o.purchaseOrder__id) == null ? void 0 : p.column) == null ? void 0 : A.columnDef) == null ? void 0 : C.cell,
|
|
175
|
+
props: (N = (f = o.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : N.call(f)
|
|
176
176
|
}, null, 8, ["render", "props"])
|
|
177
177
|
]),
|
|
178
178
|
c("div", Me, [
|
|
@@ -182,15 +182,15 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
|
|
|
182
182
|
}, null, 8, ["render", "props"])
|
|
183
183
|
]),
|
|
184
184
|
c("div", Ve, me((E = (_ = ($ = (h = (z = t.original.purchaseOrder) == null ? void 0 : z.items) == null ? void 0 : h.map) == null ? void 0 : $.call(h, (le) => `${le.name}`)) == null ? void 0 : _.join) == null ? void 0 : E.call(_, ", ")), 1),
|
|
185
|
-
(
|
|
185
|
+
(Y = t.original.purchaseOrder) != null && Y.ref ? (x(), fe("div", Fe, [
|
|
186
186
|
i(n(O), {
|
|
187
|
-
render: (
|
|
188
|
-
props: (
|
|
187
|
+
render: (H = (j = (U = o.purchaseOrder_ref) == null ? void 0 : U.column) == null ? void 0 : j.columnDef) == null ? void 0 : H.cell,
|
|
188
|
+
props: (J = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : J.call(D)
|
|
189
189
|
}, null, 8, ["render", "props"])
|
|
190
190
|
])) : ve("", !0),
|
|
191
191
|
c("div", Le, [
|
|
192
192
|
i(n(O), {
|
|
193
|
-
render: (Q = (K = (
|
|
193
|
+
render: (Q = (K = (G = o.purchaseOrder_status) == null ? void 0 : G.column) == null ? void 0 : K.columnDef) == null ? void 0 : Q.cell,
|
|
194
194
|
props: (W = (g = o.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : W.call(g)
|
|
195
195
|
}, null, 8, ["render", "props"])
|
|
196
196
|
])
|
|
@@ -205,7 +205,7 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
|
|
|
205
205
|
], 2),
|
|
206
206
|
(x(), X(he, { to: "body" }, [
|
|
207
207
|
i(Re, _e({
|
|
208
|
-
scope: n(
|
|
208
|
+
scope: n(k).APPROVAL
|
|
209
209
|
}, {
|
|
210
210
|
...n(a).transferDetailsProps.value,
|
|
211
211
|
receivedMap: ((r = n(a).transferDetailsProps.value) == null ? void 0 : r.receivedMap) ?? {},
|
|
@@ -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 P } from "vue";
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as L, ai as S } from "./app-
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-jXzjJ0Kk.js";
|
|
3
|
+
import { a as L, ai as S } from "./app-DavdITF-.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 { a as M } from "./FmMultiselectDialog-
|
|
3
|
-
import { a as x, ai as z } from "./app-
|
|
2
|
+
import { a as M } from "./FmMultiselectDialog-NSDOnWEh.js";
|
|
3
|
+
import { a as x, ai as z } from "./app-DavdITF-.js";
|
|
4
4
|
const F = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex flex-col gap-16"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
|
|
2
|
-
import { F as b, a as P, ai as R } from "./app-
|
|
3
|
-
import "./dayjs.min-
|
|
2
|
+
import { F as b, a as P, ai as R } from "./app-DavdITF-.js";
|
|
3
|
+
import "./dayjs.min-BlY4XBqj.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import "@feedmepos/mf-common";
|
|
7
|
-
import "./app-
|
|
8
|
-
import "./lodash-
|
|
7
|
+
import "./app-DiX-EfV6.js";
|
|
8
|
+
import "./lodash-CBzRp2rs.js";
|
|
9
9
|
const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { 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" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
|
|
10
10
|
__name: "binding-ui",
|
|
11
11
|
props: {
|
|
@@ -2,19 +2,20 @@ import { defineComponent as Te, ref as q, computed as V, onMounted as Xe, resolv
|
|
|
2
2
|
import { F as Ze, u as Nt, _ as Et } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
3
|
import { useCoreStore as ht, useI18n as kt } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as et, useDialog as zt, components as be, useProxiedModel as Ht, useBreakpoints as Ot } from "@feedmepos/ui-library";
|
|
5
|
-
import { o as Kt, u as Ye, I as W, s as H, J as _t, K as he, A as Ee, v as ze, c as Yt, a as xt } from "./app-
|
|
5
|
+
import { o as Kt, u as Ye, I as W, s as H, J as _t, K as he, A as Ee, v as ze, c as Yt, a as xt } from "./app-DavdITF-.js";
|
|
6
6
|
import { defineStore as Dt, storeToRefs as Qt } from "pinia";
|
|
7
|
-
import { d as Oe, e as At, f as qt, a as De } from "./date2-
|
|
8
|
-
import { R as Gt, f as tt, a as Je, t as Wt, d as Be, o as wt, p as St, m as Ft, l as Zt } from "./rules-
|
|
9
|
-
import { b as Jt, d as Xt } from "./xlsx.util-
|
|
10
|
-
import { u as Ct } from "./stock-
|
|
11
|
-
import { u as at } from "./stock-
|
|
7
|
+
import { d as Oe, e as At, f as qt, a as De } from "./date2-8GI9HBWH.js";
|
|
8
|
+
import { R as Gt, f as tt, a as Je, t as Wt, d as Be, o as wt, p as St, m as Ft, l as Zt } from "./rules-nrlXpIxl.js";
|
|
9
|
+
import { b as Jt, d as Xt } from "./xlsx.util-BCW4ouE2.js";
|
|
10
|
+
import { u as Ct } from "./stock-BOXAynI6.js";
|
|
11
|
+
import { u as at } from "./stock-BDzZUQ12.js";
|
|
12
12
|
import { D as yt, R as Fe } from "./row-action.enum-BcW_L_nE.js";
|
|
13
|
-
import { c as ea
|
|
14
|
-
import { f as
|
|
15
|
-
import { _ as
|
|
16
|
-
import { E as
|
|
17
|
-
import { u as
|
|
13
|
+
import { c as ea } from "./component-DpCUABT3.js";
|
|
14
|
+
import { f as ta } from "./format-time-from-id-BGWQ_4he.js";
|
|
15
|
+
import { _ as aa } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B746F-IR.js";
|
|
16
|
+
import { E as na } from "./empty-placeholder-wf6-BWE8.js";
|
|
17
|
+
import { u as oa } from "./vue-i18n-DQB_dR_X.js";
|
|
18
|
+
import { _ as sa, F as Le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
18
19
|
const Qe = Kt((c, o) => {
|
|
19
20
|
function e() {
|
|
20
21
|
return Ye().currentLocation.dbName;
|
|
@@ -784,7 +785,7 @@ const Da = Dt(
|
|
|
784
785
|
accessorKey: "_id",
|
|
785
786
|
header: () => o("inventory.closing.table.createdAt"),
|
|
786
787
|
cell(s) {
|
|
787
|
-
return
|
|
788
|
+
return ta(`${s.getValue()}`);
|
|
788
789
|
},
|
|
789
790
|
enableSorting: !0
|
|
790
791
|
},
|
|
@@ -957,7 +958,7 @@ const Da = Dt(
|
|
|
957
958
|
},
|
|
958
959
|
emits: ["update:show", "refresh", "approve"],
|
|
959
960
|
setup(c, { emit: o }) {
|
|
960
|
-
const { FmStepper: e, FmStep: d, FmDialog: h, FmButton: g } = be, { t: f } =
|
|
961
|
+
const { FmStepper: e, FmStep: d, FmDialog: h, FmButton: g } = be, { t: f } = oa(), M = xt(), U = c, R = o, _ = V(
|
|
961
962
|
() => {
|
|
962
963
|
var A, D;
|
|
963
964
|
return ((A = U.draft) == null ? void 0 : A.stockSnapshot) && ((D = U.draft) == null ? void 0 : D.stockSnapshot) !== void 0;
|
|
@@ -2265,7 +2266,7 @@ const Da = Dt(
|
|
|
2265
2266
|
k(me),
|
|
2266
2267
|
n("div", null, [
|
|
2267
2268
|
n("img", {
|
|
2268
|
-
src: v(
|
|
2269
|
+
src: v(na),
|
|
2269
2270
|
alt: "List is empty"
|
|
2270
2271
|
}, null, 8, sn)
|
|
2271
2272
|
]),
|
|
@@ -2292,7 +2293,7 @@ const Da = Dt(
|
|
|
2292
2293
|
], 64);
|
|
2293
2294
|
};
|
|
2294
2295
|
}
|
|
2295
|
-
}), wn = { class: "flex-1 flex flex-col gap-8" }, Sn = { class: "flex flex-col" }, Fn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Cn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, $n = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Bn = { class: "fm-typo-en-body-lg-400 line-clamp-2" },
|
|
2296
|
+
}), wn = { class: "flex-1 flex flex-col gap-8" }, Sn = { class: "flex flex-col" }, Fn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Cn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, $n = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Bn = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, Zn = /* @__PURE__ */ Te({
|
|
2296
2297
|
__name: "ClosingDraftView",
|
|
2297
2298
|
setup(c) {
|
|
2298
2299
|
const { t: o } = kt(), { viewDraft: e } = Ke(), { viewClosingDraftProps: d, viewClosingDraftShow: h } = Qt(Ke()), g = Ye(), f = Da(), M = Nt(), { breakpoints: U } = Ot();
|
|
@@ -2338,7 +2339,7 @@ const Da = Dt(
|
|
|
2338
2339
|
}
|
|
2339
2340
|
])
|
|
2340
2341
|
}, [
|
|
2341
|
-
k(
|
|
2342
|
+
k(aa, {
|
|
2342
2343
|
"change-location": "",
|
|
2343
2344
|
searchable: "",
|
|
2344
2345
|
search: _.value,
|
|
@@ -2354,7 +2355,7 @@ const Da = Dt(
|
|
|
2354
2355
|
"page-size": j.value
|
|
2355
2356
|
}, {
|
|
2356
2357
|
"list-row": Y((y) => [
|
|
2357
|
-
k(
|
|
2358
|
+
k(sa, {
|
|
2358
2359
|
row: y,
|
|
2359
2360
|
onRowClick: (l) => v(e)(l)
|
|
2360
2361
|
}, {
|
|
@@ -2417,5 +2418,5 @@ const Da = Dt(
|
|
|
2417
2418
|
}
|
|
2418
2419
|
});
|
|
2419
2420
|
export {
|
|
2420
|
-
|
|
2421
|
+
Zn as default
|
|
2421
2422
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as G, ref as v, computed as D, watch as se, resolveComponent as S, openBlock as i, createElementBlock as f, createVNode as g, withModifiers as ie, withCtx as B, createElementVNode as n, toDisplayString as s, unref as a, Fragment as E, createTextVNode as N, createBlock as T, createCommentVNode as k, renderList as z, normalizeClass as ce, h as re, onMounted as de, Teleport as ue } from "vue";
|
|
2
2
|
import { F as me, _ as fe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
3
|
import { useI18n as J, useCoreStore as ve } from "@feedmepos/mf-common";
|
|
4
|
-
import { D as Q, A as V, u as ye } from "./app-
|
|
5
|
-
import { _ as pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as Q, A as V, u as ye } from "./app-DavdITF-.js";
|
|
5
|
+
import { _ as pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B746F-IR.js";
|
|
6
6
|
import { useSnackbar as W, useDialog as ge } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as _e } from "./stock-
|
|
7
|
+
import { u as _e } from "./stock-BDzZUQ12.js";
|
|
8
8
|
const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col gap-16" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col gap-8" }, De = { class: "fm-typo-en-body-md-600" }, we = { class: "flex flex-col gap-8" }, Se = { class: "fm-typo-en-body-md-600" }, Ve = { class: "flex items-center gap-8 mb-8" }, Ae = {
|
|
9
9
|
key: 2,
|
|
10
10
|
class: "text-red-500 text-sm mt-2"
|