@feedmepos/mf-inventory-portal 1.2.46-dev.1 → 1.2.46-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-C1sr0xOr.js → App-DMaG_oAE.js} +3 -3
- package/dist/{ApprovalView-DArajyQl.js → ApprovalView-BjLxJ1au.js} +5 -5
- package/dist/{BindingsDialog-C6yewcWI.js → BindingsDialog-C4Uxwoka.js} +2 -2
- package/dist/{BindingsPicker-Bvh_ud5J.js → BindingsPicker-BVgES0gy.js} +3 -3
- package/dist/{BindingsTable-Cx7MdSWO.js → BindingsTable-C4VcFxrj.js} +3 -3
- package/dist/{ClosingDraftView-Cs8tR4jo.js → ClosingDraftView-wArgE2um.js} +36 -36
- package/dist/{ClosingHistoryView-D19rmx-F.js → ClosingHistoryView-C1szWalX.js} +3 -3
- package/dist/{ClosingTemplateView-BtiPh1TK.js → ClosingTemplateView-C4Rd9GV-.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-kRJWjhvr.js → DeliveryOrderPrintPreview-DWm_MrKB.js} +4 -4
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-XHldMNsc.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DL8olW4F.js} +12 -12
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BnQa7aOq.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-wcHAgT4a.js} +2 -2
- package/dist/{FmMultiselectDialog-cLf6RKgL.js → FmMultiselectDialog-BKDKVNRn.js} +2 -2
- package/dist/{FmMultiselectDialog-ClvBiNaE.js → FmMultiselectDialog-BYAqA8l3.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BZAMKfQP.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BjIiy2y9.js} +3 -3
- package/dist/{ImportView-DQH5_goH.js → ImportView-Bb0I7-6I.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DM05f6fX.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-B_SPL6nR.js} +1 -1
- package/dist/{IngredientGroupView-DT-slIEI.js → IngredientGroupView-Du6mfcHB.js} +5 -5
- package/dist/{IngredientsView-BOrk5hED.js → IngredientsView-CdV_l4WL.js} +916 -910
- package/dist/{IntegrationView-BKjOdbrQ.js → IntegrationView-BBThO3R6.js} +12 -12
- package/dist/{InventoryBindingForm-D7Moiw0C.js → InventoryBindingForm-AFwbVjGn.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-NmNLjKI7.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-wkB8LH6e.js} +4 -4
- package/dist/{InventoryBindingSummary-DZN4u2ic.js → InventoryBindingSummary-BWr95tMD.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DC-MOjPE.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CxRvNVCT.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dlun5nzw.js → PremiumBadge.vue_vue_type_script_setup_true_lang-C6ZZjlbX.js} +2 -2
- package/dist/{PublishView-D8DtjUNe.js → PublishView-DaSoDd78.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-J0m42xfj.js → PurchaseOrderPrintPreview-DkvvSOcn.js} +10 -10
- package/dist/{ReceiveRequestView-Bs_kmnDN.js → ReceiveRequestView-DwCpf9HO.js} +896 -889
- package/dist/{RecipeView-CRhIIY_X.js → RecipeView-3q0RzrRu.js} +8 -8
- package/dist/StockView-BcwnAz29.js +2497 -0
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DNynErn2.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang--6RZqwlj.js} +1 -1
- package/dist/{SupplierView-DCVx2dGI.js → SupplierView-kgYYQXjG.js} +11 -11
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-UcoOTSWO.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CPkQZhpK.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CyjP3QZ9.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DBktBW0y.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DVfOauQJ.js → TransferDetails.vue_vue_type_script_setup_true_lang-B1RjR9N2.js} +99 -99
- package/dist/{TransferTemplateView-CyNwmIDo.js → TransferTemplateView-D_vP4vX_.js} +15 -15
- package/dist/{UnitView-BIiLr6qD.js → UnitView-B-F6FFBx.js} +6 -6
- package/dist/{WarehouseView-LWPj-cxE.js → WarehouseView-nFYZEjok.js} +5 -5
- package/dist/{WastageTemplateView-D8MY4goe.js → WastageTemplateView-C8m40mTv.js} +14 -14
- package/dist/api/inventory.d.ts +10 -10
- package/dist/api/stock.d.ts +1 -0
- package/dist/{app-DlAw-CKC.js → app-Bjay8ZJ5.js} +7464 -7280
- package/dist/app.js +1 -1
- package/dist/{closing-template-BhQNWMn0.js → closing-template-D0V1OlDn.js} +1 -1
- package/dist/{date2-Cjg2xEWk.js → date2-B_lTiq7I.js} +1 -1
- package/dist/{dayjs.min-K4B_Hjxt.js → dayjs.min-DPBuQbfU.js} +13 -13
- package/dist/{decimal-D03nb7Pf.js → decimal-xh0ZYCgf.js} +2 -2
- package/dist/{defineDeepModel-BzxAOX7p.js → defineDeepModel-DAazpA4v.js} +1 -1
- package/dist/{duplicate-template-SQ9mw3Z0.js → duplicate-template-DwXLpIlM.js} +1 -1
- package/dist/{feature-hgi6oDwm.js → feature-D79cNqw0.js} +2 -2
- package/dist/{format-time-from-id-B5cMKwtZ.js → format-time-from-id-hy7GW498.js} +1 -1
- package/dist/{format-unit-display-c2fRZRDt.js → format-unit-display-B7Pze8NK.js} +10 -10
- package/dist/{import-export.helper-s9hPs5jh.js → import-export.helper-CA0D_5pE.js} +5 -5
- package/dist/{index-Y8nZ3Ufp.js → index-B1FuuUp7.js} +1 -1
- package/dist/{index-CCNgjGdZ.js → index-BTnLxNd6.js} +3 -3
- package/dist/{index-BtSMv3fF.js → index-D1G1ld2q.js} +1 -1
- package/dist/{lodash-BuPO0zxU.js → lodash-B1jOpPp1.js} +1 -1
- package/dist/{netsuite-BsfGotPw.js → netsuite-CiMJPNpA.js} +3 -3
- package/dist/{purchase-order-template-B7B1Eeff.js → purchase-order-template-DjW49Dno.js} +1 -1
- package/dist/{rules-BFG_4M0I.js → rules-DjxvXDCJ.js} +3 -3
- package/dist/{stock-C1T5lk_u.js → stock-CDJQ4ioF.js} +7 -1
- package/dist/{stock-CJb6CNaO.js → stock-CDjjsIcF.js} +3 -3
- package/dist/stores/inventory.d.ts +13 -13
- package/dist/stores/stock.d.ts +5 -5
- package/dist/stores/supplier.d.ts +24 -24
- package/dist/{supplier-B03BEBao.js → supplier-YSyo165N.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-NmhJMriB.js → use-ingredient-select-dialog-BMoC2DMg.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DxuS1pVF.js → use-inventory-binding-dialog-CulgXM4W.js} +2 -2
- package/dist/{use-template-enabled-locations-2-BKw2Fkl2.js → use-template-enabled-locations-2-dBtK63b9.js} +2 -2
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +20 -20
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +60 -60
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +2 -2
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +1 -1
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +6 -6
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +12 -12
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +2 -2
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +2 -2
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +12 -12
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +14 -14
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +29 -6
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +2 -2
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +2 -2
- package/dist/views/supplier/composables/use-supplier-table.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +12 -12
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +12 -12
- package/dist/{vue-i18n-HUWyupy_.js → vue-i18n-vRV47l8x.js} +356 -356
- package/dist/{xlsx-5W0L-aW4.js → xlsx-BG4nXAfB.js} +398 -398
- package/dist/{xlsx.util-gojddG3H.js → xlsx.util-DZQY0lcX.js} +1 -1
- package/package.json +4 -4
- package/dist/StockView-CHqJ3WhH.js +0 -2407
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as B, onUnmounted as D, defineComponent as w, watch as L, onMounted as M, computed as P, resolveComponent as y, openBlock as R, createElementBlock as A, unref as T, createVNode as g, createElementVNode as v, toDisplayString as x, createBlock as F, createCommentVNode as W } from "vue";
|
|
2
|
-
import { u as K, a as $, R as e, m as _, g as a, b as V } from "./app-
|
|
2
|
+
import { u as K, a as $, R as e, m as _, g as a, b as V } from "./app-Bjay8ZJ5.js";
|
|
3
3
|
import { useCoreStore as U, useI18n as k } from "@feedmepos/mf-common";
|
|
4
4
|
import { useRouter as O, useRoute as j } from "vue-router";
|
|
5
|
-
import { u as H } from "./feature-
|
|
6
|
-
import { u as z } from "./netsuite-
|
|
5
|
+
import { u as H } from "./feature-D79cNqw0.js";
|
|
6
|
+
import { u as z } from "./netsuite-CiMJPNpA.js";
|
|
7
7
|
import { u as Q } from "./useTabStorage-BkIVScW_.js";
|
|
8
8
|
import { u as Y } from "./googlemap-Dm8ERVai.js";
|
|
9
9
|
function q() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ue, ref as y, watch as ie, computed as d, resolveComponent as ce, openBlock as x, createBlock as X, unref as n, withCtx as k, createElementVNode as c, normalizeClass as pe, createVNode as i, normalizeStyle as de, toDisplayString as me, createElementBlock as fe, createCommentVNode as ve, Teleport as he, mergeProps as _e } from "vue";
|
|
2
|
-
import { u as De, m as b } from "./app-
|
|
3
|
-
import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as be, P as q, a as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { d as Z } from "./date2-
|
|
2
|
+
import { u as De, m as b } from "./app-Bjay8ZJ5.js";
|
|
3
|
+
import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-wcHAgT4a.js";
|
|
4
|
+
import { u as be, P as q, a as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-B1RjR9N2.js";
|
|
5
|
+
import { d as Z } from "./date2-B_lTiq7I.js";
|
|
6
6
|
import { u as Se, _ as xe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
7
7
|
import { _ as ke, F as O } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
|
|
8
8
|
import { useBreakpoints as qe } from "@feedmepos/ui-library";
|
|
9
9
|
import { useI18n as we } from "@feedmepos/mf-common";
|
|
10
10
|
import { N as Pe, H as Ne } from "./app-uBuHtW8m.js";
|
|
11
|
-
import { u as Te } from "./netsuite-
|
|
11
|
+
import { u as Te } from "./netsuite-CiMJPNpA.js";
|
|
12
12
|
const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Fe = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as L,
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-wkB8LH6e.js";
|
|
3
|
+
import { a as L, ai as S } from "./app-Bjay8ZJ5.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
-
import { a as M } from "./FmMultiselectDialog-
|
|
3
|
-
import { a as x,
|
|
2
|
+
import { a as M } from "./FmMultiselectDialog-BKDKVNRn.js";
|
|
3
|
+
import { a as x, ai as z } from "./app-Bjay8ZJ5.js";
|
|
4
4
|
const F = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex flex-col gap-16"
|
|
@@ -9,7 +9,7 @@ const F = {
|
|
|
9
9
|
class: "p-24 flex items-center justify-center gap-16"
|
|
10
10
|
}, A = /* @__PURE__ */ S({
|
|
11
11
|
__name: "BindingsPicker",
|
|
12
|
-
setup(
|
|
12
|
+
setup(L) {
|
|
13
13
|
const d = x(), C = r(() => d.recipes), I = r(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = r(() => a.value === "SKU" ? I.value.map((s) => ({
|
|
14
14
|
label: s.name,
|
|
15
15
|
sublabel: s.code,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
|
|
2
|
-
import { F as b, a as P,
|
|
3
|
-
import "./dayjs.min-
|
|
2
|
+
import { F as b, a as P, ai as R } from "./app-Bjay8ZJ5.js";
|
|
3
|
+
import "./dayjs.min-DPBuQbfU.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import "@feedmepos/mf-common";
|
|
7
7
|
import "./app-uBuHtW8m.js";
|
|
8
|
-
import "./lodash-
|
|
8
|
+
import "./lodash-B1jOpPp1.js";
|
|
9
9
|
const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
|
|
10
10
|
__name: "binding-ui",
|
|
11
11
|
props: {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as Re, ref as
|
|
1
|
+
import { defineComponent as Re, ref as Y, computed as M, onMounted as et, resolveComponent as K, openBlock as w, createElementBlock as V, Fragment as se, createTextVNode as le, createBlock as re, withCtx as O, createElementVNode as s, toDisplayString as Z, unref as g, createVNode as k, createCommentVNode as J, h as F, watch as Ee, renderList as $e, reactive as Mt, isRef as bt, normalizeClass as Be, normalizeStyle as ht, Teleport as Lt, mergeProps as Nt } from "vue";
|
|
2
2
|
import { F as Je, u as Et, _ as zt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
3
|
import { useCoreStore as kt, useI18n as _t } from "@feedmepos/mf-common";
|
|
4
|
-
import { useSnackbar as tt, useDialog as Ht, components as ge, useProxiedModel as Ot, useBreakpoints as
|
|
5
|
-
import { o as
|
|
4
|
+
import { useSnackbar as tt, useDialog as Ht, components as ge, useProxiedModel as Ot, useBreakpoints as Kt } from "@feedmepos/ui-library";
|
|
5
|
+
import { o as Yt, u as Qe, I as Q, s as E, J as Dt, K as ye, A as ze, v as He, c as Qt, a as qt } from "./app-Bjay8ZJ5.js";
|
|
6
6
|
import { defineStore as xt, storeToRefs as Gt } from "pinia";
|
|
7
|
-
import { d as
|
|
8
|
-
import { R as Zt, f as at, a as Xe, t as Jt, d as Ue, o as wt, p as St, m as Ct, l as Xt } from "./rules-
|
|
9
|
-
import { b as ea, d as ta } from "./xlsx.util-
|
|
10
|
-
import { u as Ft } from "./stock-
|
|
11
|
-
import { u as nt } from "./stock-
|
|
7
|
+
import { d as Ke, e as At, f as Wt, a as be } from "./date2-B_lTiq7I.js";
|
|
8
|
+
import { R as Zt, f as at, a as Xe, t as Jt, d as Ue, o as wt, p as St, m as Ct, l as Xt } from "./rules-DjxvXDCJ.js";
|
|
9
|
+
import { b as ea, d as ta } from "./xlsx.util-DZQY0lcX.js";
|
|
10
|
+
import { u as Ft } from "./stock-CDjjsIcF.js";
|
|
11
|
+
import { u as nt } from "./stock-CDJQ4ioF.js";
|
|
12
12
|
import { D as yt, R as Fe } from "./row-action.enum-BcW_L_nE.js";
|
|
13
13
|
import { c as aa, _ as na, F as Ne } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
|
|
14
|
-
import { f as oa } from "./format-time-from-id-
|
|
15
|
-
import { _ as sa } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { f as oa } from "./format-time-from-id-hy7GW498.js";
|
|
15
|
+
import { _ as sa } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-wcHAgT4a.js";
|
|
16
16
|
import { E as ra } from "./empty-placeholder-wf6-BWE8.js";
|
|
17
|
-
import { u as la } from "./vue-i18n-
|
|
18
|
-
const qe =
|
|
17
|
+
import { u as la } from "./vue-i18n-vRV47l8x.js";
|
|
18
|
+
const qe = Yt((c, r) => {
|
|
19
19
|
function e() {
|
|
20
20
|
return Qe().currentLocation.dbName;
|
|
21
21
|
}
|
|
@@ -60,7 +60,7 @@ const qe = Kt((c, r) => {
|
|
|
60
60
|
onFinished: { type: Function }
|
|
61
61
|
},
|
|
62
62
|
setup(c) {
|
|
63
|
-
const r = c, e =
|
|
63
|
+
const r = c, e = Y(), d = qe(), _ = tt(), y = Y(!1), f = Y(null), T = Y(!1), R = M(() => {
|
|
64
64
|
switch (r.action) {
|
|
65
65
|
case Q.enum.approveDraft:
|
|
66
66
|
return "Approve";
|
|
@@ -92,7 +92,7 @@ const qe = Kt((c, r) => {
|
|
|
92
92
|
});
|
|
93
93
|
const x = M({
|
|
94
94
|
get() {
|
|
95
|
-
return f.value === null ? "" :
|
|
95
|
+
return f.value === null ? "" : Ke(f.value);
|
|
96
96
|
},
|
|
97
97
|
set(m) {
|
|
98
98
|
if (m) {
|
|
@@ -148,7 +148,7 @@ const qe = Kt((c, r) => {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
return (m, t) => {
|
|
151
|
-
const S =
|
|
151
|
+
const S = K("FmLabel"), P = K("FmDatePicker"), z = K("FmTimePicker"), h = K("FmTextField"), p = K("FmButton"), $ = K("FmForm");
|
|
152
152
|
return T.value ? (w(), re($, {
|
|
153
153
|
key: 1,
|
|
154
154
|
onValidationSuccess: W,
|
|
@@ -171,7 +171,7 @@ const qe = Kt((c, r) => {
|
|
|
171
171
|
k(P, {
|
|
172
172
|
modelValue: x.value,
|
|
173
173
|
"onUpdate:modelValue": t[0] || (t[0] = (H) => x.value = H),
|
|
174
|
-
max: g(
|
|
174
|
+
max: g(Ke)(/* @__PURE__ */ new Date())
|
|
175
175
|
}, null, 8, ["modelValue", "max"]),
|
|
176
176
|
k(S, { class: "fm-typo-en-body-lg-600" }, {
|
|
177
177
|
default: O(() => t[8] || (t[8] = [
|
|
@@ -442,7 +442,7 @@ const _a = { class: "flex flex-col" }, Da = {
|
|
|
442
442
|
setup(c) {
|
|
443
443
|
const r = c;
|
|
444
444
|
nt();
|
|
445
|
-
const e =
|
|
445
|
+
const e = Y(!1), d = Y(null), _ = Y(!1);
|
|
446
446
|
et(() => {
|
|
447
447
|
if (r.draft.effectiveAt)
|
|
448
448
|
d.value = new Date(r.draft.effectiveAt);
|
|
@@ -454,7 +454,7 @@ const _a = { class: "flex flex-col" }, Da = {
|
|
|
454
454
|
});
|
|
455
455
|
const y = M({
|
|
456
456
|
get() {
|
|
457
|
-
return d.value === null ? "" :
|
|
457
|
+
return d.value === null ? "" : Ke(d.value);
|
|
458
458
|
},
|
|
459
459
|
set(j) {
|
|
460
460
|
if (j) {
|
|
@@ -479,7 +479,7 @@ const _a = { class: "flex flex-col" }, Da = {
|
|
|
479
479
|
e.value = !0, r.onFinished(d.value.toISOString());
|
|
480
480
|
}
|
|
481
481
|
return (j, x) => {
|
|
482
|
-
const D =
|
|
482
|
+
const D = K("FmLabel"), I = K("FmDatePicker"), W = K("FmTimePicker"), m = K("FmButton"), t = K("FmForm");
|
|
483
483
|
return _.value ? (w(), re(t, {
|
|
484
484
|
key: 1,
|
|
485
485
|
onValidationSuccess: R,
|
|
@@ -509,7 +509,7 @@ const _a = { class: "flex flex-col" }, Da = {
|
|
|
509
509
|
k(I, {
|
|
510
510
|
modelValue: y.value,
|
|
511
511
|
"onUpdate:modelValue": x[0] || (x[0] = (S) => y.value = S),
|
|
512
|
-
max: g(
|
|
512
|
+
max: g(Ke)(/* @__PURE__ */ new Date())
|
|
513
513
|
}, null, 8, ["modelValue", "max"]),
|
|
514
514
|
k(D, { class: "fm-typo-en-body-lg-600" }, {
|
|
515
515
|
default: O(() => x[4] || (x[4] = [
|
|
@@ -544,10 +544,10 @@ const _a = { class: "flex flex-col" }, Da = {
|
|
|
544
544
|
], 64));
|
|
545
545
|
};
|
|
546
546
|
}
|
|
547
|
-
}),
|
|
547
|
+
}), Ye = xt(
|
|
548
548
|
"closingDraftActions",
|
|
549
549
|
function() {
|
|
550
|
-
const r = Ht(), e = tt(), d = nt(), _ = qe(), y = Ft(), f =
|
|
550
|
+
const r = Ht(), e = tt(), d = nt(), _ = qe(), y = Ft(), f = Y(!1), T = Y();
|
|
551
551
|
function R(h) {
|
|
552
552
|
const p = {
|
|
553
553
|
draft: h
|
|
@@ -718,7 +718,7 @@ function Oe(c) {
|
|
|
718
718
|
const wa = xt(
|
|
719
719
|
"closingDraftTable",
|
|
720
720
|
function() {
|
|
721
|
-
const { t: r } = _t(), e = kt(), d =
|
|
721
|
+
const { t: r } = _t(), e = kt(), d = Ye(), _ = Y(new Array()), y = Y(!1), f = Qe(), T = qe();
|
|
722
722
|
async function R() {
|
|
723
723
|
if (_.value = [], !!f._currentLocation) {
|
|
724
724
|
y.value = !0;
|
|
@@ -954,7 +954,7 @@ const wa = xt(
|
|
|
954
954
|
}), x = M({
|
|
955
955
|
get: () => T.show,
|
|
956
956
|
set: (B) => R("update:show", B)
|
|
957
|
-
}), D =
|
|
957
|
+
}), D = Y(1), I = () => D.value > 1, W = () => D.value > 2, m = () => !1;
|
|
958
958
|
function t(B) {
|
|
959
959
|
return B === 1 ? T.hasStockSnapshot : B === 2 ? !j.value : !1;
|
|
960
960
|
}
|
|
@@ -1112,7 +1112,7 @@ const wa = xt(
|
|
|
1112
1112
|
_: 1
|
|
1113
1113
|
}, 8, ["modelValue"]));
|
|
1114
1114
|
}
|
|
1115
|
-
}), Ea = { class: "w-full flex flex-col gap-32" }, za = { class: "flex justify-between" }, Ha = { class: "flex" }, Oa = { class: "grid grid-cols-[repeat(4,1fr)] xs:flex xs:flex-col sm:flex sm:flex-col gap-8" },
|
|
1115
|
+
}), Ea = { class: "w-full flex flex-col gap-32" }, za = { class: "flex justify-between" }, Ha = { class: "flex" }, Oa = { class: "grid grid-cols-[repeat(4,1fr)] xs:flex xs:flex-col sm:flex sm:flex-col gap-8" }, Ka = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ya = { class: "flex gap-1" }, Qa = { class: "fm-typo-en-body-lg-600" }, qa = { class: "flex flex-col gap-16" }, Ga = { class: "flex items-center" }, Wa = {
|
|
1116
1116
|
key: 0,
|
|
1117
1117
|
class: "flex gap-8"
|
|
1118
1118
|
}, Za = {
|
|
@@ -1153,12 +1153,12 @@ const wa = xt(
|
|
|
1153
1153
|
const e = c, d = M(() => {
|
|
1154
1154
|
const i = Dt();
|
|
1155
1155
|
return i === "MYR" ? "RM" : i;
|
|
1156
|
-
}), _ = Ft(), y =
|
|
1156
|
+
}), _ = Ft(), y = Ye(), f = Ot(e, "show"), T = Y(!1), R = Y(!1), j = Y(!1), x = Y(new Array()), D = Y(new Array()), I = Y([]), W = nt(), m = qe(), t = tt(), S = qt(), P = Qe(), z = Mt({}), h = M(() => new Set(
|
|
1157
1157
|
S.skus.filter((i) => {
|
|
1158
1158
|
var a;
|
|
1159
1159
|
return z[(a = i.customAttributes) == null ? void 0 : a.tag];
|
|
1160
1160
|
}).map((i) => i._id)
|
|
1161
|
-
)), p = r, $ =
|
|
1161
|
+
)), p = r, $ = Y({
|
|
1162
1162
|
templateItem: !0,
|
|
1163
1163
|
nonTemplateItem: !0
|
|
1164
1164
|
}), H = M(() => {
|
|
@@ -1706,7 +1706,7 @@ const wa = xt(
|
|
|
1706
1706
|
}
|
|
1707
1707
|
}
|
|
1708
1708
|
];
|
|
1709
|
-
}), Ve = M(() => Te.value.map((i) => i.size ?? 0).reduce((i, a) => i + a)), xe =
|
|
1709
|
+
}), Ve = M(() => Te.value.map((i) => i.size ?? 0).reduce((i, a) => i + a)), xe = Y(""), je = M(() => {
|
|
1710
1710
|
var v, n;
|
|
1711
1711
|
const i = ((n = (v = e.draft) == null ? void 0 : v.negativeStockItems) == null ? void 0 : n.reduce(
|
|
1712
1712
|
(o, u) => (o[u.sku._id] = u, o),
|
|
@@ -1853,7 +1853,7 @@ const wa = xt(
|
|
|
1853
1853
|
label: "Action history",
|
|
1854
1854
|
value: "history"
|
|
1855
1855
|
}
|
|
1856
|
-
], _e =
|
|
1856
|
+
], _e = Y(we[0]), Se = M(() => {
|
|
1857
1857
|
var n, o, u;
|
|
1858
1858
|
const i = ((n = e.draft) == null ? void 0 : n.activityLogs) ?? [], a = ((o = e.draft) == null ? void 0 : o.rejectionHistory) ?? [];
|
|
1859
1859
|
for (const l of a)
|
|
@@ -1891,7 +1891,7 @@ const wa = xt(
|
|
|
1891
1891
|
]
|
|
1892
1892
|
})
|
|
1893
1893
|
);
|
|
1894
|
-
}), Me =
|
|
1894
|
+
}), Me = Y(!1), Ge = Y(!1), jt = M(() => {
|
|
1895
1895
|
var o, u;
|
|
1896
1896
|
const i = je.value.filter((l) => l.physicalBalance < 0).map((l) => ({
|
|
1897
1897
|
code: l.code,
|
|
@@ -1915,7 +1915,7 @@ const wa = xt(
|
|
|
1915
1915
|
}
|
|
1916
1916
|
return (i, a) => {
|
|
1917
1917
|
var pe;
|
|
1918
|
-
const v =
|
|
1918
|
+
const v = K("FmButtonGroup"), n = K("FmMenuDivider"), o = K("FmCard"), u = K("FmButton"), l = K("FmCircularProgress"), C = K("FmChip"), A = K("FmTextField"), L = K("FmIcon"), N = K("FmTable"), ce = K("FmSpacer"), ue = K("FmTooltip"), De = K("FmSideSheet");
|
|
1919
1919
|
return w(), V(se, null, [
|
|
1920
1920
|
k(De, {
|
|
1921
1921
|
"dismiss-away": "",
|
|
@@ -2010,8 +2010,8 @@ const wa = xt(
|
|
|
2010
2010
|
class: "flex flex-col gap-4",
|
|
2011
2011
|
key: ve
|
|
2012
2012
|
}, [
|
|
2013
|
-
s("div",
|
|
2014
|
-
s("div",
|
|
2013
|
+
s("div", Ka, [
|
|
2014
|
+
s("div", Ya, Z(ae.label), 1)
|
|
2015
2015
|
]),
|
|
2016
2016
|
s("div", Qa, Z(ae.value), 1)
|
|
2017
2017
|
]))), 128))
|
|
@@ -2245,9 +2245,9 @@ const wa = xt(
|
|
|
2245
2245
|
}), wn = { class: "flex-1 flex flex-col gap-8" }, Sn = { class: "flex flex-col" }, Cn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Fn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, $n = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Bn = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, Wn = /* @__PURE__ */ Re({
|
|
2246
2246
|
__name: "ClosingDraftView",
|
|
2247
2247
|
setup(c) {
|
|
2248
|
-
const { t: r } = _t(), { viewDraft: e } =
|
|
2248
|
+
const { t: r } = _t(), { viewDraft: e } = Ye(), { viewClosingDraftProps: d, viewClosingDraftShow: _ } = Gt(Ye()), y = Qe(), f = wa(), T = Et(), { breakpoints: R } = Kt();
|
|
2249
2249
|
y.watchLocation(f.fetchDrafts);
|
|
2250
|
-
const j = M(() => f.loading), x =
|
|
2250
|
+
const j = M(() => f.loading), x = Y(""), D = M(() => R.value.xs || R.value.sm), I = M(() => D.value ? 10 : 20);
|
|
2251
2251
|
function W(S) {
|
|
2252
2252
|
switch (S) {
|
|
2253
2253
|
case "refresh":
|
|
@@ -2271,7 +2271,7 @@ const wa = xt(
|
|
|
2271
2271
|
}
|
|
2272
2272
|
]);
|
|
2273
2273
|
return (S, P) => {
|
|
2274
|
-
const z =
|
|
2274
|
+
const z = K("FmTable");
|
|
2275
2275
|
return w(), V(se, null, [
|
|
2276
2276
|
k(zt, {
|
|
2277
2277
|
title: g(r)("inventory.closing.draft.title"),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as G, ref as v, computed as D, watch as se, resolveComponent as S, openBlock as i, createElementBlock as f, createVNode as g, withModifiers as ie, withCtx as B, createElementVNode as n, toDisplayString as s, unref as a, Fragment as E, createTextVNode as N, createBlock as T, createCommentVNode as k, renderList as z, normalizeClass as ce, h as re, onMounted as de, Teleport as ue } from "vue";
|
|
2
2
|
import { F as me, _ as fe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
3
|
import { useI18n as J, useCoreStore as ve } from "@feedmepos/mf-common";
|
|
4
|
-
import { D as Q, A as V, u as ye } from "./app-
|
|
5
|
-
import { _ as pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as Q, A as V, u as ye } from "./app-Bjay8ZJ5.js";
|
|
5
|
+
import { _ as pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-wcHAgT4a.js";
|
|
6
6
|
import { useSnackbar as W, useDialog as ge } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as _e } from "./stock-
|
|
7
|
+
import { u as _e } from "./stock-CDJQ4ioF.js";
|
|
8
8
|
const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col gap-16" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col gap-8" }, De = { class: "fm-typo-en-body-md-600" }, we = { class: "flex flex-col gap-8" }, Se = { class: "fm-typo-en-body-md-600" }, Ve = { class: "flex items-center gap-8 mb-8" }, Ae = {
|
|
9
9
|
key: 2,
|
|
10
10
|
class: "text-red-500 text-sm mt-2"
|
|
@@ -4,23 +4,23 @@ import { useI18n as W, useCoreStore as de } from "@feedmepos/mf-common";
|
|
|
4
4
|
import { useDialog as pe, useDialogChild as Ze, useSnackbar as ce, FmButtonVariant as oe, components as Y, FmAdvancedSort as et, useProxiedModel as tt, useBreakpoints as nt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Ve, storeToRefs as Ue } from "pinia";
|
|
6
6
|
import { F as G } from "./form-mode.enum-BKiNVH6A.js";
|
|
7
|
-
import { a as me } from "./closing-template-
|
|
8
|
-
import { u as fe, c as Ne, a as ve, n as ot } from "./app-
|
|
9
|
-
import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-
|
|
7
|
+
import { a as me } from "./closing-template-D0V1OlDn.js";
|
|
8
|
+
import { u as fe, c as Ne, a as ve, n as ot } from "./app-Bjay8ZJ5.js";
|
|
9
|
+
import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-DZQY0lcX.js";
|
|
10
10
|
import { F as lt } from "./FmDroppableField-J0xUsOTV.js";
|
|
11
|
-
import { f as Be, a as le } from "./date2-
|
|
11
|
+
import { f as Be, a as le } from "./date2-B_lTiq7I.js";
|
|
12
12
|
import { D as se, R as z } from "./row-action.enum-BcW_L_nE.js";
|
|
13
13
|
import { c as at, F as X, _ as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
|
|
14
|
-
import { f as rt } from "./format-time-from-id-
|
|
15
|
-
import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as ct } from "./netsuite-
|
|
17
|
-
import { u as mt } from "./duplicate-template-
|
|
18
|
-
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { R as dt, A as pt } from "./rules-
|
|
20
|
-
import { u as ft } from "./use-ingredient-select-dialog-
|
|
21
|
-
import { d as vt } from "./defineDeepModel-
|
|
22
|
-
import { u as gt } from "./use-template-enabled-locations-2-
|
|
23
|
-
import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { f as rt } from "./format-time-from-id-hy7GW498.js";
|
|
15
|
+
import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DBktBW0y.js";
|
|
16
|
+
import { u as ct } from "./netsuite-CiMJPNpA.js";
|
|
17
|
+
import { u as mt } from "./duplicate-template-DwXLpIlM.js";
|
|
18
|
+
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-wcHAgT4a.js";
|
|
19
|
+
import { R as dt, A as pt } from "./rules-DjxvXDCJ.js";
|
|
20
|
+
import { u as ft } from "./use-ingredient-select-dialog-BMoC2DMg.js";
|
|
21
|
+
import { d as vt } from "./defineDeepModel-DAazpA4v.js";
|
|
22
|
+
import { u as gt } from "./use-template-enabled-locations-2-dBtK63b9.js";
|
|
23
|
+
import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-CPkQZhpK.js";
|
|
24
24
|
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
25
25
|
const ue = Ve(
|
|
26
26
|
"closingTemplateTable",
|
package/dist/{DeliveryOrderPrintPreview-kRJWjhvr.js → DeliveryOrderPrintPreview-DWm_MrKB.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as x, computed as f, ref as h, onMounted as _, openBlock as u, createElementBlock as i, createElementVNode as t, createTextVNode as n, toDisplayString as e, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as g } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import {
|
|
3
|
+
import { M as y } from "./app-Bjay8ZJ5.js";
|
|
4
4
|
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub-header" }, O = ["src"], P = { style: { "padding-left": "10px" } }, C = { class: "address" }, D = { class: "text-right" }, R = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "subtitle"
|
|
8
|
-
}, S = { class: "sub-header" }, E = { class: "caption" }, T = { class: "address" }, q = { class: "text-right" }, F = { class: "sub-header" }, I = { class: "address" },
|
|
8
|
+
}, S = { class: "sub-header" }, E = { class: "caption" }, T = { class: "address" }, q = { class: "text-right" }, F = { class: "sub-header" }, I = { class: "address" }, M = { class: "purchase-body" }, U = { class: "text-left" }, B = { class: "text-left" }, H = { class: "text-left" }, L = { class: "text-left" }, V = { class: "text-left" }, J = { class: "text-right" }, j = { key: 0 }, z = {
|
|
9
9
|
key: 1,
|
|
10
10
|
style: { "padding-top": "30px" }
|
|
11
11
|
}, G = { valign: "bottom" }, Q = { class: "header" }, K = { class: "caption" }, W = {
|
|
@@ -107,7 +107,7 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
|
|
|
107
107
|
])
|
|
108
108
|
])
|
|
109
109
|
]),
|
|
110
|
-
t("div",
|
|
110
|
+
t("div", M, [
|
|
111
111
|
t("table", null, [
|
|
112
112
|
l[19] || (l[19] = t("thead", { class: "item-header" }, [
|
|
113
113
|
t("tr", null, [
|
|
@@ -153,7 +153,7 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
|
|
|
153
153
|
], -1)),
|
|
154
154
|
t("tbody", null, [
|
|
155
155
|
(u(!0), i(o, null, p(s.value.items, (r, a) => (u(), i("tr", { key: a }, [
|
|
156
|
-
t("td",
|
|
156
|
+
t("td", L, e(a + 1), 1),
|
|
157
157
|
t("td", V, e(r.description), 1),
|
|
158
158
|
t("td", {
|
|
159
159
|
class: g(["text-right", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as L, t as R } from "./rules-
|
|
3
|
-
import { u as z } from "./supplier-
|
|
4
|
-
import { computed as f, defineComponent as H, mergeModels as j, useModel as q, ref as x, resolveComponent as
|
|
5
|
-
import { F as
|
|
1
|
+
import { J as O, u as D, t as C, T as A, V as E, y as V } from "./app-Bjay8ZJ5.js";
|
|
2
|
+
import { a as L, t as R } from "./rules-DjxvXDCJ.js";
|
|
3
|
+
import { u as z } from "./supplier-YSyo165N.js";
|
|
4
|
+
import { computed as f, defineComponent as H, mergeModels as j, useModel as q, ref as x, resolveComponent as w, openBlock as P, createElementBlock as U, normalizeStyle as W, createElementVNode as I, createVNode as $, withCtx as J, createBlock as g, createCommentVNode as N, Fragment as Y, renderList as K, unref as M } from "vue";
|
|
5
|
+
import { F as Q } from "./FmMultiselectDialog-BKDKVNRn.js";
|
|
6
6
|
function X(e, r, a) {
|
|
7
7
|
var o;
|
|
8
8
|
if (!!r.measurement === !!a && ((o = r.measurement) == null ? void 0 : o.id) === a)
|
|
@@ -170,13 +170,13 @@ const Z = { class: "overflow-y-auto h-full pb-8" }, ae = /* @__PURE__ */ H({
|
|
|
170
170
|
emits: ["update:search"],
|
|
171
171
|
setup(e) {
|
|
172
172
|
const r = e, a = q(e, "search"), u = f(
|
|
173
|
-
() => new
|
|
173
|
+
() => new Q(r.items, ["label", "sublabel"], {
|
|
174
174
|
caseSensitive: !1,
|
|
175
175
|
sort: !0
|
|
176
176
|
})
|
|
177
177
|
), l = f(() => u.value.search(a.value)), n = x();
|
|
178
178
|
return console.log({ stickyRef: n }), (o, p) => {
|
|
179
|
-
const v =
|
|
179
|
+
const v = w("FmButton"), b = w("FmTextField"), h = w("FmMenuItem");
|
|
180
180
|
return P(), U("div", {
|
|
181
181
|
class: "relative",
|
|
182
182
|
style: W({ width: o.width })
|
|
@@ -191,7 +191,7 @@ const Z = { class: "overflow-y-auto h-full pb-8" }, ae = /* @__PURE__ */ H({
|
|
|
191
191
|
"onUpdate:modelValue": p[1] || (p[1] = (c) => a.value = c),
|
|
192
192
|
placeholder: "Filter options"
|
|
193
193
|
}, {
|
|
194
|
-
append:
|
|
194
|
+
append: J(() => [
|
|
195
195
|
a.value ? (P(), g(v, {
|
|
196
196
|
key: 0,
|
|
197
197
|
variant: "tertiary",
|
|
@@ -203,15 +203,15 @@ const Z = { class: "overflow-y-auto h-full pb-8" }, ae = /* @__PURE__ */ H({
|
|
|
203
203
|
}, 8, ["modelValue"])
|
|
204
204
|
], 512),
|
|
205
205
|
I("div", Z, [
|
|
206
|
-
(P(!0), U(Y, null,
|
|
206
|
+
(P(!0), U(Y, null, K(l.value, (c, T) => (P(), g(h, {
|
|
207
207
|
key: T,
|
|
208
208
|
label: c.label,
|
|
209
209
|
sublabel: c.sublabel,
|
|
210
|
-
"model-value": M(
|
|
211
|
-
onClick: () => o.handleItemChange(M(
|
|
210
|
+
"model-value": M(V)(o.modelValue, c.value),
|
|
211
|
+
onClick: () => o.handleItemChange(M(V)(o.modelValue, c.value), c),
|
|
212
212
|
onVnodeMounted: (_) => {
|
|
213
213
|
var s, t;
|
|
214
|
-
return M(
|
|
214
|
+
return M(V)(o.modelValue, c.value) && ((s = _.el) == null || s.scrollIntoView({ behavior: "instant", block: "end" }), (t = _.el) == null || t.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
215
215
|
}
|
|
216
216
|
}, null, 8, ["label", "sublabel", "model-value", "onClick", "onVnodeMounted"]))), 128)),
|
|
217
217
|
l.value.length ? N("", !0) : (P(), g(h, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as I, computed as g, ref as z, resolveComponent as h, openBlock as n, createElementBlock as y, createVNode as _, withCtx as L, createElementVNode as f, toDisplayString as Y, unref as u, createBlock as p, createCommentVNode as w, Fragment as $, renderList as R, watch as E, mergeModels as O, useModel as C, renderSlot as H, normalizeClass as S } from "vue";
|
|
2
2
|
import { useCoreStore as W, useI18n as P } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as q } from "./app-
|
|
4
|
-
import { d as U } from "./date2-
|
|
3
|
+
import { u as q } from "./app-Bjay8ZJ5.js";
|
|
4
|
+
import { d as U } from "./date2-B_lTiq7I.js";
|
|
5
5
|
import { useBreakpoints as G } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as J, F as K } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
7
7
|
import { b as A } from "./app-uBuHtW8m.js";
|
|
@@ -3,8 +3,8 @@ var De = (F, o, t) => o in F ? Ie(F, o, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var me = (F, o, t) => De(F, typeof o != "symbol" ? o + "" : o, t);
|
|
4
4
|
import { defineComponent as ge, computed as S, ref as L, watch as ke, openBlock as c, createElementBlock as h, normalizeStyle as j, Fragment as V, renderList as $, renderSlot as _e, createCommentVNode as O, useSlots as He, onMounted as $e, onUnmounted as Oe, reactive as q, resolveComponent as B, createElementVNode as I, createVNode as _, toDisplayString as ee, unref as H, createSlots as Ue, withCtx as w, createBlock as M, resolveDynamicComponent as fe, normalizeClass as he, withModifiers as Pe, Transition as Ee } from "vue";
|
|
5
5
|
import { useDialogChild as Ke } from "@feedmepos/ui-library";
|
|
6
|
-
import { y as be } from "./app-
|
|
7
|
-
import { d as Ne } from "./index-
|
|
6
|
+
import { y as be } from "./app-Bjay8ZJ5.js";
|
|
7
|
+
import { d as Ne } from "./index-D1G1ld2q.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useI18n as je } from "@feedmepos/mf-common";
|
|
10
10
|
import { N as Ge, H as ye, b as ze } from "./app-uBuHtW8m.js";
|
|
@@ -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-BKDKVNRn.js";
|
|
5
5
|
import { h as S } from "vue";
|
|
6
6
|
const w = p("inventoryMultiSelectDialog", () => {
|
|
7
7
|
const l = y(), { t: n } = v();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ie, mergeModels as W, useModel as le, computed as v, ref as B, watch as E, onBeforeUnmount as ae, inject as ue, resolveComponent as b, openBlock as d, createElementBlock as y, createElementVNode as u, createVNode as h, withCtx as F, renderSlot as G, normalizeClass as j, toDisplayString as _, withDirectives as re, vModelText as me, createCommentVNode as I, createTextVNode as ce, createBlock as U, Fragment as de, renderList as pe } from "vue";
|
|
2
|
-
import { l as fe } from "./lodash-
|
|
3
|
-
import { s as D } from "./app-
|
|
4
|
-
import { I as R, g as O, d as ve, a as M, c as be, t as ye, f as he, p as Me, b as ge, u as xe } from "./rules-
|
|
2
|
+
import { l as fe } from "./lodash-B1jOpPp1.js";
|
|
3
|
+
import { s as D } from "./app-Bjay8ZJ5.js";
|
|
4
|
+
import { I as R, g as O, d as ve, a as M, c as be, t as ye, f as he, p as Me, b as ge, u as xe } from "./rules-DjxvXDCJ.js";
|
|
5
5
|
import "@feedmepos/ui-library";
|
|
6
6
|
function H() {
|
|
7
7
|
return {
|
|
@@ -2,14 +2,14 @@ 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-CWZkVCAj.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-D79cNqw0.js";
|
|
6
|
+
import { a as ie } from "./app-Bjay8ZJ5.js";
|
|
7
|
+
import "./dayjs.min-DPBuQbfU.js";
|
|
8
8
|
import "./app-uBuHtW8m.js";
|
|
9
|
-
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-
|
|
10
|
-
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-
|
|
9
|
+
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-DZQY0lcX.js";
|
|
10
|
+
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-CA0D_5pE.js";
|
|
11
11
|
import { r as nt } from "./random-CSbEbElR.js";
|
|
12
|
-
import { d as Ae, a as pe } from "./rules-
|
|
12
|
+
import { d as Ae, a as pe } from "./rules-DjxvXDCJ.js";
|
|
13
13
|
import { F as ot } from "./FmDroppableField-J0xUsOTV.js";
|
|
14
14
|
function Ee() {
|
|
15
15
|
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, f as y } from "./rules-
|
|
2
|
+
import { a, f as y } from "./rules-DjxvXDCJ.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",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R, openBlock as F, createElementBlock as B, createVNode as b, unref as l, createElementVNode as c, 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 z, j as oe, u as Re } from "./app-
|
|
2
|
+
import { a as L, c as z, j as oe, u as Re } from "./app-Bjay8ZJ5.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 P, useCoreStore as Ge } from "@feedmepos/mf-common";
|
|
@@ -7,11 +7,11 @@ import { defineStore as ue, storeToRefs as ae } from "pinia";
|
|
|
7
7
|
import { D as le, R as K } from "./row-action.enum-BcW_L_nE.js";
|
|
8
8
|
import { c as Ve, _ as Ce, F as ie } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
|
|
9
9
|
import { u as De, _ as Ae } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
10
|
-
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { d as de } from "./defineDeepModel-
|
|
12
|
-
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-
|
|
10
|
+
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-wcHAgT4a.js";
|
|
11
|
+
import { d as de } from "./defineDeepModel-DAazpA4v.js";
|
|
12
|
+
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-DjxvXDCJ.js";
|
|
13
13
|
import { x as Ue, N as Be, b as ze } from "./app-uBuHtW8m.js";
|
|
14
|
-
import { u as Le } from "./FmMultiselectDialog-
|
|
14
|
+
import { u as Le } from "./FmMultiselectDialog-BYAqA8l3.js";
|
|
15
15
|
import { r as me } from "./random-CSbEbElR.js";
|
|
16
16
|
import { u as Pe, R as Ne } from "./usePromise-CbVUCxhj.js";
|
|
17
17
|
const H = ue(
|