@feedmepos/mf-inventory-portal 1.8.0-dev.7 → 1.8.0-dev.8
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-C8i7vBxz.js +1466 -0
- package/dist/{ApprovalView-1Y_jh_UJ.js → ApprovalView-GHgTeCBV.js} +9 -9
- package/dist/{BindingsDialog-VMvTLguN.js → BindingsDialog-C4-S2CWk.js} +2 -2
- package/dist/{BindingsPicker-KNRM5rMU.js → BindingsPicker-C7YUArBj.js} +2 -2
- package/dist/{BindingsTable-CSyNlNCL.js → BindingsTable-1Zoqi4ZS.js} +4 -4
- package/dist/{BulkReceiveRequestView-vOeHbWM_.js → BulkReceiveRequestView-Lakk8011.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DQuI04Yj.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DFSg0-gv.js} +1 -1
- package/dist/{ClosingDraftView-A2pJuhIb.js → ClosingDraftView-CnWFyWSE.js} +20 -20
- package/dist/ClosingHistoryView-Bkm0voU6.js +769 -0
- package/dist/{ClosingTemplateView-DpkNCyoB.js → ClosingTemplateView-Bz81JTsg.js} +18 -18
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DOpIDvsy.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-6s-24euf.js} +1 -1
- package/dist/{DefaultView-B4UuAqYu.js → DefaultView-1RRzbPB3.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-w0YcNH3F.js → DeliveryOrderPrintPreview-KcLqjOj1.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BimIEHsW.js → EmailDialog.vue_vue_type_script_setup_true_lang-r0Q0qhoK.js} +663 -661
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Cwmk3NLS.js +47 -0
- package/dist/FeatureCapabilityGate-C6t1VwKD.js +74 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang--54VR4oB.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-pzIzIWpX.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B7j4ZSOe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B6cFB4vX.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_o6pX9i.js} +2 -2
- package/dist/{FmMultiselectDialog-DMA5eR0C.js → FmMultiselectDialog-CC_Na_p1.js} +2 -2
- package/dist/{FmMultiselectDialog-BnZInvgp.js → FmMultiselectDialog-D0GhmOQ9.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BXTUsnwN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DQlSMRoB.js} +6 -6
- package/dist/{ImportView-C7Hah7MM.js → ImportView-DCcdEvy4.js} +6 -6
- package/dist/{IngredientsView-C4-8qNGD.js → IngredientsView-B2I2OPSb.js} +518 -523
- package/dist/{IntegrationExplorerView-D3leld2Z.js → IntegrationExplorerView-WK1EmwLA.js} +4 -4
- package/dist/{IntegrationView-BhRzry3g.js → IntegrationView-CeaL92Yj.js} +15 -15
- package/dist/{InventoryBindingForm-ewAgZ6e-.js → InventoryBindingForm-DgtaDM0I.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bpo7Yv9A.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CqDN355J.js} +5 -5
- package/dist/{InventoryBindingSummary-e67GzHYr.js → InventoryBindingSummary-C_W456aj.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKEzy2Uo.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BMDjCk9T.js} +1 -1
- package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js → PlanTierBadge.vue_vue_type_script_setup_true_lang-BSR_nyHY.js} +71 -94
- package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-D6-lo7iI.js +79 -0
- package/dist/{ProductionRunDetailView-Ct7kr5Ht.js → ProductionRunDetailView-C9rxLBbL.js} +4 -4
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-7u0HQH67.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-DwBY6gIb.js} +7 -7
- package/dist/{ProductionRunView-odWyBZGx.js → ProductionRunView-DvMdVGz1.js} +3 -3
- package/dist/{PublishView-BXA3k8Cp.js → PublishView-Dv-W6ntx.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DRugr4BU.js → PurchaseOrderPrintPreview-D1TAnJd_.js} +2 -2
- package/dist/{ReceiveRequestView-CeJs9NTD.js → ReceiveRequestView-Rc_uw_Ad.js} +13 -13
- package/dist/{RecipeView-BH0REMB3.js → RecipeView-ByUaGc4w.js} +16 -16
- package/dist/SettingsView-K5wAt8oo.js +1032 -0
- package/dist/StockView-B3EjdjVx.js +2615 -0
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ckw1_xIc.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CsRLy0xI.js} +1 -1
- package/dist/{SupplierView-DH9u6e2M.js → SupplierView-CLVupRN0.js} +298 -296
- package/dist/{SurchargeView-BPVEpc0f.js → SurchargeView-CToB_z5v.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BRwxKmwb.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CvqIw9q6.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BpiePSmo.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BGPuaJlU.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DOQGPKiv.js → TransferDetails.vue_vue_type_script_setup_true_lang-8ydaQEw-.js} +785 -769
- package/dist/{TransferTemplateView-CEVRsKL7.js → TransferTemplateView-BnfALwmw.js} +20 -20
- package/dist/{UnitCostHistoryView-06rIaX_M.js → UnitCostHistoryView-BMB2MeTh.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-C2zidBrl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-Dn8Y8zfp.js} +4 -4
- package/dist/{UnitView-Xk_F9SYG.js → UnitView-Bl8jws6R.js} +8 -8
- package/dist/{WarehouseView-bmpLmpcX.js → WarehouseView-BurSM1jg.js} +8 -8
- package/dist/{WastageTemplateView-CWV1pFxM.js → WastageTemplateView-DRfJ9LGR.js} +15 -15
- package/dist/api/license.d.ts +1 -0
- package/dist/{app-CURawLhs.js → app-Duum3eHx.js} +16 -16
- package/dist/app.js +1 -1
- package/dist/{closing-template-q_KGB4jO.js → closing-template-BE41yfue.js} +1 -1
- package/dist/components/FeatureCapabilityGate.spec.d.ts +1 -0
- package/dist/components/FeatureCapabilityGate.vue.d.ts +2 -0
- package/dist/{date2-3kdweNLp.js → date2-DrhO3BxU.js} +1 -1
- package/dist/{dayjs.min-DHE73-wM.js → dayjs.min-CQp6EpOp.js} +1 -1
- package/dist/{decimal-CAnQe2Ib.js → decimal-Cq0qUT4r.js} +2 -2
- package/dist/{defineDeepModel-CctS67Do.js → defineDeepModel-DRC39nJs.js} +1 -1
- package/dist/{duplicate-template-Jk2V2Ezg.js → duplicate-template-j2ymeDNH.js} +1 -1
- package/dist/{feature-D9n0IC0c.js → feature-C0hQza5A.js} +125 -103
- package/dist/feature-flags/vue.spec.d.ts +1 -0
- package/dist/{format-time-from-id-Bmzpbg-8.js → format-time-from-id-BmJoI3jT.js} +1 -1
- package/dist/{format-unit-display-CVg4Bl5L.js → format-unit-display-CRgIMXsD.js} +13 -13
- package/dist/{id-to-date-DPCcxufP.js → id-to-date-CuFZDvIr.js} +1 -1
- package/dist/{import-export.helper-bmGZwUBB.js → import-export.helper-B43zbsbj.js} +6 -6
- package/dist/{index-zCBA-X6R.js → index-BYDjs08n.js} +1 -1
- package/dist/{index-CFNNQo-7.js → index-Cwvg7EHd.js} +3 -3
- package/dist/{index-yt6MlAFG.js → index-DXNYZeq3.js} +1 -1
- package/dist/{lz-string-CqlY9MC2.js → lz-string-6DgW1cPF.js} +1 -1
- package/dist/{netsuite-DudeltN_.js → netsuite-BSpmyaE1.js} +2 -2
- package/dist/{number-BoePMDs8.js → number-5ZeFx-wN.js} +3 -3
- package/dist/{predefined-templates-DT32p04n.js → predefined-templates-C0jtb4T7.js} +1 -1
- package/dist/{purchase-order-template-LaRpWA04.js → purchase-order-template-B5Pjddfi.js} +1 -1
- package/dist/{recalculationUtils-BYN393eE.js → recalculationUtils-DtJWwWSj.js} +1 -1
- package/dist/{row-action.enum-BiP5wkT6.js → row-action.enum-BDDJNSi0.js} +1 -1
- package/dist/{rules-CQT0uAAo.js → rules-CinZKpvV.js} +2 -2
- package/dist/{stock-CVybjhUm.js → stock-1n-4iyqz.js} +3 -3
- package/dist/{stock-B9XerL9c.js → stock-BKMDvf5S.js} +1 -1
- package/dist/stores/feature.d.ts +5 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-dpHijd2E.js → supplier-Cv8HRNou.js} +2 -2
- package/dist/{surcharge-BZ4STY5J.js → surcharge-ktE1pRyy.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-Da5Lngvp.js → uom-rules-DCnXmEkb.js} +1 -1
- package/dist/{use-ingredient-select-dialog-C3YsT5l-.js → use-ingredient-select-dialog-CYUUVrCI.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BSsyrcGe.js → use-inventory-binding-dialog-Dugj9i-6.js} +2 -2
- package/dist/{use-template-enabled-locations-BmJUzSUm.js → use-template-enabled-locations-BlZ7WAqX.js} +2 -2
- package/dist/{use-transfer-locations-frEk_aBH.js → use-transfer-locations-CUDFnsVH.js} +2 -2
- package/dist/{useHrmPermission-Cyjm0y9a.js → useHrmPermission-BOwmXi9H.js} +1 -1
- package/dist/{useNavigationMenu-CnTsOF9T.js → useNavigationMenu-CbNKFBwx.js} +58 -57
- package/dist/{useSseClient-D_7o9nuf.js → useSseClient-CdyQh47h.js} +1 -1
- package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
- package/dist/views/settings/PlanLicenseDisplay.vue.d.ts +15 -0
- package/dist/{vue-i18n-DwAcG7yc.js → vue-i18n-dSKy66Jh.js} +169 -169
- package/dist/{xlsx.util-C7S-uyqm.js → xlsx.util-pjzuMquw.js} +2 -2
- package/package.json +5 -5
- package/dist/App-Bo29Nwt0.js +0 -1537
- package/dist/ClosingHistoryView-woRmvmYT.js +0 -761
- package/dist/SettingsView-Dc27wyk-.js +0 -977
- package/dist/StockView-DrHLzosW.js +0 -2616
package/dist/{use-ingredient-select-dialog-C3YsT5l-.js → use-ingredient-select-dialog-CYUUVrCI.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as S } from "pinia";
|
|
2
|
-
import { a as b } from "./app-
|
|
3
|
-
import { a as A } from "./FmMultiselectDialog-
|
|
2
|
+
import { a as b } from "./app-Duum3eHx.js";
|
|
3
|
+
import { a as A } from "./FmMultiselectDialog-D0GhmOQ9.js";
|
|
4
4
|
import { useDialog as I } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
6
6
|
const w = S(
|
package/dist/{use-inventory-binding-dialog-BSsyrcGe.js → use-inventory-binding-dialog-Dugj9i-6.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as y } from "./FmMultiselectDialog-
|
|
2
|
-
import { a as S } from "./app-
|
|
1
|
+
import { a as y } from "./FmMultiselectDialog-D0GhmOQ9.js";
|
|
2
|
+
import { a as S } from "./app-Duum3eHx.js";
|
|
3
3
|
import { useDialog as E } from "@feedmepos/ui-library";
|
|
4
4
|
function w() {
|
|
5
5
|
const c = S(), g = E();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as A } from "./FmMultiselectDialog-
|
|
2
|
-
import { u as S } from "./app-
|
|
1
|
+
import { a as A } from "./FmMultiselectDialog-D0GhmOQ9.js";
|
|
2
|
+
import { u as S } from "./app-Duum3eHx.js";
|
|
3
3
|
import { useI18n as w, useCoreStore as i, useCustomAttributes as _ } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as C, components as p } from "@feedmepos/ui-library";
|
|
5
5
|
import { computed as r, h as c } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as g, r as l, $ as w, a2 as R } from "./app-
|
|
2
|
-
import { u as E } from "./supplier-
|
|
1
|
+
import { u as g, r as l, $ as w, a2 as R } from "./app-Duum3eHx.js";
|
|
2
|
+
import { u as E } from "./supplier-Cv8HRNou.js";
|
|
3
3
|
import { computed as u } from "vue";
|
|
4
4
|
function d(n) {
|
|
5
5
|
const c = R.safeParse(n);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { computed as R, h as
|
|
2
|
-
import { R as e, ac as
|
|
3
|
-
import { useCoreStore as
|
|
4
|
-
import { I as E,
|
|
5
|
-
import { e as
|
|
1
|
+
import { computed as R, h as P } from "vue";
|
|
2
|
+
import { R as e, ac as O, ad as A, ab as U } from "./app-Duum3eHx.js";
|
|
3
|
+
import { useCoreStore as b, useI18n as L } from "@feedmepos/mf-common";
|
|
4
|
+
import { u as y, I as E, f as v } from "./feature-C0hQza5A.js";
|
|
5
|
+
import { e as G, g, d as M, i as H } from "./PlanTierBadge.vue_vue_type_script_setup_true_lang-BSR_nyHY.js";
|
|
6
|
+
import { _ as K } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Cwmk3NLS.js";
|
|
6
7
|
const _ = [
|
|
7
8
|
{
|
|
8
9
|
route: e.STOCK,
|
|
@@ -19,7 +20,7 @@ const _ = [
|
|
|
19
20
|
},
|
|
20
21
|
{
|
|
21
22
|
route: e.UNIT_COST_HISTORY,
|
|
22
|
-
module: "
|
|
23
|
+
module: "Costing",
|
|
23
24
|
tier: "premium",
|
|
24
25
|
description: "Review unit-cost history and costing changes.",
|
|
25
26
|
featureKey: "unit-cost"
|
|
@@ -139,55 +140,55 @@ const _ = [
|
|
|
139
140
|
tier: "standard",
|
|
140
141
|
description: "Inspect and manage integration records and synchronization."
|
|
141
142
|
}
|
|
142
|
-
],
|
|
143
|
-
_.map((
|
|
143
|
+
], F = Object.fromEntries(
|
|
144
|
+
_.map((s) => {
|
|
144
145
|
var u;
|
|
145
|
-
const
|
|
146
|
+
const o = g(s.featureKey ?? "");
|
|
146
147
|
return [
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
key:
|
|
150
|
-
minimumTier:
|
|
151
|
-
release:
|
|
152
|
-
flagKeys:
|
|
148
|
+
s.route,
|
|
149
|
+
M({
|
|
150
|
+
key: s.route,
|
|
151
|
+
minimumTier: s.tier,
|
|
152
|
+
release: s.release ?? ((u = o == null ? void 0 : o.definition) == null ? void 0 : u.release),
|
|
153
|
+
flagKeys: o == null ? void 0 : o.flagKeys
|
|
153
154
|
})
|
|
154
155
|
];
|
|
155
156
|
})
|
|
156
157
|
);
|
|
157
|
-
function
|
|
158
|
-
return _.find((
|
|
158
|
+
function k(s) {
|
|
159
|
+
return _.find((o) => o.route === s) ?? null;
|
|
159
160
|
}
|
|
160
|
-
function
|
|
161
|
-
return
|
|
161
|
+
function B(s) {
|
|
162
|
+
return s ? F[s] ?? null : null;
|
|
162
163
|
}
|
|
163
|
-
function
|
|
164
|
-
const u =
|
|
165
|
-
return u ?
|
|
164
|
+
function q(s, o) {
|
|
165
|
+
const u = B(s);
|
|
166
|
+
return u ? G(u, o) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
|
|
166
167
|
}
|
|
167
|
-
const
|
|
168
|
-
(
|
|
168
|
+
const D = A.reduce(
|
|
169
|
+
(s, o) => {
|
|
169
170
|
var u;
|
|
170
|
-
return
|
|
171
|
+
return o.name && (s[o.name] = (u = o.meta) == null ? void 0 : u.validationManifest), s;
|
|
171
172
|
},
|
|
172
173
|
{}
|
|
173
174
|
);
|
|
174
|
-
function
|
|
175
|
-
const
|
|
175
|
+
function x() {
|
|
176
|
+
const s = b(), o = y(), { t: u } = L(), a = (t) => O(t, u), h = R(
|
|
176
177
|
() => {
|
|
177
178
|
var t;
|
|
178
|
-
return ((t =
|
|
179
|
+
return ((t = s.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
|
|
179
180
|
}
|
|
180
|
-
),
|
|
181
|
-
const r =
|
|
182
|
-
return
|
|
183
|
-
},
|
|
181
|
+
), N = (t = []) => t.length === 0 ? !0 : U(t, h.value).granted, n = (t) => {
|
|
182
|
+
const r = D[t];
|
|
183
|
+
return N(r == null ? void 0 : r.requiredCaslPermissions);
|
|
184
|
+
}, c = (t) => {
|
|
184
185
|
var r;
|
|
185
|
-
return ((r =
|
|
186
|
+
return ((r = o.flags.find((d) => d.name === t)) == null ? void 0 : r.beta) !== !1 && !o.isFlagOn(t);
|
|
186
187
|
}, m = (t) => t.filter((r) => !r.hide).map((r) => r.children ? { ...r, children: m(r.children) } : r).filter((r) => !r.children || r.children.length > 0), I = (t) => t.map((r) => {
|
|
187
|
-
const { hide:
|
|
188
|
+
const { hide: d, children: i, ...l } = r, T = { ...l };
|
|
188
189
|
return i && (T.children = I(i)), T;
|
|
189
190
|
}), p = (t) => t.map((r) => {
|
|
190
|
-
const
|
|
191
|
+
const d = r.value, i = k(d), l = g((i == null ? void 0 : i.featureKey) ?? ""), T = l == null ? void 0 : l.category, C = i && (i.tier === "premium" || T === "beta" || l != null && l.deprecateSoon) ? () => P(K, {
|
|
191
192
|
tier: i.tier,
|
|
192
193
|
category: T,
|
|
193
194
|
deprecateSoon: l == null ? void 0 : l.deprecateSoon,
|
|
@@ -195,11 +196,11 @@ function Y() {
|
|
|
195
196
|
}) : void 0;
|
|
196
197
|
return {
|
|
197
198
|
...r,
|
|
198
|
-
badge:
|
|
199
|
+
badge: C,
|
|
199
200
|
children: r.children ? p(r.children) : void 0
|
|
200
201
|
};
|
|
201
202
|
}), S = R(() => {
|
|
202
|
-
var
|
|
203
|
+
var d;
|
|
203
204
|
const t = [
|
|
204
205
|
{
|
|
205
206
|
label: a(e.STOCK),
|
|
@@ -212,17 +213,17 @@ function Y() {
|
|
|
212
213
|
{
|
|
213
214
|
label: a(e.PRODUCTION_RUN),
|
|
214
215
|
value: e.PRODUCTION_RUN,
|
|
215
|
-
hide: !n(e.PRODUCTION_RUN) ||
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
label: a(e.UNIT_COST_HISTORY),
|
|
219
|
-
value: e.UNIT_COST_HISTORY,
|
|
220
|
-
hide: !n(e.UNIT_COST_HISTORY) || d(E.inventory_pos_costing)
|
|
216
|
+
hide: !n(e.PRODUCTION_RUN) || c(E.inventory_portal_production_item)
|
|
221
217
|
},
|
|
222
218
|
{
|
|
223
219
|
label: a(e.WASTAGE_TEMPLATE),
|
|
224
220
|
value: e.WASTAGE_TEMPLATE,
|
|
225
|
-
hide: !n(e.WASTAGE_TEMPLATE) ||
|
|
221
|
+
hide: !n(e.WASTAGE_TEMPLATE) || c(E.inventory_pos_adjust_v2_wastage)
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
label: a(e.UNIT_COST_HISTORY),
|
|
225
|
+
value: e.UNIT_COST_HISTORY,
|
|
226
|
+
hide: !n(e.UNIT_COST_HISTORY) || o.isModuleBeta(v.Costing) && !o.isModuleEnabled(v.Costing)
|
|
226
227
|
}
|
|
227
228
|
]
|
|
228
229
|
},
|
|
@@ -237,12 +238,12 @@ function Y() {
|
|
|
237
238
|
{
|
|
238
239
|
label: a(e.CLOSING_TEMPLATE),
|
|
239
240
|
value: e.CLOSING_TEMPLATE,
|
|
240
|
-
hide: !n(e.CLOSING_TEMPLATE) ||
|
|
241
|
+
hide: !n(e.CLOSING_TEMPLATE) || c(E.inventory_pos_closing_v2)
|
|
241
242
|
},
|
|
242
243
|
{
|
|
243
244
|
label: a(e.CLOSING_DRAFT),
|
|
244
245
|
value: e.CLOSING_DRAFT,
|
|
245
|
-
hide: !n(e.CLOSING_DRAFT) ||
|
|
246
|
+
hide: !n(e.CLOSING_DRAFT) || c(E.inventory_pos_closing_v2)
|
|
246
247
|
}
|
|
247
248
|
]
|
|
248
249
|
},
|
|
@@ -272,7 +273,7 @@ function Y() {
|
|
|
272
273
|
{
|
|
273
274
|
label: a(e.RECEIVE_REQUEST_BULK),
|
|
274
275
|
value: e.RECEIVE_REQUEST_BULK,
|
|
275
|
-
hide: !n(e.RECEIVE_REQUEST_BULK) ||
|
|
276
|
+
hide: !n(e.RECEIVE_REQUEST_BULK) || c(E.inventory_receive_request_beta)
|
|
276
277
|
},
|
|
277
278
|
{
|
|
278
279
|
label: a(e.APPROVAL),
|
|
@@ -282,12 +283,12 @@ function Y() {
|
|
|
282
283
|
{
|
|
283
284
|
label: a(e.SURCHARGE),
|
|
284
285
|
value: e.SURCHARGE,
|
|
285
|
-
hide: !n(e.SURCHARGE) ||
|
|
286
|
+
hide: !n(e.SURCHARGE) || c(E.inventory_portal_surcharge)
|
|
286
287
|
},
|
|
287
288
|
{
|
|
288
289
|
label: a(e.TRANSFER_TEMPLATE),
|
|
289
290
|
value: e.TRANSFER_TEMPLATE,
|
|
290
|
-
hide: !n(e.TRANSFER_TEMPLATE) ||
|
|
291
|
+
hide: !n(e.TRANSFER_TEMPLATE) || c(E.inventory_portal_must_use_transfer_template) && !H("purchase-order-template")
|
|
291
292
|
}
|
|
292
293
|
]
|
|
293
294
|
},
|
|
@@ -309,7 +310,7 @@ function Y() {
|
|
|
309
310
|
{
|
|
310
311
|
label: a(e.IMPORT),
|
|
311
312
|
value: e.IMPORT,
|
|
312
|
-
hide: !n(e.IMPORT) ||
|
|
313
|
+
hide: !n(e.IMPORT) || c(E.inventory_bulk_import)
|
|
313
314
|
},
|
|
314
315
|
{
|
|
315
316
|
label: a(e.INTEGRATION),
|
|
@@ -322,12 +323,12 @@ function Y() {
|
|
|
322
323
|
hide: !n(e.SETTINGS)
|
|
323
324
|
}
|
|
324
325
|
], r = p(I(m(t)));
|
|
325
|
-
return ((
|
|
326
|
+
return ((d = s.currentBusiness.value) == null ? void 0 : d.menuVersion) === "v3" ? r.filter(
|
|
326
327
|
(i) => i.value !== e.INGREDIENTS && i.value !== e.RECIPE && i.value !== e.UNIT && i.value !== e.PUBLISH
|
|
327
328
|
) : r;
|
|
328
|
-
}),
|
|
329
|
-
function t(
|
|
330
|
-
for (const i of
|
|
329
|
+
}), f = R(() => {
|
|
330
|
+
function t(d) {
|
|
331
|
+
for (const i of d)
|
|
331
332
|
if (i.children && i.children.length > 0) {
|
|
332
333
|
const l = t(i.children);
|
|
333
334
|
if (l) return l;
|
|
@@ -336,10 +337,10 @@ function Y() {
|
|
|
336
337
|
}
|
|
337
338
|
return t(S.value) ?? null;
|
|
338
339
|
});
|
|
339
|
-
return { menuItems: S, firstAccessibleRouteName:
|
|
340
|
+
return { menuItems: S, firstAccessibleRouteName: f };
|
|
340
341
|
}
|
|
341
342
|
export {
|
|
342
|
-
|
|
343
|
+
q as e,
|
|
343
344
|
_ as n,
|
|
344
|
-
|
|
345
|
+
x as u
|
|
345
346
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
scopeDbName: string | null;
|
|
3
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
scopeDbName: string | null;
|
|
5
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|