@feedmepos/mf-inventory-portal 1.8.0-dev.14 → 1.8.0-dev.16
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-CzQWarWw.js → App-xSsyvQV_.js} +515 -536
- package/dist/{ApprovalView-DMNKR7wK.js → ApprovalView-DfJ0FAiD.js} +9 -9
- package/dist/{BindingsDialog-CxvJTu9s.js → BindingsDialog-oAZyjgrN.js} +2 -2
- package/dist/{BindingsPicker-AWSDYiBa.js → BindingsPicker-CEIo7myR.js} +8 -8
- package/dist/{BindingsTable-JkouRY4D.js → BindingsTable-BKa-JYRR.js} +4 -4
- package/dist/BulkReceiveRequestPage-C6Oyg5-E.js +2839 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CKiD86iq.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BvleQo5y.js} +1 -1
- package/dist/{ClosingDraftView-WgUrDT0l.js → ClosingDraftView-tJrjqyAC.js} +19 -19
- package/dist/{ClosingHistoryView-BXaFh_Rr.js → ClosingHistoryView-CJQlK4Xc.js} +7 -7
- package/dist/{ClosingTemplateView-xqSkU-RJ.js → ClosingTemplateView-DYRtdK5h.js} +18 -18
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-VUlMHb_3.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DEwi7wFf.js} +1 -1
- package/dist/{DefaultView-d0j4MbPH.js → DefaultView-CxTBlkln.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-ksFXHv4f.js → DeliveryOrderPrintPreview-Bywdjc2U.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-C8XVdGly.js → EmailDialog.vue_vue_type_script_setup_true_lang-DcFAUTdO.js} +38 -33
- package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-DTBcxB8e.js → FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C8c6rmJv.js} +11 -10
- package/dist/FeatureCapabilityGate-B41dULfm.js +77 -0
- package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-D4G6i1D6.js +189 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-2cESr8tE.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CnqH115V.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-sV1ZAWmY.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-QBviJzAO.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGGNqDIn.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BqHtzo20.js} +2 -2
- package/dist/{FmMultiselectDialog-NvS_JqaH.js → FmMultiselectDialog-CFNZMzlC.js} +2 -2
- package/dist/{FmMultiselectDialog-fKCMgcn6.js → FmMultiselectDialog-M6CvNFW1.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BZYyW6iC.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BGco50Ma.js} +5 -5
- package/dist/{ImportView-D-DqrgHA.js → ImportView-C2GOmpuK.js} +6 -6
- package/dist/{IngredientsView-gZ8iZciS.js → IngredientsView-wB9kGiOK.js} +15 -15
- package/dist/{IntegrationExplorerView-Bz-Tz2L9.js → IntegrationExplorerView-BujwGE4q.js} +1414 -1485
- package/dist/{IntegrationPlatformView-WnMM86kt.js → IntegrationPlatformView-Wnvj6-BG.js} +5331 -5028
- package/dist/{IntegrationView-CAJJmfis.js → IntegrationView-C77rSbpn.js} +14 -14
- package/dist/{InventoryBindingForm-C2Tp1u_B.js → InventoryBindingForm-Bs7Duwfj.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BH8O5C0v.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DawAEeuP.js} +4 -4
- package/dist/{InventoryBindingSummary-BrNst2ma.js → InventoryBindingSummary-BefkYWIr.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D_5jwx36.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BpUMK6fj.js} +2 -2
- package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-CM3gtYZo.js +19 -0
- package/dist/{PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-CvXURft2.js → PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js} +1 -1
- package/dist/PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js +58 -0
- package/dist/ProductionRunDetailPage-CVx9LS-P.js +2316 -0
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-C9nqRuMd.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-4aYz5NwS.js} +1626 -1712
- package/dist/ProductionRunPage-CuXzmWMc.js +953 -0
- package/dist/{PublishView-CYIc_f14.js → PublishView-Bu8J6ndy.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-BPrGWnuA.js → PurchaseOrderPrintPreview-DaslFe8u.js} +2 -2
- package/dist/{ReceiveRequestView-DeyAASZ5.js → ReceiveRequestView-CKPBpN4x.js} +13 -13
- package/dist/{RecipeView-Ig8TlbZH.js → RecipeView-BeZ9ljtA.js} +15 -15
- package/dist/{SettingsView-CC5Jmu8c.js → SettingsView-CWhMdNfn.js} +10 -9
- package/dist/{StockView-DHUGj4mg.js → StockView-C5IhPGxi.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DnFn9Agf.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9Rx_9b7.js} +1 -1
- package/dist/{SupplierView-D1Xp7HM6.js → SupplierView-BSGajl9V.js} +13 -13
- package/dist/{SurchargeView-DtIlho7s.js → SurchargeView-DtAszxTN.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Crb3A1_I.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CfxroS8u.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BG1ubC4e.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CTj_jYK1.js} +1 -1
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B_9i5LzY.js +4900 -0
- package/dist/{TransferTemplateView-CmWURuLd.js → TransferTemplateView-D6_AfMja.js} +19 -19
- package/dist/{UnitCostHistoryView-DRGW-OrJ.js → UnitCostHistoryView-kisQehVE.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-B81OEVLz.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DKoPNZoW.js} +4 -4
- package/dist/{UnitView-zDYaqm5D.js → UnitView-jSLennZW.js} +7 -7
- package/dist/{WarehouseView-DBCd2vjM.js → WarehouseView-CUdWJCMq.js} +8 -8
- package/dist/{WastageTemplateView-Bav8IIF6.js → WastageTemplateView--B0LSwHa.js} +15 -15
- package/dist/api/netsuite-explorer.d.ts +1 -0
- package/dist/{app-PyK-6tB0.js → app-Bb5HLWTu.js} +2041 -2045
- package/dist/app.d.ts +6 -6
- package/dist/app.js +1 -1
- package/dist/{closing-template-VFldhdBn.js → closing-template-CgDMayoo.js} +1 -1
- package/dist/components/FeatureCapabilityGate.vue.d.ts +2 -0
- package/dist/components/FeatureGateLayout.vue.d.ts +11 -0
- package/dist/components/FeaturePageGate.spec.d.ts +1 -0
- package/dist/components/FeaturePageGate.vue.d.ts +34 -0
- package/dist/components/FmAdminCollapsiblePanel.vue.d.ts +1 -1
- package/dist/components/FmDroppableField.vue.d.ts +1 -1
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +2 -2
- package/dist/components/HrmPermissionGuard.vue.d.ts +1 -1
- package/dist/components/PremiumUpgradePage.vue.d.ts +2 -0
- package/dist/{date2-yujh-zNX.js → date2-D9gB9BE-.js} +1 -1
- package/dist/{dayjs.min-CV_1QtOH.js → dayjs.min-CumM_kH7.js} +1 -1
- package/dist/{decimal-D8CtprfB.js → decimal-CVF1rRoj.js} +2 -2
- package/dist/{defineDeepModel-C7pf41A8.js → defineDeepModel-DE-DsQjm.js} +1 -1
- package/dist/{duplicate-template-C9zx63wv.js → duplicate-template-CFYtQfQn.js} +1 -1
- package/dist/feature-flags/vue.d.ts +22 -1
- package/dist/{feature-XC9N9tdn.js → feature-kti8bU8q.js} +412 -346
- package/dist/{format-time-from-id-Dhbt_dm1.js → format-time-from-id-CWZ5VGvM.js} +1 -1
- package/dist/{format-unit-display-B7Uz9FY7.js → format-unit-display-BlxdvskN.js} +12 -12
- package/dist/{id-to-date-BSON0a4_.js → id-to-date-BaH_1Kui.js} +1 -1
- package/dist/{import-export.helper-BNCatkGG.js → import-export.helper-8rKrOB0E.js} +5 -5
- package/dist/{index-cVQR3Kk1.js → index-B9p_OEdk.js} +1 -1
- package/dist/{index-C6sBGx8j.js → index-BHc3cNyz.js} +3 -3
- package/dist/{index-CcvB5MN8.js → index-MEUJonBr.js} +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
- package/dist/{lz-string-jbv5KMfI.js → lz-string-IiazGN0W.js} +1 -1
- package/dist/{netsuite-BmyXyxHN.js → netsuite-BeDxaeKM.js} +2 -2
- package/dist/netsuite-explorer-4IluitzS.js +79 -0
- package/dist/{predefined-templates-Y9FBS3da.js → predefined-templates-D4qVID1q.js} +1 -1
- package/dist/{purchase-order-template-kpccxptg.js → purchase-order-template-GTOntq3C.js} +1 -1
- package/dist/{recalculationUtils-CQW3lPhm.js → recalculationUtils-Dye8x2TO.js} +1 -1
- package/dist/{row-action.enum-COTllbyK.js → row-action.enum-CVJbq_-y.js} +1 -1
- package/dist/{rules-kY8blQHT.js → rules-Y3zXVj3i.js} +3 -3
- package/dist/{stock-CCyBIj_s.js → stock-BIjTQFsR.js} +2 -2
- package/dist/{stock-CbUvnTcJ.js → stock-BR8x3nlx.js} +1 -1
- package/dist/stores/feature.d.ts +21 -1
- package/dist/stores/feature.load-state.spec.d.ts +1 -0
- package/dist/stores/warehouse.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-CR1Gy8T6.js → supplier-CbdCjiIB.js} +2 -2
- package/dist/{surcharge-ig3dYG2X.js → surcharge-BoXLK6o0.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-D8R1q-3z.js → uom-rules-C5h1AoPJ.js} +1 -1
- package/dist/{use-ingredient-select-dialog-DVPfhAsz.js → use-ingredient-select-dialog-D196q_qk.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DAepuYag.js → use-inventory-binding-dialog-B4IhhCjM.js} +2 -2
- package/dist/{use-template-enabled-locations-CM2dKs8u.js → use-template-enabled-locations-CDKP3kTS.js} +2 -2
- package/dist/{use-transfer-locations-C5TquwpD.js → use-transfer-locations-DE4vxSDp.js} +2 -2
- package/dist/{useHrmPermission-fAyejBrQ.js → useHrmPermission-D1dkveCP.js} +1 -1
- package/dist/{useNavigationMenu-D_2-vpQ_.js → useNavigationMenu-N5_7da8m.js} +39 -39
- package/dist/{useSseClient-CbZwkJYC.js → useSseClient-CKpNaz5g.js} +1 -1
- package/dist/views/changelog/composables/use-snapshot-diff.d.ts +2 -2
- package/dist/views/integration/IntegrationPlatformView.vue.d.ts +2 -0
- package/dist/views/production-run/ProductionRunDetailPage.spec.d.ts +1 -0
- package/dist/views/production-run/ProductionRunDetailPage.vue.d.ts +15 -0
- package/dist/views/production-run/ProductionRunPage.vue.d.ts +2 -0
- package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +11 -1
- package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +1 -1
- package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +1 -1
- package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +2 -2
- package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +3 -3
- package/dist/views/receive-request/composables/use-receive-request-form.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/BulkReceiveRequestPage.vue.d.ts +2 -0
- package/dist/views/receive-request-bulk/components/CreateTransferWizard.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +6 -6
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.readiness.spec.d.ts +1 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -2
- package/dist/{PlanTierBadge.vue_vue_type_script_setup_true_lang-DHh9jsto.js → vue-CxSKQOrZ.js} +84 -68
- package/dist/{vue-i18n-DhknAI0B.js → vue-i18n-CTR_IUvd.js} +568 -568
- package/dist/{xlsx.util-BHPeb50D.js → xlsx.util-J9pxGRQD.js} +2 -2
- package/package.json +3 -3
- package/dist/BulkReceiveRequestView-CsToXNOy.js +0 -2657
- package/dist/FeatureCapabilityGate-DSNY6YtI.js +0 -74
- package/dist/ProductionRunDetailView-m9bXSe76.js +0 -2312
- package/dist/ProductionRunView-CAdxSdol.js +0 -931
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-yA9fCxzS.js +0 -4847
package/dist/{use-ingredient-select-dialog-DVPfhAsz.js → use-ingredient-select-dialog-D196q_qk.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-Bb5HLWTu.js";
|
|
3
|
+
import { a as A } from "./FmMultiselectDialog-CFNZMzlC.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-DAepuYag.js → use-inventory-binding-dialog-B4IhhCjM.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-CFNZMzlC.js";
|
|
2
|
+
import { a as S } from "./app-Bb5HLWTu.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-CFNZMzlC.js";
|
|
2
|
+
import { u as S } from "./app-Bb5HLWTu.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, a0 as w, a3 as R } from "./app-
|
|
2
|
-
import { u as E } from "./supplier-
|
|
1
|
+
import { u as g, r as l, a0 as w, a3 as R } from "./app-Bb5HLWTu.js";
|
|
2
|
+
import { u as E } from "./supplier-CbdCjiIB.js";
|
|
3
3
|
import { computed as u } from "vue";
|
|
4
4
|
function d(n) {
|
|
5
5
|
const c = R.safeParse(n);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { computed as R, h as P } from "vue";
|
|
2
|
-
import { R as e, ad as O, ae as A, ac as U } from "./app-
|
|
2
|
+
import { R as e, ad as O, ae as A, ac as U } from "./app-Bb5HLWTu.js";
|
|
3
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-
|
|
5
|
-
import { e as G, g, d as M, i as H } from "./
|
|
6
|
-
import { _ as K } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
const
|
|
4
|
+
import { u as y, I as E, f as v } from "./feature-kti8bU8q.js";
|
|
5
|
+
import { e as G, g, d as M, f as F, i as H } from "./vue-CxSKQOrZ.js";
|
|
6
|
+
import { _ as K } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C8c6rmJv.js";
|
|
7
|
+
const h = [
|
|
8
8
|
{
|
|
9
9
|
route: e.STOCK,
|
|
10
10
|
module: "Stock",
|
|
@@ -140,55 +140,55 @@ const _ = [
|
|
|
140
140
|
tier: "standard",
|
|
141
141
|
description: "Inspect and manage integration records and synchronization."
|
|
142
142
|
}
|
|
143
|
-
],
|
|
144
|
-
|
|
143
|
+
], k = Object.fromEntries(
|
|
144
|
+
h.map((o) => {
|
|
145
145
|
var u;
|
|
146
|
-
const
|
|
146
|
+
const s = g(o.featureKey ?? "");
|
|
147
147
|
return [
|
|
148
|
-
|
|
148
|
+
o.route,
|
|
149
149
|
M({
|
|
150
|
-
key:
|
|
151
|
-
minimumTier:
|
|
152
|
-
release:
|
|
153
|
-
flagKeys:
|
|
150
|
+
key: o.route,
|
|
151
|
+
minimumTier: o.tier,
|
|
152
|
+
release: o.release ?? ((u = s == null ? void 0 : s.definition) == null ? void 0 : u.release),
|
|
153
|
+
flagKeys: s == null ? void 0 : s.flagKeys
|
|
154
154
|
})
|
|
155
155
|
];
|
|
156
156
|
})
|
|
157
157
|
);
|
|
158
|
-
function
|
|
159
|
-
return
|
|
158
|
+
function B(o) {
|
|
159
|
+
return h.find((s) => s.route === o) ?? null;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
162
|
-
return
|
|
161
|
+
function D(o) {
|
|
162
|
+
return o ? k[o] ?? null : null;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
165
|
-
const u =
|
|
166
|
-
return u ? G(u,
|
|
164
|
+
function x(o, s) {
|
|
165
|
+
const u = D(o);
|
|
166
|
+
return u ? G(u, s) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
|
|
167
167
|
}
|
|
168
|
-
const
|
|
169
|
-
(
|
|
168
|
+
const V = A.reduce(
|
|
169
|
+
(o, s) => {
|
|
170
170
|
var u;
|
|
171
|
-
return
|
|
171
|
+
return s.name && (o[s.name] = (u = s.meta) == null ? void 0 : u.validationManifest), o;
|
|
172
172
|
},
|
|
173
173
|
{}
|
|
174
174
|
);
|
|
175
|
-
function
|
|
176
|
-
const
|
|
175
|
+
function z() {
|
|
176
|
+
const o = b(), s = y(), { t: u } = L(), a = (t) => O(t, u), _ = R(
|
|
177
177
|
() => {
|
|
178
178
|
var t;
|
|
179
|
-
return ((t =
|
|
179
|
+
return ((t = o.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
|
|
180
180
|
}
|
|
181
|
-
),
|
|
182
|
-
const r =
|
|
183
|
-
return
|
|
181
|
+
), f = (t = []) => t.length === 0 ? !0 : U(t, _.value).granted, n = (t) => {
|
|
182
|
+
const r = V[t];
|
|
183
|
+
return f(r == null ? void 0 : r.requiredCaslPermissions);
|
|
184
184
|
}, c = (t) => {
|
|
185
185
|
var r;
|
|
186
|
-
return ((r =
|
|
186
|
+
return ((r = s.flags.find((d) => d.name === t)) == null ? void 0 : r.beta) !== !1 && !s.isFlagOn(t);
|
|
187
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) => {
|
|
188
188
|
const { hide: d, children: i, ...l } = r, T = { ...l };
|
|
189
189
|
return i && (T.children = I(i)), T;
|
|
190
190
|
}), p = (t) => t.map((r) => {
|
|
191
|
-
const d = r.value, i =
|
|
191
|
+
const d = r.value, i = B(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, {
|
|
192
192
|
tier: i.tier,
|
|
193
193
|
category: T,
|
|
194
194
|
deprecateSoon: l == null ? void 0 : l.deprecateSoon,
|
|
@@ -213,7 +213,7 @@ function x() {
|
|
|
213
213
|
{
|
|
214
214
|
label: a(e.PRODUCTION_RUN),
|
|
215
215
|
value: e.PRODUCTION_RUN,
|
|
216
|
-
hide: !n(e.PRODUCTION_RUN) ||
|
|
216
|
+
hide: !n(e.PRODUCTION_RUN) || F("production-runs").disabled
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
label: a(e.WASTAGE_TEMPLATE),
|
|
@@ -223,7 +223,7 @@ function x() {
|
|
|
223
223
|
{
|
|
224
224
|
label: a(e.UNIT_COST_HISTORY),
|
|
225
225
|
value: e.UNIT_COST_HISTORY,
|
|
226
|
-
hide: !n(e.UNIT_COST_HISTORY) ||
|
|
226
|
+
hide: !n(e.UNIT_COST_HISTORY) || s.isModuleBeta(v.Costing) && !s.isModuleEnabled(v.Costing)
|
|
227
227
|
}
|
|
228
228
|
]
|
|
229
229
|
},
|
|
@@ -323,10 +323,10 @@ function x() {
|
|
|
323
323
|
hide: !n(e.SETTINGS)
|
|
324
324
|
}
|
|
325
325
|
], r = p(I(m(t)));
|
|
326
|
-
return ((d =
|
|
326
|
+
return ((d = o.currentBusiness.value) == null ? void 0 : d.menuVersion) === "v3" ? r.filter(
|
|
327
327
|
(i) => i.value !== e.INGREDIENTS && i.value !== e.RECIPE && i.value !== e.UNIT && i.value !== e.PUBLISH
|
|
328
328
|
) : r;
|
|
329
|
-
}),
|
|
329
|
+
}), N = R(() => {
|
|
330
330
|
function t(d) {
|
|
331
331
|
for (const i of d)
|
|
332
332
|
if (i.children && i.children.length > 0) {
|
|
@@ -337,10 +337,10 @@ function x() {
|
|
|
337
337
|
}
|
|
338
338
|
return t(S.value) ?? null;
|
|
339
339
|
});
|
|
340
|
-
return { menuItems: S, firstAccessibleRouteName:
|
|
340
|
+
return { menuItems: S, firstAccessibleRouteName: N };
|
|
341
341
|
}
|
|
342
342
|
export {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
343
|
+
x as e,
|
|
344
|
+
h as n,
|
|
345
|
+
z as u
|
|
346
346
|
};
|
|
@@ -14,13 +14,13 @@ export declare function useSnapshotDiff(): {
|
|
|
14
14
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
15
15
|
result: import("vue").Ref<{
|
|
16
16
|
diff: {
|
|
17
|
-
type: "
|
|
17
|
+
type: "del" | "add" | "same" | "skip";
|
|
18
18
|
text: string;
|
|
19
19
|
}[] | null;
|
|
20
20
|
conflict: boolean;
|
|
21
21
|
} | null, SnapshotResult | {
|
|
22
22
|
diff: {
|
|
23
|
-
type: "
|
|
23
|
+
type: "del" | "add" | "same" | "skip";
|
|
24
24
|
text: string;
|
|
25
25
|
}[] | null;
|
|
26
26
|
conflict: boolean;
|
|
@@ -4,11 +4,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4
4
|
entityType?: string | undefined;
|
|
5
5
|
locationRef?: string | undefined;
|
|
6
6
|
canonicalId?: string | undefined;
|
|
7
|
+
netsuiteId?: string | undefined;
|
|
7
8
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
9
|
provider?: string | undefined;
|
|
9
10
|
entityType?: string | undefined;
|
|
10
11
|
locationRef?: string | undefined;
|
|
11
12
|
canonicalId?: string | undefined;
|
|
13
|
+
netsuiteId?: string | undefined;
|
|
12
14
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
15
|
export default _default;
|
|
14
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
id: string;
|
|
3
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
id: string;
|
|
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
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -57,7 +57,17 @@ export declare function recalculationStateOf(result: {
|
|
|
57
57
|
stockRecalculationRequired: boolean;
|
|
58
58
|
stockRecalculationDispatch?: RecalculationDispatch;
|
|
59
59
|
}): StockRecalculationState | null;
|
|
60
|
-
export
|
|
60
|
+
export interface UseProductionRunDetailOptions {
|
|
61
|
+
/**
|
|
62
|
+
* Whether this composable navigates to the listing when the outlet changes.
|
|
63
|
+
* Pass `false` when the enclosing page owns that navigation: the page is the
|
|
64
|
+
* only layer still mounted while the new outlet's capability loads, and two
|
|
65
|
+
* owners would race two `router.replace` calls. The data is dropped and the
|
|
66
|
+
* id is never re-read against the new outlet either way.
|
|
67
|
+
*/
|
|
68
|
+
leaveOnLocationChange?: boolean;
|
|
69
|
+
}
|
|
70
|
+
export declare function useProductionRunDetail(runId: MaybeRefOrGetter<string>, { leaveOnLocationChange }?: UseProductionRunDetailOptions): {
|
|
61
71
|
run: import("vue").Ref<{
|
|
62
72
|
_rev: string;
|
|
63
73
|
closedAt?: string | null | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { RouteLocationRaw } from 'vue-router';
|
|
2
2
|
export declare function productionRunListRoute(search?: string): RouteLocationRaw;
|
|
3
|
-
export declare function productionRunExitRoute(featureEnabled: boolean, search?: string): RouteLocationRaw;
|
|
4
3
|
export declare function productionRunDetailRoute(id: string, search?: string): RouteLocationRaw;
|
|
@@ -36,8 +36,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
36
36
|
testid: string;
|
|
37
37
|
showTooltip: boolean;
|
|
38
38
|
}>>> & Readonly<{}>, {
|
|
39
|
-
size: ProductionRunInfoSize;
|
|
40
39
|
variant: ProductionRunInfoVariant;
|
|
40
|
+
size: ProductionRunInfoSize;
|
|
41
41
|
testid: string;
|
|
42
42
|
showTooltip: boolean;
|
|
43
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
@@ -36,9 +36,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
36
36
|
testid: string;
|
|
37
37
|
helpTestid: string;
|
|
38
38
|
}>>> & Readonly<{}>, {
|
|
39
|
+
variant: ProductionRunInfoVariant;
|
|
39
40
|
type: 'hint' | 'warning';
|
|
40
41
|
size: ProductionRunInfoSize;
|
|
41
|
-
variant: ProductionRunInfoVariant;
|
|
42
42
|
testid: string;
|
|
43
43
|
helpTestid: string;
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
visible: boolean;
|
|
3
3
|
testid?: string | undefined;
|
|
4
|
-
surface?: "
|
|
4
|
+
surface?: "primary" | "neutral" | undefined;
|
|
5
5
|
position?: "overlay" | "sticky" | undefined;
|
|
6
6
|
}>, {
|
|
7
7
|
testid: string;
|
|
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10
10
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
11
|
visible: boolean;
|
|
12
12
|
testid?: string | undefined;
|
|
13
|
-
surface?: "
|
|
13
|
+
surface?: "primary" | "neutral" | undefined;
|
|
14
14
|
position?: "overlay" | "sticky" | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
testid: string;
|
|
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
6
6
|
placeholder?: string | undefined;
|
|
7
7
|
disabled?: boolean | undefined;
|
|
8
8
|
helperText?: string | undefined;
|
|
9
|
-
helperState?: "
|
|
9
|
+
helperState?: "error" | "success" | "warning" | "none" | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
labelMark: string;
|
|
12
12
|
placeholder: string;
|
|
@@ -21,7 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
21
21
|
placeholder?: string | undefined;
|
|
22
22
|
disabled?: boolean | undefined;
|
|
23
23
|
helperText?: string | undefined;
|
|
24
|
-
helperState?: "
|
|
24
|
+
helperState?: "error" | "success" | "warning" | "none" | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
labelMark: string;
|
|
27
27
|
placeholder: string;
|
|
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
31
31
|
}>, {
|
|
32
32
|
placeholder: string;
|
|
33
33
|
labelMark: "required" | "optional" | "none";
|
|
34
|
-
helperState: "
|
|
34
|
+
helperState: "error" | "success" | "warning" | "none";
|
|
35
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
36
36
|
label?(): unknown;
|
|
37
37
|
}> & {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -18,10 +18,11 @@ export type BulkPoWithLocation = Omit<FdtoPurchaseOrderListItem, 'locationDbName
|
|
|
18
18
|
export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<DateRange>): {
|
|
19
19
|
selectedLocationDbNames: import("vue").Ref<string[], string[]>;
|
|
20
20
|
purchaseOrders: import("vue").Ref<{
|
|
21
|
-
_id: string;
|
|
22
21
|
ref?: string | null | undefined;
|
|
22
|
+
_id: string;
|
|
23
23
|
_rev: string;
|
|
24
24
|
version?: "1" | "2" | null | undefined;
|
|
25
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
|
|
25
26
|
itemCount: number;
|
|
26
27
|
supplier: {
|
|
27
28
|
email?: string | null | undefined;
|
|
@@ -29,7 +30,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
29
30
|
_id: string;
|
|
30
31
|
name: string;
|
|
31
32
|
};
|
|
32
|
-
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
|
|
33
33
|
seqNumber: number;
|
|
34
34
|
request?: {
|
|
35
35
|
id: string;
|
|
@@ -58,6 +58,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
58
58
|
} | null | undefined;
|
|
59
59
|
partialReceived?: boolean | null | undefined;
|
|
60
60
|
overReceived?: boolean | null | undefined;
|
|
61
|
+
template?: string | null | undefined;
|
|
61
62
|
remark?: string | null | undefined;
|
|
62
63
|
effectiveAt?: string | null | undefined;
|
|
63
64
|
items?: {
|
|
@@ -157,7 +158,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
157
158
|
precision: number;
|
|
158
159
|
};
|
|
159
160
|
}[] | undefined;
|
|
160
|
-
template?: string | null | undefined;
|
|
161
161
|
deliveryOrder?: {
|
|
162
162
|
id?: string | null | undefined;
|
|
163
163
|
remark?: string | null | undefined;
|
|
@@ -760,10 +760,11 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
760
760
|
}[] | null | undefined;
|
|
761
761
|
_locationDbName: string;
|
|
762
762
|
}[], BulkPoWithLocation[] | {
|
|
763
|
-
_id: string;
|
|
764
763
|
ref?: string | null | undefined;
|
|
764
|
+
_id: string;
|
|
765
765
|
_rev: string;
|
|
766
766
|
version?: "1" | "2" | null | undefined;
|
|
767
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
|
|
767
768
|
itemCount: number;
|
|
768
769
|
supplier: {
|
|
769
770
|
email?: string | null | undefined;
|
|
@@ -771,7 +772,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
771
772
|
_id: string;
|
|
772
773
|
name: string;
|
|
773
774
|
};
|
|
774
|
-
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
|
|
775
775
|
seqNumber: number;
|
|
776
776
|
request?: {
|
|
777
777
|
id: string;
|
|
@@ -800,6 +800,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
800
800
|
} | null | undefined;
|
|
801
801
|
partialReceived?: boolean | null | undefined;
|
|
802
802
|
overReceived?: boolean | null | undefined;
|
|
803
|
+
template?: string | null | undefined;
|
|
803
804
|
remark?: string | null | undefined;
|
|
804
805
|
effectiveAt?: string | null | undefined;
|
|
805
806
|
items?: {
|
|
@@ -899,7 +900,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
899
900
|
precision: number;
|
|
900
901
|
};
|
|
901
902
|
}[] | undefined;
|
|
902
|
-
template?: string | null | undefined;
|
|
903
903
|
deliveryOrder?: {
|
|
904
904
|
id?: string | null | undefined;
|
|
905
905
|
remark?: string | null | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
19
|
options?: any[] | null | undefined;
|
|
20
20
|
type: "string" | "number" | "boolean" | "date";
|
|
21
21
|
key: string;
|
|
22
|
-
entity: "
|
|
22
|
+
entity: "item" | "group" | "restaurant" | "warehouse" | "inventorySku" | "inventoryRecipe";
|
|
23
23
|
}[] | null | undefined;
|
|
24
24
|
pf_agent?: {
|
|
25
25
|
clickupId?: string | null | undefined;
|
|
@@ -113,7 +113,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
113
113
|
options?: any[] | null | undefined;
|
|
114
114
|
type: "string" | "number" | "boolean" | "date";
|
|
115
115
|
key: string;
|
|
116
|
-
entity: "
|
|
116
|
+
entity: "item" | "group" | "restaurant" | "warehouse" | "inventorySku" | "inventoryRecipe";
|
|
117
117
|
}[] | null | undefined;
|
|
118
118
|
pf_agent?: {
|
|
119
119
|
clickupId?: string | null | undefined;
|