@feedmepos/mf-inventory-portal 1.7.0-dev.0 → 1.7.0-dev.2
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-DaAOxELy.js → App-BJilVJ6h.js} +6 -6
- package/dist/{ApprovalView-CxJ79rW7.js → ApprovalView-BFIyc3SS.js} +15 -15
- package/dist/{BindingsDialog-CZhCQoLO.js → BindingsDialog-C1HM5tIJ.js} +3 -3
- package/dist/{BindingsPicker-BWRMxgYR.js → BindingsPicker-2mJvKG0k.js} +6 -6
- package/dist/{BindingsTable-fvBa1dHb.js → BindingsTable-D3au8Csm.js} +5 -5
- package/dist/{BulkReceiveRequestView-Bq7_r-qY.js → BulkReceiveRequestView-DGCRmzzH.js} +36 -36
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CKM48Ktp.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D937HMIP.js} +9 -9
- package/dist/{ClosingDraftView-DdMr571D.js → ClosingDraftView-ex1eBo9N.js} +31 -31
- package/dist/{ClosingHistoryView-BIpPvvzQ.js → ClosingHistoryView-v2bOWHYJ.js} +8 -8
- package/dist/{ClosingTemplateView-IlV4hRZ7.js → ClosingTemplateView-CHLcLd_s.js} +18 -18
- package/dist/{DefaultView-TKUUG9_5.js → DefaultView-DlF-ZqYm.js} +4 -4
- package/dist/{DeliveryOrderPrintPreview-DTjC7-Op.js → DeliveryOrderPrintPreview-DsEYc7I7.js} +19 -19
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DeFiuGtR.js → EmailDialog.vue_vue_type_script_setup_true_lang-3yiwiUFW.js} +9313 -9301
- package/dist/{FmAdminBadge-DjnBAgyv.js → FmAdminBadge-DlplQOHb.js} +6 -6
- package/dist/{FmConfirmationButton.vue_vue_type_script_setup_true_lang-DLrMEGFR.js → FmConfirmationButton.vue_vue_type_script_setup_true_lang-Vg8U7WMZ.js} +5 -5
- package/dist/{FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js → FmCustomAttribute.vue_vue_type_script_setup_true_lang-CG1m-B2p.js} +6 -6
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-NtqJm53P.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D6KJIhNi.js} +3 -3
- package/dist/{FmDroppableField-J0xUsOTV.js → FmDroppableField-J0tG_U3w.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CzHFzHXg.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DVPdMDAf.js} +3 -3
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiMEAtPb.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DmcdM6Fz.js} +6 -6
- package/dist/{FmMultiselectDialog-D_4f9sXH.js → FmMultiselectDialog-BdWXuvmR.js} +1 -1
- package/dist/{FmMultiselectDialog-BdXOoS6z.js → FmMultiselectDialog-igkyqMtb.js} +4 -4
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D_MOm5kW.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BKZHxVbh.js} +9 -9
- package/dist/{ImportView-BnL6y68X.js → ImportView-BuWkEOOe.js} +11 -11
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-g-g6qaNU.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVRoTZJg.js} +5 -5
- package/dist/{IngredientGroupView-Du0iICme.js → IngredientGroupView-Cuy1-Poq.js} +9 -9
- package/dist/{IngredientsView-m2Rtn_F_.js → IngredientsView-Brp6bESK.js} +26 -26
- package/dist/{IntegrationExplorerView-J5BtpWN_.js → IntegrationExplorerView-_hzmZJ8r.js} +3897 -3898
- package/dist/{IntegrationView-BMQj8wg-.js → IntegrationView-CNg9vmQy.js} +18 -18
- package/dist/{InventoryBindingForm-D_KFXokV.js → InventoryBindingForm-C0idDplf.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-B7GjOoZh.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Duka71_1.js} +6 -6
- package/dist/{InventoryBindingSummary-9TWMG5bm.js → InventoryBindingSummary-UeTZqaed.js} +3 -3
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DYXtIoll.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CuPeixvo.js} +3 -3
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CGJ_uWzF.js → PremiumBadge.vue_vue_type_script_setup_true_lang-B2p6aGk3.js} +3 -3
- package/dist/{PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js → PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js} +2 -2
- package/dist/{ProductionView-CI07S6oW.js → ProductionView-DUBl0109.js} +9 -9
- package/dist/{PublishView-CWMdUnaY.js → PublishView-DCMY9XyK.js} +7 -7
- package/dist/{PurchaseOrderPrintPreview-B5XJcf8G.js → PurchaseOrderPrintPreview-CXGmmtS1.js} +17 -17
- package/dist/{ReceiveRequestView-st3jdG9W.js → ReceiveRequestView-iHlIjUjd.js} +19 -19
- package/dist/{RecipeView-D9ZVbmtm.js → RecipeView-fjgD8jQU.js} +23 -23
- package/dist/{SettingsView-CUS0aMbf.js → SettingsView-CL4-N_xx.js} +9 -9
- package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js} +2 -2
- package/dist/{StockView-Co4DOixF.js → StockView-gIhHMfMp.js} +27 -27
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Dt6XECIc.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-1ZKwSPHJ.js} +8 -8
- package/dist/{SupplierView-DXw6V-uS.js → SupplierView-KxEVuBPZ.js} +201 -205
- package/dist/{SurchargeView-C-Bg7UsR.js → SurchargeView-Cd7pbFt9.js} +11 -11
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-D6_M-pbk.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-B-OuEWRl.js} +4 -4
- package/dist/{TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js → TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js} +7 -7
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D7NrX7HR.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B4-8JOtV.js} +4 -4
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang--gKHVU0B.js +4607 -0
- package/dist/{TransferTemplateView-CP7ia82t.js → TransferTemplateView-DfJ4A3hN.js} +24 -24
- package/dist/{UnitCostHistoryView-xe5q6105.js → UnitCostHistoryView-43d2wfCn.js} +8 -8
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-_Eax2wkO.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-Du7-c6nt.js} +9 -9
- package/dist/{UnitView-1e6MQ-Vu.js → UnitView-BF33MXY_.js} +11 -11
- package/dist/{WarehouseView-DXB6Ygwb.js → WarehouseView-CDwyNo0S.js} +9 -9
- package/dist/{WastageTemplateView-CWGNtaZJ.js → WastageTemplateView-CMNT3MWM.js} +18 -18
- package/dist/{app-DXqwG4b3.js → app-BB7awVIO.js} +6920 -6786
- package/dist/{app-DiX-EfV6.js → app-C39bYJmq.js} +283 -283
- package/dist/app.js +1 -1
- package/dist/{closing-template-CCY6fg4v.js → closing-template-BjZWpNvD.js} +1 -1
- package/dist/{date2-BWfUJajP.js → date2-CEoGS9UZ.js} +1 -1
- package/dist/{dayjs.min-BqAOh_2L.js → dayjs.min-BVhDPC6x.js} +3 -3
- package/dist/{decimal-DmkQg2_J.js → decimal-DfbkUdYf.js} +2 -2
- package/dist/{defineDeepModel-D9smHIGg.js → defineDeepModel-DUgtruT9.js} +1 -1
- package/dist/{duplicate-template-Ebdaehmw.js → duplicate-template-CZJdIDFH.js} +1 -1
- package/dist/{feature-CD2ndvWN.js → feature-DBMkQQTb.js} +209 -206
- package/dist/{format-time-from-id-BtUh8UMO.js → format-time-from-id-DkU2ePWj.js} +1 -1
- package/dist/{format-unit-display-DLoTr1Hz.js → format-unit-display-BgQ-6M12.js} +24 -25
- package/dist/{import-export.helper-DYgr7Lvo.js → import-export.helper-BtWxCT6b.js} +6 -6
- package/dist/{index-CnuWmvgF.js → index-BAxOInk9.js} +1 -1
- package/dist/{index-z_cku6cd.js → index-BWQ8NB8N.js} +11 -15
- package/dist/{index-DmdqVO9N.js → index-Cloa6kzu.js} +3 -3
- package/dist/{inventory-core-dart.default-CEnDozvp.js → inventory-core-dart.default-DaFglZqk.js} +4049 -1741
- package/dist/{jszip.min-DKMvkIMM.js → jszip.min-Z2D3xvD5.js} +6 -6
- package/dist/{lz-string-BH6J5xxX.js → lz-string-DnBkKC8g.js} +33 -34
- package/dist/{menu-usage-module-D7cxkbEk.js → menu-usage-module-BdjYEk3s.js} +5 -5
- package/dist/{netsuite-kR1AFzO9.js → netsuite-D36Elkhq.js} +145 -145
- package/dist/{number-CRrcUtSg.js → number-BSIHQzsE.js} +3 -3
- package/dist/{predefined-templates-DbAHazbJ.js → predefined-templates-C-kyAGru.js} +4 -13
- package/dist/{purchase-order-template-DoEJEwqG.js → purchase-order-template-RYyeW23k.js} +1 -1
- package/dist/{recalculationUtils-hk2PE0q1.js → recalculationUtils-BjZoDT6Q.js} +1 -1
- package/dist/{rules-BPXgi6ZE.js → rules-DOAV9M_O.js} +2 -2
- package/dist/{stock-qAhTEKrH.js → stock-Benafybl.js} +1 -1
- package/dist/{stock-CJAv4fTu.js → stock-D0y6PGGf.js} +6 -6
- package/dist/stores/feature.d.ts +2 -0
- package/dist/{supplier-BvzIGpwW.js → supplier-DwlZEe13.js} +2 -2
- package/dist/{surcharge-BhLHJ3gK.js → surcharge-BtxMy1qW.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-B1s74P9M.js → uom-rules-B_xfjjcG.js} +1 -1
- package/dist/{use-ingredient-select-dialog-aAPbd5cS.js → use-ingredient-select-dialog-DyHBqVJY.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CTjQzuV7.js → use-inventory-binding-dialog-B5yt-QSn.js} +2 -2
- package/dist/{use-template-enabled-locations-Brw80-tj.js → use-template-enabled-locations-iUZkCklL.js} +2 -2
- package/dist/{use-transfer-locations-BF7CKYpr.js → use-transfer-locations-ysstFC-U.js} +2 -2
- package/dist/{useHrmPermission-Csjov-cy.js → useHrmPermission-DGarJPGU.js} +1 -1
- package/dist/{useNavigationMenu-D8BERWXB.js → useNavigationMenu-59ksBzue.js} +4 -4
- package/dist/{useSseClient-Cen-cw5C.js → useSseClient-CfHMj54d.js} +1 -1
- package/dist/views/receive-request/components/price-adjustment/PriceAdjustmentEditForm.vue.d.ts +19 -0
- package/dist/views/receive-request/components/price-adjustment/PriceAdjustmentEditor.vue.d.ts +18 -0
- package/dist/views/receive-request/components/price-adjustment/PriceAdjustmentList.vue.d.ts +33 -0
- package/dist/views/receive-request/components/price-adjustment/use-price-adjustment-form-controller.d.ts +9 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +10 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +20 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +120 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +140 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +100 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +20 -0
- package/dist/vue-i18n-1OYA26Pg.js +2351 -0
- package/dist/{xlsx.util-DxgWqaTd.js → xlsx.util-J9LqmOSi.js} +3712 -3722
- package/package.json +2 -2
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D9Fl_xAx.js +0 -4360
- package/dist/vue-i18n-lC_mdXT4.js +0 -2365
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, resolveComponent as i,
|
|
1
|
+
import { defineComponent as c, resolveComponent as i, createElementBlock as m, renderSlot as r, unref as p, openBlock as u, normalizeClass as s, createElementVNode as n, createVNode as f } from "vue";
|
|
2
2
|
import { useCoreStore as _ } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const v = { class: "fm-typo-en-body-sm-400 justify-center flex items-center w-full" }, y = /* @__PURE__ */ c({
|
|
@@ -12,16 +12,16 @@ const v = { class: "fm-typo-en-body-sm-400 justify-center flex items-center w-fu
|
|
|
12
12
|
return (o, g) => {
|
|
13
13
|
var t;
|
|
14
14
|
const l = i("FmIcon");
|
|
15
|
-
return (t =
|
|
15
|
+
return (t = p(d).sessionUser.value) != null && t.role.isAdmin ? (u(), m("div", {
|
|
16
16
|
key: 0,
|
|
17
|
-
class:
|
|
17
|
+
class: s([
|
|
18
18
|
"group gap-8 inline-flex items-center relative border-1 border-dashed rounded-md border-red-500 hover:border-opacity-30 transition-opacity",
|
|
19
19
|
{ "select-none": !e.selectable }
|
|
20
20
|
])
|
|
21
21
|
}, [
|
|
22
|
-
|
|
22
|
+
r(o.$slots, "default", {}, void 0, !0),
|
|
23
23
|
n("div", {
|
|
24
|
-
class:
|
|
24
|
+
class: s([
|
|
25
25
|
"fm-admin-badge",
|
|
26
26
|
"group-hover:opacity-20",
|
|
27
27
|
e.class,
|
|
@@ -39,7 +39,7 @@ const v = { class: "fm-typo-en-body-sm-400 justify-center flex items-center w-fu
|
|
|
39
39
|
})
|
|
40
40
|
])
|
|
41
41
|
], 2)
|
|
42
|
-
], 2)) :
|
|
42
|
+
], 2)) : r(o.$slots, "non-admin", { key: 1 }, void 0, !0);
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
}), F = /* @__PURE__ */ b(y, [["__scopeId", "data-v-309cdb5a"]]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, ref as b, resolveComponent as r,
|
|
1
|
+
import { defineComponent as g, ref as b, resolveComponent as r, createElementBlock as C, openBlock as y, createVNode as n, withCtx as i, renderSlot as B, createTextVNode as V, toDisplayString as s, createElementVNode as d } from "vue";
|
|
2
2
|
const _ = { class: "flex w-full" }, F = /* @__PURE__ */ g({
|
|
3
3
|
__name: "FmConfirmationButton",
|
|
4
4
|
props: {
|
|
@@ -16,7 +16,7 @@ const _ = { class: "flex w-full" }, F = /* @__PURE__ */ g({
|
|
|
16
16
|
}
|
|
17
17
|
return (p, e) => {
|
|
18
18
|
const t = r("FmButton"), v = r("FmDialog");
|
|
19
|
-
return
|
|
19
|
+
return y(), C("div", null, [
|
|
20
20
|
n(t, {
|
|
21
21
|
label: o.label,
|
|
22
22
|
loading: o.loading,
|
|
@@ -29,10 +29,10 @@ const _ = { class: "flex w-full" }, F = /* @__PURE__ */ g({
|
|
|
29
29
|
overlay: !0
|
|
30
30
|
}, {
|
|
31
31
|
"dialog-header": i(() => [
|
|
32
|
-
|
|
32
|
+
d("div", null, s(o.confirmTitle || "Confirm"), 1)
|
|
33
33
|
]),
|
|
34
34
|
"dialog-footer": i(() => [
|
|
35
|
-
|
|
35
|
+
d("div", _, [
|
|
36
36
|
n(t, {
|
|
37
37
|
label: "Cancel",
|
|
38
38
|
variant: "tertiary",
|
|
@@ -48,7 +48,7 @@ const _ = { class: "flex w-full" }, F = /* @__PURE__ */ g({
|
|
|
48
48
|
]),
|
|
49
49
|
default: i(() => [
|
|
50
50
|
B(p.$slots, "dialog-content", {}, () => [
|
|
51
|
-
V(
|
|
51
|
+
V(s(o.confirmMessage || "Are you sure you want to proceed?"), 1)
|
|
52
52
|
])
|
|
53
53
|
]),
|
|
54
54
|
_: 3
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, computed as a,
|
|
1
|
+
import { defineComponent as m, computed as a, createElementBlock as p, createCommentVNode as d, openBlock as c, createElementVNode as f, createVNode as v, unref as l, isRef as y } from "vue";
|
|
2
2
|
import { useProxiedModel as V } from "@feedmepos/ui-library";
|
|
3
3
|
import { useCoreStore as g, CustomAttributesForm as C } from "@feedmepos/mf-common";
|
|
4
4
|
const S = {
|
|
@@ -18,15 +18,15 @@ const S = {
|
|
|
18
18
|
(n) => String(n.entity) === String(r.entity)
|
|
19
19
|
)) || [];
|
|
20
20
|
});
|
|
21
|
-
return (t, e) => i.value.length ? (
|
|
22
|
-
e[1] || (e[1] =
|
|
23
|
-
|
|
21
|
+
return (t, e) => i.value.length ? (c(), p("div", S, [
|
|
22
|
+
e[1] || (e[1] = f("div", { class: "fm-typo-en-title-sm-600" }, "Custom attributes", -1)),
|
|
23
|
+
v(l(C), {
|
|
24
24
|
entity: t.entity,
|
|
25
25
|
modelValue: l(o),
|
|
26
|
-
"onUpdate:modelValue": e[0] || (e[0] = (n) =>
|
|
26
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => y(o) ? o.value = n : null),
|
|
27
27
|
"value-options": t.valueOptions
|
|
28
28
|
}, null, 8, ["entity", "modelValue", "value-options"])
|
|
29
|
-
])) :
|
|
29
|
+
])) : d("", !0);
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as D, ref as g, watch as f, computed as _, resolveComponent as s,
|
|
2
|
-
import { b as c } from "./date2-
|
|
1
|
+
import { defineComponent as D, ref as g, watch as f, computed as _, resolveComponent as s, createBlock as w, openBlock as h, withCtx as y, createElementVNode as l, createVNode as V, toDisplayString as v } from "vue";
|
|
2
|
+
import { b as c } from "./date2-CEoGS9UZ.js";
|
|
3
3
|
function k() {
|
|
4
4
|
const e = /* @__PURE__ */ new Date();
|
|
5
5
|
return e.setDate(e.getDate() - 15), {
|
|
@@ -33,7 +33,7 @@ const x = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[
|
|
|
33
33
|
});
|
|
34
34
|
return (a, o) => {
|
|
35
35
|
const m = s("FmIcon"), u = s("FmDateRangePicker");
|
|
36
|
-
return
|
|
36
|
+
return h(), w(u, {
|
|
37
37
|
"show-predefined-range": "",
|
|
38
38
|
modelValue: n.value,
|
|
39
39
|
"onUpdate:modelValue": o[0] || (o[0] = (p) => n.value = p),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as U, ref as d, computed as y, resolveComponent as k,
|
|
1
|
+
import { defineComponent as U, ref as d, computed as y, resolveComponent as k, createElementBlock as c, openBlock as s, createCommentVNode as S, renderSlot as u, createElementVNode as p, createBlock as C, normalizeClass as f, toDisplayString as F, unref as B } from "vue";
|
|
2
2
|
import { useI18n as W } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const G = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as g, mergeModels as I, useModel as z, computed as b, ref as _, resolveComponent as n,
|
|
2
|
-
import { z as u } from "./app-
|
|
3
|
-
import { F as T } from "./FmMultiselectDialog-
|
|
1
|
+
import { defineComponent as g, mergeModels as I, useModel as z, computed as b, ref as _, resolveComponent as n, createElementBlock as h, openBlock as o, normalizeStyle as B, createElementVNode as f, createVNode as N, withCtx as E, createBlock as s, createCommentVNode as F, Fragment as S, renderList as R, unref as r } from "vue";
|
|
2
|
+
import { z as u } from "./app-BB7awVIO.js";
|
|
3
|
+
import { F as T } from "./FmMultiselectDialog-igkyqMtb.js";
|
|
4
4
|
const q = { class: "overflow-y-auto h-full pb-8" }, L = /* @__PURE__ */ g({
|
|
5
5
|
__name: "FmFilterableMenuOptions",
|
|
6
6
|
props: /* @__PURE__ */ I({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as V, mergeModels as F, computed as M, useModel as f, resolveComponent as b,
|
|
1
|
+
import { defineComponent as V, mergeModels as F, computed as M, useModel as f, resolveComponent as b, createElementBlock as a, openBlock as l, unref as n, renderSlot as C, createElementVNode as p, normalizeClass as g, createCommentVNode as r, createBlock as s, withCtx as R, createVNode as U, Fragment as A, renderList as L } from "vue";
|
|
2
2
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
3
|
-
import { _ as I } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as N } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as I } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D937HMIP.js";
|
|
4
|
+
import { _ as N } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D6KJIhNi.js";
|
|
5
5
|
import { useBreakpoints as Q } from "@feedmepos/ui-library";
|
|
6
|
-
import { u as $ } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { D as k } from "./app-
|
|
8
|
-
import { F as D } from "./FmAdminBadge-
|
|
6
|
+
import { u as $ } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
7
|
+
import { D as k } from "./app-C39bYJmq.js";
|
|
8
|
+
import { F as D } from "./FmAdminBadge-DlplQOHb.js";
|
|
9
9
|
const E = { class: "flex-1 w-full flex items-center gap-4 xs:flex-col-reverse sm:flex-col-reverse" }, O = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "flex-1 xs:w-full sm:w-full"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineStore as p } from "pinia";
|
|
2
2
|
import { useDialog as y } from "@feedmepos/ui-library";
|
|
3
3
|
import { useI18n as v } from "@feedmepos/mf-common";
|
|
4
|
-
import { a } from "./FmMultiselectDialog-
|
|
4
|
+
import { a } from "./FmMultiselectDialog-igkyqMtb.js";
|
|
5
5
|
import { h as S } from "vue";
|
|
6
6
|
const w = p("inventoryMultiSelectDialog", () => {
|
|
7
7
|
const l = y(), { t: n } = v();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var He = Object.defineProperty;
|
|
2
2
|
var Pe = (F, i, l) => i in F ? He(F, i, { enumerable: !0, configurable: !0, writable: !0, value: l }) : F[i] = l;
|
|
3
3
|
var ve = (F, i, l) => Pe(F, typeof i != "symbol" ? i + "" : i, l);
|
|
4
|
-
import { defineComponent as ye, computed as x, ref as $, watch as ge,
|
|
4
|
+
import { defineComponent as ye, computed as x, ref as $, watch as ge, createElementBlock as f, openBlock as d, normalizeStyle as z, Fragment as V, renderList as O, createCommentVNode as D, renderSlot as ke, useSlots as Oe, onMounted as Ue, onUnmounted as Ee, reactive as ee, resolveComponent as T, createElementVNode as B, createVNode as k, createTextVNode as Ke, toDisplayString as P, unref as L, createSlots as je, withCtx as w, createBlock as I, resolveDynamicComponent as pe, normalizeClass as fe, withModifiers as Ne, Transition as ze } from "vue";
|
|
5
5
|
import { useDialogChild as Ge } from "@feedmepos/ui-library";
|
|
6
|
-
import { z as he } from "./app-
|
|
7
|
-
import { d as Je } from "./index-
|
|
6
|
+
import { z as he } from "./app-BB7awVIO.js";
|
|
7
|
+
import { d as Je } from "./index-BAxOInk9.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useI18n as Re } from "@feedmepos/mf-common";
|
|
10
|
-
import { P as We, J as be, D as Qe } from "./app-
|
|
10
|
+
import { P as We, J as be, D as Qe } from "./app-C39bYJmq.js";
|
|
11
11
|
import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const Ye = /* @__PURE__ */ ye({
|
|
13
13
|
__name: "VirtualScroll",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as ue, mergeModels as W, useModel as re, computed as f, ref as I, watch as H, onBeforeUnmount as me, inject as ce, resolveComponent as x,
|
|
2
|
-
import { l as he } from "./netsuite-
|
|
3
|
-
import { w as D } from "./app-
|
|
4
|
-
import { g as q, c as xe, a as b, t as Me, e as Z, m as ge, b as _e, u as Fe } from "./number-
|
|
5
|
-
import { I as R, a as Ae } from "./rules-
|
|
1
|
+
import { defineComponent as ue, mergeModels as W, useModel as re, computed as f, ref as I, watch as H, onBeforeUnmount as me, inject as ce, resolveComponent as x, createElementBlock as y, openBlock as c, createElementVNode as u, createVNode as M, createCommentVNode as A, withCtx as _, renderSlot as G, withDirectives as de, normalizeClass as j, toDisplayString as h, vModelText as pe, createBlock as U, Fragment as fe, renderList as ve, createSlots as be, createTextVNode as ye } from "vue";
|
|
2
|
+
import { l as he } from "./netsuite-D36Elkhq.js";
|
|
3
|
+
import { w as D } from "./app-BB7awVIO.js";
|
|
4
|
+
import { g as q, c as xe, a as b, t as Me, e as Z, m as ge, b as _e, u as Fe } from "./number-BSIHQzsE.js";
|
|
5
|
+
import { I as R, a as Ae } from "./rules-DOAV9M_O.js";
|
|
6
6
|
import "@feedmepos/ui-library";
|
|
7
|
-
import { u as ke, a as Be } from "./uom-rules-
|
|
7
|
+
import { u as ke, a as Be } from "./uom-rules-B_xfjjcG.js";
|
|
8
8
|
function J() {
|
|
9
9
|
return {
|
|
10
10
|
amount: D.reset()
|
|
@@ -277,7 +277,7 @@ const Pe = { class: "flex flex-col" }, Ie = { class: "flex flex-col" }, Ue = { c
|
|
|
277
277
|
}, [
|
|
278
278
|
M(g, { "z-index": 51 }, {
|
|
279
279
|
content: _(() => [
|
|
280
|
-
|
|
280
|
+
ye(h($.value), 1)
|
|
281
281
|
]),
|
|
282
282
|
default: _(() => [
|
|
283
283
|
e.disableUnit ? (c(), y("div", Se, [
|
|
@@ -307,13 +307,13 @@ const Pe = { class: "flex flex-col" }, Ie = { class: "flex flex-col" }, Ue = { c
|
|
|
307
307
|
]),
|
|
308
308
|
default: _(() => [
|
|
309
309
|
u("div", Te, [
|
|
310
|
-
(c(!0), y(
|
|
310
|
+
(c(!0), y(fe, null, ve(oe.value, (m) => (c(), U(l, {
|
|
311
311
|
key: m.value ?? void 0,
|
|
312
312
|
label: m.label,
|
|
313
313
|
icon: m.isBaseUnit ? void 0 : "square_foot",
|
|
314
314
|
"model-value": m.value == N.value,
|
|
315
315
|
onClick: (P) => N.value = m.value
|
|
316
|
-
},
|
|
316
|
+
}, be({ _: 2 }, [
|
|
317
317
|
m.conversionLabel ? {
|
|
318
318
|
name: "label",
|
|
319
319
|
fn: _(() => [
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as De, ref as F, computed as J, watch as ze, resolveComponent as Y,
|
|
2
|
-
import { u as Ve, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as De, ref as F, computed as J, watch as ze, resolveComponent as Y, createElementBlock as D, openBlock as N, createVNode as A, createCommentVNode as Z, unref as i, normalizeClass as ce, createSlots as Ke, withCtx as Q, createElementVNode as n, createBlock as se, toDisplayString as a, Fragment as Be, renderList as Pe, shallowRef as $e, h as Ie, createTextVNode as k } from "vue";
|
|
2
|
+
import { u as Ve, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
3
|
import { useCoreStore as Re, useI18n as je } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as We, useSnackbar as Oe, useDialog as Le, useBreakpoints as Je } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as Xe } from "./feature-
|
|
6
|
-
import { a as ie } from "./app-
|
|
7
|
-
import "./dayjs.min-
|
|
8
|
-
import "./app-
|
|
9
|
-
import "./FmAdminBadge-
|
|
10
|
-
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-
|
|
11
|
-
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-
|
|
5
|
+
import { u as Xe } from "./feature-DBMkQQTb.js";
|
|
6
|
+
import { a as ie } from "./app-BB7awVIO.js";
|
|
7
|
+
import "./dayjs.min-BVhDPC6x.js";
|
|
8
|
+
import "./app-C39bYJmq.js";
|
|
9
|
+
import "./FmAdminBadge-DlplQOHb.js";
|
|
10
|
+
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-J9LqmOSi.js";
|
|
11
|
+
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-BtWxCT6b.js";
|
|
12
12
|
import { r as nt } from "./random-CSbEbElR.js";
|
|
13
|
-
import { c as Ae, a as pe } from "./number-
|
|
14
|
-
import { F as ot } from "./FmDroppableField-
|
|
13
|
+
import { c as Ae, a as pe } from "./number-BSIHQzsE.js";
|
|
14
|
+
import { F as ot } from "./FmDroppableField-J0tG_U3w.js";
|
|
15
15
|
function Ee() {
|
|
16
16
|
return `measurement_${(/* @__PURE__ */ new Date()).toISOString()}_${nt()}`;
|
|
17
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as p,
|
|
2
|
-
import { a, e as y } from "./number-
|
|
1
|
+
import { defineComponent as p, createElementBlock as s, openBlock as n, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
|
|
2
|
+
import { a, e as y } from "./number-BSIHQzsE.js";
|
|
3
3
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
4
4
|
const v = { class: "flex flex-col" }, g = { 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" }, h = { class: "flex-1 py-8 px-16" }, b = {
|
|
5
5
|
class: "flex-0 py-8 px-16",
|
|
@@ -31,17 +31,17 @@ const v = { class: "flex flex-col" }, g = { class: "flex flex-row fm-typo-en-bod
|
|
|
31
31
|
function f(e) {
|
|
32
32
|
return e.unit !== void 0;
|
|
33
33
|
}
|
|
34
|
-
return (e, i) => (
|
|
34
|
+
return (e, i) => (n(), s("div", v, [
|
|
35
35
|
r("div", g, [
|
|
36
36
|
r("div", h, o(e.name), 1),
|
|
37
37
|
r("div", b, o(l(m)("inventory.ingredient.bindedItems.amount")), 1)
|
|
38
38
|
]),
|
|
39
|
-
(
|
|
39
|
+
(n(!0), s(d, null, x(e.bindings, (t) => (n(), s("div", {
|
|
40
40
|
key: t.id,
|
|
41
41
|
class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
|
|
42
42
|
}, [
|
|
43
43
|
r("div", k, o(t.name), 1),
|
|
44
|
-
f(t) ? (
|
|
44
|
+
f(t) ? (n(), s("div", B, o(c(t, t.unit)), 1)) : (n(), s("div", I, o(l(a)(t.amount, !1)), 1))
|
|
45
45
|
]))), 128))
|
|
46
46
|
]));
|
|
47
47
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R,
|
|
2
|
-
import { a as L, c as P, i as oe, u as Re } from "./app-
|
|
1
|
+
import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R, createElementBlock as B, openBlock as F, createVNode as b, createElementVNode as c, unref as i, toDisplayString as $, createBlock as M, withCtx as T, Fragment as pe, renderList as ve, createTextVNode as ye, createCommentVNode as se, isRef as ge, normalizeClass as _e, normalizeStyle as be, createSlots as ke, Teleport as xe, normalizeProps as he, guardReactiveProps as we } from "vue";
|
|
2
|
+
import { a as L, c as P, i as oe, u as Re } from "./app-BB7awVIO.js";
|
|
3
3
|
import { useDialog as Ie, useSnackbar as Y, components as U, useProxiedModel as Se, useBreakpoints as Fe } from "@feedmepos/ui-library";
|
|
4
4
|
import { F as S } from "./form-mode.enum-BKiNVH6A.js";
|
|
5
5
|
import { useI18n as z, useCoreStore as Ge } from "@feedmepos/mf-common";
|
|
6
6
|
import { defineStore as ue, storeToRefs as ae } from "pinia";
|
|
7
7
|
import { D as ie, R as K } from "./row-action.enum-DQ9bJ_uv.js";
|
|
8
8
|
import { c as Ve } from "./component-kqxARxvM.js";
|
|
9
|
-
import { u as Ce, _ as De } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as Ae, F as le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { d as de } from "./defineDeepModel-
|
|
13
|
-
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-
|
|
14
|
-
import { L as Ue, P as Be, D as Pe } from "./app-
|
|
15
|
-
import { u as Le } from "./FmMultiselectDialog-
|
|
9
|
+
import { u as Ce, _ as De } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
10
|
+
import { _ as Ae, F as le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
11
|
+
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DmcdM6Fz.js";
|
|
12
|
+
import { d as de } from "./defineDeepModel-DUgtruT9.js";
|
|
13
|
+
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-DOAV9M_O.js";
|
|
14
|
+
import { L as Ue, P as Be, D as Pe } from "./app-C39bYJmq.js";
|
|
15
|
+
import { u as Le } from "./FmMultiselectDialog-BdWXuvmR.js";
|
|
16
16
|
import { r as me } from "./random-CSbEbElR.js";
|
|
17
17
|
import { u as ze, R as Ne } from "./usePromise-CbVUCxhj.js";
|
|
18
18
|
const H = ue(
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { ref as P, defineComponent as pe, computed as h, resolveComponent as T,
|
|
2
|
-
import { a as Ae, c as wt, S as jt, g as ct, d as pt, e as Wt, f as vt, h as ft, i as yt, j as gt, u as qt, k as Ht } from "./app-
|
|
1
|
+
import { ref as P, defineComponent as pe, computed as h, resolveComponent as T, createElementBlock as w, openBlock as c, Fragment as ee, createCommentVNode as z, createVNode as s, unref as l, withModifiers as Bt, withCtx as g, createElementVNode as n, renderList as de, createBlock as O, toDisplayString as A, normalizeClass as ne, h as X, renderSlot as Te, createSlots as Ge, createTextVNode as Je, mergeModels as dt, onMounted as Ot, watch as Tt, useModel as Dt, isRef as ut, normalizeStyle as Nt, Teleport as mt, normalizeProps as zt, guardReactiveProps as Lt } from "vue";
|
|
2
|
+
import { a as Ae, c as wt, S as jt, g as ct, d as pt, e as Wt, f as vt, h as ft, i as yt, j as gt, u as qt, k as Ht } from "./app-BB7awVIO.js";
|
|
3
3
|
import { useDialog as Ze, useSnackbar as $e, components as Le, useProxiedModel as bt, useDialogChild as Yt, useBreakpoints as Kt } from "@feedmepos/ui-library";
|
|
4
|
-
import { i as Gt, _ as Jt, m as Zt } from "./menu-usage-module-
|
|
4
|
+
import { i as Gt, _ as Jt, m as Zt } from "./menu-usage-module-BdjYEk3s.js";
|
|
5
5
|
import { F as q } from "./form-mode.enum-BKiNVH6A.js";
|
|
6
6
|
import { useI18n as ve, useCoreStore as Qe } from "@feedmepos/mf-common";
|
|
7
7
|
import { defineStore as Qt, storeToRefs as Xt } from "pinia";
|
|
8
8
|
import { D as ht, R as Re } from "./row-action.enum-DQ9bJ_uv.js";
|
|
9
9
|
import { c as en } from "./component-kqxARxvM.js";
|
|
10
|
-
import { u as Ee, _ as tn } from "./netsuite-
|
|
11
|
-
import { F as De } from "./FmAdminBadge-
|
|
12
|
-
import { u as nn, _ as ln } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { A as Oe, R as je, U as on, M as an } from "./rules-
|
|
14
|
-
import { g as sn, _ as We, S as qe, a as rn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as dn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { _ as He } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as Vt } from "./feature-
|
|
18
|
-
import {
|
|
19
|
-
import { _ as ke } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-
|
|
20
|
-
import { d as Be, g as pn, e as vn, a as fn } from "./import-export.helper-
|
|
21
|
-
import { _ as yn } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import { F as gn, a as Ye } from "./FmMultiselectDialog-
|
|
23
|
-
import { u as It } from "./purchase-order-template-
|
|
24
|
-
import { u as Ft, a as St } from "./closing-template-
|
|
25
|
-
import { _ as bn, F as _t } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-
|
|
26
|
-
import { r as hn } from "./xlsx.util-
|
|
27
|
-
import { F as _n } from "./FmDroppableField-
|
|
28
|
-
import { _ as xn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
29
|
-
import { u as kn } from "./FmMultiselectDialog-
|
|
30
|
-
import { P as Tn, J as wn } from "./app-
|
|
10
|
+
import { u as Ee, _ as tn } from "./netsuite-D36Elkhq.js";
|
|
11
|
+
import { F as De } from "./FmAdminBadge-DlplQOHb.js";
|
|
12
|
+
import { u as nn, _ as ln } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
13
|
+
import { A as Oe, R as je, U as on, M as an } from "./rules-DOAV9M_O.js";
|
|
14
|
+
import { g as sn, _ as We, S as qe, a as rn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-1ZKwSPHJ.js";
|
|
15
|
+
import { _ as dn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Duka71_1.js";
|
|
16
|
+
import { _ as He } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVRoTZJg.js";
|
|
17
|
+
import { u as Vt } from "./feature-DBMkQQTb.js";
|
|
18
|
+
import { t as un, a as mn, g as cn } from "./number-BSIHQzsE.js";
|
|
19
|
+
import { _ as ke } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js";
|
|
20
|
+
import { d as Be, g as pn, e as vn, a as fn } from "./import-export.helper-BtWxCT6b.js";
|
|
21
|
+
import { _ as yn } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-CG1m-B2p.js";
|
|
22
|
+
import { F as gn, a as Ye } from "./FmMultiselectDialog-igkyqMtb.js";
|
|
23
|
+
import { u as It } from "./purchase-order-template-RYyeW23k.js";
|
|
24
|
+
import { u as Ft, a as St } from "./closing-template-BjZWpNvD.js";
|
|
25
|
+
import { _ as bn, F as _t } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
26
|
+
import { r as hn } from "./xlsx.util-J9LqmOSi.js";
|
|
27
|
+
import { F as _n } from "./FmDroppableField-J0tG_U3w.js";
|
|
28
|
+
import { _ as xn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DmcdM6Fz.js";
|
|
29
|
+
import { u as kn } from "./FmMultiselectDialog-BdWXuvmR.js";
|
|
30
|
+
import { P as Tn, J as wn } from "./app-C39bYJmq.js";
|
|
31
31
|
const Ke = Qt("ingredientForm", function() {
|
|
32
32
|
const i = Ze(), k = $e(), d = Ae(), _ = P(!1), { t: F } = ve(), C = P();
|
|
33
33
|
function U() {
|
|
@@ -734,7 +734,7 @@ const Ln = /* @__PURE__ */ pe({
|
|
|
734
734
|
get() {
|
|
735
735
|
var t, x;
|
|
736
736
|
const e = (x = (t = o.modelValue) == null ? void 0 : t.defaultCost) == null ? void 0 : x.costPerUnit;
|
|
737
|
-
return e ? +
|
|
737
|
+
return e ? +mn(e) : 0;
|
|
738
738
|
},
|
|
739
739
|
set(e) {
|
|
740
740
|
var x, S, Y, N;
|
|
@@ -755,7 +755,7 @@ const Ln = /* @__PURE__ */ pe({
|
|
|
755
755
|
)
|
|
756
756
|
}), t.defaultCost.costPerUnit = {
|
|
757
757
|
...t.defaultCost.costPerUnit,
|
|
758
|
-
...
|
|
758
|
+
...un(+e, 4)
|
|
759
759
|
}, u("update:modelValue", t);
|
|
760
760
|
}
|
|
761
761
|
}), ge = h(() => {
|