@feedmepos/mf-inventory-portal 1.6.0 → 1.6.1-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-EFQddl2W.js → App-D7SR5dnB.js} +4 -4
- package/dist/{ApprovalView-DQG8Ti9p.js → ApprovalView-Bi7AgvV0.js} +24 -23
- package/dist/{BindingsDialog-D2IwJvme.js → BindingsDialog-BD8B6cZy.js} +2 -2
- package/dist/{BindingsPicker-ZGbgh9Vk.js → BindingsPicker-CRvmtsFb.js} +2 -2
- package/dist/{BindingsTable-Dgs2Od1_.js → BindingsTable-DJ1lLYOb.js} +3 -3
- package/dist/BulkReceiveRequestView-CZHXfukP.js +2000 -0
- package/dist/{ClosingDraftView-DGz2x5Lp.js → ClosingDraftView-DV1KPp2W.js} +27 -28
- package/dist/{ClosingHistoryView-SvbQFffP.js → ClosingHistoryView-C8fzDS5T.js} +5 -5
- package/dist/{ClosingTemplateView-LIyUAZ7a.js → ClosingTemplateView-qPT5Li2w.js} +14 -14
- package/dist/{DefaultView-B96qddHF.js → DefaultView-NF80xSuv.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-DWQ6hyoL.js → DeliveryOrderPrintPreview-B12J3W3U.js} +11 -11
- package/dist/{ReceiveRequestView-BP7KFzO6.js → EmailDialog.vue_vue_type_script_setup_true_lang-CoPqmpvz.js} +12571 -12873
- package/dist/FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DxZ_5mfo.js +61 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BfRdyxp5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B_mANlF3.js} +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js +237 -0
- package/dist/{FmMultiselectDialog-B1O653NS.js → FmMultiselectDialog-Btal-2Li.js} +50 -44
- package/dist/{FmMultiselectDialog-SDMUzTex.js → FmMultiselectDialog-OVoHPzMx.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D8u2M7r1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-ClqEZkaP.js} +5 -5
- package/dist/{ImportView-BSlnGvlm.js → ImportView-CKXu4c1J.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DaihxdpF.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-C-fgSyVq.js} +1 -1
- package/dist/{IngredientGroupView-Dy1fLXHf.js → IngredientGroupView-pwMYUotb.js} +21 -21
- package/dist/{IngredientsView-Dno8kdrq.js → IngredientsView-BzKhRbX3.js} +17 -17
- package/dist/{IntegrationExplorerView-C_5XKtMn.js → IntegrationExplorerView-BN8bTTW9.js} +352 -352
- package/dist/IntegrationView-DcERomsi.js +5791 -0
- package/dist/{InventoryBindingForm-YQFbS1hV.js → InventoryBindingForm-q_IGvaah.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CMXe46hm.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-0ti9a4bq.js} +5 -5
- package/dist/{InventoryBindingSummary-DQEoKMWr.js → InventoryBindingSummary-aMQ0ZWgu.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CcJ7YBY5.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DpIGbDcW.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DdTdixxy.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CeMi5AJ0.js} +1 -1
- package/dist/{PublishView-Cv8penOo.js → PublishView-vOeknkUB.js} +61 -56
- package/dist/{PurchaseOrderPrintPreview-BvbaFNpc.js → PurchaseOrderPrintPreview-2dot6xAa.js} +9 -9
- package/dist/ReceiveRequestView-B9k1gWme.js +345 -0
- package/dist/{RecipeView-DU0QKiC9.js → RecipeView-PRj4zn8p.js} +17 -17
- package/dist/{SettingsView-DYNFioZF.js → SettingsView-CzxZ18_g.js} +4 -4
- package/dist/{StockView-CzdVLGZy.js → StockView-o-WD1-0x.js} +28 -27
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DyDTSy_F.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9bLM6Gi.js} +1 -1
- package/dist/{SupplierView-BxbGPyPv.js → SupplierView-CMww3rSL.js} +12 -12
- package/dist/{SurchargeView-DIxfUVfT.js → SurchargeView-D9KFsMtR.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-g0AfgEFk.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-EXFK8KkU.js} +6 -5
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DsLOwuNG.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B9xb2r9v.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CxVlssDF.js → TransferDetails.vue_vue_type_script_setup_true_lang-Bl9bVtVE.js} +1406 -1399
- package/dist/{TransferTemplateView-DRqghp1v.js → TransferTemplateView-BTL8deN-.js} +20 -20
- package/dist/{UnitCostHistoryView-BCQDTDOB.js → UnitCostHistoryView-D6n2ujRf.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BikZCEmA.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CNpOAH0D.js} +10 -11
- package/dist/{UnitView-BXoXHqYc.js → UnitView-DNZW6dI4.js} +7 -7
- package/dist/{WarehouseView-DtnB7VJj.js → WarehouseView-gb9pJmNu.js} +5 -5
- package/dist/{WastageTemplateView-SNpTF3AP.js → WastageTemplateView-CGaEJXJv.js} +14 -14
- package/dist/api/purchase-order.d.ts +2 -1
- package/dist/api/supplier.d.ts +1 -0
- package/dist/{app-DTBAhC9s.js → app-Dsbvoxur.js} +1538 -977
- package/dist/app.d.ts +549 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-DBDqx2IR.js → closing-template-p88yK47D.js} +1 -1
- package/dist/components/FmMultiselectDialog.vue.d.ts +8 -4
- package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
- package/dist/components/MultiLocationSelector.vue.d.ts +202 -0
- package/dist/{date2-BD3_Vr8I.js → date2-CtLHtGs5.js} +1 -1
- package/dist/{dayjs.min-CGyhCaEH.js → dayjs.min-B2OqD5Yb.js} +12 -12
- package/dist/{decimal-CnReZARa.js → decimal-Clk9Ewzg.js} +2 -2
- package/dist/{defineDeepModel-BCBQ-V52.js → defineDeepModel-B2OEZDfH.js} +1 -1
- package/dist/{duplicate-template-Dpb2sb-q.js → duplicate-template-B2POVQAS.js} +1 -1
- package/dist/{feature-BACkglr0.js → feature-CLIj8wgr.js} +70 -65
- package/dist/{format-time-from-id-CxJLjrBT.js → format-time-from-id-DdReiNfK.js} +1 -1
- package/dist/{format-unit-display-BUfzwU3m.js → format-unit-display-iz29tCVo.js} +12 -12
- package/dist/{import-export.helper-DttYDeho.js → import-export.helper-DlHAA9zA.js} +6 -6
- package/dist/{index-DGxWBGVv.js → index-B5Ojq711.js} +1 -1
- package/dist/{index-tFtJuoxA.js → index-CswTgtml.js} +3 -3
- package/dist/{index-BY8NVCx7.js → index-Dkl97ykE.js} +1 -1
- package/dist/{inventory-core-dart.default-DIKTKc_1.js → inventory-core-dart.default-FvRrnQri.js} +355 -328
- package/dist/jszip.min-dfImtC94.js +2322 -0
- package/dist/{lz-string-CwPU-SlY.js → lz-string-D1kxEFLt.js} +1 -1
- package/dist/{netsuite-B9XrL1RC.js → netsuite-C_Gph48P.js} +1570 -1509
- package/dist/{number-DKjrPhev.js → number-CTKxLav6.js} +3 -3
- package/dist/{predefined-templates-CQvQIvR-.js → predefined-templates-B2sDdw2Z.js} +1 -1
- package/dist/{purchase-order-template-NA3Qn9lf.js → purchase-order-template-DVDMAhJa.js} +1 -1
- package/dist/{recalculationUtils-Ll9Jy0C-.js → recalculationUtils-BNTXhTSX.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-DtBEn-Rn.js → rules-CRnEoheI.js} +2 -2
- package/dist/{stock-PIkXqbIP.js → stock-CeogHsSl.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/supplier-DmbVK4Tn.js +83 -0
- package/dist/{surcharge-C8PXRjfJ.js → surcharge-Bm3TRth-.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DddX9wN4.js → uom-rules-BmtdGlz9.js} +1 -1
- package/dist/{use-ingredient-select-dialog-DWQxhfQD.js → use-ingredient-select-dialog-Bm9296fn.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BWSMrzp1.js → use-inventory-binding-dialog-HYJiNm8y.js} +2 -2
- package/dist/{use-template-enabled-locations-3DN8aZBs.js → use-template-enabled-locations-DSEcyYzM.js} +2 -2
- package/dist/{use-transfer-locations-DnybeRXF.js → use-transfer-locations-vpiv_TeO.js} +8 -8
- package/dist/{useHrmPermission-ymQe-N7i.js → useHrmPermission-DAncjlGt.js} +1 -1
- package/dist/{useNavigationMenu-D88-0QxA.js → useNavigationMenu-BG_AH0Xf.js} +43 -38
- package/dist/{useSseClient-CWNMcLEX.js → useSseClient-CuLS50U2.js} +3 -3
- package/dist/views/integration/components/binding-import/BindingImportPreview.vue.d.ts +22 -0
- package/dist/views/integration/components/binding-import/ImportBindings.vue.d.ts +444 -0
- package/dist/views/integration/helper/binding-import/configs/codemax.d.ts +3 -0
- package/dist/views/integration/helper/binding-import/configs/codemax.spec.d.ts +1 -0
- package/dist/views/integration/helper/binding-import/configs/food-market-hub.d.ts +3 -0
- package/dist/views/integration/helper/binding-import/configs/food-market-hub.spec.d.ts +1 -0
- package/dist/views/integration/helper/binding-import/core.d.ts +43 -0
- package/dist/views/integration/helper/binding-import/types.d.ts +100 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +194 -0
- package/dist/views/receive-request-bulk/BulkReceiveRequestView.vue.d.ts +3 -0
- package/dist/views/receive-request-bulk/components/CreateTransferWizard.vue.d.ts +25 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +4138 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +771 -0
- package/dist/{vue-i18n-D7c0eqQP.js → vue-i18n-Tl34av_i.js} +398 -398
- package/dist/{xlsx-DXHnJflt.js → xlsx.util-CJaAO-II.js} +2594 -2497
- package/package.json +5 -4
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--A4q92Mt.js +0 -293
- package/dist/IntegrationView-D2_2A1ve.js +0 -5100
- package/dist/supplier-B5LWMrcL.js +0 -78
- package/dist/xlsx.util-PhY8wVQG.js +0 -101
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { defineComponent as D, ref as g, watch as f, computed as _, resolveComponent as s, openBlock as w, createBlock as h, withCtx as y, createElementVNode as l, createVNode as V, toDisplayString as v } from "vue";
|
|
2
|
+
import { b as c } from "./date2-CtLHtGs5.js";
|
|
3
|
+
function k() {
|
|
4
|
+
const e = /* @__PURE__ */ new Date();
|
|
5
|
+
return e.setDate(e.getDate() - 15), {
|
|
6
|
+
start: e,
|
|
7
|
+
end: /* @__PURE__ */ new Date()
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
function d(e = 15) {
|
|
11
|
+
const t = /* @__PURE__ */ new Date();
|
|
12
|
+
t.setDate(t.getDate() - e);
|
|
13
|
+
const r = t, n = /* @__PURE__ */ new Date();
|
|
14
|
+
return {
|
|
15
|
+
startDate: `${c(r)}`,
|
|
16
|
+
endDate: `${c(n)}`
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
const x = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400" }, b = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, F = /* @__PURE__ */ D({
|
|
20
|
+
__name: "FmDateRangePickerChip",
|
|
21
|
+
props: {
|
|
22
|
+
modelValue: { default: (e) => e.modelValue ?? d() }
|
|
23
|
+
},
|
|
24
|
+
emits: ["update:modelValue"],
|
|
25
|
+
setup(e, { emit: t }) {
|
|
26
|
+
const r = t, n = g(d());
|
|
27
|
+
f(n, (a) => {
|
|
28
|
+
r("update:modelValue", a);
|
|
29
|
+
});
|
|
30
|
+
const i = _(() => {
|
|
31
|
+
const { startDate: a, endDate: o } = n.value;
|
|
32
|
+
return !a && !o ? "" : `${a} - ${o}`;
|
|
33
|
+
});
|
|
34
|
+
return (a, o) => {
|
|
35
|
+
const m = s("FmIcon"), u = s("FmDateRangePicker");
|
|
36
|
+
return w(), h(u, {
|
|
37
|
+
"show-predefined-range": "",
|
|
38
|
+
modelValue: n.value,
|
|
39
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => n.value = p),
|
|
40
|
+
"start-label": "",
|
|
41
|
+
"end-label": ""
|
|
42
|
+
}, {
|
|
43
|
+
"trigger-button": y(() => [
|
|
44
|
+
l("div", x, [
|
|
45
|
+
V(m, {
|
|
46
|
+
name: "calendar_month",
|
|
47
|
+
size: "sm"
|
|
48
|
+
}),
|
|
49
|
+
l("div", b, v(i.value), 1)
|
|
50
|
+
])
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
}, 8, ["modelValue"]);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
export {
|
|
58
|
+
F as _,
|
|
59
|
+
k as a,
|
|
60
|
+
d as i
|
|
61
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, mergeModels as I, useModel as z, computed as b, ref as _, resolveComponent as n, openBlock as o, createElementBlock as h, 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-
|
|
3
|
-
import { F as T } from "./FmMultiselectDialog-
|
|
2
|
+
import { z as u } from "./app-Dsbvoxur.js";
|
|
3
|
+
import { F as T } from "./FmMultiselectDialog-Btal-2Li.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({
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { defineComponent as z, computed as k, ref as O, resolveComponent as g, openBlock as l, createElementBlock as i, createVNode as _, withCtx as R, createElementVNode as m, Fragment as w, createTextVNode as I, toDisplayString as $, unref as t, createBlock as d, createCommentVNode as b, renderList as S, mergeModels as j, useModel as N, renderSlot as H, normalizeClass as T } from "vue";
|
|
2
|
+
import { useCoreStore as W, useI18n as D } from "@feedmepos/mf-common";
|
|
3
|
+
import { u as q } from "./app-Dsbvoxur.js";
|
|
4
|
+
import { _ as G } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DxZ_5mfo.js";
|
|
5
|
+
import { useBreakpoints as J } from "@feedmepos/ui-library";
|
|
6
|
+
import { u as K } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
7
|
+
import { D as A } from "./app-DiX-EfV6.js";
|
|
8
|
+
import { F as P } from "./FmAdminBadge-DjnBAgyv.js";
|
|
9
|
+
const X = { class: "inline-flex" }, Y = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400" }, Z = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, ee = { class: "relative" }, oe = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, le = /* @__PURE__ */ z({
|
|
10
|
+
__name: "ChangeLocationComponent",
|
|
11
|
+
props: {
|
|
12
|
+
showBusiness: { type: Boolean }
|
|
13
|
+
},
|
|
14
|
+
setup(x) {
|
|
15
|
+
const a = q(), y = W(), B = k(() => {
|
|
16
|
+
var e;
|
|
17
|
+
return (e = y.currentBusiness.value) == null ? void 0 : e.name;
|
|
18
|
+
}), { t: c } = D(), v = O(""), r = k({
|
|
19
|
+
get() {
|
|
20
|
+
return a.businessLevel;
|
|
21
|
+
},
|
|
22
|
+
set(e) {
|
|
23
|
+
a.businessLevel = e;
|
|
24
|
+
}
|
|
25
|
+
}), p = k(
|
|
26
|
+
() => a.locations.map((e) => ({
|
|
27
|
+
label: e.name,
|
|
28
|
+
value: e.dbName,
|
|
29
|
+
type: e.type,
|
|
30
|
+
code: e.doc.profile.code ?? "--"
|
|
31
|
+
})).filter((e) => {
|
|
32
|
+
var f;
|
|
33
|
+
if (!v.value) return !0;
|
|
34
|
+
const o = v.value.toLocaleLowerCase();
|
|
35
|
+
return e.label.toLocaleLowerCase().includes(o) || ((f = e.code) == null ? void 0 : f.toLocaleLowerCase().includes(o));
|
|
36
|
+
})
|
|
37
|
+
), n = k(
|
|
38
|
+
() => p.value.filter((e) => e.type === "restaurant")
|
|
39
|
+
), s = k(
|
|
40
|
+
() => p.value.filter((e) => e.type === "warehouse")
|
|
41
|
+
);
|
|
42
|
+
function M({ value: e }) {
|
|
43
|
+
r.value = !1, a.selectLocation(a.locations.find((o) => o.dbName === e));
|
|
44
|
+
}
|
|
45
|
+
return (e, o) => {
|
|
46
|
+
const f = g("FmIcon"), Q = g("FmSearch"), C = g("FmMenuItem"), E = g("FmMenu");
|
|
47
|
+
return l(), i("div", X, [
|
|
48
|
+
_(E, { "close-on-click": !0 }, {
|
|
49
|
+
"menu-button": R(() => [
|
|
50
|
+
m("div", Y, [
|
|
51
|
+
_(f, {
|
|
52
|
+
name: e.showBusiness && r.value ? "store" : "storefront",
|
|
53
|
+
size: "sm"
|
|
54
|
+
}, null, 8, ["name"]),
|
|
55
|
+
m("div", Z, [
|
|
56
|
+
e.showBusiness && r.value ? (l(), i(w, { key: 0 }, [
|
|
57
|
+
I($(B.value), 1)
|
|
58
|
+
], 64)) : t(a)._currentLocation ? (l(), i(w, { key: 1 }, [
|
|
59
|
+
I($(t(a)._currentLocation.name) + " (" + $(t(a)._currentLocation.doc.profile.code ?? "--") + ") ", 1)
|
|
60
|
+
], 64)) : (l(), i(w, { key: 2 }, [
|
|
61
|
+
I($(t(c)("inventory.common.noLocationSelected")), 1)
|
|
62
|
+
], 64))
|
|
63
|
+
]),
|
|
64
|
+
_(f, {
|
|
65
|
+
name: "expand_more",
|
|
66
|
+
size: "sm"
|
|
67
|
+
})
|
|
68
|
+
])
|
|
69
|
+
]),
|
|
70
|
+
default: R(() => [
|
|
71
|
+
m("div", ee, [
|
|
72
|
+
m("div", oe, [
|
|
73
|
+
_(Q, {
|
|
74
|
+
"model-value": v.value,
|
|
75
|
+
"onUpdate:modelValue": o[0] || (o[0] = (u) => v.value = u),
|
|
76
|
+
placeholder: t(c)("inventory.common.table.toolbar.filterItems")
|
|
77
|
+
}, null, 8, ["model-value", "placeholder"])
|
|
78
|
+
]),
|
|
79
|
+
m("div", null, [
|
|
80
|
+
e.showBusiness ? (l(), d(C, {
|
|
81
|
+
key: 0,
|
|
82
|
+
"model-value": r.value,
|
|
83
|
+
label: B.value,
|
|
84
|
+
sublabel: "Business",
|
|
85
|
+
onClick: o[1] || (o[1] = (u) => r.value = !0)
|
|
86
|
+
}, null, 8, ["model-value", "label"])) : b("", !0),
|
|
87
|
+
(l(!0), i(w, null, S(n.value, (u) => {
|
|
88
|
+
var L;
|
|
89
|
+
return l(), d(C, {
|
|
90
|
+
key: u.value,
|
|
91
|
+
"model-value": !r.value && ((L = t(a)._currentLocation) == null ? void 0 : L.dbName) === u.value,
|
|
92
|
+
label: `${u.label} (${u.code})`,
|
|
93
|
+
sublabel: "Restaurant",
|
|
94
|
+
onClick: (h) => M(u),
|
|
95
|
+
onVnodeMounted: (h) => {
|
|
96
|
+
var V, F, U;
|
|
97
|
+
return !r.value && ((V = t(a)._currentLocation) == null ? void 0 : V.dbName) === u.value && ((F = h.el) == null || F.scrollIntoView({ behavior: "instant", block: "end" }), (U = h.el) == null || U.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
98
|
+
}
|
|
99
|
+
}, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
|
|
100
|
+
}), 128)),
|
|
101
|
+
(l(!0), i(w, null, S(s.value, (u) => {
|
|
102
|
+
var L;
|
|
103
|
+
return l(), d(C, {
|
|
104
|
+
key: u.value,
|
|
105
|
+
"model-value": !r.value && ((L = t(a)._currentLocation) == null ? void 0 : L.dbName) === u.value,
|
|
106
|
+
label: u.label,
|
|
107
|
+
sublabel: "Warehouse",
|
|
108
|
+
onClick: (h) => M(u),
|
|
109
|
+
onVnodeMounted: (h) => {
|
|
110
|
+
var V, F;
|
|
111
|
+
return !r.value && ((V = t(a)._currentLocation) == null ? void 0 : V.dbName) === u.value && ((F = h.el) == null || F.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
112
|
+
}
|
|
113
|
+
}, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
|
|
114
|
+
}), 128)),
|
|
115
|
+
!e.showBusiness && !n.value.length && !s.value.length ? (l(), d(C, {
|
|
116
|
+
key: 1,
|
|
117
|
+
disabled: "",
|
|
118
|
+
label: t(c)("inventory.common.noResultFound")
|
|
119
|
+
}, null, 8, ["label"])) : b("", !0)
|
|
120
|
+
])
|
|
121
|
+
])
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
})
|
|
125
|
+
]);
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
}), te = { class: "flex-1 w-full flex items-center gap-4 xs:flex-col-reverse sm:flex-col-reverse" }, ne = {
|
|
129
|
+
key: 0,
|
|
130
|
+
class: "flex-1 xs:w-full sm:w-full"
|
|
131
|
+
}, ae = {
|
|
132
|
+
key: 1,
|
|
133
|
+
class: "flex-1"
|
|
134
|
+
}, se = { class: "w-full max-w-[343px] xs:max-w-[unset] sm:max-w-[unset]" }, fe = /* @__PURE__ */ z({
|
|
135
|
+
__name: "FmInventoryTableToolbar",
|
|
136
|
+
props: /* @__PURE__ */ j({
|
|
137
|
+
dateRangeQuery: { type: Boolean },
|
|
138
|
+
changeLocation: { type: Boolean },
|
|
139
|
+
searchable: { type: Boolean },
|
|
140
|
+
hideFilterOptions: { type: Boolean },
|
|
141
|
+
filterable: { type: Boolean },
|
|
142
|
+
filterAttributes: {},
|
|
143
|
+
actions: {},
|
|
144
|
+
usingBusinessHelperText: {},
|
|
145
|
+
showBusiness: { type: Boolean }
|
|
146
|
+
}, {
|
|
147
|
+
search: {},
|
|
148
|
+
searchModifiers: {},
|
|
149
|
+
filter: {},
|
|
150
|
+
filterModifiers: {},
|
|
151
|
+
dateRange: {},
|
|
152
|
+
dateRangeModifiers: {}
|
|
153
|
+
}),
|
|
154
|
+
emits: ["update:search", "update:filter", "update:dateRange"],
|
|
155
|
+
setup(x) {
|
|
156
|
+
const { breakpoints: a } = J(), y = k(() => a.value.xs || a.value.sm), B = N(x, "search"), c = N(x, "filter"), v = N(x, "dateRange"), { t: r } = D(), p = K();
|
|
157
|
+
return (n, s) => {
|
|
158
|
+
const M = g("FmTextField"), e = g("FmButton");
|
|
159
|
+
return l(), i("div", {
|
|
160
|
+
class: "flex flex-col gap-8",
|
|
161
|
+
onVnodeMounted: s[4] || (s[4] = //@ts-ignore
|
|
162
|
+
(...o) => t(p).onMounted && t(p).onMounted(...o)),
|
|
163
|
+
onVnodeUnmounted: s[5] || (s[5] = //@ts-ignore
|
|
164
|
+
(...o) => t(p).onUnmounted && t(p).onUnmounted(...o))
|
|
165
|
+
}, [
|
|
166
|
+
H(n.$slots, "default"),
|
|
167
|
+
m("div", {
|
|
168
|
+
class: T([
|
|
169
|
+
"flex gap-8 items-center",
|
|
170
|
+
{
|
|
171
|
+
"px-8 flex-col-reverse h-[unset]": y.value,
|
|
172
|
+
"h-48": !y.value
|
|
173
|
+
}
|
|
174
|
+
])
|
|
175
|
+
}, [
|
|
176
|
+
n.changeLocation || n.dateRangeQuery ? (l(), i("div", {
|
|
177
|
+
key: 0,
|
|
178
|
+
class: T([
|
|
179
|
+
"flex gap-8 items-center",
|
|
180
|
+
{
|
|
181
|
+
"w-full overflow-x-auto": y.value
|
|
182
|
+
}
|
|
183
|
+
])
|
|
184
|
+
}, [
|
|
185
|
+
n.changeLocation ? (l(), d(le, {
|
|
186
|
+
key: 0,
|
|
187
|
+
"show-business": n.showBusiness
|
|
188
|
+
}, null, 8, ["show-business"])) : b("", !0),
|
|
189
|
+
n.dateRangeQuery ? (l(), d(G, {
|
|
190
|
+
key: 1,
|
|
191
|
+
"model-value": v.value,
|
|
192
|
+
"onUpdate:modelValue": s[0] || (s[0] = (o) => v.value = o)
|
|
193
|
+
}, null, 8, ["model-value"])) : b("", !0)
|
|
194
|
+
], 2)) : b("", !0),
|
|
195
|
+
m("div", te, [
|
|
196
|
+
n.filterable && n.filterAttributes ? (l(), i("div", ne, [
|
|
197
|
+
n.hideFilterOptions ? (l(), d(P, { key: 1 }, {
|
|
198
|
+
default: R(() => [
|
|
199
|
+
_(t(A), {
|
|
200
|
+
modelValue: c.value,
|
|
201
|
+
"onUpdate:modelValue": s[2] || (s[2] = (o) => c.value = o),
|
|
202
|
+
attributes: n.filterAttributes
|
|
203
|
+
}, null, 8, ["modelValue", "attributes"])
|
|
204
|
+
]),
|
|
205
|
+
_: 1
|
|
206
|
+
})) : (l(), d(t(A), {
|
|
207
|
+
key: 0,
|
|
208
|
+
modelValue: c.value,
|
|
209
|
+
"onUpdate:modelValue": s[1] || (s[1] = (o) => c.value = o),
|
|
210
|
+
attributes: n.filterAttributes
|
|
211
|
+
}, null, 8, ["modelValue", "attributes"]))
|
|
212
|
+
])) : y.value ? b("", !0) : (l(), i("div", ae)),
|
|
213
|
+
m("div", se, [
|
|
214
|
+
n.searchable ? (l(), d(M, {
|
|
215
|
+
key: 0,
|
|
216
|
+
"model-value": B.value,
|
|
217
|
+
"onUpdate:modelValue": s[3] || (s[3] = (o) => B.value = o),
|
|
218
|
+
"prepend-icon": "search",
|
|
219
|
+
placeholder: t(r)("inventory.common.table.toolbar.filterItems"),
|
|
220
|
+
class: "w-full"
|
|
221
|
+
}, null, 8, ["model-value", "placeholder"])) : b("", !0)
|
|
222
|
+
]),
|
|
223
|
+
(l(!0), i(w, null, S(n.actions, (o, f) => (l(), d(e, {
|
|
224
|
+
key: f,
|
|
225
|
+
variant: "tertiary",
|
|
226
|
+
"prepend-icon": o.icon,
|
|
227
|
+
onClick: o.onClick
|
|
228
|
+
}, null, 8, ["prepend-icon", "onClick"]))), 128))
|
|
229
|
+
])
|
|
230
|
+
], 2)
|
|
231
|
+
], 512);
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
export {
|
|
236
|
+
fe as _
|
|
237
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
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
|
|
4
|
+
import { defineComponent as ye, computed as x, ref as $, watch as ge, openBlock as d, createElementBlock as f, normalizeStyle as z, Fragment as V, renderList as O, renderSlot as ke, createCommentVNode as D, 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-Dsbvoxur.js";
|
|
7
|
+
import { d as Je } from "./index-Dkl97ykE.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useI18n as Re } from "@feedmepos/mf-common";
|
|
10
|
-
import { P as We, J as
|
|
10
|
+
import { P as We, J as be, D as Qe } from "./app-DiX-EfV6.js";
|
|
11
11
|
import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
const Ye = /* @__PURE__ */
|
|
12
|
+
const Ye = /* @__PURE__ */ ye({
|
|
13
13
|
__name: "VirtualScroll",
|
|
14
14
|
props: {
|
|
15
15
|
itemHeight: {},
|
|
@@ -177,7 +177,7 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
177
177
|
}, ct = {
|
|
178
178
|
key: 2,
|
|
179
179
|
class: "p-16 text-fm-color-typo-disabled fm-typo-en-body-lg-400 text-center"
|
|
180
|
-
}, mt = /* @__PURE__ */
|
|
180
|
+
}, mt = /* @__PURE__ */ ye({
|
|
181
181
|
__name: "FmMultiselectDialog",
|
|
182
182
|
props: {
|
|
183
183
|
modelValue: {},
|
|
@@ -195,7 +195,13 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
195
195
|
attributeKey: {},
|
|
196
196
|
maxSelections: {}
|
|
197
197
|
},
|
|
198
|
-
emits: [
|
|
198
|
+
emits: [
|
|
199
|
+
"update:modelValue",
|
|
200
|
+
"close",
|
|
201
|
+
// Dialog service listens to this payload event for onPrimary callbacks.
|
|
202
|
+
"dialog:emit-data",
|
|
203
|
+
"dialog:emitData"
|
|
204
|
+
],
|
|
199
205
|
setup(F, { emit: i }) {
|
|
200
206
|
var oe, ie, re;
|
|
201
207
|
const { t: l } = Re(), u = Ge(), a = F, v = Oe(), m = x(() => {
|
|
@@ -235,7 +241,7 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
235
241
|
for (const t of a.items) e.set(p(t.value), t);
|
|
236
242
|
return e;
|
|
237
243
|
}), A = x(() => new Set(o.value.map((e) => p(e)))), Q = x(
|
|
238
|
-
() => new Set(
|
|
244
|
+
() => new Set(y.value.map((e) => p(e.value)))
|
|
239
245
|
);
|
|
240
246
|
function H(e, t) {
|
|
241
247
|
if (a.singleSelect) {
|
|
@@ -256,11 +262,11 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
256
262
|
a.items,
|
|
257
263
|
(e) => [e.label ?? "", e.sublabel ?? "", ...e.searchKeys ?? []].filter((t) => t)
|
|
258
264
|
)
|
|
259
|
-
), E = $(""), G = $(null),
|
|
265
|
+
), E = $(""), G = $(null), y = x(() => {
|
|
260
266
|
let e = xe.value.search(E.value);
|
|
261
267
|
if (G.value && a.filterAttributes) {
|
|
262
268
|
const t = We.build(G.value);
|
|
263
|
-
e = a.attributeKey ? e.filter((n) =>
|
|
269
|
+
e = a.attributeKey ? e.filter((n) => be(n[a.attributeKey] ?? {}, t)) : e.filter((n) => be(n, t));
|
|
264
270
|
}
|
|
265
271
|
return e;
|
|
266
272
|
}), te = x(() => {
|
|
@@ -271,7 +277,7 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
271
277
|
}
|
|
272
278
|
return e;
|
|
273
279
|
}), K = x(() => {
|
|
274
|
-
const e =
|
|
280
|
+
const e = y.value.filter((t) => !t.disabled);
|
|
275
281
|
return te.value.length === e.length;
|
|
276
282
|
}), le = x(() => te.value.length > 0 && !K.value);
|
|
277
283
|
function Se() {
|
|
@@ -421,7 +427,7 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
421
427
|
color: "neutral-gray-400"
|
|
422
428
|
}),
|
|
423
429
|
B("div", ut, P(L(l)("inventory.formField.loading")), 1)
|
|
424
|
-
])) :
|
|
430
|
+
])) : y.value.length ? (d(), I(Ie, { key: 1 }, {
|
|
425
431
|
default: w(() => [
|
|
426
432
|
e.singleSelect ? D("", !0) : (d(), I(M, {
|
|
427
433
|
key: 0,
|
|
@@ -468,26 +474,26 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
468
474
|
]),
|
|
469
475
|
_: 2
|
|
470
476
|
}, 1032, ["label", "sublabel", "disabled"]),
|
|
471
|
-
(d(!0), f(V, null, O(
|
|
472
|
-
key: p(
|
|
477
|
+
(d(!0), f(V, null, O(y.value.filter((b) => b.groupId === s.id), (b) => (d(), f("div", {
|
|
478
|
+
key: p(b.value),
|
|
473
479
|
class: fe([
|
|
474
480
|
"transition-all overflow-y-clip",
|
|
475
|
-
Y({ groupId: s.id, value:
|
|
481
|
+
Y({ groupId: s.id, value: b.value }) ? "max-h-0 opacity-0" : "max-h-[64px] opacity-100"
|
|
476
482
|
])
|
|
477
483
|
}, [
|
|
478
484
|
k(M, {
|
|
479
|
-
label:
|
|
480
|
-
sublabel:
|
|
481
|
-
disabled:
|
|
482
|
-
onClick: (j) => H(
|
|
485
|
+
label: b.label,
|
|
486
|
+
sublabel: b.sublabel,
|
|
487
|
+
disabled: b.disabled,
|
|
488
|
+
onClick: (j) => H(b.value, !g(b.value)),
|
|
483
489
|
style: { "padding-top": "4px", "padding-bottom": "4px", "padding-left": "64px" }
|
|
484
490
|
}, {
|
|
485
491
|
prepend: w(() => [
|
|
486
492
|
k(_, {
|
|
487
|
-
"model-value": g(
|
|
488
|
-
"onUpdate:modelValue": (j) => H(
|
|
489
|
-
value:
|
|
490
|
-
disabled:
|
|
493
|
+
"model-value": g(b.value),
|
|
494
|
+
"onUpdate:modelValue": (j) => H(b.value, j),
|
|
495
|
+
value: b.value,
|
|
496
|
+
disabled: b.disabled
|
|
491
497
|
}, null, 8, ["model-value", "onUpdate:modelValue", "value", "disabled"])
|
|
492
498
|
]),
|
|
493
499
|
_: 2
|
|
@@ -496,23 +502,23 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
496
502
|
], 64))), 128)) : (d(), f(V, { key: 1 }, [
|
|
497
503
|
e.virtualScroll ? (d(), I(Ye, {
|
|
498
504
|
key: 0,
|
|
499
|
-
length:
|
|
505
|
+
length: y.value.length + m.value.length,
|
|
500
506
|
"item-height": 64,
|
|
501
507
|
scrollTop: J.value,
|
|
502
508
|
prerender: 100
|
|
503
509
|
}, {
|
|
504
|
-
default: w(({ getItem: s, index:
|
|
510
|
+
default: w(({ getItem: s, index: b }) => {
|
|
505
511
|
var j, me;
|
|
506
512
|
return [
|
|
507
|
-
|
|
513
|
+
b < y.value.length ? (d(), I(M, {
|
|
508
514
|
key: 0,
|
|
509
|
-
label: s(
|
|
510
|
-
sublabel: s(
|
|
515
|
+
label: s(y.value).label,
|
|
516
|
+
sublabel: s(y.value).sublabel,
|
|
511
517
|
onClick: (N) => H(
|
|
512
|
-
s(
|
|
513
|
-
!g(s(
|
|
518
|
+
s(y.value).value,
|
|
519
|
+
!g(s(y.value).value)
|
|
514
520
|
),
|
|
515
|
-
disabled: (me = (j = Fe.value[p(s(
|
|
521
|
+
disabled: (me = (j = Fe.value[p(s(y.value).value)]) == null ? void 0 : j[0]) == null ? void 0 : me.disabled,
|
|
516
522
|
style: z({
|
|
517
523
|
paddingTop: 4,
|
|
518
524
|
paddingBottom: 4,
|
|
@@ -521,34 +527,34 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
521
527
|
}, {
|
|
522
528
|
prepend: w(() => [
|
|
523
529
|
k(_, {
|
|
524
|
-
"model-value": g(s(
|
|
525
|
-
"onUpdate:modelValue": (N) => H(s(
|
|
526
|
-
value: s(
|
|
527
|
-
disabled: s(
|
|
530
|
+
"model-value": g(s(y.value).value),
|
|
531
|
+
"onUpdate:modelValue": (N) => H(s(y.value).value, N),
|
|
532
|
+
value: s(y.value).value,
|
|
533
|
+
disabled: s(y.value).disabled
|
|
528
534
|
}, null, 8, ["model-value", "onUpdate:modelValue", "value", "disabled"])
|
|
529
535
|
]),
|
|
530
536
|
append: w(() => {
|
|
531
537
|
var N;
|
|
532
538
|
return [
|
|
533
|
-
(N = s(
|
|
534
|
-
(d(!0), f(V, null, O(s(
|
|
539
|
+
(N = s(y.value)) != null && N.tags ? (d(), f("div", dt, [
|
|
540
|
+
(d(!0), f(V, null, O(s(y.value).tags, (De, $e) => (d(), I(Le, {
|
|
535
541
|
key: $e,
|
|
536
542
|
label: De,
|
|
537
543
|
compact: ""
|
|
538
544
|
}, null, 8, ["label"]))), 128))
|
|
539
545
|
])) : D("", !0),
|
|
540
546
|
ke(e.$slots, "appendListItem", {
|
|
541
|
-
item: s(
|
|
547
|
+
item: s(y.value)
|
|
542
548
|
}, void 0, !0)
|
|
543
549
|
];
|
|
544
550
|
}),
|
|
545
551
|
_: 2
|
|
546
|
-
}, 1032, ["label", "sublabel", "onClick", "disabled", "style"])) : (d(), I(pe(m.value[
|
|
552
|
+
}, 1032, ["label", "sublabel", "onClick", "disabled", "style"])) : (d(), I(pe(m.value[b - y.value.length]), { key: 1 }))
|
|
547
553
|
];
|
|
548
554
|
}),
|
|
549
555
|
_: 3
|
|
550
556
|
}, 8, ["length", "scrollTop"])) : (d(), f(V, { key: 1 }, [
|
|
551
|
-
(d(!0), f(V, null, O(
|
|
557
|
+
(d(!0), f(V, null, O(y.value, (s) => (d(), f("div", {
|
|
552
558
|
key: p(s.value),
|
|
553
559
|
class: fe([
|
|
554
560
|
"transition-all overflow-y-clip",
|
|
@@ -558,7 +564,7 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
558
564
|
k(M, {
|
|
559
565
|
label: s.label,
|
|
560
566
|
sublabel: s.sublabel,
|
|
561
|
-
onClick: (
|
|
567
|
+
onClick: (b) => H(s.value, !g(s.value)),
|
|
562
568
|
disabled: s.disabled,
|
|
563
569
|
style: z({
|
|
564
570
|
paddingTop: 4,
|
|
@@ -569,7 +575,7 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
569
575
|
prepend: w(() => [
|
|
570
576
|
k(_, {
|
|
571
577
|
"model-value": g(s.value),
|
|
572
|
-
"onUpdate:modelValue": (
|
|
578
|
+
"onUpdate:modelValue": (b) => H(s.value, b),
|
|
573
579
|
value: s.value,
|
|
574
580
|
disabled: s.disabled
|
|
575
581
|
}, null, 8, ["model-value", "onUpdate:modelValue", "value", "disabled"])
|
|
@@ -577,7 +583,7 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
577
583
|
_: 2
|
|
578
584
|
}, 1032, ["label", "sublabel", "onClick", "disabled", "style"])
|
|
579
585
|
], 2))), 128)),
|
|
580
|
-
(d(!0), f(V, null, O(m.value, (s,
|
|
586
|
+
(d(!0), f(V, null, O(m.value, (s, b) => (d(), f("div", { key: b }, [
|
|
581
587
|
(d(), I(pe(s)))
|
|
582
588
|
]))), 128))
|
|
583
589
|
], 64))
|
|
@@ -610,7 +616,7 @@ const qe = { class: "sticky top-0 bg-white z-50" }, et = {
|
|
|
610
616
|
], 544);
|
|
611
617
|
};
|
|
612
618
|
}
|
|
613
|
-
}), St = /* @__PURE__ */ Xe(mt, [["__scopeId", "data-v-
|
|
619
|
+
}), St = /* @__PURE__ */ Xe(mt, [["__scopeId", "data-v-96ed5cb2"]]);
|
|
614
620
|
export {
|
|
615
621
|
U as F,
|
|
616
622
|
St as a,
|
|
@@ -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-Btal-2Li.js";
|
|
5
5
|
import { h as S } from "vue";
|
|
6
6
|
const w = p("inventoryMultiSelectDialog", () => {
|
|
7
7
|
const l = y(), { t: n } = v();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
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, openBlock as c, createElementBlock as y, createElementVNode as u, createVNode as M, withCtx as _, renderSlot as G, normalizeClass as j, toDisplayString as h, withDirectives as de, vModelText as pe, createCommentVNode as A, createTextVNode as fe, createBlock as U, Fragment as ve, renderList as be, createSlots as ye } from "vue";
|
|
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-
|
|
2
|
+
import { l as he } from "./netsuite-C_Gph48P.js";
|
|
3
|
+
import { w as D } from "./app-Dsbvoxur.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-CTKxLav6.js";
|
|
5
|
+
import { I as R, a as Ae } from "./rules-CRnEoheI.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-BmtdGlz9.js";
|
|
8
8
|
function J() {
|
|
9
9
|
return {
|
|
10
10
|
amount: D.reset()
|
|
@@ -2,15 +2,15 @@ import { defineComponent as De, ref as F, computed as J, watch as ze, resolveCom
|
|
|
2
2
|
import { u as Ve, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.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-
|
|
5
|
+
import { u as Xe } from "./feature-CLIj8wgr.js";
|
|
6
|
+
import { a as ie } from "./app-Dsbvoxur.js";
|
|
7
|
+
import "./dayjs.min-B2OqD5Yb.js";
|
|
8
8
|
import "./app-DiX-EfV6.js";
|
|
9
9
|
import "./FmAdminBadge-DjnBAgyv.js";
|
|
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-
|
|
10
|
+
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-CJaAO-II.js";
|
|
11
|
+
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-DlHAA9zA.js";
|
|
12
12
|
import { r as nt } from "./random-CSbEbElR.js";
|
|
13
|
-
import { c as Ae, a as pe } from "./number-
|
|
13
|
+
import { c as Ae, a as pe } from "./number-CTKxLav6.js";
|
|
14
14
|
import { F as ot } from "./FmDroppableField-J0xUsOTV.js";
|
|
15
15
|
function Ee() {
|
|
16
16
|
return `measurement_${(/* @__PURE__ */ new Date()).toISOString()}_${nt()}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as s, createElementBlock 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-
|
|
2
|
+
import { a, e as y } from "./number-CTKxLav6.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",
|