@feedmepos/mf-inventory-portal 1.2.64 → 1.2.66-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-apJIvz1w.js → App-BUNonuLz.js} +82 -78
- package/dist/{ApprovalView-CnT6gEI8.js → ApprovalView-BlS1tfbh.js} +6 -6
- package/dist/{BindingsDialog-DLEGDbV2.js → BindingsDialog-tRpsVTm0.js} +5 -5
- package/dist/{BindingsPicker-1Xt1vCu9.js → BindingsPicker-CUvkqcAG.js} +3 -3
- package/dist/{BindingsTable-_0cOM0Kx.js → BindingsTable-B86pWYMk.js} +5 -5
- package/dist/{ClosingDraftView-DsVPsN87.js → ClosingDraftView-gMVnQcWw.js} +226 -224
- package/dist/ClosingHistoryView-DhbE1pEl.js +1147 -0
- package/dist/{ClosingTemplateView-DB3F1wul.js → ClosingTemplateView-Ywbdj05y.js} +15 -15
- package/dist/{DeliveryOrderPrintPreview-CglCMgHc.js → DeliveryOrderPrintPreview-BPhVNc_r.js} +7 -7
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-MMPTJodu.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BrPh_Nvx.js} +16 -16
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CCID5O2Y.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CkUwLhut.js} +3 -3
- package/dist/{FmMultiselectDialog-B8xFmCsH.js → FmMultiselectDialog-C6E_KMFO.js} +1 -1
- package/dist/{FmMultiselectDialog-lQM1qEEW.js → FmMultiselectDialog-DBXpkw5b.js} +16 -16
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BLDz8wwK.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D-ZqJ8sU.js} +23 -22
- package/dist/{ImportView-DeC-MPFn.js → ImportView-DV1e51qk.js} +7 -7
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BGDZlmsr.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DkQL7hK2.js} +1 -1
- package/dist/{IngredientGroupView-CuFwQ8Bo.js → IngredientGroupView-CdXGO34J.js} +6 -6
- package/dist/{IngredientsView-CfloqEqn.js → IngredientsView-D2qffNiJ.js} +26 -25
- package/dist/{IntegrationView-CFU0yG6C.js → IntegrationView-RFJIHXQv.js} +19 -18
- package/dist/{InventoryBindingForm-i7eNurS2.js → InventoryBindingForm-CPn-IXgg.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-zOo9YVJe.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-0Vrih8D5.js} +17 -16
- package/dist/{InventoryBindingSummary-BbHLCdjj.js → InventoryBindingSummary-B_WUQ6By.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-NEPqmkHR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmDuR4Yb.js} +5 -5
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-DhIHSpzG.js +93 -0
- package/dist/{PublishView-CbwCLtph.js → PublishView-BtTSOUyL.js} +9 -9
- package/dist/{PurchaseOrderPrintPreview-DLhgjhHB.js → PurchaseOrderPrintPreview-CxhMPx5u.js} +11 -11
- package/dist/{ReceiveRequestView-CE2aQR-o.js → ReceiveRequestView-CsqEjf7r.js} +144 -142
- package/dist/RecipeView-DASoba97.js +1558 -0
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js +254 -0
- package/dist/StockView-B4Km4DgB.js +2395 -0
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D0BDdq4d.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cki-LAZR.js} +1 -1
- package/dist/{SupplierView-wSzWjZLY.js → SupplierView-CrzFvBIx.js} +21 -20
- package/dist/{SurchargeView-G8OyE60y.js → SurchargeView-BoNWpxFY.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CROQL761.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dcp5vZPM.js} +3 -3
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-IAknr-ye.js +292 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-D1AGDeEP.js → TransferDetails.vue_vue_type_script_setup_true_lang-D9aNX0oM.js} +131 -130
- package/dist/{TransferTemplateView-CVfi8jsk.js → TransferTemplateView-DwIU0paO.js} +23 -22
- package/dist/UnitCostHistoryView-Bjs4RwyR.js +651 -0
- package/dist/UnitDisplayControl.vue_vue_type_script_setup_true_lang-BH0PxivU.js +137 -0
- package/dist/{UnitView-Dn3nuQHm.js → UnitView-BbQ0jOgS.js} +12 -10
- package/dist/{WarehouseView-GSxQ_Ev2.js → WarehouseView-DzPttKzE.js} +6 -6
- package/dist/WastageTemplateView-CxyZz5JC.js +2327 -0
- package/dist/api/adjustment-template.d.ts +1 -0
- package/dist/api/closing.d.ts +2 -0
- package/dist/api/inventory.d.ts +126 -36
- package/dist/api/netsuite.d.ts +8 -1
- package/dist/api/stock.d.ts +5 -1
- package/dist/api/unit-cost-history.d.ts +28 -0
- package/dist/{app-CYbiMVcX.js → app-EoCCjoRh.js} +9021 -7945
- package/dist/app.d.ts +236 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-Dq16W8vW.js → closing-template-O_hzhisU.js} +5 -1
- package/dist/components/TemplatePublishDialog.d.ts +1 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +37 -1
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +14 -0
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +16 -1
- package/dist/{date2-De3BHKh5.js → date2-CTHKdfXp.js} +1 -1
- package/dist/{dayjs.min-DxdfVXA-.js → dayjs.min-Ccv4NdEp.js} +16 -16
- package/dist/decimal-tRyklLh0.js +99 -0
- package/dist/{defineDeepModel-2n_afItE.js → defineDeepModel-rmOd66to.js} +1 -1
- package/dist/{duplicate-template-DM7YIgor.js → duplicate-template-k8Erwdzo.js} +1 -1
- package/dist/export-TmaGpV98.js +25 -0
- package/dist/{feature-_nNpSZuh.js → feature-D4-lt7R6.js} +94 -89
- package/dist/{format-time-from-id-D5HSMsS-.js → format-time-from-id-Cru7cG1h.js} +1 -1
- package/dist/{format-unit-display-CQUFDxVm.js → format-unit-display-DZDD796a.js} +16 -15
- package/dist/{import-export.helper-BoxczUsX.js → import-export.helper-BjzXGudc.js} +16 -15
- package/dist/{index-B6nDUCCe.js → index-BeEz64I1.js} +3 -3
- package/dist/{index-Cp_mpu5S.js → index-DKCY6354.js} +1471 -1412
- package/dist/{index-CdfF5GGW.js → index-gGbN4qbt.js} +1 -1
- package/dist/{lodash-2R7Rgorb.js → lodash-BSCFf0k7.js} +1 -1
- package/dist/{netsuite-Bss4fURp.js → netsuite-DwoCq3Mv.js} +92 -92
- package/dist/number-CEUoMyIk.js +138 -0
- package/dist/{purchase-order-template-CBSvv0b2.js → purchase-order-template-DWTdjo9l.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/rules-CyW1Bx31.js +98 -0
- package/dist/{stock-DMX_hH5c.js → stock-DYWJ4DZW.js} +28 -27
- package/dist/stock-Ds3GNgHG.js +75 -0
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/integration/netsuite.d.ts +8 -1
- package/dist/stores/inventory.d.ts +120 -30
- package/dist/{supplier-Cf5HW15s.js → supplier-DwUb1oVo.js} +2 -2
- package/dist/{surcharge-CyReT8lG.js → surcharge-UTJFNBLN.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BCyydlHR.js → use-ingredient-select-dialog-D8A3bPTe.js} +2 -2
- package/dist/{use-inventory-binding-dialog-WGQs-_2i.js → use-inventory-binding-dialog-DFmiAQ9d.js} +2 -2
- package/dist/{use-template-enabled-locations-2-B0nlqUjb.js → use-template-enabled-locations-2-snlITfW8.js} +2 -2
- package/dist/views/adjustment-template/wastage-template/table.d.ts +10 -1
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +68 -12
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +204 -36
- package/dist/views/closing-history/ClosingDetailDialog.vue.d.ts +23 -0
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +96 -12
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +96 -12
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +14 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -4
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +28 -0
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +169 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +43 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +25 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +125 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +129 -0
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +30 -0
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +4 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -1
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +16 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +33 -5
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +16 -2
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +32 -4
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +41 -6
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +246 -36
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +287 -42
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +16 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +16 -2
- package/dist/views/stock/components/dialog/SnapshotRecalculationDialog.vue.d.ts +11 -0
- package/dist/views/stock/components/dialog/recalculationUtils.d.ts +16 -0
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -1
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +24 -3
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -12
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -12
- package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +2 -0
- package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +19 -0
- package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +11 -0
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +65 -0
- package/dist/{vue-i18n-DwS_fjo9.js → vue-i18n-CY4442Fb.js} +510 -510
- package/dist/{xlsx-9MOvXxhT.js → xlsx-Kc1XotGV.js} +1 -1
- package/dist/{xlsx.util-D1DdGA1N.js → xlsx.util-Dy4jmPyv.js} +1 -1
- package/package.json +1 -1
- package/dist/ClosingHistoryView-YrEVWvGu.js +0 -447
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BDVHkTSE.js +0 -116
- package/dist/RecipeView-B-gmrXHR.js +0 -646
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js +0 -251
- package/dist/StockView-BNe2_5bA.js +0 -2520
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CwV2luel.js +0 -263
- package/dist/WastageTemplateView-BG-y48uc.js +0 -2388
- package/dist/rules-T-fs8_4_.js +0 -327
- package/dist/stock-CFWu5bRA.js +0 -75
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { defineComponent as U, ref as y, computed as v, resolveComponent as p, openBlock as d, createBlock as _, withCtx as g, createElementVNode as b, normalizeClass as D, toDisplayString as F, createVNode as I, createElementBlock as $, Fragment as E, renderList as B, unref as k } from "vue";
|
|
2
|
+
import { g as m } from "./decimal-tRyklLh0.js";
|
|
3
|
+
import { d as L } from "./dayjs.min-Ccv4NdEp.js";
|
|
4
|
+
import { e as Y } from "./export-TmaGpV98.js";
|
|
5
|
+
import { u as h } from "./app-EoCCjoRh.js";
|
|
6
|
+
async function z(o) {
|
|
7
|
+
const r = `${(h().currentLocation.name || "").replace(
|
|
8
|
+
/ /g,
|
|
9
|
+
"_"
|
|
10
|
+
)}_${L().format("DD_MM_YYYY_HHmm")}.xlsx`;
|
|
11
|
+
await Y(
|
|
12
|
+
[
|
|
13
|
+
{
|
|
14
|
+
name: "stock",
|
|
15
|
+
data: o,
|
|
16
|
+
columns: [
|
|
17
|
+
{
|
|
18
|
+
name: "Code",
|
|
19
|
+
selector: "code"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: "Name",
|
|
23
|
+
selector: "name"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: "Balance",
|
|
27
|
+
selector: (e) => {
|
|
28
|
+
const a = c(e, e.unit);
|
|
29
|
+
return a.type === "unit" ? m(e.balance, e.unit, null, !1) : m(e.balance, e.unit, a.measurement, !1);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "Unit",
|
|
34
|
+
selector: (e) => {
|
|
35
|
+
var s;
|
|
36
|
+
const a = c(e, e.unit);
|
|
37
|
+
return a.type === "unit" ? e.unit.abbrev : ((s = e.unit.measurements.find((i) => i.id === a.measurement)) == null ? void 0 : s.abbrev) || "";
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
r
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
function c(o, u) {
|
|
47
|
+
const r = localStorage.getItem(`uom:${o._id}`);
|
|
48
|
+
return r ? r === u._id ? {
|
|
49
|
+
type: "unit"
|
|
50
|
+
} : u.measurements.find((e) => e.id === r) ? {
|
|
51
|
+
type: "measurement",
|
|
52
|
+
measurement: r
|
|
53
|
+
} : {
|
|
54
|
+
type: "unit"
|
|
55
|
+
} : o.trackingMeasurement && u.measurements.find((e) => e.id === o.trackingMeasurement) ? {
|
|
56
|
+
type: "measurement",
|
|
57
|
+
measurement: o.trackingMeasurement
|
|
58
|
+
} : {
|
|
59
|
+
type: "unit"
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
const N = { class: "fm-typo-en-body-md-400 flex-grow" }, A = /* @__PURE__ */ U({
|
|
63
|
+
__name: "UnitDisplayControl",
|
|
64
|
+
props: {
|
|
65
|
+
unit: {},
|
|
66
|
+
sku: {},
|
|
67
|
+
amount: {},
|
|
68
|
+
defaultTrackingMeasurement: {}
|
|
69
|
+
},
|
|
70
|
+
setup(o) {
|
|
71
|
+
function u(t) {
|
|
72
|
+
return `uom:${t._id}`;
|
|
73
|
+
}
|
|
74
|
+
function r(t) {
|
|
75
|
+
const n = u(e.sku);
|
|
76
|
+
t ? localStorage.setItem(n, t) : localStorage.setItem(n, e.unit._id), a.value = c(e.sku, e.unit);
|
|
77
|
+
}
|
|
78
|
+
const e = o, a = y(c(e.sku, e.unit)), s = v(() => {
|
|
79
|
+
const { measurements: t } = e.unit;
|
|
80
|
+
return [
|
|
81
|
+
{
|
|
82
|
+
label: `${m(e.amount, e.unit)}`,
|
|
83
|
+
value: null
|
|
84
|
+
},
|
|
85
|
+
...t.map(({ id: n }) => ({
|
|
86
|
+
label: `${m(e.amount, e.unit, n)}`,
|
|
87
|
+
value: n
|
|
88
|
+
}))
|
|
89
|
+
];
|
|
90
|
+
});
|
|
91
|
+
function i({ value: t }) {
|
|
92
|
+
return k(a).type === "unit" ? t === null : t === k(a).measurement;
|
|
93
|
+
}
|
|
94
|
+
const x = v(
|
|
95
|
+
() => {
|
|
96
|
+
var t;
|
|
97
|
+
return ((t = s.value.find((n) => i(n))) == null ? void 0 : t.label) ?? "";
|
|
98
|
+
}
|
|
99
|
+
), f = y(!1);
|
|
100
|
+
return (t, n) => {
|
|
101
|
+
const M = p("FmIcon"), C = p("FmMenuItem"), S = p("FmMenu");
|
|
102
|
+
return d(), _(S, {
|
|
103
|
+
"stop-click-propagation": "",
|
|
104
|
+
onMenuChanged: n[0] || (n[0] = (l) => f.value = l)
|
|
105
|
+
}, {
|
|
106
|
+
"menu-button": g(() => [
|
|
107
|
+
b("button", {
|
|
108
|
+
type: "button",
|
|
109
|
+
class: D([
|
|
110
|
+
"w-full text-left flex items-center gap-8 cursor-pointer fm-corner-radius-sm px-8 py-4 border bg-white",
|
|
111
|
+
f.value ? "border-fm-color-primary" : "border-fm-color-neutral-gray-100"
|
|
112
|
+
])
|
|
113
|
+
}, [
|
|
114
|
+
b("div", N, F(x.value), 1),
|
|
115
|
+
I(M, {
|
|
116
|
+
class: "text-fm-color-neutral-gray-400",
|
|
117
|
+
name: "expand_more"
|
|
118
|
+
})
|
|
119
|
+
], 2)
|
|
120
|
+
]),
|
|
121
|
+
default: g(() => [
|
|
122
|
+
(d(!0), $(E, null, B(s.value, (l) => (d(), _(C, {
|
|
123
|
+
key: l.value ?? 0,
|
|
124
|
+
label: l.label,
|
|
125
|
+
"model-value": i(l),
|
|
126
|
+
onClick: (O) => r(l.value)
|
|
127
|
+
}, null, 8, ["label", "model-value", "onClick"]))), 128))
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
});
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
export {
|
|
135
|
+
A as _,
|
|
136
|
+
z as o
|
|
137
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as O, computed as b, openBlock as v, createElementBlock as w, createElementVNode as s, Fragment as K, renderList as G, toDisplayString as h, createCommentVNode as Q, ref as I, watch as oe, resolveComponent as $, createBlock as T, withCtx as A, createVNode as f, unref as i, isRef as le, normalizeClass as me, normalizeStyle as ce, Teleport as pe, normalizeProps as ve, guardReactiveProps as fe } from "vue";
|
|
2
|
-
import { a as Y, S as ye, c as ie,
|
|
2
|
+
import { a as Y, S as ye, c as ie, y as be, j as se, u as ge } from "./app-EoCCjoRh.js";
|
|
3
3
|
import { useDialog as ue, useSnackbar as Z, useProxiedModel as ae, useBreakpoints as xe } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as _e, _ as he } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as U } from "./form-mode.enum-BKiNVH6A.js";
|
|
@@ -7,12 +7,14 @@ import { defineStore as Ve, storeToRefs as Ue } from "pinia";
|
|
|
7
7
|
import { D as re, R as q } from "./row-action.enum-BcW_L_nE.js";
|
|
8
8
|
import { c as we } from "./component-DpCUABT3.js";
|
|
9
9
|
import { useI18n as J } from "@feedmepos/mf-common";
|
|
10
|
-
import { u as Ce, _ as Se } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { R as H, A as Fe,
|
|
12
|
-
import {
|
|
10
|
+
import { u as Ce, _ as Se } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
|
|
11
|
+
import { R as H, A as Fe, c as ke } from "./rules-CyW1Bx31.js";
|
|
12
|
+
import { a as W, c as Ee } from "./number-CEUoMyIk.js";
|
|
13
|
+
import { F as $e } from "./decimal-tRyklLh0.js";
|
|
14
|
+
import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmDuR4Yb.js";
|
|
13
15
|
import { _ as Ae, F as De } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
14
|
-
import { _ as Re } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { u as Me } from "./netsuite-
|
|
16
|
+
import { _ as Re } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CkUwLhut.js";
|
|
17
|
+
import { u as Me } from "./netsuite-DwoCq3Mv.js";
|
|
16
18
|
const Pe = { class: "flex flex-col gap-8" }, Te = {
|
|
17
19
|
key: 0,
|
|
18
20
|
class: "flex flex-col"
|
|
@@ -443,13 +445,13 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
|
|
|
443
445
|
"onUpdate:modelValue": (k) => u.value = u.value.map(
|
|
444
446
|
(P, L) => L === _ ? {
|
|
445
447
|
...P,
|
|
446
|
-
conversion: i(
|
|
448
|
+
conversion: i($e).toPrecision(
|
|
447
449
|
i(Ee)(k),
|
|
448
450
|
t.value
|
|
449
451
|
)
|
|
450
452
|
} : P
|
|
451
453
|
),
|
|
452
|
-
rules: [i(
|
|
454
|
+
rules: [i(ke)(0)],
|
|
453
455
|
step: +i(W)({ amount: 1, precision: t.value }),
|
|
454
456
|
"helper-text": i(a)("inventory.unit.measurement.conversionHelper", {
|
|
455
457
|
measurementSymbol: e.modelValue.measurements[_].name || " measurement unit",
|
|
@@ -589,7 +591,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
|
|
|
589
591
|
}, 8, ["model-value", "header"]);
|
|
590
592
|
};
|
|
591
593
|
}
|
|
592
|
-
}), it = { class: "flex flex-col py-8" }, ut = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, dt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" },
|
|
594
|
+
}), it = { class: "flex flex-col py-8" }, ut = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, dt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, kt = /* @__PURE__ */ O({
|
|
593
595
|
__name: "UnitView",
|
|
594
596
|
setup(S) {
|
|
595
597
|
const c = Y(), g = ge(), m = Me();
|
|
@@ -677,5 +679,5 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
|
|
|
677
679
|
}
|
|
678
680
|
});
|
|
679
681
|
export {
|
|
680
|
-
|
|
682
|
+
kt as default
|
|
681
683
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ref as D, defineComponent as j, watch as ee, onMounted as te, onUnmounted as $e, openBlock as W, createElementBlock as B, toRaw as we, reactive as Se, createElementVNode as g, toDisplayString as E, unref as u, createVNode as k, resolveComponent as N, createSlots as Te, withCtx as I, createTextVNode as Me, renderSlot as De, createBlock as z, createCommentVNode as ae, computed as $, isRef as Ve, normalizeClass as We, normalizeStyle as Re } from "vue";
|
|
2
|
-
import { o as Pe, p as Ue, q as Ee, c as G, r as Ne, S as Le, u as Ie } from "./app-
|
|
2
|
+
import { o as Pe, p as Ue, q as Ee, c as G, r as Ne, S as Le, u as Ie } from "./app-EoCCjoRh.js";
|
|
3
3
|
import { useCoreStore as Fe, useI18n as O } from "@feedmepos/mf-common";
|
|
4
4
|
import { D as _e, R as J } from "./row-action.enum-BcW_L_nE.js";
|
|
5
5
|
import { c as qe } from "./component-DpCUABT3.js";
|
|
6
|
-
import { u as Be, _ as ze } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { u as Be, _ as ze } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
|
|
7
7
|
import { F as U } from "./form-mode.enum-BKiNVH6A.js";
|
|
8
8
|
import { useDialogChild as je, useDialog as Ce, useSnackbar as le, useProxiedModel as oe, useBreakpoints as Oe } from "@feedmepos/ui-library";
|
|
9
|
-
import { R as L } from "./rules-
|
|
9
|
+
import { R as L } from "./rules-CyW1Bx31.js";
|
|
10
10
|
import { c as se, u as re } from "./googlemap-Dm8ERVai.js";
|
|
11
|
-
import { d as Ge } from "./index-
|
|
11
|
+
import { d as Ge } from "./index-gGbN4qbt.js";
|
|
12
12
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
import { _ as He } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
14
|
-
import { u as Ye } from "./feature-
|
|
14
|
+
import { u as Ye } from "./feature-D4-lt7R6.js";
|
|
15
15
|
import { _ as Ze, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
16
|
-
import { _ as Je } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as Je } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CkUwLhut.js";
|
|
17
17
|
const X = Pe((v, h) => {
|
|
18
18
|
const b = Fe();
|
|
19
19
|
return {
|