@feedmepos/mf-inventory-portal 1.7.0 → 1.7.1-dev.0
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-mfv976r3.js → App-B_ja37tB.js} +5 -5
- package/dist/ApprovalView-_wG6KeZl.js +249 -0
- package/dist/{BindingsDialog-DnWLIslN.js → BindingsDialog-0IRWCLTc.js} +2 -2
- package/dist/{BindingsPicker-BOPzfVXq.js → BindingsPicker-DCISa6Fx.js} +2 -2
- package/dist/{BindingsTable-Cky7o_NG.js → BindingsTable-B3CmHp97.js} +3 -3
- package/dist/BulkReceiveRequestView-Dmqm65c9.js +2025 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-dRYFLJVj.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D4Nd89xp.js} +1 -1
- package/dist/{ClosingDraftView-BsREbRBA.js → ClosingDraftView-DDWU93p0.js} +21 -21
- package/dist/{ClosingHistoryView-J8XyfB2_.js → ClosingHistoryView-KdmhszIO.js} +7 -7
- package/dist/ClosingTemplateView-CQRujMB9.js +2346 -0
- package/dist/ConnectedBusinessView-Cu2QnRN9.js +533 -0
- package/dist/{DefaultView-BqtI-DBZ.js → DefaultView-QAEDG6pS.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-Bo4KtO5Q.js → DeliveryOrderPrintPreview-B08SSOCX.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-hBB0AHTL.js → EmailDialog.vue_vue_type_script_setup_true_lang-DdzV_fzq.js} +13245 -13063
- package/dist/{FmAdminBadge-DlplQOHb.js → FmAdminBadge-DH_2w13D.js} +8 -8
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BDni_x3F.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js} +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dzqh8pM9.js +84 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bu-ccw4K.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js} +4 -4
- package/dist/{FmMultiselectDialog-DMB-1gqC.js → FmMultiselectDialog-DpPyNOpJ.js} +1 -1
- package/dist/{FmMultiselectDialog-B1vR5H5H.js → FmMultiselectDialog-QEs0yct_.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BsjlumX9.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D8-IQUtA.js} +121 -119
- package/dist/{ImportView-xLqTJPKm.js → ImportView-8qlgZSTO.js} +8 -8
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DuxQPayd.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGWRbAF2.js} +1 -1
- package/dist/{IngredientGroupView-DQjBoKhR.js → IngredientGroupView-BI9SlKfz.js} +6 -6
- package/dist/{IngredientsView-Be4k9xvZ.js → IngredientsView-1naUkKAi.js} +17 -17
- package/dist/{IntegrationExplorerView-Dbcybdvj.js → IntegrationExplorerView-C6kyLz3y.js} +5 -5
- package/dist/{IntegrationView-C5t2Rsq1.js → IntegrationView-DrmxLdlk.js} +15 -15
- package/dist/{InventoryBindingForm-B7RefQSJ.js → InventoryBindingForm-CPNAgZkD.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-lYl5CWxn.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-sz_VtHRr.js} +5 -5
- package/dist/{InventoryBindingSummary-BKF-B5Kf.js → InventoryBindingSummary-Cu98L10w.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DhpB51X8.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-g2PDNQx-.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dhf-ROKc.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BZEa61go.js} +1 -1
- package/dist/{ProductionView-BAkzsaXt.js → ProductionView-D8dxypqA.js} +8 -8
- package/dist/{PublishView-u1DSi_3y.js → PublishView-C82UwIoz.js} +4 -4
- package/dist/{PurchaseOrderPrintPreview-spvdjRxW.js → PurchaseOrderPrintPreview-CP40tEma.js} +2 -2
- package/dist/ReceiveRequestView-DDo0Pb0J.js +514 -0
- package/dist/{RecipeView-DB_zPDd6.js → RecipeView-DB1DJQp7.js} +18 -18
- package/dist/{SettingsView-DsFxSs0T.js → SettingsView-DsS62lxW.js} +6 -6
- package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js} +1 -1
- package/dist/{StockView-DEkXxk4b.js → StockView-gcf7RCZz.js} +23 -23
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BLWES2jH.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-nXqFCKic.js} +1 -1
- package/dist/{SupplierView-Di8rBh-_.js → SupplierView-BIANlKLE.js} +13 -13
- package/dist/{SurchargeView-s7i5_7XF.js → SurchargeView-kRzaixM5.js} +7 -7
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-QMUVuthC.js +211 -0
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-aSnsm9Sw.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BceIOuBq.js} +2 -2
- package/dist/TransferDetailsV3.vue_vue_type_script_setup_true_lang-DYAzxoHE.js +5991 -0
- package/dist/{TransferTemplateView-C94eigII.js → TransferTemplateView-Bq68Vh7t.js} +21 -21
- package/dist/{UnitCostHistoryView-DTPzSJrM.js → UnitCostHistoryView-d0oLssyZ.js} +6 -6
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-B3NPv8Eb.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CLOotG6K.js} +4 -4
- package/dist/{UnitView-DdGUw_tx.js → UnitView-BHfm2IE4.js} +8 -8
- package/dist/{WarehouseView-BQxSYVvF.js → WarehouseView-CorSYwm6.js} +6 -6
- package/dist/{WastageTemplateView-Bjc1PUko.js → WastageTemplateView-CtYZwiRW.js} +15 -15
- package/dist/api/connected-business-mapping.d.ts +25 -0
- package/dist/api/purchase-order.d.ts +35 -1
- package/dist/{app-Ci7Aaea6.js → app-37NZKFUI.js} +5557 -5192
- package/dist/app.d.ts +88 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-Chy8WrlR.js → closing-template-C0dl45x2.js} +1 -1
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +11 -2
- package/dist/connected-business-mapping-ywgqqyMr.js +37 -0
- package/dist/{date2-Bidui0P3.js → date2-r4KgBCs9.js} +1 -1
- package/dist/{dayjs.min-CFgtzCV7.js → dayjs.min-BKUldDi9.js} +1 -1
- package/dist/{decimal-C9gpKKZI.js → decimal-Cgmw6HIY.js} +2 -2
- package/dist/{defineDeepModel-jLHm8HR1.js → defineDeepModel-DXLwZWst.js} +1 -1
- package/dist/{duplicate-template-D9TiIFbd.js → duplicate-template-DDA4QWPl.js} +1 -1
- package/dist/feature-B4BoCy_k.js +1548 -0
- package/dist/{format-time-from-id-Dw-n4jjX.js → format-time-from-id-Dhjn5QgH.js} +1 -1
- package/dist/{format-unit-display-C8RuVRS1.js → format-unit-display-g95-VuYJ.js} +12 -12
- package/dist/{import-export.helper-CuhpmMlh.js → import-export.helper-DsZFPPqj.js} +6 -6
- package/dist/{index-CsDKvy88.js → index-B9WjF3Ox.js} +1 -1
- package/dist/{index-BvJJtxfs.js → index-C207KsUh.js} +3 -3
- package/dist/{index-BbLw-k2u.js → index-D3Bmmx66.js} +1 -1
- package/dist/{inventory-core-dart.default-l09rPSab.js → inventory-core-dart.default-NpD15h63.js} +7104 -5555
- package/dist/{jszip.min-Q-x0ALLG.js → jszip.min-B52cHzHI.js} +129 -129
- package/dist/{lz-string-BeXPK_xO.js → lz-string-CItFpr5-.js} +1 -1
- package/dist/{netsuite-BTb2NFU5.js → netsuite-R_NkLn5t.js} +2 -2
- package/dist/{number-Zlh6TxmH.js → number-BkC_lelq.js} +3 -3
- package/dist/{predefined-templates-CXh7OWR3.js → predefined-templates-CVT54o4V.js} +1 -1
- package/dist/{purchase-order-template-Dvr65U29.js → purchase-order-template-DvqAncB2.js} +1 -1
- package/dist/{recalculationUtils-BkF7XUdf.js → recalculationUtils-Cak1mo4o.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-FAZ-EkdF.js → rules--cnFg-PI.js} +2 -2
- package/dist/{stock-BEJdUeLP.js → stock-BLYAJxMj.js} +1 -1
- package/dist/{stock-CGowMSCF.js → stock-DvquSog3.js} +3 -3
- package/dist/stores/feature.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-JOAqqBkF.js → supplier-C5X8p_vd.js} +2 -2
- package/dist/{surcharge-gdAEvtj9.js → surcharge-CLkpleoW.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-By1vxOaF.js → uom-rules-CykFo_pB.js} +1 -1
- package/dist/{use-ingredient-select-dialog-B-bFjj3N.js → use-ingredient-select-dialog-DlxWMkAI.js} +2 -2
- package/dist/{use-inventory-binding-dialog-o-pedZ68.js → use-inventory-binding-dialog-DnWDyziu.js} +2 -2
- package/dist/{use-template-enabled-locations-5H3RhSuH.js → use-template-enabled-locations-SRgcWLO4.js} +2 -2
- package/dist/{use-transfer-locations-o51Ss7cr.js → use-transfer-locations-D4f4Ib1r.js} +2 -2
- package/dist/{useHrmPermission-DzihMP-i.js → useHrmPermission-lAc6ZHVZ.js} +1 -1
- package/dist/{useNavigationMenu-B_d4hWSX.js → useNavigationMenu-CeN7TEwe.js} +59 -49
- package/dist/{useSseClient-Cd0it8zJ.js → useSseClient-C6ndlLpA.js} +1 -1
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.d.ts +6 -0
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.spec.d.ts +1 -0
- package/dist/views/connected-business/ConnectedBusinessMappingPanel.vue.d.ts +25 -0
- package/dist/views/connected-business/ConnectedBusinessView.vue.d.ts +2 -0
- package/dist/views/receive-request/components/CreateTransferChoice.vue.d.ts +27 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsV3.vue.d.ts +18 -0
- package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +102 -2
- package/dist/views/receive-request/composables/fn.d.ts +2 -1
- package/dist/views/receive-request/composables/fn.spec.d.ts +1 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +119 -3
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +642 -13
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +720 -14
- package/dist/views/receive-request/helper/po-version.d.ts +6 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +524 -10
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +102 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +4 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +8 -0
- package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +12 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +24 -0
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +24 -0
- package/dist/{vue-i18n-CsIY6eJ6.js → vue-i18n-DDqVG60p.js} +479 -479
- package/dist/{xlsx.util-CuxvUzGN.js → xlsx.util-BzQcPwvM.js} +2 -2
- package/package.json +4 -4
- package/dist/ApprovalView-B3nQokUv.js +0 -242
- package/dist/BulkReceiveRequestView-CyFXAM_t.js +0 -2011
- package/dist/ClosingTemplateView-CkiPhzJ8.js +0 -2270
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BkEFIDXV.js +0 -76
- package/dist/ReceiveRequestView-TfjSKJ7q.js +0 -345
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-18j2ZpX-.js +0 -178
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CpUyhO4Q.js +0 -4660
- package/dist/feature-HqzShic7.js +0 -1136
package/dist/{use-ingredient-select-dialog-B-bFjj3N.js → use-ingredient-select-dialog-DlxWMkAI.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-37NZKFUI.js";
|
|
3
|
+
import { a as A } from "./FmMultiselectDialog-QEs0yct_.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-o-pedZ68.js → use-inventory-binding-dialog-DnWDyziu.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as g } from "./FmMultiselectDialog-
|
|
2
|
-
import { a as P } from "./app-
|
|
1
|
+
import { a as g } from "./FmMultiselectDialog-QEs0yct_.js";
|
|
2
|
+
import { a as P } from "./app-37NZKFUI.js";
|
|
3
3
|
import { useDialog as E } from "@feedmepos/ui-library";
|
|
4
4
|
function A() {
|
|
5
5
|
const u = P(), _ = 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-QEs0yct_.js";
|
|
2
|
+
import { u as S } from "./app-37NZKFUI.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, W as w, Z as R } from "./app-
|
|
2
|
-
import { u as E } from "./supplier-
|
|
1
|
+
import { u as g, r as l, W as w, Z as R } from "./app-37NZKFUI.js";
|
|
2
|
+
import { u as E } from "./supplier-C5X8p_vd.js";
|
|
3
3
|
import { computed as u } from "vue";
|
|
4
4
|
function d(n) {
|
|
5
5
|
const c = R.safeParse(n);
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import { computed as T } from "vue";
|
|
2
|
-
import { b as v, R as e,
|
|
3
|
-
import { useCoreStore as
|
|
4
|
-
import { u as
|
|
5
|
-
const L =
|
|
6
|
-
(
|
|
7
|
-
var
|
|
8
|
-
return
|
|
2
|
+
import { b as v, R as e, a8 as O, a9 as P, a7 as C } from "./app-37NZKFUI.js";
|
|
3
|
+
import { useCoreStore as U, useI18n as _ } from "@feedmepos/mf-common";
|
|
4
|
+
import { u as A } from "./feature-B4BoCy_k.js";
|
|
5
|
+
const L = P.reduce(
|
|
6
|
+
(s, t) => {
|
|
7
|
+
var r;
|
|
8
|
+
return t.name && (s[t.name] = (r = t.meta) == null ? void 0 : r.validationManifest), s;
|
|
9
9
|
},
|
|
10
10
|
{}
|
|
11
11
|
);
|
|
12
|
-
function
|
|
13
|
-
const
|
|
12
|
+
function D() {
|
|
13
|
+
const s = U(), t = A(), { t: r } = _(), { isDev: N } = v(), l = (E) => O(E, r), c = T(
|
|
14
14
|
() => {
|
|
15
|
-
var
|
|
16
|
-
return ((
|
|
15
|
+
var E;
|
|
16
|
+
return ((E = s.sessionUser.value) == null ? void 0 : E.permissions) ?? [];
|
|
17
17
|
}
|
|
18
|
-
), h = (
|
|
19
|
-
const n = L[
|
|
18
|
+
), h = (E = []) => E.length === 0 ? !0 : C(E, c.value).granted, a = (E) => {
|
|
19
|
+
const n = L[E];
|
|
20
20
|
return h(n == null ? void 0 : n.requiredCaslPermissions);
|
|
21
|
-
}, R = (
|
|
22
|
-
const { hide:
|
|
23
|
-
return
|
|
24
|
-
}),
|
|
25
|
-
var
|
|
26
|
-
const
|
|
21
|
+
}, R = (E) => E.filter((n) => !n.hide).map((n) => n.children ? { ...n, children: R(n.children) } : n).filter((n) => !n.children || n.children.length > 0), I = (E) => E.map((n) => {
|
|
22
|
+
const { hide: o, children: i, ...u } = n, d = { ...u };
|
|
23
|
+
return i && (d.children = I(i)), d;
|
|
24
|
+
}), S = T(() => {
|
|
25
|
+
var o;
|
|
26
|
+
const E = [
|
|
27
27
|
{
|
|
28
28
|
label: "Non-Production Environment",
|
|
29
29
|
icon: "logo_dev",
|
|
30
30
|
disabled: !0,
|
|
31
|
-
hide: !
|
|
31
|
+
hide: !N
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
label: l(e.STOCK),
|
|
35
35
|
children: [
|
|
36
36
|
{
|
|
37
|
-
label:
|
|
37
|
+
label: r("inventory.stock.stock_balance.title"),
|
|
38
38
|
value: e.STOCK,
|
|
39
39
|
hide: !a(e.STOCK)
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
label: l(e.PRODUCTION),
|
|
43
43
|
value: e.PRODUCTION,
|
|
44
|
-
hide: !a(e.PRODUCTION) || !
|
|
44
|
+
hide: !a(e.PRODUCTION) || !t.enableProductionItem
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
label: l(e.UNIT_COST_HISTORY),
|
|
48
48
|
value: e.UNIT_COST_HISTORY,
|
|
49
|
-
hide: !a(e.UNIT_COST_HISTORY) || !
|
|
49
|
+
hide: !a(e.UNIT_COST_HISTORY) || !t.enableTotalCost
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
label: l(e.WASTAGE_TEMPLATE),
|
|
53
53
|
value: e.WASTAGE_TEMPLATE,
|
|
54
|
-
hide: !a(e.WASTAGE_TEMPLATE) || !
|
|
54
|
+
hide: !a(e.WASTAGE_TEMPLATE) || !t.enableWastageTemplate
|
|
55
55
|
}
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
label:
|
|
59
|
+
label: r("inventory.closing.title"),
|
|
60
60
|
children: [
|
|
61
61
|
{
|
|
62
62
|
label: l(e.CLOSING_HISTORY),
|
|
@@ -66,12 +66,12 @@ function p() {
|
|
|
66
66
|
{
|
|
67
67
|
label: l(e.CLOSING_TEMPLATE),
|
|
68
68
|
value: e.CLOSING_TEMPLATE,
|
|
69
|
-
hide: !a(e.CLOSING_TEMPLATE) || !
|
|
69
|
+
hide: !a(e.CLOSING_TEMPLATE) || !t.enableClosingTemplate
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
label: l(e.CLOSING_DRAFT),
|
|
73
73
|
value: e.CLOSING_DRAFT,
|
|
74
|
-
hide: !a(e.CLOSING_DRAFT) || !
|
|
74
|
+
hide: !a(e.CLOSING_DRAFT) || !t.enableClosingTemplate
|
|
75
75
|
}
|
|
76
76
|
]
|
|
77
77
|
},
|
|
@@ -83,7 +83,7 @@ function p() {
|
|
|
83
83
|
{
|
|
84
84
|
label: l(e.INGREDIENT_GROUP),
|
|
85
85
|
value: e.INGREDIENT_GROUP,
|
|
86
|
-
hide: !a(e.INGREDIENT_GROUP) || !
|
|
86
|
+
hide: !a(e.INGREDIENT_GROUP) || !t.enableIngredientGroup
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
label: l(e.RECIPE),
|
|
@@ -96,7 +96,7 @@ function p() {
|
|
|
96
96
|
hide: !a(e.UNIT)
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
|
-
label:
|
|
99
|
+
label: r("inventory.transfer.title"),
|
|
100
100
|
children: [
|
|
101
101
|
{
|
|
102
102
|
label: l(e.RECEIVE_REQUEST),
|
|
@@ -106,7 +106,7 @@ function p() {
|
|
|
106
106
|
{
|
|
107
107
|
label: l(e.RECEIVE_REQUEST_BULK),
|
|
108
108
|
value: e.RECEIVE_REQUEST_BULK,
|
|
109
|
-
hide: !a(e.RECEIVE_REQUEST_BULK) || !
|
|
109
|
+
hide: !a(e.RECEIVE_REQUEST_BULK) || !t.enableReceiveRequestBeta
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
label: l(e.APPROVAL),
|
|
@@ -116,19 +116,29 @@ function p() {
|
|
|
116
116
|
{
|
|
117
117
|
label: l(e.SURCHARGE),
|
|
118
118
|
value: e.SURCHARGE,
|
|
119
|
-
hide: !a(e.SURCHARGE) || !
|
|
119
|
+
hide: !a(e.SURCHARGE) || !t.enableSurcharge
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
label: l(e.TRANSFER_TEMPLATE),
|
|
123
123
|
value: e.TRANSFER_TEMPLATE,
|
|
124
|
-
hide: !a(e.TRANSFER_TEMPLATE) || !
|
|
124
|
+
hide: !a(e.TRANSFER_TEMPLATE) || !t.enablePoTemplate
|
|
125
125
|
}
|
|
126
126
|
]
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
|
-
label:
|
|
130
|
-
|
|
131
|
-
|
|
129
|
+
label: r("inventory.businessNetwork.title"),
|
|
130
|
+
children: [
|
|
131
|
+
{
|
|
132
|
+
label: l(e.CONNECTED_BUSINESS),
|
|
133
|
+
value: e.CONNECTED_BUSINESS,
|
|
134
|
+
hide: !a(e.CONNECTED_BUSINESS)
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
label: l(e.SUPPLIER),
|
|
138
|
+
value: e.SUPPLIER,
|
|
139
|
+
hide: !a(e.SUPPLIER)
|
|
140
|
+
}
|
|
141
|
+
]
|
|
132
142
|
},
|
|
133
143
|
{
|
|
134
144
|
label: l(e.WAREHOUSE),
|
|
@@ -143,30 +153,30 @@ function p() {
|
|
|
143
153
|
{
|
|
144
154
|
label: l(e.IMPORT),
|
|
145
155
|
value: e.IMPORT,
|
|
146
|
-
hide: !a(e.IMPORT) || !
|
|
156
|
+
hide: !a(e.IMPORT) || !t.enableBulkImport
|
|
147
157
|
},
|
|
148
158
|
{
|
|
149
159
|
label: l(e.INTEGRATION),
|
|
150
160
|
value: e.INTEGRATION,
|
|
151
161
|
hide: !a(e.INTEGRATION)
|
|
152
162
|
}
|
|
153
|
-
], n = I(R(
|
|
154
|
-
return ((
|
|
155
|
-
(
|
|
163
|
+
], n = I(R(E));
|
|
164
|
+
return ((o = s.currentBusiness.value) == null ? void 0 : o.menuVersion) === "v3" ? n.filter(
|
|
165
|
+
(i) => i.value !== e.INGREDIENTS && i.value !== e.RECIPE && i.value !== e.UNIT && i.value !== e.PUBLISH
|
|
156
166
|
) : n;
|
|
157
|
-
}),
|
|
158
|
-
function
|
|
159
|
-
for (const
|
|
160
|
-
if (
|
|
161
|
-
const u =
|
|
167
|
+
}), b = T(() => {
|
|
168
|
+
function E(o) {
|
|
169
|
+
for (const i of o)
|
|
170
|
+
if (i.children && i.children.length > 0) {
|
|
171
|
+
const u = E(i.children);
|
|
162
172
|
if (u) return u;
|
|
163
|
-
} else if (
|
|
164
|
-
return
|
|
173
|
+
} else if (i.value)
|
|
174
|
+
return i.value;
|
|
165
175
|
}
|
|
166
|
-
return
|
|
176
|
+
return E(S.value) ?? null;
|
|
167
177
|
});
|
|
168
|
-
return { menuItems:
|
|
178
|
+
return { menuItems: S, firstAccessibleRouteName: b };
|
|
169
179
|
}
|
|
170
180
|
export {
|
|
171
|
-
|
|
181
|
+
D as u
|
|
172
182
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
export declare function useClosingTemplateSearch(activeGroupId: Ref<string>): {
|
|
3
|
+
searchQuery: Ref<string, string>;
|
|
4
|
+
hasQuery: import("vue").ComputedRef<boolean>;
|
|
5
|
+
filterItems: (items: FdoClosingTemplateItem[]) => FdoClosingTemplateItem[];
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue: boolean;
|
|
3
|
+
mapping: FdoInventoryConnectedBusinessSkuMapping | null;
|
|
4
|
+
editable: boolean;
|
|
5
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (v: boolean) => void;
|
|
7
|
+
saved: () => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
modelValue: boolean;
|
|
10
|
+
mapping: FdoInventoryConnectedBusinessSkuMapping | null;
|
|
11
|
+
editable: boolean;
|
|
12
|
+
}>>> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
14
|
+
onSaved?: (() => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -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,27 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
show?: boolean | undefined;
|
|
3
|
+
supportsConnectedBusiness?: boolean | undefined;
|
|
4
|
+
outletToOutletOnly?: boolean | undefined;
|
|
5
|
+
onSelectTemplate?: (() => void) | undefined;
|
|
6
|
+
onStartBlank?: ((connectedBusinessEnabled: boolean) => void) | undefined;
|
|
7
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:show": (show: boolean) => void;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
show?: boolean | undefined;
|
|
11
|
+
supportsConnectedBusiness?: boolean | undefined;
|
|
12
|
+
outletToOutletOnly?: boolean | undefined;
|
|
13
|
+
onSelectTemplate?: (() => void) | undefined;
|
|
14
|
+
onStartBlank?: ((connectedBusinessEnabled: boolean) => void) | undefined;
|
|
15
|
+
}>>> & Readonly<{
|
|
16
|
+
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { TransferDetailsProps } from './TransferDetailsProps';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferDetailsProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:show": (show: boolean) => void;
|
|
4
|
+
submitted: () => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferDetailsProps>>> & Readonly<{
|
|
6
|
+
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
7
|
+
onSubmitted?: (() => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -8,6 +8,7 @@ export interface TransferFormProps {
|
|
|
8
8
|
skuBalanceMap?: Map<string, FdoSkuBalance>;
|
|
9
9
|
isBalanceLoading?: boolean;
|
|
10
10
|
lockedSupplier?: FdoPurchaseOrderSupplier;
|
|
11
|
+
lockedConnectedBusiness?: boolean;
|
|
11
12
|
}
|
|
12
13
|
export interface TransferFormEvents {
|
|
13
14
|
(event: 'validation-success'): void;
|
package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
14
|
precision: number;
|
|
15
15
|
};
|
|
16
16
|
}[];
|
|
17
|
-
version?: "1" | "2" | null | undefined;
|
|
17
|
+
version?: "1" | "2" | "3" | null | undefined;
|
|
18
18
|
ref?: string | null | undefined;
|
|
19
19
|
template?: string | null | undefined;
|
|
20
20
|
remark?: string | null | undefined;
|
|
@@ -120,6 +120,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
120
120
|
ref?: string | null | undefined;
|
|
121
121
|
remark?: string | null | undefined;
|
|
122
122
|
supplier: {
|
|
123
|
+
businessId?: string | null | undefined;
|
|
123
124
|
_rev?: string | null | undefined;
|
|
124
125
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
125
126
|
contactName?: string | null | undefined;
|
|
@@ -149,6 +150,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
149
150
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
150
151
|
value: number;
|
|
151
152
|
} | null | undefined;
|
|
153
|
+
businessName?: string | null | undefined;
|
|
152
154
|
_id: string;
|
|
153
155
|
name: string;
|
|
154
156
|
address: {
|
|
@@ -404,6 +406,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
404
406
|
recordType?: string | null | undefined;
|
|
405
407
|
id: string | null;
|
|
406
408
|
} | null | undefined;
|
|
409
|
+
connectedBusinessItems?: {
|
|
410
|
+
skuId: string;
|
|
411
|
+
quantity: {
|
|
412
|
+
amount: number;
|
|
413
|
+
precision: number;
|
|
414
|
+
};
|
|
415
|
+
uomId: string;
|
|
416
|
+
}[] | null | undefined;
|
|
407
417
|
shipmentId?: string[] | null | undefined;
|
|
408
418
|
id: string;
|
|
409
419
|
createdAt: string;
|
|
@@ -502,9 +512,97 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
502
512
|
};
|
|
503
513
|
}[];
|
|
504
514
|
}[] | null | undefined;
|
|
515
|
+
connectedBusinessRef?: {
|
|
516
|
+
businessName?: string | null | undefined;
|
|
517
|
+
targetBusinessName?: string | null | undefined;
|
|
518
|
+
skus: {
|
|
519
|
+
trackingMeasurement?: string | null | undefined;
|
|
520
|
+
isInactive?: boolean | null | undefined;
|
|
521
|
+
convert?: {
|
|
522
|
+
measurement?: string | null | undefined;
|
|
523
|
+
inventoryBindings?: {
|
|
524
|
+
measurement?: {
|
|
525
|
+
name: string;
|
|
526
|
+
id: string;
|
|
527
|
+
abbrev: string;
|
|
528
|
+
conversion: {
|
|
529
|
+
amount: number;
|
|
530
|
+
precision: number;
|
|
531
|
+
};
|
|
532
|
+
} | null | undefined;
|
|
533
|
+
rules?: Record<string, any> | null | undefined;
|
|
534
|
+
alternatives?: {
|
|
535
|
+
default?: boolean | null | undefined;
|
|
536
|
+
trackingMeasurement?: string | null | undefined;
|
|
537
|
+
priority?: number | null | undefined;
|
|
538
|
+
_id: string;
|
|
539
|
+
}[] | null | undefined;
|
|
540
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
541
|
+
amount: {
|
|
542
|
+
amount: number;
|
|
543
|
+
precision: number;
|
|
544
|
+
};
|
|
545
|
+
id: string;
|
|
546
|
+
}[] | null | undefined;
|
|
547
|
+
} | null | undefined;
|
|
548
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
549
|
+
defaultCost?: {
|
|
550
|
+
measurement?: {
|
|
551
|
+
name: string;
|
|
552
|
+
id: string;
|
|
553
|
+
abbrev: string;
|
|
554
|
+
conversion: {
|
|
555
|
+
amount: number;
|
|
556
|
+
precision: number;
|
|
557
|
+
};
|
|
558
|
+
} | null | undefined;
|
|
559
|
+
costPerUnit: {
|
|
560
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
561
|
+
amount: number;
|
|
562
|
+
precision: number;
|
|
563
|
+
};
|
|
564
|
+
} | null | undefined;
|
|
565
|
+
operationalGroup?: string | null | undefined;
|
|
566
|
+
thresholds?: {
|
|
567
|
+
low: number;
|
|
568
|
+
mid: number;
|
|
569
|
+
} | null | undefined;
|
|
570
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
571
|
+
unit: {
|
|
572
|
+
_id: string;
|
|
573
|
+
name: string;
|
|
574
|
+
abbrev: string;
|
|
575
|
+
precision: number;
|
|
576
|
+
measurements: {
|
|
577
|
+
name: string;
|
|
578
|
+
id: string;
|
|
579
|
+
abbrev: string;
|
|
580
|
+
conversion: {
|
|
581
|
+
amount: number;
|
|
582
|
+
precision: number;
|
|
583
|
+
};
|
|
584
|
+
}[];
|
|
585
|
+
};
|
|
586
|
+
code: string;
|
|
587
|
+
_id: string;
|
|
588
|
+
name: string;
|
|
589
|
+
}[];
|
|
590
|
+
pairs: {
|
|
591
|
+
skuId: string;
|
|
592
|
+
quantity: {
|
|
593
|
+
amount: number;
|
|
594
|
+
precision: number;
|
|
595
|
+
};
|
|
596
|
+
externalSkuId: string;
|
|
597
|
+
externalQuantity: {
|
|
598
|
+
amount: number;
|
|
599
|
+
precision: number;
|
|
600
|
+
};
|
|
601
|
+
}[];
|
|
602
|
+
} | null | undefined;
|
|
505
603
|
actionChangelogs?: {
|
|
506
604
|
remarks?: string | null | undefined;
|
|
507
|
-
action: "
|
|
605
|
+
action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
|
|
508
606
|
changedBy: {
|
|
509
607
|
name: string;
|
|
510
608
|
id: string;
|
|
@@ -514,6 +612,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
514
612
|
shipmentIds?: string[] | null | undefined;
|
|
515
613
|
predictionId?: string | null | undefined;
|
|
516
614
|
supplier: {
|
|
615
|
+
businessId?: string | null | undefined;
|
|
517
616
|
_rev?: string | null | undefined;
|
|
518
617
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
519
618
|
contactName?: string | null | undefined;
|
|
@@ -543,6 +642,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
543
642
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
544
643
|
value: number;
|
|
545
644
|
} | null | undefined;
|
|
645
|
+
businessName?: string | null | undefined;
|
|
546
646
|
_id: string;
|
|
547
647
|
name: string;
|
|
548
648
|
address: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function notifyInvalidPoOnce(docId: string | undefined, notify: (title: string, message: string) => void, title: string, message: string): void;
|
|
2
|
+
export declare function generatedPOReceivedMap(po: FdoPurchaseOrder, notifyInvalid?: (title: string, message: string) => void): Record<string, PurchaseOrderItemReceiveInfo>;
|
|
2
3
|
export declare function validatePOItemReceivedStatus(dto: PurchaseOrderItemReceiveInfo): {
|
|
3
4
|
isPartialReceive?: boolean;
|
|
4
5
|
isFullReceive?: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|