@feedmepos/mf-inventory-portal 1.8.0-dev.6 → 1.8.0-dev.7
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-B8DzC8Td.js → App-Bo29Nwt0.js} +8 -8
- package/dist/{ApprovalView-DwHtlnLK.js → ApprovalView-1Y_jh_UJ.js} +9 -9
- package/dist/{BindingsDialog-COSQ6XVU.js → BindingsDialog-VMvTLguN.js} +2 -2
- package/dist/{BindingsPicker-vn2GwOb7.js → BindingsPicker-KNRM5rMU.js} +2 -2
- package/dist/{BindingsTable-B3-YXiPU.js → BindingsTable-CSyNlNCL.js} +4 -4
- package/dist/{BulkReceiveRequestView-LUAuL39I.js → BulkReceiveRequestView-vOeHbWM_.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bq2bBCHH.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DQuI04Yj.js} +1 -1
- package/dist/{ClosingDraftView-BKgjXfss.js → ClosingDraftView-A2pJuhIb.js} +20 -20
- package/dist/{ClosingHistoryView-BI_zufKI.js → ClosingHistoryView-woRmvmYT.js} +5 -5
- package/dist/{ClosingTemplateView-CNNgkrX0.js → ClosingTemplateView-DpkNCyoB.js} +18 -18
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DGxUjcQc.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DOpIDvsy.js} +1 -1
- package/dist/{DefaultView-D9ldG5wf.js → DefaultView-B4UuAqYu.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-CnvuZat5.js → DeliveryOrderPrintPreview-w0YcNH3F.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-s0eDfL8g.js → EmailDialog.vue_vue_type_script_setup_true_lang-BimIEHsW.js} +23 -23
- package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-2t_ajTtF.js → FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js} +16 -16
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Bo4aCSFL.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang--54VR4oB.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BhhKFtnX.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B7j4ZSOe.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Dx8b6nGn.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js} +2 -2
- package/dist/{FmMultiselectDialog-zaOH0oB9.js → FmMultiselectDialog-BnZInvgp.js} +2 -2
- package/dist/{FmMultiselectDialog-Coxul96n.js → FmMultiselectDialog-DMA5eR0C.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B0xT-sP9.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BXTUsnwN.js} +6 -6
- package/dist/{ImportView-CuRogJ1u.js → ImportView-C7Hah7MM.js} +6 -6
- package/dist/{IngredientsView-BnEJ1QAk.js → IngredientsView-C4-8qNGD.js} +16 -16
- package/dist/{IntegrationExplorerView-DB-7hXUE.js → IntegrationExplorerView-D3leld2Z.js} +4 -4
- package/dist/{IntegrationView-CBGPi1xL.js → IntegrationView-BhRzry3g.js} +15 -15
- package/dist/{InventoryBindingForm-eggGypKW.js → InventoryBindingForm-ewAgZ6e-.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CvQ82oaY.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bpo7Yv9A.js} +5 -5
- package/dist/{InventoryBindingSummary-DegINJdx.js → InventoryBindingSummary-e67GzHYr.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DYq61C5M.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKEzy2Uo.js} +1 -1
- package/dist/{ProductionRunDetailView-6uJmjwAg.js → ProductionRunDetailView-Ct7kr5Ht.js} +4 -4
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-Dcd3sV5C.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-7u0HQH67.js} +7 -7
- package/dist/{ProductionRunView-CiypqoQT.js → ProductionRunView-odWyBZGx.js} +3 -3
- package/dist/{PublishView-DEyODScT.js → PublishView-BXA3k8Cp.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DjsD8HaB.js → PurchaseOrderPrintPreview-DRugr4BU.js} +2 -2
- package/dist/{ReceiveRequestView-DGWA-SOC.js → ReceiveRequestView-CeJs9NTD.js} +13 -13
- package/dist/{RecipeView-CO5kxazA.js → RecipeView-BH0REMB3.js} +16 -16
- package/dist/{SettingsView-9uq0QYht.js → SettingsView-Dc27wyk-.js} +100 -101
- package/dist/{StockView-YKfyjTE1.js → StockView-DrHLzosW.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C8q3IBMg.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ckw1_xIc.js} +1 -1
- package/dist/{SupplierView-D62RB87K.js → SupplierView-DH9u6e2M.js} +14 -14
- package/dist/{SurchargeView-DY4xuPN0.js → SurchargeView-BPVEpc0f.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-C27rA7Z_.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BRwxKmwb.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BhhvJtAf.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BpiePSmo.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-cvgA7DlK.js → TransferDetails.vue_vue_type_script_setup_true_lang-DOQGPKiv.js} +20 -20
- package/dist/{TransferTemplateView-DZk-6Z-1.js → TransferTemplateView-CEVRsKL7.js} +20 -20
- package/dist/{UnitCostHistoryView-C-aNhP72.js → UnitCostHistoryView-06rIaX_M.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D655ehgk.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-C2zidBrl.js} +4 -4
- package/dist/{UnitView-h2n8XNZr.js → UnitView-Xk_F9SYG.js} +8 -8
- package/dist/{WarehouseView-gPPmrhxB.js → WarehouseView-bmpLmpcX.js} +8 -8
- package/dist/{WastageTemplateView-7bp-1vTP.js → WastageTemplateView-CWV1pFxM.js} +15 -15
- package/dist/{app-_FoXoYBy.js → app-CURawLhs.js} +16 -16
- package/dist/app.js +1 -1
- package/dist/{closing-template-D8bk-LUW.js → closing-template-q_KGB4jO.js} +1 -1
- package/dist/{date2-DE0h0f1Z.js → date2-3kdweNLp.js} +1 -1
- package/dist/{dayjs.min-DxnjPhAT.js → dayjs.min-DHE73-wM.js} +1 -1
- package/dist/{decimal-D9ZB4atK.js → decimal-CAnQe2Ib.js} +2 -2
- package/dist/{defineDeepModel-pn4B1f06.js → defineDeepModel-CctS67Do.js} +1 -1
- package/dist/{duplicate-template-DS-mr3MQ.js → duplicate-template-Jk2V2Ezg.js} +1 -1
- package/dist/{feature-D0aaeyga.js → feature-D9n0IC0c.js} +3 -3
- package/dist/feature-flags/portal-feature-catalog.d.ts +1 -1
- package/dist/feature-flags/portal-feature-catalog.spec.d.ts +1 -0
- package/dist/{format-time-from-id-CbFUj3BY.js → format-time-from-id-Bmzpbg-8.js} +1 -1
- package/dist/{format-unit-display-DulZiawi.js → format-unit-display-CVg4Bl5L.js} +13 -13
- package/dist/{id-to-date-CLCvDHvP.js → id-to-date-DPCcxufP.js} +1 -1
- package/dist/{import-export.helper-Ce1hr39u.js → import-export.helper-bmGZwUBB.js} +6 -6
- package/dist/{index-DrkUq9y6.js → index-CFNNQo-7.js} +3 -3
- package/dist/{index-DpxJ3TzB.js → index-yt6MlAFG.js} +1 -1
- package/dist/{index-DDw8ryXI.js → index-zCBA-X6R.js} +1 -1
- package/dist/{lz-string-BakfyAq0.js → lz-string-CqlY9MC2.js} +1 -1
- package/dist/{netsuite-Cn2W-lOV.js → netsuite-DudeltN_.js} +2 -2
- package/dist/{number-B2-Gbof3.js → number-BoePMDs8.js} +3 -3
- package/dist/{predefined-templates-DmITBHzs.js → predefined-templates-DT32p04n.js} +1 -1
- package/dist/{purchase-order-template-BfP6Sy0k.js → purchase-order-template-LaRpWA04.js} +1 -1
- package/dist/{recalculationUtils-BRe2QPvC.js → recalculationUtils-BYN393eE.js} +1 -1
- package/dist/{row-action.enum-CxzHcy4A.js → row-action.enum-BiP5wkT6.js} +1 -1
- package/dist/{rules-CjqBvFGt.js → rules-CQT0uAAo.js} +2 -2
- package/dist/{stock-CjFjkezq.js → stock-B9XerL9c.js} +1 -1
- package/dist/{stock-BT50AgTx.js → stock-CVybjhUm.js} +3 -3
- package/dist/{supplier-wmjWWKaf.js → supplier-dpHijd2E.js} +2 -2
- package/dist/{surcharge-CQC6Fa7Q.js → surcharge-BZ4STY5J.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-CUQleOt4.js → uom-rules-Da5Lngvp.js} +1 -1
- package/dist/{use-ingredient-select-dialog-7VVHmM7s.js → use-ingredient-select-dialog-C3YsT5l-.js} +2 -2
- package/dist/{use-inventory-binding-dialog-C8m7iwRG.js → use-inventory-binding-dialog-BSsyrcGe.js} +2 -2
- package/dist/{use-template-enabled-locations-CRgTVDMh.js → use-template-enabled-locations-BmJUzSUm.js} +2 -2
- package/dist/{use-transfer-locations-Bs0PotVA.js → use-transfer-locations-frEk_aBH.js} +2 -2
- package/dist/{useHrmPermission-DcAzZ0CT.js → useHrmPermission-Cyjm0y9a.js} +1 -1
- package/dist/{useNavigationMenu-CtihCeyC.js → useNavigationMenu-CnTsOF9T.js} +26 -26
- package/dist/{useSseClient-CizgYCQI.js → useSseClient-D_7o9nuf.js} +1 -1
- package/dist/{vue-i18n-DpTQ6ev1.js → vue-i18n-DwAcG7yc.js} +158 -158
- package/dist/{xlsx.util-CPC0Dkyo.js → xlsx.util-C7S-uyqm.js} +2 -2
- package/package.json +2 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as oe, ref as h, computed as H, watch as W, resolveComponent as E, createElementBlock as c, openBlock as o, createElementVNode as l, toDisplayString as D, Fragment as U, renderList as Y, createBlock as O, createCommentVNode as X, createVNode as m, nextTick as _e, createSlots as xe, withCtx as z, normalizeClass as ie, unref as T, withModifiers as he, h as
|
|
1
|
+
import { defineComponent as oe, ref as h, computed as H, watch as W, resolveComponent as E, createElementBlock as c, openBlock as o, createElementVNode as l, toDisplayString as D, Fragment as U, renderList as Y, createBlock as O, createCommentVNode as X, createVNode as m, nextTick as _e, createSlots as xe, withCtx as z, normalizeClass as ie, unref as T, withModifiers as he, h as B, Teleport as ke } from "vue";
|
|
2
2
|
import { _ as we } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
3
|
-
import { B as G, g as Fe, r as Te, s as Se, u as Ce, a as te, b as De, c as $e, d as ye, e as Be, f as Ve } from "./predefined-templates-
|
|
3
|
+
import { B as G, g as Fe, r as Te, s as Se, u as Ce, a as te, b as De, c as $e, d as ye, e as Be, f as Ve } from "./predefined-templates-DT32p04n.js";
|
|
4
4
|
import { useSnackbar as Ie, components as Q } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { H as le, I as Oe } from "./app-
|
|
6
|
+
import { H as le, I as Oe } from "./app-CURawLhs.js";
|
|
7
7
|
import { useCoreStore as fe, useI18n as Pe } from "@feedmepos/mf-common";
|
|
8
|
-
import "./dayjs.min-
|
|
9
|
-
import { a as Ee, I as Ue, u as Ae } from "./feature-
|
|
10
|
-
import { b as Le, a as He, D as Ne } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as Me } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import "./dayjs.min-DHE73-wM.js";
|
|
9
|
+
import { a as Ee, I as Ue, u as Ae } from "./feature-D9n0IC0c.js";
|
|
10
|
+
import { b as Le, a as He, D as Ne } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js";
|
|
11
|
+
import { _ as Me } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DQuI04Yj.js";
|
|
12
12
|
const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700 mb-4 pb-2 border-b border-gray-200" }, Ke = { class: "flex flex-col gap-3" }, qe = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "flex items-center justify-between py-1"
|
|
@@ -26,7 +26,7 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
26
26
|
function C(u) {
|
|
27
27
|
var _;
|
|
28
28
|
if ((_ = u.config) != null && _.configFields && Array.isArray(u.config.configFields)) {
|
|
29
|
-
const d = u.config.configFields.map((v) => ({ ...v })), x = new Set(d.map((v) => v.key)),
|
|
29
|
+
const d = u.config.configFields.map((v) => ({ ...v })), x = new Set(d.map((v) => v.key)), s = G[u.tag], b = s ? s.initialConfigFields().filter((v) => !x.has(v.key)) : [];
|
|
30
30
|
return [...d, ...b];
|
|
31
31
|
}
|
|
32
32
|
const i = G[u.tag];
|
|
@@ -58,49 +58,49 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
58
58
|
return o(), c("div", Re, [
|
|
59
59
|
l("div", je, D(P.value) + " Settings ", 1),
|
|
60
60
|
l("div", Ke, [
|
|
61
|
-
(o(!0), c(U, null, Y(p.value, (
|
|
62
|
-
key:
|
|
61
|
+
(o(!0), c(U, null, Y(p.value, (s, b) => (o(), c("div", {
|
|
62
|
+
key: s.key
|
|
63
63
|
}, [
|
|
64
|
-
|
|
65
|
-
l("label", Ge, D(
|
|
64
|
+
s.type === "toggle" ? (o(), c("div", qe, [
|
|
65
|
+
l("label", Ge, D(s.label), 1),
|
|
66
66
|
m(_, {
|
|
67
|
-
"model-value":
|
|
67
|
+
"model-value": s.value,
|
|
68
68
|
"onUpdate:modelValue": (v) => f(b, v)
|
|
69
69
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
70
|
-
])) :
|
|
70
|
+
])) : s.type === "text" ? (o(), O(d, {
|
|
71
71
|
key: 1,
|
|
72
|
-
label:
|
|
73
|
-
"model-value":
|
|
74
|
-
placeholder:
|
|
72
|
+
label: s.label,
|
|
73
|
+
"model-value": s.value,
|
|
74
|
+
placeholder: s.placeholder,
|
|
75
75
|
"onUpdate:modelValue": (v) => f(b, v)
|
|
76
|
-
}, null, 8, ["label", "model-value", "placeholder", "onUpdate:modelValue"])) :
|
|
77
|
-
l("div", Ye, D(
|
|
76
|
+
}, null, 8, ["label", "model-value", "placeholder", "onUpdate:modelValue"])) : s.type === "textarea" ? (o(), c(U, { key: 2 }, [
|
|
77
|
+
l("div", Ye, D(s.label), 1),
|
|
78
78
|
l("textarea", {
|
|
79
79
|
class: "w-full font-mono text-[13px] p-2 border border-gray-300 rounded resize-y box-border focus:outline-none focus:border-blue-600",
|
|
80
|
-
value:
|
|
81
|
-
rows:
|
|
82
|
-
placeholder:
|
|
80
|
+
value: s.value,
|
|
81
|
+
rows: s.rows ?? 8,
|
|
82
|
+
placeholder: s.placeholder,
|
|
83
83
|
onInput: (v) => f(b, v.target.value)
|
|
84
84
|
}, null, 40, We)
|
|
85
|
-
], 64)) :
|
|
85
|
+
], 64)) : s.type === "select" ? (o(), O(x, {
|
|
86
86
|
key: 3,
|
|
87
|
-
label:
|
|
88
|
-
"model-value":
|
|
89
|
-
items:
|
|
87
|
+
label: s.label,
|
|
88
|
+
"model-value": s.value,
|
|
89
|
+
items: s.options || [],
|
|
90
90
|
"item-label": "label",
|
|
91
91
|
"item-value": "value",
|
|
92
92
|
"onUpdate:modelValue": (v) => f(b, v)
|
|
93
|
-
}, null, 8, ["label", "model-value", "items", "onUpdate:modelValue"])) :
|
|
93
|
+
}, null, 8, ["label", "model-value", "items", "onUpdate:modelValue"])) : s.type === "number" ? (o(), O(d, {
|
|
94
94
|
key: 4,
|
|
95
|
-
label:
|
|
95
|
+
label: s.label,
|
|
96
96
|
type: "number",
|
|
97
|
-
"model-value": String(
|
|
97
|
+
"model-value": String(s.value),
|
|
98
98
|
"onUpdate:modelValue": (v) => f(b, Number(v))
|
|
99
|
-
}, null, 8, ["label", "model-value", "onUpdate:modelValue"])) :
|
|
100
|
-
l("label", Qe, D(
|
|
99
|
+
}, null, 8, ["label", "model-value", "onUpdate:modelValue"])) : s.type === "color" ? (o(), c("div", Je, [
|
|
100
|
+
l("label", Qe, D(s.label), 1),
|
|
101
101
|
l("input", {
|
|
102
102
|
type: "color",
|
|
103
|
-
value:
|
|
103
|
+
value: s.value,
|
|
104
104
|
class: "color-input w-9 h-7 p-0 border border-gray-300 rounded cursor-pointer bg-transparent",
|
|
105
105
|
onInput: (v) => f(b, v.target.value)
|
|
106
106
|
}, null, 40, Xe)
|
|
@@ -185,7 +185,7 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
185
185
|
])
|
|
186
186
|
]));
|
|
187
187
|
}
|
|
188
|
-
}), at = { class: "flex items-center gap-2 text-base font-semibold" },
|
|
188
|
+
}), at = { class: "flex items-center gap-2 text-base font-semibold" }, st = { key: 1 }, nt = { key: 2 }, rt = {
|
|
189
189
|
key: 0,
|
|
190
190
|
class: "p-6"
|
|
191
191
|
}, it = {
|
|
@@ -225,7 +225,7 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
225
225
|
const S = j, F = k, C = Ce(), p = Ie(), P = fe(), f = H({
|
|
226
226
|
get: () => S.modelValue,
|
|
227
227
|
set: (n) => F("update:modelValue", n)
|
|
228
|
-
}), y = h(!1), u = h(!1), i = h(te()), _ = h(null), d = h(le.Enum.purchaseOrder), x = h("Purchase Order Template"),
|
|
228
|
+
}), y = h(!1), u = h(!1), i = h(te()), _ = h(null), d = h(le.Enum.purchaseOrder), x = h("Purchase Order Template"), s = h(null), b = h(!1), v = h(!1), V = h("select-type"), ae = [
|
|
229
229
|
{
|
|
230
230
|
label: "Purchase Order",
|
|
231
231
|
value: le.Enum.purchaseOrder,
|
|
@@ -265,10 +265,10 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
}), W(d, async () => {
|
|
268
|
-
_.value = null, await
|
|
268
|
+
_.value = null, await se();
|
|
269
269
|
});
|
|
270
270
|
async function ue(n) {
|
|
271
|
-
d.value = n, await
|
|
271
|
+
d.value = n, await se(), V.value = "editor";
|
|
272
272
|
}
|
|
273
273
|
function J() {
|
|
274
274
|
return {
|
|
@@ -278,13 +278,13 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
278
278
|
deliveryOrder: "Delivery Order Template"
|
|
279
279
|
}[d.value] ?? "Purchase Order Template";
|
|
280
280
|
}
|
|
281
|
-
async function
|
|
281
|
+
async function se() {
|
|
282
282
|
y.value = !0;
|
|
283
283
|
try {
|
|
284
284
|
const n = await C.browse();
|
|
285
285
|
N.value = new Set(n.map((g) => g.type));
|
|
286
286
|
const e = n.find((g) => g.type === d.value);
|
|
287
|
-
e ? (
|
|
287
|
+
e ? (s.value = e._id, x.value = e.name, i.value = e.blocks.map((g) => ({ ...g }))) : (s.value = null, i.value = te(), x.value = J());
|
|
288
288
|
} catch {
|
|
289
289
|
i.value = te(), x.value = J();
|
|
290
290
|
} finally {
|
|
@@ -299,7 +299,7 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
299
299
|
};
|
|
300
300
|
i.value.push(e), _.value = e.id;
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function ne(n) {
|
|
303
303
|
const e = i.value.findIndex((g) => g.id === n);
|
|
304
304
|
e >= 0 && (i.value.splice(e, 1), _.value === n && (_.value = null));
|
|
305
305
|
}
|
|
@@ -327,10 +327,10 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
327
327
|
const e = i.value.splice(A.value, 1)[0];
|
|
328
328
|
i.value.splice(n, 0, e), A.value = null, L.value = null;
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function a() {
|
|
331
331
|
A.value = null, L.value = null;
|
|
332
332
|
}
|
|
333
|
-
async function
|
|
333
|
+
async function $() {
|
|
334
334
|
var n;
|
|
335
335
|
u.value = !0;
|
|
336
336
|
try {
|
|
@@ -353,10 +353,10 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
353
353
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
354
354
|
};
|
|
355
355
|
let R;
|
|
356
|
-
|
|
357
|
-
_id:
|
|
356
|
+
s.value ? R = await C.update(s.value, {
|
|
357
|
+
_id: s.value,
|
|
358
358
|
...M
|
|
359
|
-
}) : (R = await C.create(M),
|
|
359
|
+
}) : (R = await C.create(M), s.value = R._id), N.value.add(d.value), v.value = !1, p == null || p.open({
|
|
360
360
|
title: "Success",
|
|
361
361
|
message: "Print template saved",
|
|
362
362
|
type: "success"
|
|
@@ -372,10 +372,10 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
async function K() {
|
|
375
|
-
if (
|
|
375
|
+
if (s.value) {
|
|
376
376
|
u.value = !0;
|
|
377
377
|
try {
|
|
378
|
-
await C.delete(
|
|
378
|
+
await C.delete(s.value), s.value = null, i.value = te(), x.value = J(), N.value.delete(d.value), b.value = !1, p == null || p.open({
|
|
379
379
|
title: "Deleted",
|
|
380
380
|
message: "Print template deleted. Default layout will be used.",
|
|
381
381
|
type: "success"
|
|
@@ -427,7 +427,7 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
427
427
|
size: "sm"
|
|
428
428
|
})
|
|
429
429
|
])) : X("", !0),
|
|
430
|
-
V.value === "select-type" ? (o(), c("span",
|
|
430
|
+
V.value === "select-type" ? (o(), c("span", st, "Print Template Editor")) : (o(), c("span", nt, D((r = ae.find((I) => I.value === d.value)) == null ? void 0 : r.label) + " Template", 1))
|
|
431
431
|
])
|
|
432
432
|
];
|
|
433
433
|
}),
|
|
@@ -499,7 +499,7 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
499
499
|
onDragover: (q) => me(q, I),
|
|
500
500
|
onDragleave: ve,
|
|
501
501
|
onDrop: (q) => t(I),
|
|
502
|
-
onDragend:
|
|
502
|
+
onDragend: a,
|
|
503
503
|
onClick: (q) => _.value = r.id
|
|
504
504
|
}, [
|
|
505
505
|
m(g, {
|
|
@@ -517,7 +517,7 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
517
517
|
name: "delete",
|
|
518
518
|
size: "sm",
|
|
519
519
|
class: "cursor-pointer text-gray-400 hover:text-red-500",
|
|
520
|
-
onClick: he((q) =>
|
|
520
|
+
onClick: he((q) => ne(r.id), ["stop"])
|
|
521
521
|
}, null, 8, ["onClick"])
|
|
522
522
|
])
|
|
523
523
|
], 42, Ft))), 128)),
|
|
@@ -554,7 +554,7 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
554
554
|
name: "dialog-footer",
|
|
555
555
|
fn: z(() => [
|
|
556
556
|
l("div", It, [
|
|
557
|
-
|
|
557
|
+
s.value ? (o(), O(M, {
|
|
558
558
|
key: 0,
|
|
559
559
|
label: "Delete Template",
|
|
560
560
|
variant: "destructive",
|
|
@@ -590,7 +590,7 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
590
590
|
variant: "primary",
|
|
591
591
|
size: "md",
|
|
592
592
|
loading: u.value,
|
|
593
|
-
onClick:
|
|
593
|
+
onClick: $
|
|
594
594
|
}, null, 8, ["loading"])
|
|
595
595
|
]),
|
|
596
596
|
default: z(() => [
|
|
@@ -653,7 +653,7 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
653
653
|
const k = Ae(), S = fe(), F = Ee(), C = Q.FmSwitch, p = Q.FmTable, P = Q.FmMenu, f = Q.FmMenuDivider, y = Q.FmMenuHeader, u = Q.FmMenuItem, i = /* @__PURE__ */ new Set(), _ = {
|
|
654
654
|
inventory_pos_closing_v1: "Use v2: Closing Draft and Closing Template.",
|
|
655
655
|
inventory_pos_convert_v1: "Use Production Item instead."
|
|
656
|
-
}, d = h([]), x = h(null),
|
|
656
|
+
}, d = h([]), x = h(null), s = ["In use", "Deprecate Soon", "Deprecated"], b = h(null), v = h({}), V = h(!1), ae = {
|
|
657
657
|
inventory_netsuite_inventory_transfer_out: ["netsuite"],
|
|
658
658
|
inventory_portal_accept_require_fulfillment: ["mobile"],
|
|
659
659
|
inventory_portal_must_use_transfer_template: ["mobile"],
|
|
@@ -662,7 +662,6 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
662
662
|
inventory_pos_adjust_v1: ["mobile", "pos-v7", "pos-7.8"],
|
|
663
663
|
inventory_pos_adjust_v2_wastage: ["mobile", "pos-v7", "pos-7.8"],
|
|
664
664
|
inventory_pos_allow_receive_order: ["mobile", "pos-v7", "pos-7.8"],
|
|
665
|
-
inventory_pos_closing_recalculation: ["mobile"],
|
|
666
665
|
inventory_pos_closing_v1: ["mobile", "pos-v7", "pos-7.8"],
|
|
667
666
|
inventory_pos_closing_v2: ["mobile", "pos-v7", "pos-7.8"],
|
|
668
667
|
inventory_pos_convert_v1: ["mobile", "pos-v7", "pos-7.8"],
|
|
@@ -672,31 +671,31 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
672
671
|
inventory_purchase_order_approval: ["mobile"]
|
|
673
672
|
}, N = H(
|
|
674
673
|
() => Object.values(Ue).map((t) => {
|
|
675
|
-
const
|
|
674
|
+
const a = k.flags.find(($) => $.name === t);
|
|
676
675
|
return {
|
|
677
676
|
name: t,
|
|
678
|
-
enabled: (
|
|
677
|
+
enabled: (a == null ? void 0 : a.enabled) ?? null,
|
|
679
678
|
domains: ["portal", ...ae[t] ?? []],
|
|
680
|
-
|
|
679
|
+
features: Le(t)
|
|
681
680
|
};
|
|
682
681
|
})
|
|
683
682
|
), Z = H(
|
|
684
683
|
() => [...new Set(N.value.flatMap((t) => t.domains))].sort()
|
|
685
684
|
), A = H(
|
|
686
685
|
() => N.value.filter(
|
|
687
|
-
(t) => (d.value.length === 0 || d.value.some((
|
|
686
|
+
(t) => (d.value.length === 0 || d.value.some((a) => t.domains.includes(a))) && (!x.value || ne(t) === x.value)
|
|
688
687
|
)
|
|
689
688
|
);
|
|
690
689
|
function L(t) {
|
|
691
|
-
d.value = d.value.includes(t) ? d.value.filter((
|
|
690
|
+
d.value = d.value.includes(t) ? d.value.filter((a) => a !== t) : [...d.value, t];
|
|
692
691
|
}
|
|
693
692
|
function ue() {
|
|
694
693
|
d.value = [], x.value = null;
|
|
695
694
|
}
|
|
696
695
|
function J(t) {
|
|
697
|
-
return t.domains.includes("mobile") || t.domains.some((
|
|
696
|
+
return t.domains.includes("mobile") || t.domains.some((a) => a.startsWith("pos-"));
|
|
698
697
|
}
|
|
699
|
-
function
|
|
698
|
+
function se(t) {
|
|
700
699
|
return b.value && J(t) ? v.value[t.name] === !0 : t.enabled === !0;
|
|
701
700
|
}
|
|
702
701
|
async function ce(t) {
|
|
@@ -704,15 +703,15 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
704
703
|
v.value = {};
|
|
705
704
|
return;
|
|
706
705
|
}
|
|
707
|
-
const
|
|
706
|
+
const a = t;
|
|
708
707
|
V.value = !0;
|
|
709
708
|
try {
|
|
710
|
-
const { flags:
|
|
711
|
-
b.value ===
|
|
712
|
-
} catch (
|
|
713
|
-
console.error("Unable to load feature flags for the selected scope",
|
|
709
|
+
const { flags: $ } = await F.listForScope(a);
|
|
710
|
+
b.value === a && (v.value = Object.fromEntries($.map((K) => [K.name, K.enabled])));
|
|
711
|
+
} catch ($) {
|
|
712
|
+
console.error("Unable to load feature flags for the selected scope", $), b.value === a && (v.value = {});
|
|
714
713
|
} finally {
|
|
715
|
-
b.value ===
|
|
714
|
+
b.value === a && (V.value = !1);
|
|
716
715
|
}
|
|
717
716
|
}
|
|
718
717
|
W(
|
|
@@ -725,15 +724,14 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
725
724
|
},
|
|
726
725
|
{ immediate: !0 }
|
|
727
726
|
), W(b, ce, { immediate: !0 });
|
|
728
|
-
function
|
|
727
|
+
function ne(t) {
|
|
729
728
|
return i.has(t.name) ? "Deprecated" : _[t.name] ? "Deprecate Soon" : "In use";
|
|
730
729
|
}
|
|
731
730
|
function de(t) {
|
|
732
731
|
return t === "Deprecated" ? "bg-red-50 text-red-700" : t === "Deprecate Soon" ? "bg-fm-color-state-warning-subtle text-fm-color-state-warning-base" : "bg-green-50 text-green-700";
|
|
733
732
|
}
|
|
734
733
|
function pe(t) {
|
|
735
|
-
|
|
736
|
-
return ((s = t.feature) == null ? void 0 : s.controls) ?? "Controls the availability of this inventory feature.";
|
|
734
|
+
return t.features.length === 0 ? ["Controls the availability of this inventory feature."] : t.features.length === 1 ? [t.features[0].controls] : t.features.map((a) => `${a.label}: ${a.controls}`);
|
|
737
735
|
}
|
|
738
736
|
function me(t) {
|
|
739
737
|
return i.has(t.name) ? "This flag is deprecated. Use its supported replacement for new work." : _[t.name];
|
|
@@ -743,32 +741,32 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
743
741
|
accessorKey: "name",
|
|
744
742
|
header: "Feature flag",
|
|
745
743
|
meta: { width: "27%" },
|
|
746
|
-
cell: ({ row: t }) =>
|
|
747
|
-
|
|
748
|
-
...t.original.
|
|
749
|
-
|
|
750
|
-
tier:
|
|
751
|
-
category:
|
|
752
|
-
deprecateSoon:
|
|
744
|
+
cell: ({ row: t }) => B("div", { class: "flex flex-wrap items-center gap-2" }, [
|
|
745
|
+
B("span", { class: "break-all font-mono text-xs text-gray-700" }, t.original.name),
|
|
746
|
+
...t.original.features.slice(0, 1).map(
|
|
747
|
+
(a) => B(He, {
|
|
748
|
+
tier: a.category === "premium" ? "premium" : "standard",
|
|
749
|
+
category: a.category,
|
|
750
|
+
deprecateSoon: a.deprecateSoon,
|
|
753
751
|
informative: !0
|
|
754
752
|
})
|
|
755
|
-
|
|
753
|
+
)
|
|
756
754
|
])
|
|
757
755
|
},
|
|
758
756
|
{
|
|
759
757
|
id: "domains",
|
|
760
758
|
header: "Domains",
|
|
761
759
|
meta: { width: "19%" },
|
|
762
|
-
cell: ({ row: t }) =>
|
|
760
|
+
cell: ({ row: t }) => B(
|
|
763
761
|
"div",
|
|
764
762
|
{ class: "flex flex-wrap gap-2" },
|
|
765
763
|
t.original.domains.map(
|
|
766
|
-
(
|
|
764
|
+
(a) => B(
|
|
767
765
|
"span",
|
|
768
766
|
{
|
|
769
767
|
class: "rounded-full bg-fm-color-neutral-gray-100 px-2 py-0.5 text-xs font-medium text-fm-color-typo-secondary"
|
|
770
768
|
},
|
|
771
|
-
|
|
769
|
+
a
|
|
772
770
|
)
|
|
773
771
|
)
|
|
774
772
|
)
|
|
@@ -778,10 +776,12 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
778
776
|
header: "Description",
|
|
779
777
|
meta: { width: "29%" },
|
|
780
778
|
cell: ({ row: t }) => {
|
|
781
|
-
const
|
|
782
|
-
return
|
|
783
|
-
|
|
784
|
-
|
|
779
|
+
const a = me(t.original);
|
|
780
|
+
return B("div", { class: "flex flex-col gap-2 text-xs" }, [
|
|
781
|
+
...pe(t.original).map(
|
|
782
|
+
($) => B("span", { class: "text-fm-color-typo-secondary" }, $)
|
|
783
|
+
),
|
|
784
|
+
...a ? [B("span", { class: "text-fm-color-state-warning-base" }, a)] : []
|
|
785
785
|
]);
|
|
786
786
|
}
|
|
787
787
|
},
|
|
@@ -790,13 +790,13 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
790
790
|
header: "Status",
|
|
791
791
|
meta: { width: "13%" },
|
|
792
792
|
cell: ({ row: t }) => {
|
|
793
|
-
const
|
|
794
|
-
return
|
|
793
|
+
const a = ne(t.original);
|
|
794
|
+
return a === "Deprecate Soon" ? B(Ne) : B(
|
|
795
795
|
"span",
|
|
796
796
|
{
|
|
797
|
-
class: `inline-flex rounded-full px-2 py-0.5 text-xs font-medium ${de(
|
|
797
|
+
class: `inline-flex rounded-full px-2 py-0.5 text-xs font-medium ${de(a)}`
|
|
798
798
|
},
|
|
799
|
-
|
|
799
|
+
a
|
|
800
800
|
);
|
|
801
801
|
}
|
|
802
802
|
},
|
|
@@ -805,37 +805,36 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
805
805
|
header: "Availability",
|
|
806
806
|
meta: { width: "12%" },
|
|
807
807
|
cell: ({ row: t }) => {
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
...
|
|
813
|
-
...((B = t.original.feature) == null ? void 0 : B.category) === "premium" && t.original.enabled !== !0 && !s ? [$("span", { class: "text-xs text-gray-500" }, "Controlled by the Premium plan")] : []
|
|
808
|
+
const a = !!b.value && J(t.original);
|
|
809
|
+
return B("div", { class: "flex flex-col items-end gap-2" }, [
|
|
810
|
+
B(C, { modelValue: se(t.original), disabled: !0, showIcon: !0 }),
|
|
811
|
+
...a && V.value ? [B("span", { class: "text-xs text-gray-500" }, "Loading location value…")] : [],
|
|
812
|
+
...t.original.features.some(($) => $.category === "premium") && t.original.enabled !== !0 && !a ? [B("span", { class: "text-xs text-gray-500" }, "Controlled by the Premium plan")] : []
|
|
814
813
|
]);
|
|
815
814
|
}
|
|
816
815
|
}
|
|
817
816
|
]);
|
|
818
|
-
return (t,
|
|
819
|
-
const
|
|
817
|
+
return (t, a) => {
|
|
818
|
+
const $ = E("FmChip"), K = E("FmButton");
|
|
820
819
|
return o(), c("div", At, [
|
|
821
820
|
l("div", Lt, [
|
|
822
821
|
m(Me, {
|
|
823
822
|
"model-value": b.value,
|
|
824
|
-
"onUpdate:modelValue":
|
|
823
|
+
"onUpdate:modelValue": a[0] || (a[0] = (w) => b.value = w),
|
|
825
824
|
"selection-only": "",
|
|
826
825
|
"show-business": ""
|
|
827
826
|
}, null, 8, ["model-value"]),
|
|
828
|
-
(o(!0), c(U, null, Y(d.value, (w) => (o(), O(
|
|
827
|
+
(o(!0), c(U, null, Y(d.value, (w) => (o(), O($, {
|
|
829
828
|
key: w,
|
|
830
829
|
label: `domain in ${w}`,
|
|
831
830
|
removable: "",
|
|
832
831
|
onChipClosed: (re) => L(w)
|
|
833
832
|
}, null, 8, ["label", "onChipClosed"]))), 128)),
|
|
834
|
-
x.value ? (o(), O(
|
|
833
|
+
x.value ? (o(), O($, {
|
|
835
834
|
key: 0,
|
|
836
835
|
label: `status in ${x.value}`,
|
|
837
836
|
removable: "",
|
|
838
|
-
onChipClosed:
|
|
837
|
+
onChipClosed: a[1] || (a[1] = (w) => x.value = null)
|
|
839
838
|
}, null, 8, ["label"])) : X("", !0),
|
|
840
839
|
m(T(P), {
|
|
841
840
|
"close-on-click": !1,
|
|
@@ -862,7 +861,7 @@ const Re = { class: "p-3" }, je = { class: "text-sm font-semibold text-gray-700
|
|
|
862
861
|
}, null, 8, ["label", "model-value", "onClick"]))), 128)),
|
|
863
862
|
m(T(f)),
|
|
864
863
|
m(T(y), { label: "Status" }),
|
|
865
|
-
(o(), c(U, null, Y(
|
|
864
|
+
(o(), c(U, null, Y(s, (w) => m(T(u), {
|
|
866
865
|
key: w,
|
|
867
866
|
label: w,
|
|
868
867
|
selectable: "",
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { defineComponent as pe, createElementBlock as q, openBlock as j, createElementVNode as e, createVNode as y, toDisplayString as m, unref as s, ref as Y, h as be, computed as T, watch as Fe, resolveComponent as D, createBlock as ne, isRef as Pe, withCtx as M, Fragment as ue, renderList as ve, createCommentVNode as se, normalizeClass as He, reactive as _t, mergeModels as st, useModel as jt, onMounted as Xe, createTextVNode as me, normalizeStyle as kt, watchEffect as Vt, renderSlot as at, onUnmounted as Ct, Teleport as Bt, normalizeProps as rt, mergeProps as ze } from "vue";
|
|
2
2
|
import { u as Dt, _ as Mt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
3
|
-
import { u as Se, c as Re, a as Ne, F as lt, t as It, E as ie, s as Ht, d as Tt, B as Et, w as oe, h as Ce, i as it, e as ut, L as ge, M as Be } from "./app-
|
|
4
|
-
import { u as Oe } from "./stock-
|
|
3
|
+
import { u as Se, c as Re, a as Ne, F as lt, t as It, E as ie, s as Ht, d as Tt, B as Et, w as oe, h as Ce, i as it, e as ut, L as ge, M as Be } from "./app-CURawLhs.js";
|
|
4
|
+
import { u as Oe } from "./stock-CVybjhUm.js";
|
|
5
5
|
import { c as Ut } from "./component-BmLAdDiY.js";
|
|
6
|
-
import { _ as ht, o as Pt } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as Ke, S as We, g as bt, a as Rt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { a as qe } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as ht, o as Pt } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-C2zidBrl.js";
|
|
7
|
+
import { _ as Ke, S as We, g as bt, a as Rt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ckw1_xIc.js";
|
|
8
|
+
import { a as qe } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js";
|
|
9
9
|
import { useI18n as ye, useCoreStore as Je } from "@feedmepos/mf-common";
|
|
10
|
-
import { u as gt, i as Te } from "./id-to-date-
|
|
10
|
+
import { u as gt, i as Te } from "./id-to-date-DPCcxufP.js";
|
|
11
11
|
import { useSnackbar as we, useDialog as Le, useProxiedModel as Ye, useBreakpoints as Nt } from "@feedmepos/ui-library";
|
|
12
12
|
import { defineStore as Ot } from "pinia";
|
|
13
13
|
import { F as Qe } from "./FmAdminBadge-DlplQOHb.js";
|
|
14
|
-
import { g as $e, a as he, e as Lt, t as Ee, c as xe, f as Yt, h as ct, i as xt, j as Ze, d as Me, k as zt } from "./number-
|
|
15
|
-
import { u as Ae } from "./stock-
|
|
16
|
-
import { c as Ue, A as Wt, M as Gt, R as Kt } from "./rules-
|
|
17
|
-
import { u as qt } from "./use-inventory-binding-dialog-
|
|
18
|
-
import { a as St } from "./FmMultiselectDialog-
|
|
19
|
-
import { d as ke } from "./dayjs.min-
|
|
20
|
-
import { _ as Xt } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
21
|
-
import { g as Jt } from "./decimal-
|
|
22
|
-
import { b as Qt, d as Zt, f as wt, t as dt, a as mt, p as eo, n as to, c as oo } from "./date2-
|
|
23
|
-
import { i as no } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang
|
|
14
|
+
import { g as $e, a as he, e as Lt, t as Ee, c as xe, f as Yt, h as ct, i as xt, j as Ze, d as Me, k as zt } from "./number-BoePMDs8.js";
|
|
15
|
+
import { u as Ae } from "./stock-B9XerL9c.js";
|
|
16
|
+
import { c as Ue, A as Wt, M as Gt, R as Kt } from "./rules-CQT0uAAo.js";
|
|
17
|
+
import { u as qt } from "./use-inventory-binding-dialog-BSsyrcGe.js";
|
|
18
|
+
import { a as St } from "./FmMultiselectDialog-BnZInvgp.js";
|
|
19
|
+
import { d as ke } from "./dayjs.min-DHE73-wM.js";
|
|
20
|
+
import { _ as Xt } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKEzy2Uo.js";
|
|
21
|
+
import { g as Jt } from "./decimal-CAnQe2Ib.js";
|
|
22
|
+
import { b as Qt, d as Zt, f as wt, t as dt, a as mt, p as eo, n as to, c as oo } from "./date2-3kdweNLp.js";
|
|
23
|
+
import { i as no } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang--54VR4oB.js";
|
|
24
24
|
import { _ as so } from "./empty-placeholder-B0QU467o.js";
|
|
25
|
-
import { F as _e, u as ao } from "./feature-
|
|
26
|
-
import { u as At } from "./useHrmPermission-
|
|
25
|
+
import { F as _e, u as ao } from "./feature-D9n0IC0c.js";
|
|
26
|
+
import { u as At } from "./useHrmPermission-Cyjm0y9a.js";
|
|
27
27
|
import { _ as ro, F as ft } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
28
|
-
import { _ as lo } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
29
|
-
import { u as io } from "./useSseClient-
|
|
30
|
-
import { u as uo } from "./netsuite-
|
|
28
|
+
import { _ as lo } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js";
|
|
29
|
+
import { u as io } from "./useSseClient-D_7o9nuf.js";
|
|
30
|
+
import { u as uo } from "./netsuite-DudeltN_.js";
|
|
31
31
|
import { P as co, J as mo } from "./app-C39bYJmq.js";
|
|
32
32
|
var Ie = /* @__PURE__ */ ((A) => (A.History = "History", A.Convert = "Convert", A.Adjust = "Adjust", A))(Ie || {});
|
|
33
33
|
const fo = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, computed as h, createElementBlock as l, openBlock as d, createElementVNode as r, normalizeClass as v, toDisplayString as m, unref as p, ref as V, resolveComponent as $, Fragment as k, createCommentVNode as G, createVNode as E, withCtx as S, renderList as P } from "vue";
|
|
2
2
|
import { useI18n as D, useCoreStore as N } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as O } from "./netsuite-
|
|
3
|
+
import { u as O } from "./netsuite-DudeltN_.js";
|
|
4
4
|
function re(e, t = !1) {
|
|
5
5
|
var c;
|
|
6
6
|
return e ? [
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as ie, mergeModels as Kd, computed as I, useModel as dd, resolveComponent as V, createElementBlock as w, openBlock as S, createElementVNode as v, createVNode as b, toDisplayString as k, unref as u, Fragment as oe, renderList as se, withCtx as R, ref as G, createBlock as ee, createCommentVNode as q, createTextVNode as wd, isRef as td, normalizeClass as ae, watch as Ad, createSlots as Wd, normalizeStyle as Yd, Teleport as Xd } from "vue";
|
|
2
|
-
import { u as pe } from "./supplier-
|
|
3
|
-
import { D as rd, R as ve } from "./row-action.enum-
|
|
2
|
+
import { u as pe } from "./supplier-dpHijd2E.js";
|
|
3
|
+
import { D as rd, R as ve } from "./row-action.enum-BiP5wkT6.js";
|
|
4
4
|
import { c as zd } from "./component-BmLAdDiY.js";
|
|
5
|
-
import { c as Ae, a as Ue, h as nd, i as od, g as Zd, m as Rd, u as Ne } from "./app-
|
|
5
|
+
import { c as Ae, a as Ue, h as nd, i as od, g as Zd, m as Rd, u as Ne } from "./app-CURawLhs.js";
|
|
6
6
|
import { useI18n as te, useCoreStore as Ce } from "@feedmepos/mf-common";
|
|
7
|
-
import { u as Se } from "./netsuite-
|
|
7
|
+
import { u as Se } from "./netsuite-DudeltN_.js";
|
|
8
8
|
import { useDialog as Ee, useSnackbar as xe, useProxiedModel as ad, useDialogChild as qd, useBreakpoints as Jd } from "@feedmepos/ui-library";
|
|
9
9
|
import { u as Qd, _ as et } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
10
10
|
import { F as K } from "./form-mode.enum-BKiNVH6A.js";
|
|
11
|
-
import { R as J } from "./rules-
|
|
12
|
-
import { a as dt } from "./FmMultiselectDialog-
|
|
13
|
-
import { a as Md } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { _ as tt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { u as Ie } from "./feature-
|
|
11
|
+
import { R as J } from "./rules-CQT0uAAo.js";
|
|
12
|
+
import { a as dt } from "./FmMultiselectDialog-BnZInvgp.js";
|
|
13
|
+
import { a as Md } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js";
|
|
14
|
+
import { _ as tt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BXTUsnwN.js";
|
|
15
|
+
import { u as Ie } from "./feature-D9n0IC0c.js";
|
|
16
16
|
import { _ as Z } from "./FmLockableField.vue_vue_type_script_setup_true_lang-FCg4K7y8.js";
|
|
17
|
-
import { u as rt } from "./purchase-order-template-
|
|
18
|
-
import { g as nt } from "./number-
|
|
17
|
+
import { u as rt } from "./purchase-order-template-LaRpWA04.js";
|
|
18
|
+
import { g as nt } from "./number-BoePMDs8.js";
|
|
19
19
|
import { _ as ot, F as ge } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
20
|
-
import { _ as at } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
20
|
+
import { _ as at } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js";
|
|
21
21
|
import { defineStore as it } from "pinia";
|
|
22
|
-
import { b as kd, d as Dd, s as lt, r as $t } from "./xlsx.util-
|
|
23
|
-
import { f as st } from "./date2-
|
|
22
|
+
import { b as kd, d as Dd, s as lt, r as $t } from "./xlsx.util-C7S-uyqm.js";
|
|
23
|
+
import { f as st } from "./date2-3kdweNLp.js";
|
|
24
24
|
import { F as ut } from "./FmDroppableField-J0tG_U3w.js";
|
|
25
25
|
function ct(e, d) {
|
|
26
26
|
const { t } = te(), r = Se();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as pe, ref as v, computed as c, watch as R, onMounted as fe, resolveComponent as p, createElementBlock as ye, openBlock as j, Fragment as ge, createVNode as n, unref as s, withCtx as f, createElementVNode as u, normalizeClass as G, normalizeStyle as he, toDisplayString as E, withDirectives as be, vModelText as _e, createBlock as Se, createCommentVNode as xe, withModifiers as Fe } from "vue";
|
|
2
2
|
import { u as ke, _ as we } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
3
|
-
import { a as Ie, u as Ce, q as V, j as Le, w as Ve } from "./app-
|
|
4
|
-
import { u as Ae } from "./surcharge-
|
|
3
|
+
import { a as Ie, u as Ce, q as V, j as Le, w as Ve } from "./app-CURawLhs.js";
|
|
4
|
+
import { u as Ae } from "./surcharge-BZ4STY5J.js";
|
|
5
5
|
import { useSnackbar as De, useDialog as Me, useBreakpoints as Oe } from "@feedmepos/ui-library";
|
|
6
|
-
import { _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { a as Te } from "./FmMultiselectDialog-
|
|
6
|
+
import { _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js";
|
|
7
|
+
import { a as Te } from "./FmMultiselectDialog-BnZInvgp.js";
|
|
8
8
|
import { useI18n as Be } from "@feedmepos/mf-common";
|
|
9
|
-
import { u as ze } from "./supplier-
|
|
10
|
-
import { u as Ee } from "./feature-
|
|
9
|
+
import { u as ze } from "./supplier-dpHijd2E.js";
|
|
10
|
+
import { u as Ee } from "./feature-D9n0IC0c.js";
|
|
11
11
|
import { D as Ne, P as $e, L as qe } from "./app-C39bYJmq.js";
|
|
12
|
-
import { D as H, R as A } from "./row-action.enum-
|
|
12
|
+
import { D as H, R as A } from "./row-action.enum-BiP5wkT6.js";
|
|
13
13
|
import { c as Ue } from "./component-BmLAdDiY.js";
|
|
14
14
|
const Je = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, je = { class: "flex flex-col h-full justify-between" }, Ge = { class: "space-y-16" }, He = ["placeholder"], Ke = { class: "flex flex-col gap-16" }, Qe = { class: "flex flex-col gap-8" }, We = { class: "flex-1 fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xe = { class: "flex flex-col gap-12" }, Ye = { class: "flex flex-col gap-4" }, Ze = { class: "flex items-center gap-8" }, pt = /* @__PURE__ */ pe({
|
|
15
15
|
__name: "SurchargeView",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as U, ref as B, resolveComponent as g, createBlock as I, openBlock as $, withCtx as h, createElementVNode as O, createVNode as k, h as f, createElementBlock as w, toDisplayString as b } from "vue";
|
|
2
2
|
import { F as _ } from "./FmAdminBadge-DlplQOHb.js";
|
|
3
|
-
import { d as L, u as T } from "./app-
|
|
3
|
+
import { d as L, u as T } from "./app-CURawLhs.js";
|
|
4
4
|
import { useCoreStore as A } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as j, components as P } from "@feedmepos/ui-library";
|
|
6
|
-
import { u as C, a as q } from "./closing-template-
|
|
6
|
+
import { u as C, a as q } from "./closing-template-q_KGB4jO.js";
|
|
7
7
|
const F = L((o, t) => {
|
|
8
8
|
const d = T(), l = A();
|
|
9
9
|
return {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as q, ref as f, computed as r, watch as G, h as i, reso
|
|
|
2
2
|
import { useCoreStore as W, useI18n as X } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Y, components as A } from "@feedmepos/ui-library";
|
|
4
4
|
import { K as Z, D as ee } from "./app-C39bYJmq.js";
|
|
5
|
-
import { u as le } from "./app-
|
|
5
|
+
import { u as le } from "./app-CURawLhs.js";
|
|
6
6
|
import { F as te } from "./FmAdminBadge-DlplQOHb.js";
|
|
7
7
|
const ae = {
|
|
8
8
|
class: "flex flex-col gap-24 h-full",
|