@feedmepos/mf-inventory-portal 1.2.7-dev.7 → 1.2.7-dev.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/{App-Bp3RZliL.js → App-DIqdK9d8.js} +1 -1
  2. package/dist/{ApprovalView-GJRR3rcl.js → ApprovalView-BKK_eDzO.js} +2 -2
  3. package/dist/{BindingsDialog-CAEU5bJn.js → BindingsDialog-BRzOVR30.js} +2 -2
  4. package/dist/{BindingsPicker-bORI4mV1.js → BindingsPicker-BtCdvAgU.js} +1 -1
  5. package/dist/{BindingsTable-CuH5tXgK.js → BindingsTable-DnS3ypzP.js} +1 -1
  6. package/dist/{ClosingDraftView-CadMahym.js → ClosingDraftView-BZLUoCOk.js} +2 -2
  7. package/dist/ClosingTemplateView-BwDaPcHe.js +1862 -0
  8. package/dist/{DeliveryOrderPrintPreview-CsHfTBcq.js → DeliveryOrderPrintPreview-ClbyQK9l.js} +1 -1
  9. package/dist/{FmAdminBadge-CzMn-J60.js → FmAdminBadge-DcDyRj6K.js} +1 -1
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Vp1K2ZCX.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Da5zZ3ZF.js} +3 -3
  11. package/dist/{FmMultiselectDialog-B8ArrIt7.js → FmMultiselectDialog-CYPN-2of.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-HndkjqBa.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C4QKxv_V.js} +1 -1
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-8ubEC227.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bollyyl1.js} +1 -1
  14. package/dist/{IngredientGroupView-CwKJnrhc.js → IngredientGroupView-baNWf_60.js} +2 -2
  15. package/dist/IngredientsView-B00A9orQ.js +2306 -0
  16. package/dist/{IntegrationView-BIRbf4l3.js → IntegrationView-CiwxB7rj.js} +4 -4
  17. package/dist/{InventoryBindingForm-DWyymzbI.js → InventoryBindingForm-BCY8vtGx.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DyQrNaoP.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-hjbfvhVh.js} +3 -3
  19. package/dist/{InventoryBindingSummary-CXbQXbqS.js → InventoryBindingSummary-CCPxd5ir.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bj_HAWfH.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CmqDgde9.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DU2Qpd8s.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DnpRhNG0.js} +1 -1
  22. package/dist/{PublishView-CehXv5wb.js → PublishView-CDrYaJX9.js} +1 -1
  23. package/dist/{PurchaseOrderPrintPreview-Uf0DxlXw.js → PurchaseOrderPrintPreview-QeqPa532.js} +1 -1
  24. package/dist/{ReceiveRequestView-ByIAx9ej.js → ReceiveRequestView-C8NJ7ILf.js} +8 -8
  25. package/dist/{RecipeView-YwG4k-4A.js → RecipeView-Bmvl_poR.js} +3 -3
  26. package/dist/{StockView-C6cH0sRY.js → StockView-H8EcBWrt.js} +8 -8
  27. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DbiWKY49.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D-H0oT-V.js} +1 -1
  28. package/dist/{SupplierView-CC3KnRbQ.js → SupplierView-Dq3vMn5q.js} +4 -4
  29. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Ctx-rXrn.js → TransferDetails.vue_vue_type_script_setup_true_lang-r7U0Wgsm.js} +6 -6
  30. package/dist/{TransferTemplateView-SCtPnAd9.js → TransferTemplateView-NTw0N3zX.js} +7 -7
  31. package/dist/{UnitView-DJkTEgLx.js → UnitView-BFeT0jpH.js} +3 -3
  32. package/dist/{WarehouseView-B7lrZDx5.js → WarehouseView-50a9WiLB.js} +1 -1
  33. package/dist/{app-DSCOQo53.js → app-D5vamHiS.js} +30 -15
  34. package/dist/app.d.ts +15 -0
  35. package/dist/app.js +1 -1
  36. package/dist/closing-template-C8n1siov.js +53 -0
  37. package/dist/{decimal-BZnhdSsA.js → decimal-BVxO-7VE.js} +1 -1
  38. package/dist/{format-unit-display-d7QLVQil.js → format-unit-display-CvUKKMA2.js} +3 -3
  39. package/dist/{index-Dyt2acoh.js → index-BmPwzWR6.js} +1 -1
  40. package/dist/{index-Bhroqat1.js → index-_TXzIRmu.js} +282 -267
  41. package/dist/{purchase-order-template-DiLZPW9w.js → purchase-order-template-CekjfB92.js} +1 -1
  42. package/dist/{stock-CQFxEDCX.js → stock-4-rgOZcm.js} +1 -1
  43. package/dist/{supplier-dlDvID4f.js → supplier-BOW9xXhe.js} +1 -1
  44. package/dist/tsconfig.app.tsbuildinfo +1 -1
  45. package/dist/{use-ingredient-select-dialog-B2IP0HFs.js → use-ingredient-select-dialog-DbJhveFq.js} +1 -1
  46. package/dist/{use-inventory-binding-dialog-5KDq4yCL.js → use-inventory-binding-dialog-BNY9P_Pg.js} +1 -1
  47. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +8 -0
  48. package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +2 -0
  49. package/package.json +3 -3
  50. package/dist/ClosingTemplateView-D3o4odDY.js +0 -1908
  51. package/dist/IngredientsView-K4NOgofz.js +0 -2197
package/dist/app.d.ts CHANGED
@@ -413,6 +413,11 @@ export declare const i18nMessages: {
413
413
  description: string;
414
414
  selectTitle: string;
415
415
  };
416
+ closingTemplates: {
417
+ title: string;
418
+ description: string;
419
+ selectTitle: string;
420
+ };
416
421
  };
417
422
  ingredientGroup: {
418
423
  title: string;
@@ -1319,6 +1324,11 @@ export declare const i18nMessages: {
1319
1324
  description: string;
1320
1325
  selectTitle: string;
1321
1326
  };
1327
+ closingTemplates: {
1328
+ title: string;
1329
+ description: string;
1330
+ selectTitle: string;
1331
+ };
1322
1332
  };
1323
1333
  ingredientGroup: {
1324
1334
  title: string;
@@ -2314,6 +2324,11 @@ export declare const i18nMessages: {
2314
2324
  description: string;
2315
2325
  selectTitle: string;
2316
2326
  };
2327
+ closingTemplates: {
2328
+ title: string;
2329
+ description: string;
2330
+ selectTitle: string;
2331
+ };
2317
2332
  };
2318
2333
  ingredientGroup: {
2319
2334
  title: string;
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { bj as a, bk as e, bl as o, bi as i, bm as m, a as t } from "./app-DSCOQo53.js";
2
+ import { bj as a, bk as e, bl as o, bi as i, bm as m, a as t } from "./app-D5vamHiS.js";
3
3
  export {
4
4
  a as FmApp,
5
5
  e as InventoryBindingForm,
@@ -0,0 +1,53 @@
1
+ import { a6 as c } from "./app-D5vamHiS.js";
2
+ import { useCoreStore as l } from "@feedmepos/mf-common";
3
+ const p = c((r, s) => {
4
+ function o() {
5
+ var n;
6
+ return `business_${((n = l().currentBusiness.value) == null ? void 0 : n._id) ?? ""}`;
7
+ }
8
+ return {
9
+ async getRecentPublishingJob() {
10
+ const e = o(), t = `${r.inventoryBackendUrl}/${e}/closing-template/publish/recent`;
11
+ return s.get(t);
12
+ },
13
+ async startNewPublish() {
14
+ const e = o(), t = `${r.inventoryBackendUrl}/${e}/closing-template/publish`;
15
+ return s.post(t);
16
+ },
17
+ async getRecentPublishInfo() {
18
+ const e = o(), t = `${r.inventoryBackendUrl}/${e}/closing-template/publish`;
19
+ return s.get(t);
20
+ },
21
+ async publishSingleDoc(e, t) {
22
+ const n = o(), a = `${r.inventoryBackendUrl}/${n}/closing-template/publish/${e}`;
23
+ return s.post(a, { locationDbNames: t });
24
+ },
25
+ async getTemplate(e) {
26
+ const t = o(), n = `${r.inventoryBackendUrl}/${t}/closing-template/${e}`;
27
+ return s.get(n);
28
+ },
29
+ async readTemplates() {
30
+ const e = o(), t = `${r.inventoryBackendUrl}/${e}/closing-template`;
31
+ return s.get(t);
32
+ },
33
+ async createTemplate(e) {
34
+ const t = o(), n = `${r.inventoryBackendUrl}/${t}/closing-template`;
35
+ return s.post(n, e);
36
+ },
37
+ async updateTemplate(e) {
38
+ const t = o(), n = `${r.inventoryBackendUrl}/${t}/closing-template`;
39
+ return s.put(n, e);
40
+ },
41
+ async deleteTemplate(e) {
42
+ const t = o(), n = `${r.inventoryBackendUrl}/${t}/closing-template`;
43
+ return s.delete(n, { _id: e._id, _rev: e._rev });
44
+ },
45
+ async importTemplates(e) {
46
+ const t = o(), n = `${r.inventoryBackendUrl}/${t}/closing-template/import`;
47
+ return s.post(n, e);
48
+ }
49
+ };
50
+ });
51
+ export {
52
+ p as u
53
+ };
@@ -1,4 +1,4 @@
1
- import "./app-DSCOQo53.js";
1
+ import "./app-D5vamHiS.js";
2
2
  function m(a) {
3
3
  function t(o, n = !0) {
4
4
  const e = Math.round(Math.log10(o));
@@ -1,11 +1,11 @@
1
- import { a as q, Z as Ae, an as U, z as Ne, ao as ye, B as he, u as Z, k as L, C as De, x as le, E as ve, b as te, t as G, w as J, aQ as Oe, aI as Fe, a4 as Pe, G as Me, H as Ue, ap as Le, e as ce, f as re, R as me, s as Be, al as Qe, D as j, i as N, h as He } from "./app-DSCOQo53.js";
1
+ import { a as q, Z as Ae, an as U, z as Ne, ao as ye, B as he, u as Z, k as L, C as De, x as le, E as ve, b as te, t as G, w as J, aQ as Oe, aI as Fe, a4 as Pe, G as Me, H as Ue, ap as Le, e as ce, f as re, R as me, s as Be, al as Qe, D as j, i as N, h as He } from "./app-D5vamHiS.js";
2
2
  import { useCoreStore as ge, useI18n as ne } from "@feedmepos/mf-common";
3
3
  import { useDialogChild as Ve, useSnackbar as be, useDialog as qe, FmButtonVariant as z, components as X } from "@feedmepos/ui-library";
4
4
  import { defineStore as xe } from "pinia";
5
- import { u as Se } from "./purchase-order-template-DiLZPW9w.js";
5
+ import { u as Se } from "./purchase-order-template-CekjfB92.js";
6
6
  import { defineComponent as oe, resolveComponent as Q, openBlock as _, createElementBlock as E, createElementVNode as C, normalizeClass as H, createTextVNode as je, toDisplayString as D, unref as A, createCommentVNode as V, createVNode as P, withCtx as ee, Fragment as B, renderList as Y, ref as R, onMounted as ze, computed as ue, watch as Ke, createSlots as Ye, createBlock as K, h as W } from "vue";
7
7
  import { useRouter as We } from "vue-router";
8
- import { u as ae } from "./supplier-dlDvID4f.js";
8
+ import { u as ae } from "./supplier-BOW9xXhe.js";
9
9
  function Te(e) {
10
10
  const t = q(), a = e.sku, u = t.skuById[a._id];
11
11
  if (u.unit._id !== a.unit._id) return !0;
@@ -1,5 +1,5 @@
1
1
  import { ref as b, computed as u } from "vue";
2
- import { u as d, b4 as p, aW as v, c as m, b as h } from "./app-DSCOQo53.js";
2
+ import { u as d, b4 as p, aW as v, c as m, b as h } from "./app-D5vamHiS.js";
3
3
  import { useSnackbar as E } from "@feedmepos/ui-library";
4
4
  function I() {
5
5
  return {