@feedmepos/mf-inventory-portal 1.8.0-dev.15 → 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-BYwjYoox.js → App-xSsyvQV_.js} +515 -536
- package/dist/{ApprovalView-CvfLuQiG.js → ApprovalView-DfJ0FAiD.js} +9 -9
- package/dist/{BindingsDialog-CS0IlwGC.js → BindingsDialog-oAZyjgrN.js} +2 -2
- package/dist/{BindingsPicker-CqY5tyvT.js → BindingsPicker-CEIo7myR.js} +8 -8
- package/dist/{BindingsTable-BA1CMNtR.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-B6s_QcuY.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BvleQo5y.js} +1 -1
- package/dist/{ClosingDraftView-Bk8TmRfV.js → ClosingDraftView-tJrjqyAC.js} +19 -19
- package/dist/{ClosingHistoryView-XMROUlaz.js → ClosingHistoryView-CJQlK4Xc.js} +7 -7
- package/dist/{ClosingTemplateView-CxQp2kaI.js → ClosingTemplateView-DYRtdK5h.js} +18 -18
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-KgvAbmkj.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DEwi7wFf.js} +1 -1
- package/dist/{DefaultView-DNKPKrrr.js → DefaultView-CxTBlkln.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-CfCMlcEC.js → DeliveryOrderPrintPreview-Bywdjc2U.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BLfRq8o3.js → EmailDialog.vue_vue_type_script_setup_true_lang-DcFAUTdO.js} +38 -33
- package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Bmei7M_d.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-AKDqv1C8.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CnqH115V.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DQIfW9h3.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-QBviJzAO.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DrTNzJSz.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BqHtzo20.js} +2 -2
- package/dist/{FmMultiselectDialog-CchCZDYp.js → FmMultiselectDialog-CFNZMzlC.js} +2 -2
- package/dist/{FmMultiselectDialog-DD6AbolT.js → FmMultiselectDialog-M6CvNFW1.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-MqvhtQcN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BGco50Ma.js} +5 -5
- package/dist/{ImportView-f35OUKFU.js → ImportView-C2GOmpuK.js} +6 -6
- package/dist/{IngredientsView-CLC1di0L.js → IngredientsView-wB9kGiOK.js} +15 -15
- package/dist/{IntegrationExplorerView-BWzUCAD0.js → IntegrationExplorerView-BujwGE4q.js} +1414 -1485
- package/dist/{IntegrationPlatformView-C78gW5nI.js → IntegrationPlatformView-Wnvj6-BG.js} +4899 -4794
- package/dist/{IntegrationView-CnUWuRtH.js → IntegrationView-C77rSbpn.js} +14 -14
- package/dist/{InventoryBindingForm-ZGjVpCAI.js → InventoryBindingForm-Bs7Duwfj.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQDso4fW.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DawAEeuP.js} +4 -4
- package/dist/{InventoryBindingSummary-B68FLrzC.js → InventoryBindingSummary-BefkYWIr.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DlCmFAUg.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-E6WVZA-D.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--NWDSxIT.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-4aYz5NwS.js} +1626 -1712
- package/dist/ProductionRunPage-CuXzmWMc.js +953 -0
- package/dist/{PublishView-BvuP_W4l.js → PublishView-Bu8J6ndy.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CTFNQWED.js → PurchaseOrderPrintPreview-DaslFe8u.js} +2 -2
- package/dist/{ReceiveRequestView-Ca9jGuKW.js → ReceiveRequestView-CKPBpN4x.js} +13 -13
- package/dist/{RecipeView-Vm2c1vGo.js → RecipeView-BeZ9ljtA.js} +15 -15
- package/dist/{SettingsView-49IPE742.js → SettingsView-CWhMdNfn.js} +10 -9
- package/dist/{StockView-CylYMrFJ.js → StockView-C5IhPGxi.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DYoom8UC.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9Rx_9b7.js} +1 -1
- package/dist/{SupplierView-CCB8gkT1.js → SupplierView-BSGajl9V.js} +13 -13
- package/dist/{SurchargeView-MXCxLWTu.js → SurchargeView-DtAszxTN.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-D9LGk7R7.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CfxroS8u.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Cp2CDerI.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-DZEYUHOu.js → TransferTemplateView-D6_AfMja.js} +19 -19
- package/dist/{UnitCostHistoryView-TnQwZk3R.js → UnitCostHistoryView-kisQehVE.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-C6o4xrjZ.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DKoPNZoW.js} +4 -4
- package/dist/{UnitView-CFqdNGjT.js → UnitView-jSLennZW.js} +7 -7
- package/dist/{WarehouseView-rH3loGl_.js → WarehouseView-CUdWJCMq.js} +8 -8
- package/dist/{WastageTemplateView-Cnsi_EJ1.js → WastageTemplateView--B0LSwHa.js} +15 -15
- package/dist/api/netsuite-explorer.d.ts +1 -0
- package/dist/{app-O0ln50NT.js → app-Bb5HLWTu.js} +2041 -2045
- package/dist/app.d.ts +6 -6
- package/dist/app.js +1 -1
- package/dist/{closing-template-BcXKc7kW.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-BVVlNlAO.js → date2-D9gB9BE-.js} +1 -1
- package/dist/{dayjs.min-86T3g7jl.js → dayjs.min-CumM_kH7.js} +1 -1
- package/dist/{decimal-BceSQ9qu.js → decimal-CVF1rRoj.js} +2 -2
- package/dist/{defineDeepModel-CYCLZ-jP.js → defineDeepModel-DE-DsQjm.js} +1 -1
- package/dist/{duplicate-template-BOQW9uDO.js → duplicate-template-CFYtQfQn.js} +1 -1
- package/dist/feature-flags/vue.d.ts +22 -1
- package/dist/{feature-SfaxOOo8.js → feature-kti8bU8q.js} +412 -346
- package/dist/{format-time-from-id-DcZjh4zF.js → format-time-from-id-CWZ5VGvM.js} +1 -1
- package/dist/{format-unit-display-B_Leyj1M.js → format-unit-display-BlxdvskN.js} +12 -12
- package/dist/{id-to-date-CxJMEppi.js → id-to-date-BaH_1Kui.js} +1 -1
- package/dist/{import-export.helper-CTzQihBw.js → import-export.helper-8rKrOB0E.js} +5 -5
- package/dist/{index-D5JOuvFG.js → index-B9p_OEdk.js} +1 -1
- package/dist/{index-DiN65wc9.js → index-BHc3cNyz.js} +3 -3
- package/dist/{index-WnJgGINW.js → index-MEUJonBr.js} +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
- package/dist/{lz-string-COM8L2Yg.js → lz-string-IiazGN0W.js} +1 -1
- package/dist/{netsuite-B4PKJ2O4.js → netsuite-BeDxaeKM.js} +2 -2
- package/dist/netsuite-explorer-4IluitzS.js +79 -0
- package/dist/{predefined-templates-jno0IPO6.js → predefined-templates-D4qVID1q.js} +1 -1
- package/dist/{purchase-order-template-CBgiJ239.js → purchase-order-template-GTOntq3C.js} +1 -1
- package/dist/{recalculationUtils-C-dyQAGg.js → recalculationUtils-Dye8x2TO.js} +1 -1
- package/dist/{row-action.enum-D2CmAs2h.js → row-action.enum-CVJbq_-y.js} +1 -1
- package/dist/{rules-CByHkO8L.js → rules-Y3zXVj3i.js} +3 -3
- package/dist/{stock-DrSVVTuZ.js → stock-BIjTQFsR.js} +2 -2
- package/dist/{stock-DbyYZzKm.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-DcqbvDxz.js → supplier-CbdCjiIB.js} +2 -2
- package/dist/{surcharge-BqcD_sf2.js → surcharge-BoXLK6o0.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-2cAqJPJa.js → uom-rules-C5h1AoPJ.js} +1 -1
- package/dist/{use-ingredient-select-dialog-DwQn7p6y.js → use-ingredient-select-dialog-D196q_qk.js} +2 -2
- package/dist/{use-inventory-binding-dialog-Id5sz9Xu.js → use-inventory-binding-dialog-B4IhhCjM.js} +2 -2
- package/dist/{use-template-enabled-locations-8RnaHV8u.js → use-template-enabled-locations-CDKP3kTS.js} +2 -2
- package/dist/{use-transfer-locations-JvPP8F4f.js → use-transfer-locations-DE4vxSDp.js} +2 -2
- package/dist/{useHrmPermission-OGla5jyF.js → useHrmPermission-D1dkveCP.js} +1 -1
- package/dist/{useNavigationMenu-BVJlsjVn.js → useNavigationMenu-N5_7da8m.js} +39 -39
- package/dist/{useSseClient-BaM0oGDR.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-DwUCuX11.js → vue-CxSKQOrZ.js} +84 -68
- package/dist/{vue-i18n-Cf9XKwOr.js → vue-i18n-CTR_IUvd.js} +258 -258
- package/dist/{xlsx.util-EZTW-mf4.js → xlsx.util-J9pxGRQD.js} +2 -2
- package/package.json +4 -4
- package/dist/BulkReceiveRequestView-CFaMPFfO.js +0 -2657
- package/dist/FeatureCapabilityGate-CFUPteG8.js +0 -74
- package/dist/ProductionRunDetailView-DPcovCY1.js +0 -2312
- package/dist/ProductionRunView-DJXZ_hmi.js +0 -931
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BIc4mZJI.js +0 -4847
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { components as ce, useDialogChild as Pe, useSnackbar as de, useDialog as Me, FmButtonVariant as te } from "@feedmepos/ui-library";
|
|
2
2
|
import { defineStore as pe } from "pinia";
|
|
3
3
|
import { F as xe } from "./form-mode.enum-BKiNVH6A.js";
|
|
4
|
-
import { u as fe } from "./purchase-order-template-
|
|
4
|
+
import { u as fe } from "./purchase-order-template-GTOntq3C.js";
|
|
5
5
|
import { ref as I, h as oe, defineComponent as ye, resolveComponent as W, createElementBlock as F, openBlock as O, createElementVNode as D, createCommentVNode as J, normalizeClass as Z, createTextVNode as Be, toDisplayString as q, unref as B, createVNode as z, withCtx as me, Fragment as Y, renderList as ae, onMounted as Le, computed as H, watch as Qe, createSlots as Ue, createBlock as re } from "vue";
|
|
6
|
-
import { a as X, c as ve, r as L, u as ie, s as qe, m as Ve, k as _e, t as He, R as we } from "./app-
|
|
6
|
+
import { a as X, c as ve, r as L, u as ie, s as qe, m as Ve, k as _e, t as He, R as we } from "./app-Bb5HLWTu.js";
|
|
7
7
|
import { useRouter as ze } from "vue-router";
|
|
8
|
-
import { a as je } from "./FmMultiselectDialog-
|
|
9
|
-
import { D as ne, R as U } from "./row-action.enum-
|
|
8
|
+
import { a as je } from "./FmMultiselectDialog-CFNZMzlC.js";
|
|
9
|
+
import { D as ne, R as U } from "./row-action.enum-CVJbq_-y.js";
|
|
10
10
|
import { c as Ye } from "./component-BmLAdDiY.js";
|
|
11
|
-
import { f as Ke } from "./format-time-from-id-
|
|
11
|
+
import { f as Ke } from "./format-time-from-id-CWZ5VGvM.js";
|
|
12
12
|
import { useI18n as he, useCoreStore as Ie } from "@feedmepos/mf-common";
|
|
13
|
-
import { t as K, a as Ce, d as Oe, s as Ae, r as Ge } from "./xlsx.util-
|
|
13
|
+
import { t as K, a as Ce, d as Oe, s as Ae, r as Ge } from "./xlsx.util-J9pxGRQD.js";
|
|
14
14
|
import { F as We } from "./FmDroppableField-J0tG_U3w.js";
|
|
15
|
-
import { a as G, t as se, g as ue, c as Je, B as Ze } from "./rules-
|
|
16
|
-
import { f as Xe } from "./date2-
|
|
17
|
-
import { u as ge } from "./supplier-
|
|
18
|
-
import { u as be } from "./netsuite-
|
|
19
|
-
import { u as et } from "./duplicate-template-
|
|
20
|
-
import { u as tt } from "./vue-i18n-
|
|
15
|
+
import { a as G, t as se, g as ue, c as Je, B as Ze } from "./rules-Y3zXVj3i.js";
|
|
16
|
+
import { f as Xe } from "./date2-D9gB9BE-.js";
|
|
17
|
+
import { u as ge } from "./supplier-CbdCjiIB.js";
|
|
18
|
+
import { u as be } from "./netsuite-BeDxaeKM.js";
|
|
19
|
+
import { u as et } from "./duplicate-template-CFYtQfQn.js";
|
|
20
|
+
import { u as tt } from "./vue-i18n-CTR_IUvd.js";
|
|
21
21
|
function Ne(n) {
|
|
22
22
|
const e = X(), o = n.sku, d = e.skuById[o._id];
|
|
23
23
|
if (d.unit._id !== o.unit._id) return !0;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as w, t as H, i as T, I as P } from "./rules-
|
|
2
|
-
import { u as j } from "./feature-
|
|
1
|
+
import { a as w, t as H, i as T, I as P } from "./rules-Y3zXVj3i.js";
|
|
2
|
+
import { u as j } from "./feature-kti8bU8q.js";
|
|
3
3
|
import { useCoreStore as y } from "@feedmepos/mf-common";
|
|
4
|
-
import { a as g, g as k, m as I, e as S } from "./app-
|
|
5
|
-
import { b as N, d as $, s as _ } from "./xlsx.util-
|
|
6
|
-
import { f as O } from "./date2-
|
|
4
|
+
import { a as g, g as k, m as I, e as S } from "./app-Bb5HLWTu.js";
|
|
5
|
+
import { b as N, d as $, s as _ } from "./xlsx.util-J9pxGRQD.js";
|
|
6
|
+
import { f as O } from "./date2-D9gB9BE-.js";
|
|
7
7
|
function U() {
|
|
8
8
|
return {
|
|
9
9
|
low: 6,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as v, computed as f } from "vue";
|
|
2
|
-
import { u as w } from "./netsuite-
|
|
3
|
-
import { A as L, a as p, u as y, d as k, G as h } from "./app-
|
|
2
|
+
import { u as w } from "./netsuite-BeDxaeKM.js";
|
|
3
|
+
import { A as L, a as p, u as y, d as k, G as h } from "./app-Bb5HLWTu.js";
|
|
4
4
|
import { useSnackbar as B } from "@feedmepos/ui-library";
|
|
5
5
|
import { useCoreStore as E } from "@feedmepos/mf-common";
|
|
6
|
-
import { u as S } from "./feature-
|
|
6
|
+
import { u as S } from "./feature-kti8bU8q.js";
|
|
7
7
|
function C() {
|
|
8
8
|
return {
|
|
9
9
|
setting: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as L, ax as V, ay as je, az as X,
|
|
1
|
+
import { y as L, ax as V, ay as je, az as X, ar as Bl, a2 as Ar, aA as Te, aB as Yt, aC as Wt } from "./app-Bb5HLWTu.js";
|
|
2
2
|
import { d as zl, _ as wl } from "./dinero-DMLEtkS9.js";
|
|
3
3
|
function Ul(t, e) {
|
|
4
4
|
for (var r = 0; r < e.length; r++) {
|
|
@@ -30,8 +30,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
30
30
|
}>>> & Readonly<{
|
|
31
31
|
"onClick:action"?: ((actionName: string) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
|
-
actions: InventoryPageHeadAction[];
|
|
34
33
|
title: string;
|
|
34
|
+
actions: InventoryPageHeadAction[];
|
|
35
35
|
breadcrumbs: Breadcrumbs[];
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
37
37
|
headerInfo?(_: {}): any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { y as s_, a2 as vi, D as i,
|
|
1
|
+
import { y as s_, a2 as vi, D as i, ag as u_, ah as o_, ai as a_, aj as c_, ak as Ti, al as d_, C as at, am as bi, a1 as Ys, an as ru, ao as nc, ap as Oe, aq as Le, N as De, s as oe, ar as Er, B as Bt, as as Js, _ as Ye, e as zn, at as ic, au as l_, av as f_, aw as m_, a4 as su, aa as p_, d as g_, j as h_, t as Wa, a as __, u as Ei } from "./app-Bb5HLWTu.js";
|
|
2
2
|
import { useCoreStore as Cn } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as I_ } from "@feedmepos/ui-library";
|
|
4
4
|
import { defineComponent as y_, ref as Zs, computed as An, resolveComponent as Kn, createBlock as zs, openBlock as _t, withCtx as ut, createElementVNode as ge, createElementBlock as Qt, createVNode as At, createTextVNode as ot, toDisplayString as Ue, Fragment as vr, createCommentVNode as Dn, renderList as v_, unref as qa, h as E_ } from "vue";
|
|
5
|
-
import { u as b_ } from "./feature-
|
|
5
|
+
import { u as b_ } from "./feature-kti8bU8q.js";
|
|
6
6
|
var br = { exports: {} };
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { d as i } from "./app-Bb5HLWTu.js";
|
|
2
|
+
import { useCoreStore as $ } from "@feedmepos/mf-common";
|
|
3
|
+
const B = i((n, s) => {
|
|
4
|
+
const u = $();
|
|
5
|
+
function o() {
|
|
6
|
+
var e;
|
|
7
|
+
return ((e = u.currentBusiness.value) == null ? void 0 : e._id) ?? "";
|
|
8
|
+
}
|
|
9
|
+
return {
|
|
10
|
+
// ============================ Orders ============================
|
|
11
|
+
/**
|
|
12
|
+
* Look up a single NetSuite order by its internal ID.
|
|
13
|
+
*/
|
|
14
|
+
async readOrderById(e, r) {
|
|
15
|
+
const t = o(), a = `${n.netSuiteBackendUrl}/${t}/v2/explorer/order/${e}/${r}`;
|
|
16
|
+
return await s.get(a);
|
|
17
|
+
},
|
|
18
|
+
async readOrderTypeById(e) {
|
|
19
|
+
const r = o(), t = `${n.netSuiteBackendUrl}/${r}/v2/explorer/order/type/${encodeURIComponent(e)}`;
|
|
20
|
+
return (await s.get(t)).recordType;
|
|
21
|
+
},
|
|
22
|
+
/**
|
|
23
|
+
* List NetSuite records by date range, cross-referenced with FM POs.
|
|
24
|
+
* Returns records with purchaseOrderSeqNo (null = unsynced, number = synced).
|
|
25
|
+
*/
|
|
26
|
+
async browseOrdersByDateRange(e, r, t, a) {
|
|
27
|
+
const d = o(), c = `${n.netSuiteBackendUrl}/${d}/v2/explorer/order/${e}/${r}`;
|
|
28
|
+
return await s.post(c, {
|
|
29
|
+
startDate: t,
|
|
30
|
+
endDate: a
|
|
31
|
+
});
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* Query NetSuite records by IDs or date range using unified endpoint.
|
|
35
|
+
* Supports lookup by recordIds, transactionIds, or date range.
|
|
36
|
+
* Returns standardized NSOrderExplorerResultDto[] format with sync status.
|
|
37
|
+
*/
|
|
38
|
+
async browseOrdersByFilter(e, r, t) {
|
|
39
|
+
const a = o(), d = `${n.netSuiteBackendUrl}/${a}/v2/explorer/order/query/${e}/${r}`;
|
|
40
|
+
return await s.post(d, t);
|
|
41
|
+
},
|
|
42
|
+
// ============================ Items ============================
|
|
43
|
+
/**
|
|
44
|
+
* List NetSuite items from the `item` table.
|
|
45
|
+
* Pass an optional filter object to narrow results (e.g. { itemtype: 'InvtPart' }).
|
|
46
|
+
*/
|
|
47
|
+
async browseItemsByFilter(e) {
|
|
48
|
+
const r = o(), t = `${n.netSuiteBackendUrl}/${r}/v2/explorer/item/query`;
|
|
49
|
+
return await s.post(t, e ? { where: e } : {});
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* Look up a single NetSuite item by its internal ID.
|
|
53
|
+
*/
|
|
54
|
+
async readItemById(e, r) {
|
|
55
|
+
const t = o(), a = `${n.netSuiteBackendUrl}/${t}/v2/explorer/item/${e}/${r}`;
|
|
56
|
+
return await s.get(a);
|
|
57
|
+
},
|
|
58
|
+
// ============================ Vendors ============================
|
|
59
|
+
/**
|
|
60
|
+
* List NetSuite vendors from the `vendor` table.
|
|
61
|
+
* Pass an optional raw SuiteQL WHERE clause to narrow results.
|
|
62
|
+
*/
|
|
63
|
+
async browseVendorsByFilter(e) {
|
|
64
|
+
const r = o(), t = `${n.netSuiteBackendUrl}/${r}/v2/explorer/vendor/query`;
|
|
65
|
+
return await s.post(t, e ? { where: e } : {});
|
|
66
|
+
},
|
|
67
|
+
async readVendorById(e) {
|
|
68
|
+
const r = o(), t = `${n.netSuiteBackendUrl}/${r}/v2/explorer/vendor/${e}`;
|
|
69
|
+
return await s.get(t);
|
|
70
|
+
},
|
|
71
|
+
async triggerWebHook(e) {
|
|
72
|
+
const r = o(), t = `${n.netSuiteBackendUrl}/${r}/v2/explorer/trigger-webhook`;
|
|
73
|
+
await s.post(t, e);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
export {
|
|
78
|
+
B as useNetSuiteExplorerApi
|
|
79
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as qn, j as Wn, y as zn } from "./app-
|
|
1
|
+
import { d as qn, j as Wn, y as zn } from "./app-Bb5HLWTu.js";
|
|
2
2
|
import { defineStore as Vn } from "pinia";
|
|
3
3
|
import { ref as mt, computed as Kn } from "vue";
|
|
4
4
|
import { useCoreStore as Yn } from "@feedmepos/mf-common";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as r } from "vue";
|
|
2
|
-
import { _ as o } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as o } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C8c6rmJv.js";
|
|
3
3
|
var e = /* @__PURE__ */ ((t) => (t.Add = "Add", t.Create = "Create", t.Print = "Print", t.PrintCustom = "PrintCustom", t.PrintPdf = "PrintPdf", t.Export = "Export", t.Update = "Update", t.Details = "Details", t.Edit = "Edit", t.Delete = "Delete", t.Publish = "Publish", t.Duplicate = "Duplicate", t.Email = "Email", t))(e || {});
|
|
4
4
|
const i = {
|
|
5
5
|
Add: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as u } from "./app-
|
|
2
|
-
import { c as l, d as h } from "./date2-
|
|
3
|
-
import { F as $ } from "./decimal-
|
|
1
|
+
import { s as u } from "./app-Bb5HLWTu.js";
|
|
2
|
+
import { c as l, d as h } from "./date2-D9gB9BE-.js";
|
|
3
|
+
import { F as $ } from "./decimal-CVF1rRoj.js";
|
|
4
4
|
function F(t, n) {
|
|
5
5
|
return u.convertPrecision({
|
|
6
6
|
value: t,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as i } from "./stock-
|
|
2
|
-
import { a as s, s as p, Z as B } from "./app-
|
|
1
|
+
import { u as i } from "./stock-BR8x3nlx.js";
|
|
2
|
+
import { a as s, s as p, Z as B } from "./app-Bb5HLWTu.js";
|
|
3
3
|
import { computed as k, ref as d } from "vue";
|
|
4
4
|
function v() {
|
|
5
5
|
return {
|
package/dist/stores/feature.d.ts
CHANGED
|
@@ -58,6 +58,9 @@ export interface FeatureState {
|
|
|
58
58
|
*/
|
|
59
59
|
report_portal_po_forecast_days_default: number;
|
|
60
60
|
}
|
|
61
|
+
export type FeatureLoadStatus = 'idle' | 'loading' | 'ready' | 'error';
|
|
62
|
+
export type LocationFeatureWait = 'ready' | 'error' | 'superseded';
|
|
63
|
+
export declare const FEATURE_LOAD_TIMEOUT_MS = 30000;
|
|
61
64
|
export declare const useFeatureStore: () => {
|
|
62
65
|
readonly businessDbName: string;
|
|
63
66
|
readonly isWarehouse: boolean;
|
|
@@ -69,6 +72,12 @@ export declare const useFeatureStore: () => {
|
|
|
69
72
|
/** @deprecated TODO: remove */
|
|
70
73
|
readonly manualReceive: boolean;
|
|
71
74
|
readonly isLoaded: boolean;
|
|
75
|
+
readonly loadState: {
|
|
76
|
+
dbName: string | null;
|
|
77
|
+
status: FeatureLoadStatus;
|
|
78
|
+
};
|
|
79
|
+
/** Reloads the current location's flags; a no-op before `init` has run. */
|
|
80
|
+
retryLoad(): Promise<void>;
|
|
72
81
|
readonly flags: {
|
|
73
82
|
name: string;
|
|
74
83
|
enabled: boolean;
|
|
@@ -114,5 +123,16 @@ export declare const useFeatureStore: () => {
|
|
|
114
123
|
readonly poForecastDaysConstraint: string | null;
|
|
115
124
|
readonly poForecastDaysDefault: number;
|
|
116
125
|
init(): Promise<void>;
|
|
117
|
-
|
|
126
|
+
/**
|
|
127
|
+
* Waits, bounded by FEATURE_LOAD_TIMEOUT_MS, for the flags of `dbName` to be
|
|
128
|
+
* confirmed. `ready` includes a confirmed outlet refreshing in the background.
|
|
129
|
+
* `error` means the flags are unknown (failed or stalled), never "off".
|
|
130
|
+
* `superseded` means the outlet changed or `signal` aborted, so the caller's
|
|
131
|
+
* work is stale and must stop. With `retryOnError`, an outlet already in error
|
|
132
|
+
* reloads first, so a caller's own refresh doubles as the flag retry.
|
|
133
|
+
*/
|
|
134
|
+
awaitLocationFeatures(dbName: string | null | undefined, options?: {
|
|
135
|
+
signal?: AbortSignal;
|
|
136
|
+
retryOnError?: boolean;
|
|
137
|
+
}): Promise<LocationFeatureWait>;
|
|
118
138
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -18,7 +18,7 @@ export declare function useWarehouseStore(): {
|
|
|
18
18
|
options?: any[] | null | undefined;
|
|
19
19
|
type: "string" | "number" | "boolean" | "date";
|
|
20
20
|
key: string;
|
|
21
|
-
entity: "
|
|
21
|
+
entity: "item" | "group" | "restaurant" | "warehouse" | "inventorySku" | "inventoryRecipe";
|
|
22
22
|
}[] | null | undefined;
|
|
23
23
|
pf_agent?: {
|
|
24
24
|
clickupId?: string | null | undefined;
|