@feedmepos/mf-inventory-portal 1.2.7 → 1.2.8-dev.1

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 (88) hide show
  1. package/dist/{App-BtLCesbn.js → App-BL2MW6zc.js} +1 -1
  2. package/dist/{ApprovalView-Ba4XBhGf.js → ApprovalView-C18JNyKG.js} +69 -68
  3. package/dist/{BindingsDialog-BbBUniCu.js → BindingsDialog-DxXGq2TK.js} +2 -2
  4. package/dist/{BindingsPicker-C3q3ROku.js → BindingsPicker-BsuXkTQv.js} +1 -1
  5. package/dist/{BindingsTable-BTxWMif_.js → BindingsTable-BeGm5MK6.js} +1 -1
  6. package/dist/{ClosingDraftView-DGITBnaY.js → ClosingDraftView-yzzV-yhQ.js} +203 -203
  7. package/dist/ClosingTemplateView-DgI8ANjn.js +1862 -0
  8. package/dist/{DeliveryOrderPrintPreview-CUaHpblV.js → DeliveryOrderPrintPreview-B3xmuRAQ.js} +8 -8
  9. package/dist/{FmAdminBadge-BdwGZY-f.js → FmAdminBadge-9bTzCMaP.js} +6 -6
  10. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B1pioWnC.js +230 -0
  11. package/dist/{FmMultiselectDialog-BETfHs3j.js → FmMultiselectDialog-D4QIUWaf.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BNdbeRQp.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CwuM-hJU.js} +23 -23
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-VYMMcwLl.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BFeK6K0l.js} +1 -1
  14. package/dist/{IngredientGroupView-C4d9b3Td.js → IngredientGroupView-Ku7t3MgL.js} +12 -12
  15. package/dist/IngredientsView-CAn1-40w.js +2306 -0
  16. package/dist/{IntegrationView-CWFzRDWO.js → IntegrationView-DEtbdogx.js} +4 -4
  17. package/dist/{InventoryBindingForm-Cx0Prlq8.js → InventoryBindingForm-BqBGbblS.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-cpR3Sf2Y.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CpVc2nGE.js} +41 -41
  19. package/dist/{InventoryBindingSummary-l8XvpxVU.js → InventoryBindingSummary-dEM8P354.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BjRvIX-v.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-0AaD13Wg.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-gjuZveKy.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BqVwcG4Z.js} +11 -11
  22. package/dist/{PublishView-D2iUnDan.js → PublishView-CE2Ul9NM.js} +14 -14
  23. package/dist/{PurchaseOrderPrintPreview-DdLvM-wt.js → PurchaseOrderPrintPreview-C6Lg4V4I.js} +11 -11
  24. package/dist/{ReceiveRequestView-DpF5ZzvH.js → ReceiveRequestView-CDTT3m48.js} +148 -145
  25. package/dist/{RecipeView-Dvtm8o1Y.js → RecipeView-CROKnpq9.js} +49 -49
  26. package/dist/StockView-Wv700Rt6.js +2104 -0
  27. package/dist/SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BdtRkUS6.js +158 -0
  28. package/dist/{SupplierView-7GtIJ3Fz.js → SupplierView-BNWtlH7a.js} +1133 -1015
  29. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BvzSua6d.js +3058 -0
  30. package/dist/{TransferTemplateView-Cmvg-yvW.js → TransferTemplateView-DlxBMSPW.js} +131 -130
  31. package/dist/{UnitView-DjVm1iVX.js → UnitView-B56YIwiR.js} +59 -59
  32. package/dist/WarehouseView-C0d-uE4n.js +1066 -0
  33. package/dist/api/inventory.d.ts +8 -0
  34. package/dist/api/netsuite.d.ts +3 -0
  35. package/dist/api/purchase-order-template.d.ts +1 -0
  36. package/dist/api/purchase-order.d.ts +2 -0
  37. package/dist/api/shipment.d.ts +11 -0
  38. package/dist/api/warehouse.d.ts +3 -1
  39. package/dist/{app-Z-ylwRmy.js → app-Bo3plhvb.js} +17877 -17113
  40. package/dist/app.d.ts +96 -9
  41. package/dist/app.js +3 -3
  42. package/dist/closing-template-ByR3kWir.js +53 -0
  43. package/dist/components/FmInventoryTableToolbar.vue.d.ts +9 -2
  44. package/dist/components/netsuite/SubsidiaryTreeDialog.vue.d.ts +2 -0
  45. package/dist/{decimal-D1pJ2776.js → decimal-YpqAHWnk.js} +1 -1
  46. package/dist/{format-unit-display-9BMm-8A4.js → format-unit-display-CpusApo9.js} +372 -404
  47. package/dist/{index-rEIM0AVC.js → index-BHD7bEuA.js} +1 -1
  48. package/dist/{index-BOl10vcm.js → index-CJTjmcUN.js} +1 -1
  49. package/dist/purchase-order-template-CNhjKd6p.js +41 -0
  50. package/dist/{stock-B8ewk80v.js → stock-BhgeS5mL.js} +1 -1
  51. package/dist/stores/feature.d.ts +10 -0
  52. package/dist/stores/integration/netsuite.d.ts +19 -0
  53. package/dist/stores/inventory.d.ts +1 -0
  54. package/dist/stores/location.d.ts +57 -1
  55. package/dist/stores/supplier.d.ts +96 -0
  56. package/dist/stores/warehouse.d.ts +4 -0
  57. package/dist/{supplier-DLSXYY1o.js → supplier-DG8JyhMj.js} +1 -1
  58. package/dist/tsconfig.app.tsbuildinfo +1 -1
  59. package/dist/{use-ingredient-select-dialog-CTjwdY3T.js → use-ingredient-select-dialog-LIEBAng-.js} +5 -5
  60. package/dist/{use-inventory-binding-dialog-zXJB7MQY.js → use-inventory-binding-dialog-Df7DfQ1b.js} +8 -8
  61. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +24 -0
  62. package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +6 -0
  63. package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +2 -0
  64. package/dist/views/receive-request/components/delivery-order-form/CreateForm.vue.d.ts +16 -0
  65. package/dist/views/receive-request/components/delivery-order-form/CreateFormProps.d.ts +4 -0
  66. package/dist/views/receive-request/components/delivery-order-form/EditForm.vue.d.ts +16 -0
  67. package/dist/views/receive-request/components/delivery-order-form/EditFormProps.d.ts +4 -0
  68. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  69. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +60 -0
  70. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +10 -0
  71. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +94 -0
  72. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +72 -1
  73. package/dist/views/supplier/components/SupplierForm.vue.d.ts +8 -0
  74. package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -0
  75. package/dist/views/supplier/composables/use-supplier-table.d.ts +4 -0
  76. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -0
  77. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -0
  78. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -0
  79. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -0
  80. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -0
  81. package/package.json +3 -3
  82. package/dist/ClosingTemplateView-eRvwxXBq.js +0 -1908
  83. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-lDkElrkF.js +0 -227
  84. package/dist/IngredientsView-BvqWuIVT.js +0 -1876
  85. package/dist/StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js +0 -59
  86. package/dist/StockView-CRDu_GQ_.js +0 -2086
  87. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DbmLtbZt.js +0 -2494
  88. package/dist/WarehouseView-CBso3SXT.js +0 -1034
package/dist/app.d.ts CHANGED
@@ -367,11 +367,11 @@ export declare const i18nMessages: {
367
367
  menu: string;
368
368
  amount: string;
369
369
  };
370
- isInactive: {
370
+ status: {
371
371
  title: string;
372
372
  preventFromOrder: string;
373
- yes: string;
374
- no: string;
373
+ active: string;
374
+ inactive: string;
375
375
  };
376
376
  create: {
377
377
  title: string;
@@ -403,6 +403,21 @@ export declare const i18nMessages: {
403
403
  };
404
404
  success: string;
405
405
  };
406
+ purchaseOrderTemplates: {
407
+ title: string;
408
+ description: string;
409
+ selectTitle: string;
410
+ };
411
+ wastageTemplates: {
412
+ title: string;
413
+ description: string;
414
+ selectTitle: string;
415
+ };
416
+ closingTemplates: {
417
+ title: string;
418
+ description: string;
419
+ selectTitle: string;
420
+ };
406
421
  };
407
422
  ingredientGroup: {
408
423
  title: string;
@@ -713,12 +728,21 @@ export declare const i18nMessages: {
713
728
  };
714
729
  supplier: {
715
730
  title: string;
731
+ delivery: {
732
+ title: string;
733
+ preparationTime: string;
734
+ deliveryTime: string;
735
+ };
716
736
  supplyItems: {
717
737
  title: string;
718
738
  addItems: string;
719
739
  overridePriceHint: string;
720
740
  selectItem: string;
721
741
  };
742
+ autoAppendToTemplates: {
743
+ title: string;
744
+ description: string;
745
+ };
722
746
  delete: {
723
747
  confirm: string;
724
748
  confirmMessage: string;
@@ -854,6 +878,11 @@ export declare const i18nMessages: {
854
878
  netsuite: {
855
879
  title: string;
856
880
  description: string;
881
+ subsidiaryHierarchy: {
882
+ filtering: string;
883
+ title: string;
884
+ description: string;
885
+ };
857
886
  };
858
887
  apply: {
859
888
  title: string;
@@ -1249,11 +1278,11 @@ export declare const i18nMessages: {
1249
1278
  menu: string;
1250
1279
  amount: string;
1251
1280
  };
1252
- isInactive: {
1281
+ status: {
1253
1282
  title: string;
1254
1283
  preventFromOrder: string;
1255
- yes: string;
1256
- no: string;
1284
+ active: string;
1285
+ inactive: string;
1257
1286
  };
1258
1287
  create: {
1259
1288
  title: string;
@@ -1285,6 +1314,21 @@ export declare const i18nMessages: {
1285
1314
  };
1286
1315
  success: string;
1287
1316
  };
1317
+ purchaseOrderTemplates: {
1318
+ title: string;
1319
+ description: string;
1320
+ selectTitle: string;
1321
+ };
1322
+ wastageTemplates: {
1323
+ title: string;
1324
+ description: string;
1325
+ selectTitle: string;
1326
+ };
1327
+ closingTemplates: {
1328
+ title: string;
1329
+ description: string;
1330
+ selectTitle: string;
1331
+ };
1288
1332
  };
1289
1333
  ingredientGroup: {
1290
1334
  title: string;
@@ -1601,6 +1645,10 @@ export declare const i18nMessages: {
1601
1645
  overridePriceHint: string;
1602
1646
  selectItem: string;
1603
1647
  };
1648
+ autoAppendToTemplates: {
1649
+ title: string;
1650
+ description: string;
1651
+ };
1604
1652
  delete: {
1605
1653
  confirm: string;
1606
1654
  confirmMessage: string;
@@ -1617,6 +1665,11 @@ export declare const i18nMessages: {
1617
1665
  contact: string;
1618
1666
  email: string;
1619
1667
  };
1668
+ delivery: {
1669
+ title: string;
1670
+ preparationTime: string;
1671
+ deliveryTime: string;
1672
+ };
1620
1673
  create: {
1621
1674
  title: string;
1622
1675
  success: string;
@@ -1736,6 +1789,11 @@ export declare const i18nMessages: {
1736
1789
  netsuite: {
1737
1790
  title: string;
1738
1791
  description: string;
1792
+ subsidiaryHierarchy: {
1793
+ filtering: string;
1794
+ title: string;
1795
+ description: string;
1796
+ };
1739
1797
  };
1740
1798
  apply: {
1741
1799
  title: string;
@@ -2256,6 +2314,21 @@ export declare const i18nMessages: {
2256
2314
  };
2257
2315
  success: string;
2258
2316
  };
2317
+ purchaseOrderTemplates: {
2318
+ title: string;
2319
+ description: string;
2320
+ selectTitle: string;
2321
+ };
2322
+ wastageTemplates: {
2323
+ title: string;
2324
+ description: string;
2325
+ selectTitle: string;
2326
+ };
2327
+ closingTemplates: {
2328
+ title: string;
2329
+ description: string;
2330
+ selectTitle: string;
2331
+ };
2259
2332
  };
2260
2333
  ingredientGroup: {
2261
2334
  title: string;
@@ -2534,6 +2607,10 @@ export declare const i18nMessages: {
2534
2607
  overridePriceHint: string;
2535
2608
  selectItem: string;
2536
2609
  };
2610
+ autoAppendToTemplates: {
2611
+ title: string;
2612
+ description: string;
2613
+ };
2537
2614
  delete: {
2538
2615
  confirm: string;
2539
2616
  confirmMessage: string;
@@ -2848,11 +2925,11 @@ export declare const i18nMessages: {
2848
2925
  menu: string;
2849
2926
  amount: string;
2850
2927
  };
2851
- isInactive: {
2928
+ status: {
2852
2929
  title: string;
2853
2930
  preventFromOrder: string;
2854
- yes: string;
2855
- no: string;
2931
+ active: string;
2932
+ inactive: string;
2856
2933
  };
2857
2934
  create: {
2858
2935
  title: string;
@@ -3194,6 +3271,11 @@ export declare const i18nMessages: {
3194
3271
  };
3195
3272
  supplier: {
3196
3273
  title: string;
3274
+ delivery: {
3275
+ title: string;
3276
+ preparationTime: string;
3277
+ deliveryTime: string;
3278
+ };
3197
3279
  supplyItems: {
3198
3280
  title: string;
3199
3281
  addItems: string;
@@ -3335,6 +3417,11 @@ export declare const i18nMessages: {
3335
3417
  netsuite: {
3336
3418
  title: string;
3337
3419
  description: string;
3420
+ subsidiaryHierarchy: {
3421
+ filtering: string;
3422
+ title: string;
3423
+ description: string;
3424
+ };
3338
3425
  };
3339
3426
  apply: {
3340
3427
  title: string;
package/dist/app.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import "vue";
2
- import { bi as a, bj as e, bk as o, bh as i, bl as t, a as m } from "./app-Z-ylwRmy.js";
2
+ import { bk as a, bl as e, bm as o, bj as m, bn as t, a as i } from "./app-Bo3plhvb.js";
3
3
  export {
4
4
  a as FmApp,
5
5
  e as InventoryBindingForm,
6
6
  o as InventoryBindingSummary,
7
- i as i18nMessages,
7
+ m as i18nMessages,
8
8
  t as routers,
9
- m as useInventoryStore
9
+ i as useInventoryStore
10
10
  };
@@ -0,0 +1,53 @@
1
+ import { a6 as c } from "./app-Bo3plhvb.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
+ };
@@ -12,7 +12,7 @@ export interface FmInventoryTableToolbarProps {
12
12
  usingBusinessHelperText?: string;
13
13
  showBusiness?: boolean;
14
14
  }
15
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
16
  search: import("vue").PropType<string>;
17
17
  filter: import("vue").PropType<{
18
18
  value: string | number | boolean | (string | number | boolean)[];
@@ -94,5 +94,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
94
94
  showBusiness: {
95
95
  type: import("vue").PropType<boolean>;
96
96
  };
97
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
97
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
98
+ default?(_: {}): any;
99
+ }>;
98
100
  export default _default;
101
+ type __VLS_WithTemplateSlots<T, S> = T & {
102
+ new (): {
103
+ $slots: S;
104
+ };
105
+ };
@@ -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;
@@ -1,4 +1,4 @@
1
- import "./app-Z-ylwRmy.js";
1
+ import "./app-Bo3plhvb.js";
2
2
  function m(a) {
3
3
  function t(o, n = !0) {
4
4
  const e = Math.round(Math.log10(o));