@feedmepos/mf-inventory-portal 1.5.11-dev.3 → 1.5.12

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.
Files changed (83) hide show
  1. package/dist/{App-t6gPmao7.js → App-DBEmTaMX.js} +4 -4
  2. package/dist/{ApprovalView-D4Wqhsua.js → ApprovalView-BvzIwH1r.js} +7 -7
  3. package/dist/{BindingsDialog-BgJ1tEto.js → BindingsDialog-DnqHoU0Y.js} +2 -2
  4. package/dist/{BindingsPicker-Dc2IFjLi.js → BindingsPicker-Bjpj0zdJ.js} +2 -2
  5. package/dist/{BindingsTable-CfYp1p03.js → BindingsTable-S5Nqq4Qv.js} +3 -3
  6. package/dist/{ClosingDraftView-Sc2BxLZ5.js → ClosingDraftView-Y074sSoz.js} +15 -15
  7. package/dist/{ClosingHistoryView-D8l29kr9.js → ClosingHistoryView-B2ccrB2K.js} +5 -5
  8. package/dist/{ClosingTemplateView-DrzWU7be.js → ClosingTemplateView-BcvKBWVJ.js} +14 -14
  9. package/dist/{DefaultView-Do4Gc3-x.js → DefaultView-DQhLe6LE.js} +2 -2
  10. package/dist/{DeliveryOrderPrintPreview-Cp0TLV28.js → DeliveryOrderPrintPreview-Cup9mzpO.js} +2 -2
  11. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BJA5wTiE.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DuZFuSbw.js} +2 -2
  12. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_1_ijOK.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DoPyc0aE.js} +2 -2
  13. package/dist/{FmMultiselectDialog-BOSgMmVe.js → FmMultiselectDialog-Cwazmlw3.js} +2 -2
  14. package/dist/{FmMultiselectDialog-DPvFk4GL.js → FmMultiselectDialog-DnuUrW7h.js} +1 -1
  15. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Ex8cHZaI.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BMzzUsa4.js} +5 -5
  16. package/dist/{ImportView-DWK0W15d.js → ImportView-CXtrdABV.js} +6 -6
  17. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BFu71gqD.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cfp95IvX.js} +1 -1
  18. package/dist/{IngredientGroupView-Cn6gzOBy.js → IngredientGroupView-Bm-2yK8J.js} +5 -5
  19. package/dist/{IngredientsView-D32kZ7d3.js → IngredientsView-Bo8w9LSr.js} +15 -15
  20. package/dist/{IntegrationExplorerView-D2qnrmy6.js → IntegrationExplorerView-DUqQ64CE.js} +352 -352
  21. package/dist/{IntegrationView-C28JHFG3.js → IntegrationView-CtkbKPzC.js} +13 -13
  22. package/dist/{InventoryBindingForm-DoxN1NxS.js → InventoryBindingForm-DWJRCTf8.js} +1 -1
  23. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BvdmF6fv.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DH-xUQ5m.js} +5 -5
  24. package/dist/{InventoryBindingSummary-Cdx5Jab9.js → InventoryBindingSummary-DSwCvTnu.js} +1 -1
  25. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-3nIQi_k-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-KDWRZCxm.js} +1 -1
  26. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DaRgO7fj.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Wuv2teWn.js} +1 -1
  27. package/dist/{PublishView-DzI-UU85.js → PublishView-BSahQbqy.js} +3 -3
  28. package/dist/{PurchaseOrderPrintPreview-CwNlIMsu.js → PurchaseOrderPrintPreview-C8umjCEU.js} +2 -2
  29. package/dist/{ReceiveRequestView-D6tSWtrn.js → ReceiveRequestView-Bf5dAcun.js} +26 -26
  30. package/dist/{RecipeView-BDgAMk-z.js → RecipeView-wU9u23Zp.js} +1117 -1104
  31. package/dist/{SettingsView-Hf60Y0J0.js → SettingsView-C5Uc6h0A.js} +4 -4
  32. package/dist/{StockView-1B-2Vf1V.js → StockView-QF68mXtU.js} +19 -19
  33. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ba_wQ5Ju.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cgw8EDXb.js} +1 -1
  34. package/dist/{SupplierView-fHcYDGFM.js → SupplierView-xBONJSsg.js} +12 -12
  35. package/dist/{SurchargeView-DkL78h98.js → SurchargeView-BK8aNKZl.js} +6 -6
  36. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-C6YVS0bk.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-tsuedeNl.js} +2 -2
  37. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-gO_Wtu02.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BXVa7pt5.js} +1 -1
  38. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BHKrq-iQ.js → TransferDetails.vue_vue_type_script_setup_true_lang-CVRD5iri.js} +20 -20
  39. package/dist/{TransferTemplateView-BhGR0SDH.js → TransferTemplateView-Cm4evaK3.js} +18 -18
  40. package/dist/{UnitCostHistoryView-CPIJwYgP.js → UnitCostHistoryView-BS0nrbkD.js} +4 -4
  41. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DzseV5bD.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CeD0qWRC.js} +5 -5
  42. package/dist/{UnitView-D8CvRusr.js → UnitView-DsKX7DM0.js} +7 -7
  43. package/dist/{WarehouseView-CGOjzNX2.js → WarehouseView-DRZaGu80.js} +5 -5
  44. package/dist/{WastageTemplateView-wJFwncFJ.js → WastageTemplateView-CtMSWKFj.js} +14 -14
  45. package/dist/{app-BW79dfel.js → app-DYMYQwvV.js} +2780 -2757
  46. package/dist/app.js +1 -1
  47. package/dist/{closing-template-BrVS-MpK.js → closing-template-Cxsa4j_W.js} +1 -1
  48. package/dist/{date2-ClhppfDY.js → date2-BdXL0GG5.js} +1 -1
  49. package/dist/{dayjs.min-DTgFIQkI.js → dayjs.min-LoBFKjU2.js} +1 -1
  50. package/dist/{decimal-ClPxw7qT.js → decimal-BFFta-yv.js} +2 -2
  51. package/dist/{defineDeepModel-Dmr5ASnP.js → defineDeepModel-CCZ3fqXQ.js} +1 -1
  52. package/dist/{duplicate-template-BnJAqy44.js → duplicate-template-C2Qho2Ig.js} +1 -1
  53. package/dist/{feature-BAZ0m6J0.js → feature-Dt5ZFkZR.js} +2 -2
  54. package/dist/{format-time-from-id-CKgj656W.js → format-time-from-id-LqoWbcB4.js} +1 -1
  55. package/dist/{format-unit-display-Lbm7q5cC.js → format-unit-display-CWqmpVa_.js} +11 -11
  56. package/dist/{import-export.helper-BRHo1Hi8.js → import-export.helper-DogBd6aS.js} +6 -6
  57. package/dist/{index-C8iWZSA_.js → index-2DNXazDV.js} +3 -3
  58. package/dist/{index-C4Qke4jw.js → index-D0xsiYLO.js} +1 -1
  59. package/dist/{index-B5QDO_WU.js → index-IMHyRNdu.js} +9 -2
  60. package/dist/{inventory-core-dart.default-D7w9ZZFQ.js → inventory-core-dart.default-BkcD7c_a.js} +1 -1
  61. package/dist/{lz-string-DLIa3ELl.js → lz-string-CgecKowu.js} +1 -1
  62. package/dist/{netsuite-DC4pocTl.js → netsuite-9qEVrdMv.js} +2 -2
  63. package/dist/{number-T0uPxOq3.js → number-DSMFbPf0.js} +3 -3
  64. package/dist/{predefined-templates-Dkk6anWi.js → predefined-templates-OZoiOUoA.js} +1 -1
  65. package/dist/{purchase-order-template-DWf8ItXq.js → purchase-order-template-CUee1L_x.js} +1 -1
  66. package/dist/{recalculationUtils-BAYpPYM2.js → recalculationUtils-CPcCUHIm.js} +1 -1
  67. package/dist/{rules-wxLo26xP.js → rules-CMNaUkUU.js} +2 -2
  68. package/dist/{stock-Ck-zidTo.js → stock-BOaUT0Y3.js} +1 -1
  69. package/dist/{supplier-jOv7SNpw.js → supplier-BAbQZL7x.js} +2 -2
  70. package/dist/{surcharge-ujbP636S.js → surcharge-C5tQ0vs0.js} +1 -1
  71. package/dist/{uom-rules-mz2HXBL-.js → uom-rules-CSmRb5Ds.js} +1 -1
  72. package/dist/{use-ingredient-select-dialog-BusXVXZW.js → use-ingredient-select-dialog-B9XYlxjA.js} +2 -2
  73. package/dist/{use-inventory-binding-dialog-DCRvIaOC.js → use-inventory-binding-dialog-BzIb4yxm.js} +2 -2
  74. package/dist/use-template-enabled-locations-V5iE0ywc.js +146 -0
  75. package/dist/{use-transfer-locations-ku-9ZBUn.js → use-transfer-locations-Di5ozOgU.js} +2 -2
  76. package/dist/{useHrmPermission-CEtD6BoY.js → useHrmPermission-N8GPw9P_.js} +1 -1
  77. package/dist/{useNavigationMenu-BTYlf6zF.js → useNavigationMenu-BLnGMLsm.js} +2 -2
  78. package/dist/{useSseClient-UFc2h6Hw.js → useSseClient-BQtJfryY.js} +3 -3
  79. package/dist/{vue-i18n-B4kzuMPA.js → vue-i18n-DR8I1LQH.js} +499 -499
  80. package/dist/{xlsx-lV47NWo8.js → xlsx-D5-Cqx-l.js} +398 -398
  81. package/dist/{xlsx.util-KjOwaQ_K.js → xlsx.util-DEdsfN6W.js} +3 -3
  82. package/package.json +4 -4
  83. package/dist/use-template-enabled-locations-DEzvQah6.js +0 -132
@@ -1,6 +1,6 @@
1
- import { u, a as d, r as p } from "./xlsx-lV47NWo8.js";
2
- import "./dayjs.min-DTgFIQkI.js";
3
- import "./app-BW79dfel.js";
1
+ import { u, a as d, r as p } from "./xlsx-D5-Cqx-l.js";
2
+ import "./dayjs.min-LoBFKjU2.js";
3
+ import "./app-DYMYQwvV.js";
4
4
  function* x(e) {
5
5
  const [t, o] = e.split(":"), n = /\d+/, r = n.exec(t), a = n.exec(o);
6
6
  if (!r || !a)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-inventory-portal",
3
- "version": "1.5.11-dev.3",
3
+ "version": "1.5.12",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -51,12 +51,12 @@
51
51
  "vue-i18n": "^10.0.5",
52
52
  "vue-router": "^4.4.0",
53
53
  "xlsx": "^0.18.5",
54
- "@feedmepos/inventory-core": "^1.0.2-dev.8",
55
54
  "@feedmepos/inventory-core-2": "^2.0.0",
56
- "@feedmepos/inventory-core-js": "^1.0.1",
55
+ "@feedmepos/inventory-core": "^1.0.2-dev.8",
56
+ "@feedmepos/inventory-core-dart": "^1.0.0",
57
57
  "@feedmepos/netsuite-core": "^1.0.0",
58
58
  "@feedmepos/zod-inventory": "^2.0.0",
59
- "@feedmepos/inventory-core-dart": "^1.0.0"
59
+ "@feedmepos/inventory-core-js": "^1.0.1"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@rushstack/eslint-patch": "^1.10.3",
@@ -1,132 +0,0 @@
1
- import { a as A } from "./FmMultiselectDialog-BOSgMmVe.js";
2
- import { u as S } from "./app-BW79dfel.js";
3
- import { useI18n as v, useCoreStore as d, useCustomAttributes as w } from "@feedmepos/mf-common";
4
- import { useDialog as _, components as m } from "@feedmepos/ui-library";
5
- import { computed as r, h as c } from "vue";
6
- function F(a) {
7
- const p = _(), n = S(), { t: i } = v(), b = r(() => d().restaurants.value.reduce((e, o) => (e[o._id] = o.customAttributes || {}, e), {})), { attributes: f } = w({
8
- valueSource: d().restaurants,
9
- entity: "restaurant"
10
- });
11
- function y() {
12
- var u;
13
- const s = a.getLocations() ?? [], e = n.locationById, o = s.filter((t) => !e[t.doc._id]);
14
- p.open({
15
- title: "Select at least one location",
16
- contentComponent: c(
17
- A,
18
- {
19
- modelValue: ((u = L.value) == null ? void 0 : u.map((t) => t.doc._id)) ?? [],
20
- items: n.locations.map((t) => ({
21
- label: `${t.name}(${t.doc.profile.code ?? "--"})`,
22
- sublabel: t.type,
23
- value: t.doc._id,
24
- customAttributes: {
25
- ...b.value[t.doc._id],
26
- state: t.doc.profile.address.state
27
- }
28
- })),
29
- filterAttributes: [
30
- ...f.value,
31
- {
32
- type: "string",
33
- key: "state",
34
- entity: "location",
35
- values: [
36
- ...new Set(
37
- n.locations.map((t) => t.doc.profile.address.state).filter(Boolean)
38
- )
39
- ]
40
- }
41
- ],
42
- attributeKey: "customAttributes"
43
- },
44
- {
45
- appendList() {
46
- return o.map(
47
- (t) => c(
48
- m.FmListItem,
49
- {
50
- label: `${t.name}(${t.doc.profile.code ?? "--"})`,
51
- sublabel: "This location is not manageable by your account.",
52
- disabled: !0
53
- },
54
- {
55
- prepend: c(m.FmCheckbox, {
56
- modelValue: !0,
57
- value: "",
58
- disabled: !0
59
- })
60
- }
61
- )
62
- );
63
- }
64
- }
65
- ),
66
- contentComponentProps: {},
67
- primaryActions: {
68
- text: i("common.confirm"),
69
- close: !0
70
- },
71
- secondaryActions: {
72
- text: i("common.close"),
73
- close: !0
74
- }
75
- }).onPrimary((t) => {
76
- const l = [...n.locations.filter((g) => t.includes(g.doc._id)), ...o];
77
- l.length ? a.setLocations(l) : a.setLocations(null);
78
- });
79
- }
80
- const L = r(() => {
81
- var e;
82
- const s = /* @__PURE__ */ new Set([...n.locations.map((o) => o.doc._id)]);
83
- return (e = a.getLocations()) == null ? void 0 : e.filter((o) => s.has(o.doc._id));
84
- }), h = r(() => {
85
- const s = a.getLocations();
86
- return s ? s.reduce(
87
- (e, o) => {
88
- switch (o.type) {
89
- case "restaurant": {
90
- e[0].restaurants += 1;
91
- break;
92
- }
93
- case "warehouse": {
94
- e[0].warehouses += 1;
95
- break;
96
- }
97
- }
98
- return e[0][o.type] += 1, e;
99
- },
100
- [
101
- {
102
- restaurants: 0,
103
- warehouses: 0
104
- }
105
- ]
106
- ) : [
107
- {
108
- restaurants: "All",
109
- warehouses: "All"
110
- }
111
- ];
112
- });
113
- return {
114
- promptSelectLocations: y,
115
- columnDefs: [
116
- {
117
- accessorKey: "restaurants",
118
- header: () => "Restaurants",
119
- enableSorting: !1
120
- },
121
- {
122
- accessorKey: "warehouses",
123
- header: () => "Warehouses",
124
- enableSorting: !1
125
- }
126
- ],
127
- rowData: h
128
- };
129
- }
130
- export {
131
- F as u
132
- };