@feedmepos/mf-inventory-portal 1.2.50 → 1.2.51-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-DssF0b6P.js → App-bY_YcLwH.js} +75 -70
- package/dist/{ApprovalView-DTCayLqE.js → ApprovalView-vzIiBqt2.js} +34 -34
- package/dist/{BindingsDialog-C2-THIG0.js → BindingsDialog-DCh2ORem.js} +2 -2
- package/dist/{BindingsPicker-Q9W92GzO.js → BindingsPicker-DcNG03p-.js} +2 -2
- package/dist/{BindingsTable-BQo8HpbF.js → BindingsTable-B_Yaq-z3.js} +4 -4
- package/dist/{ClosingDraftView-B0spMbZd.js → ClosingDraftView-C0T8cWEB.js} +19 -18
- package/dist/{ClosingHistoryView-DDVibMzL.js → ClosingHistoryView-DkKAjh7T.js} +27 -27
- package/dist/{ClosingTemplateView-BSiNTpkH.js → ClosingTemplateView-DpH1EyW5.js} +18 -17
- package/dist/{DeliveryOrderPrintPreview-P9JASYcM.js → DeliveryOrderPrintPreview-B2ecLaLu.js} +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CI4z5XYQ.js +188 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CaQq9jpc.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-kVpsL4cx.js} +12 -12
- package/dist/FmMultiselectDialog-BviFuAM5.js +618 -0
- package/dist/{FmMultiselectDialog-DKEGwdyz.js → FmMultiselectDialog-DGUwruxs.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-H5xYFc6B.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CRTG3VFo.js} +3 -3
- package/dist/{ImportView-CKg0Z3Bz.js → ImportView-Bk4Z7nGh.js} +7 -7
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-y1qeqeUV.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BEJ19Uej.js} +1 -1
- package/dist/{IngredientGroupView-DntDNlVX.js → IngredientGroupView-8GHMMOux.js} +108 -107
- package/dist/{IngredientsView-B93tavZW.js → IngredientsView-DbmODx-v.js} +126 -125
- package/dist/{IntegrationView-CqEe7SWR.js → IntegrationView-DC0O_Lk4.js} +80 -80
- package/dist/{InventoryBindingForm-9E3VsD4v.js → InventoryBindingForm-ln0q25n_.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dgy_eFxJ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CFgk9rSe.js} +21 -21
- package/dist/{InventoryBindingSummary-DTcoWk_n.js → InventoryBindingSummary-BlNXhS4v.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CIDw4WOz.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BY_mXqPr.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dao7XifY.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BhNjwE3X.js} +2 -2
- package/dist/{PublishView-GDJsOfeY.js → PublishView-5GkTzxbi.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DFeZT5Zi.js → PurchaseOrderPrintPreview-Dj5lJ5Ou.js} +1 -1
- package/dist/ReceiveRequestView-BAYczSpW.js +2913 -0
- package/dist/{RecipeView-DyJs2lsk.js → RecipeView-OLPRwnVx.js} +83 -82
- package/dist/{StockView-Cvwfcsf7.js → StockView-TcA5zJqr.js} +113 -112
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CMFiW6FL.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DZ6TDkKR.js} +1 -1
- package/dist/{SupplierView-C6rIxQOg.js → SupplierView-77qI9YCg.js} +28 -27
- package/dist/SurchargeView-CxW2ZZ8a.js +460 -0
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-6C5vAumx.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-_8YeihNH.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-Bc0MVyK_.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-ByPIjcED.js} +13 -13
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BSNIRZx3.js → TransferDetails.vue_vue_type_script_setup_true_lang-7BoFD5wV.js} +129 -129
- package/dist/{TransferTemplateView-BVRXLZGK.js → TransferTemplateView-CI0U36Tr.js} +82 -81
- package/dist/{UnitView-B9n1vDtN.js → UnitView-fNFFUNlb.js} +20 -19
- package/dist/{WarehouseView-oyEVpI9M.js → WarehouseView-BAXgnZnO.js} +21 -20
- package/dist/{WastageTemplateView-DCdR4fhu.js → WastageTemplateView-C5qCXWqZ.js} +165 -164
- package/dist/api/netsuite.d.ts +8 -0
- package/dist/api/surcharge.d.ts +31 -0
- package/dist/{app-_hCz0958.js → app-CddcvygU.js} +4513 -4410
- package/dist/app-DiX-EfV6.js +8167 -0
- package/dist/app.d.ts +52 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-y0kvKjaN.js → closing-template-DxdLqlb1.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-Ct3mwV73.js → date2-CVZy20Q_.js} +1 -1
- package/dist/{dayjs.min-iDh15Qvq.js → dayjs.min-NrRtjg32.js} +26 -26
- package/dist/{decimal-DliTT0vp.js → decimal-Du3Grkk9.js} +2 -2
- package/dist/{defineDeepModel-DmVg-VGa.js → defineDeepModel-DgRoiQBp.js} +1 -1
- package/dist/{duplicate-template-BO8LvPWq.js → duplicate-template-DvnZ4BW6.js} +1 -1
- package/dist/{feature-Dk3_0hiC.js → feature-CTA18HlL.js} +8947 -6212
- package/dist/{format-time-from-id-DOmxxVYQ.js → format-time-from-id-6kt1RMWs.js} +1 -1
- package/dist/{format-unit-display-BuliV6Fn.js → format-unit-display-mVJ-nuJe.js} +11 -11
- package/dist/{import-export.helper-DpWf4zh7.js → import-export.helper-DWwlJy7N.js} +5 -5
- package/dist/{index-CY6-px7W.js → index-BEcj1jGd.js} +3 -3
- package/dist/{index-C6nEuFpg.js → index-BfcdagSF.js} +1 -1
- package/dist/{index-BZ9fyZbO.js → index-By-jyWOP.js} +1 -1
- package/dist/{lodash-DDMf37Aw.js → lodash-D0COOw3m.js} +1 -1
- package/dist/netsuite-3LgQ5ztL.js +5402 -0
- package/dist/{purchase-order-template-C9GqlQL3.js → purchase-order-template-CJCmABzP.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-9-OxHCjJ.js → rules-hQBVd1Mn.js} +9 -9
- package/dist/{stock-CjJKvKsB.js → stock-4xGaezEy.js} +3 -3
- package/dist/{stock-D7gYQHth.js → stock-B6QW-S14.js} +1 -1
- package/dist/stores/feature.d.ts +4 -0
- 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-z1X1B4yZ.js → supplier-C-dmFnqw.js} +2 -2
- package/dist/surcharge-Db4IiSEQ.js +71 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-B4u8ttOK.js → use-ingredient-select-dialog-DgYSZDN8.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CaFu9DlH.js → use-inventory-binding-dialog-CnYcA_Fo.js} +2 -2
- package/dist/{use-template-enabled-locations-2-KQU0hLX3.js → use-template-enabled-locations-2-B_aZrMUU.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 +8 -1
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/surcharge/SurchargeView.vue.d.ts +2 -0
- package/dist/{vue-i18n-UG5lCeUG.js → vue-i18n-BCEDBY4T.js} +563 -563
- package/dist/{xlsx-INrtkMe5.js → xlsx-CJsXiiEq.js} +398 -398
- package/dist/{xlsx.util-OqI8IJfw.js → xlsx.util-CSudzOii.js} +1 -1
- package/package.json +5 -5
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DkvLYf5A.js +0 -231
- package/dist/FmMultiselectDialog-BgLyRNeD.js +0 -598
- package/dist/ReceiveRequestView-BvYpGKEB.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/cypress/component/receive-request/KDI-15-total-price-currency.cy.d.ts +0 -2
- package/dist/netsuite-CVg13Lx5.js +0 -5131
- package/dist/views/ingredients/helper/calculate-default-cost.d.ts +0 -9
- package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +0 -22
|
@@ -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 R, createElementBlock as A, unref as T, createVNode as I, 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-CddcvygU.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-CTA18HlL.js";
|
|
6
|
+
import { u as z } from "./netsuite-3LgQ5ztL.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() {
|
|
@@ -12,23 +12,23 @@ function q() {
|
|
|
12
12
|
isLoading: !1
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const g = B(q());
|
|
16
16
|
function J() {
|
|
17
17
|
const c = O();
|
|
18
|
-
if (!
|
|
19
|
-
|
|
20
|
-
const
|
|
21
|
-
|
|
18
|
+
if (!g.value.loadingHookInstalled) {
|
|
19
|
+
g.value.loadingHookInstalled = !0;
|
|
20
|
+
const a = c.beforeEach(() => {
|
|
21
|
+
g.value.isLoading = !0;
|
|
22
22
|
}), d = c.afterEach(() => {
|
|
23
|
-
|
|
23
|
+
g.value.isLoading = !1;
|
|
24
24
|
});
|
|
25
25
|
D(() => {
|
|
26
|
-
|
|
26
|
+
g.value.loadingHookInstalled = !1, a(), d();
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
30
30
|
get isLoading() {
|
|
31
|
-
return
|
|
31
|
+
return g.value.isLoading;
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
}
|
|
@@ -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
66
|
return R(), A("div", null, [
|
|
67
67
|
T(m).isLoading ? (R(), A("div", X, [
|
|
68
|
-
|
|
68
|
+
I(S),
|
|
69
69
|
v("div", null, [
|
|
70
|
-
|
|
70
|
+
I(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
|
+
I(S)
|
|
74
|
+
])) : L.value ? T(l).sessionUser.value ? (R(), F(n, { key: 2 })) : W("", !0) : (R(), 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
|
+
I(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
|
+
I(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,46 @@ 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
|
+
hide: !s.enableSurcharge
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
label: r(e.TRANSFER_TEMPLATE, t),
|
|
192
197
|
value: e.TRANSFER_TEMPLATE,
|
|
193
198
|
hide: !s.enablePoTemplate
|
|
194
199
|
}
|
|
195
200
|
]
|
|
196
201
|
},
|
|
197
202
|
{
|
|
198
|
-
label:
|
|
203
|
+
label: r(e.SUPPLIER, t),
|
|
199
204
|
// icon: 'group',
|
|
200
205
|
value: e.SUPPLIER
|
|
201
206
|
},
|
|
202
207
|
{
|
|
203
|
-
label:
|
|
208
|
+
label: r(e.WAREHOUSE, t),
|
|
204
209
|
// icon: 'warehouse',
|
|
205
210
|
value: e.WAREHOUSE
|
|
206
211
|
},
|
|
207
212
|
{
|
|
208
|
-
label:
|
|
213
|
+
label: r(e.PUBLISH, t),
|
|
209
214
|
value: e.PUBLISH
|
|
210
215
|
},
|
|
211
216
|
{
|
|
212
|
-
label:
|
|
217
|
+
label: r(e.IMPORT, t),
|
|
213
218
|
value: e.IMPORT,
|
|
214
219
|
hide: !s.enableBulkImport
|
|
215
220
|
},
|
|
216
221
|
{
|
|
217
|
-
label:
|
|
222
|
+
label: r(e.INTEGRATION, t),
|
|
218
223
|
// icon: 'integration_instructions',
|
|
219
224
|
value: e.INTEGRATION
|
|
220
225
|
}
|
|
@@ -243,50 +248,50 @@ const X = {
|
|
|
243
248
|
S.value = o, o || m.setItem(i.value, "true");
|
|
244
249
|
}
|
|
245
250
|
});
|
|
246
|
-
return
|
|
251
|
+
return C([() => i.value], () => {
|
|
247
252
|
S.value = !1, setTimeout(() => {
|
|
248
253
|
G.value = !m.getItem(i.value);
|
|
249
254
|
}, 2e3);
|
|
250
255
|
}), (o, n) => {
|
|
251
256
|
const f = y("FmCollapsibleTabs");
|
|
252
257
|
return R(), A("div", se, [
|
|
253
|
-
|
|
258
|
+
I(f, {
|
|
254
259
|
modelValue: u.value,
|
|
255
260
|
"onUpdate:modelValue": n[0] || (n[0] = (b) => u.value = b),
|
|
256
|
-
items:
|
|
261
|
+
items: L.value
|
|
257
262
|
}, null, 8, ["modelValue", "items"])
|
|
258
263
|
]);
|
|
259
264
|
};
|
|
260
265
|
}
|
|
261
266
|
});
|
|
262
267
|
typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
|
|
263
|
-
let c,
|
|
268
|
+
let c, a;
|
|
264
269
|
return { promise: new Promise((p, l) => {
|
|
265
|
-
c = p,
|
|
266
|
-
}), resolve: c, reject:
|
|
270
|
+
c = p, a = l;
|
|
271
|
+
}), resolve: c, reject: a };
|
|
267
272
|
});
|
|
268
273
|
typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(c) {
|
|
269
|
-
return await new Promise((
|
|
274
|
+
return await new Promise((a) => setTimeout(a, c)), Promise.resolve(this);
|
|
270
275
|
});
|
|
271
|
-
const
|
|
276
|
+
const _e = /* @__PURE__ */ U({
|
|
272
277
|
__name: "App",
|
|
273
278
|
setup(c) {
|
|
274
|
-
const
|
|
279
|
+
const a = w(), d = Y(), p = H();
|
|
275
280
|
M(() => {
|
|
276
281
|
if (window.location.href.includes("print-preview")) {
|
|
277
|
-
|
|
282
|
+
a.setEmbedded(!0), document.body.classList.add("print-mode");
|
|
278
283
|
return;
|
|
279
284
|
}
|
|
280
|
-
|
|
285
|
+
a.registerSidebarComponent(ie), d.initGoogleMap(p.appApi.googleMap).catch(() => {
|
|
281
286
|
console.error("Google map cannot be loaded");
|
|
282
287
|
});
|
|
283
|
-
}),
|
|
288
|
+
}), C([() => a.currentCountry.value], () => {
|
|
284
289
|
l();
|
|
285
290
|
});
|
|
286
291
|
async function l() {
|
|
287
292
|
var s;
|
|
288
293
|
try {
|
|
289
|
-
await
|
|
294
|
+
await a.readBusinesses(), a.currentBusiness.value = (s = a.businesses.value) == null ? void 0 : s.find((m) => m);
|
|
290
295
|
} catch (m) {
|
|
291
296
|
console.error("error when trying to reset businesses:", m);
|
|
292
297
|
}
|
|
@@ -295,5 +300,5 @@ const Ee = /* @__PURE__ */ w({
|
|
|
295
300
|
}
|
|
296
301
|
});
|
|
297
302
|
export {
|
|
298
|
-
|
|
303
|
+
_e as default
|
|
299
304
|
};
|
|
@@ -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-CddcvygU.js";
|
|
3
|
+
import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-kVpsL4cx.js";
|
|
4
|
+
import { u as be, P as k, a as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-7BoFD5wV.js";
|
|
5
|
+
import { d as Z } from "./date2-CVZy20Q_.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-3LgQ5ztL.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-CFgk9rSe.js";
|
|
3
|
+
import { a as L, ai as S } from "./app-CddcvygU.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-BviFuAM5.js";
|
|
3
|
+
import { a as x, ai as z } from "./app-CddcvygU.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-CddcvygU.js";
|
|
3
|
+
import "./dayjs.min-NrRtjg32.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-D0COOw3m.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,
|
|
5
|
+
import { o as Kt, u as Ye, J as W, w as H, s as _t, K as he, B as Ee, v as ze, c as Yt, a as xt } from "./app-CddcvygU.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-CVZy20Q_.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-hQBVd1Mn.js";
|
|
9
|
+
import { b as Jt, d as Xt } from "./xlsx.util-CSudzOii.js";
|
|
10
|
+
import { u as Ct } from "./stock-4xGaezEy.js";
|
|
11
|
+
import { u as at } from "./stock-B6QW-S14.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-6kt1RMWs.js";
|
|
15
|
+
import { _ as aa } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-kVpsL4cx.js";
|
|
16
|
+
import { E as na } from "./empty-placeholder-wf6-BWE8.js";
|
|
17
|
+
import { u as oa } from "./vue-i18n-BCEDBY4T.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
|
};
|