@feedmepos/mf-inventory-portal 1.3.7 → 1.3.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 (132) hide show
  1. package/dist/{App-D1-fT3jF.js → App-Dl97lAmD.js} +3 -3
  2. package/dist/ApprovalView-RePEhbhl.js +241 -0
  3. package/dist/{BindingsDialog-DeavyPY-.js → BindingsDialog-8QVbtnnq.js} +5 -5
  4. package/dist/{BindingsPicker-BGzhKq8G.js → BindingsPicker-D9yuDGcq.js} +3 -3
  5. package/dist/{BindingsTable-Dr9hWkE1.js → BindingsTable-DAYhI-6V.js} +5 -5
  6. package/dist/{ClosingDraftView-6gwWEWWB.js → ClosingDraftView-D_VtBfFG.js} +57 -57
  7. package/dist/{ClosingHistoryView-D4rNnlsq.js → ClosingHistoryView-ClUnxQS2.js} +4 -4
  8. package/dist/{ClosingTemplateView-DxCLH1GH.js → ClosingTemplateView-0a_isyyx.js} +16 -16
  9. package/dist/{DeliveryOrderPrintPreview-D-XeZX-z.js → DeliveryOrderPrintPreview-DovAi6j-.js} +17 -17
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DeoaPLQm.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DjNZ0m13.js} +14 -14
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BMhSHZ3Z.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-4vZH2hLF.js} +2 -2
  12. package/dist/{FmMultiselectDialog-DJFi54mG.js → FmMultiselectDialog-B5-aK-b2.js} +1 -1
  13. package/dist/{FmMultiselectDialog-BQZmTWDb.js → FmMultiselectDialog-Z49kK96R.js} +2 -2
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DAivpdPp.js → FmUnitInput.vue_vue_type_script_setup_true_lang-zP1nS7bp.js} +4 -4
  15. package/dist/{ImportView-DPQY0ELT.js → ImportView-Dba8fJry.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DeVYXEzb.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DHITBIhp.js} +1 -1
  17. package/dist/{IngredientGroupView-5AuPbMDz.js → IngredientGroupView-CHi5_A4T.js} +7 -7
  18. package/dist/{IngredientsView-qMotWYnL.js → IngredientsView-DWk27PJg.js} +17 -17
  19. package/dist/IntegrationExplorerView-CixgHWVb.js +22254 -0
  20. package/dist/{IntegrationView-CVdwhNTA.js → IntegrationView-fttszvyC.js} +13 -13
  21. package/dist/{InventoryBindingForm-B5KUYKIu.js → InventoryBindingForm-DDcM2paa.js} +1 -1
  22. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-pbyMU879.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DOHrtdbl.js} +5 -5
  23. package/dist/{InventoryBindingSummary-Bm3A2kmC.js → InventoryBindingSummary-BERshnpd.js} +1 -1
  24. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-NnoVkA8W.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D4u0MM_k.js} +1 -1
  25. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dp4gFbs5.js → PremiumBadge.vue_vue_type_script_setup_true_lang-eFb-84g2.js} +1 -1
  26. package/dist/{PublishView-DOIiAeDK.js → PublishView-COGdnDHP.js} +3 -3
  27. package/dist/{PurchaseOrderPrintPreview-BE-8EJFv.js → PurchaseOrderPrintPreview-COJVgeTm.js} +12 -12
  28. package/dist/ReceiveRequestView-DvC12_QK.js +2817 -0
  29. package/dist/{RecipeView-CM-BrVSe.js → RecipeView-BKlVCFPR.js} +22 -21
  30. package/dist/SettingsView-DbXva8_D.js +695 -0
  31. package/dist/{StockView-DDqlms0m.js → StockView-Hri6SSjn.js} +21 -20
  32. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CcQ6bBWG.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DiRfjFmz.js} +1 -1
  33. package/dist/{SupplierView-CM2PrtHi.js → SupplierView-DCMW5muk.js} +14 -14
  34. package/dist/{SurchargeView-q2NfASMH.js → SurchargeView-DRh5EAi8.js} +8 -8
  35. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BbZQZQTQ.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BHNIS7Pp.js} +2 -2
  36. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bp3joqMK.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BVyoZ2a4.js} +1 -1
  37. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CMSKhz6_.js +3790 -0
  38. package/dist/{TransferTemplateView-B26H_T9Q.js → TransferTemplateView-71XY525Q.js} +20 -19
  39. package/dist/{UnitCostHistoryView-BzumRVdx.js → UnitCostHistoryView-CjEaekfJ.js} +4 -4
  40. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CfWpv2Mv.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-B8dRQhZi.js} +4 -4
  41. package/dist/{UnitView-Cxfg--TU.js → UnitView-D06txpBT.js} +9 -9
  42. package/dist/{WarehouseView-CvoafTrd.js → WarehouseView-DQluGq0D.js} +7 -7
  43. package/dist/{WastageTemplateView-Bqd4Wp3d.js → WastageTemplateView-Bqmd_r_Y.js} +16 -16
  44. package/dist/api/integration-sync-log.d.ts +47 -0
  45. package/dist/api/netsuite-explorer.d.ts +51 -0
  46. package/dist/{app-CrrDFeMj.js → app-B5-QVzib.js} +4711 -4557
  47. package/dist/app.d.ts +32 -0
  48. package/dist/app.js +2 -2
  49. package/dist/{closing-template-Ew74NLQj.js → closing-template-C3ClR8Pj.js} +1 -1
  50. package/dist/{component-DpCUABT3.js → component-kqxARxvM.js} +30 -21
  51. package/dist/components/row-action.enum.d.ts +3 -0
  52. package/dist/{date2-Bklbk2g-.js → date2-CQCX7jCE.js} +4 -4
  53. package/dist/{dayjs.min-B463GIlc.js → dayjs.min-Dhp0BWSV.js} +1 -1
  54. package/dist/{decimal-Dm2vbfDq.js → decimal-98G--u_X.js} +2 -2
  55. package/dist/defineDeepModel-BmHs4vdS.js +19 -0
  56. package/dist/{duplicate-template-CR79OmLy.js → duplicate-template-UzmArmcM.js} +1 -1
  57. package/dist/{export-CQJcxfPC.js → export-Bdxro0GT.js} +1 -1
  58. package/dist/feature-DyfUPR3b.js +1081 -0
  59. package/dist/{format-time-from-id-61ydd8RS.js → format-time-from-id-uRCD3JxF.js} +1 -1
  60. package/dist/{format-unit-display-BLtW28yU.js → format-unit-display-C-_85vuL.js} +13 -13
  61. package/dist/{import-export.helper-uhFwjH6X.js → import-export.helper-N1BqiTub.js} +6 -6
  62. package/dist/{index-Dx5HvWR_.js → index-B1RZtqz-.js} +1 -1
  63. package/dist/{index-uA6bkf1x.js → index-CaREZ_vQ.js} +3 -3
  64. package/dist/{index-CouegIcG.js → index-CwqHa5AY.js} +1 -1
  65. package/dist/{feature-CZHvliez.js → inventory-core-dart.default-BK8f9n8e.js} +322 -1395
  66. package/dist/{lodash-CjyamSgJ.js → lodash-B9tHF9A4.js} +1 -1
  67. package/dist/{lz-string-BbZdMrTL.js → lz-string-BSMjlcH9.js} +1 -1
  68. package/dist/modules/print-template/api/print-template.d.ts +29 -0
  69. package/dist/modules/print-template/components/BlockConfigPanel.vue.d.ts +19 -0
  70. package/dist/modules/print-template/components/CustomPrintTemplatePreview.vue.d.ts +25 -0
  71. package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +45 -0
  72. package/dist/modules/print-template/components/TemplatePreview.vue.d.ts +22 -0
  73. package/dist/modules/print-template/composables/print-po-with-template.d.ts +25 -0
  74. package/dist/modules/print-template/definitions/block-definitions.d.ts +88 -0
  75. package/dist/modules/print-template/definitions/predefined-templates.d.ts +22 -0
  76. package/dist/modules/print-template/definitions/template-renderer.d.ts +17 -0
  77. package/dist/modules/print-template/index.d.ts +11 -0
  78. package/dist/modules/print-template/store/print-template.d.ts +170 -0
  79. package/dist/modules/print-template/types/print-data.d.ts +52 -0
  80. package/dist/modules/print-template/utils/sanitize-html.d.ts +32 -0
  81. package/dist/{netsuite-2v3F8ILe.js → netsuite-D4KHhWWu.js} +60 -9
  82. package/dist/{number-BYbxsJHr.js → number-DmqVo28f.js} +3 -3
  83. package/dist/predefined-templates-Dy5hYXMM.js +4542 -0
  84. package/dist/{purchase-order-template-s1AiueV_.js → purchase-order-template-BT3tF_gn.js} +1 -1
  85. package/dist/router/name.d.ts +2 -0
  86. package/dist/{row-action.enum-BcW_L_nE.js → row-action.enum-Co_O4qD9.js} +11 -3
  87. package/dist/{rules-C7L-LFOd.js → rules-CbJ7idQa.js} +2 -2
  88. package/dist/{stock-D2s88pz1.js → stock-C9RXv-3_.js} +1 -1
  89. package/dist/{stock-CvYOcgWb.js → stock-YXoLCE8o.js} +3 -3
  90. package/dist/stores/feature.d.ts +2 -0
  91. package/dist/stores/integration/netsuite.d.ts +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/{supplier-DmobM7mD.js → supplier-Duiacdig.js} +2 -2
  94. package/dist/{surcharge-BdZOVfi0.js → surcharge-CkDK4P_6.js} +1 -1
  95. package/dist/tsconfig.app.tsbuildinfo +1 -1
  96. package/dist/{use-ingredient-select-dialog-BUCJBHjV.js → use-ingredient-select-dialog-C7uVeT1M.js} +2 -2
  97. package/dist/{use-inventory-binding-dialog-DiN1hBIm.js → use-inventory-binding-dialog-BIo9Fi-9.js} +2 -2
  98. package/dist/{use-template-enabled-locations-CmH6I2cy.js → use-template-enabled-locations-BtbfLc0y.js} +2 -2
  99. package/dist/views/integration/components/IntegrationSyncLogTab.vue.d.ts +15 -0
  100. package/dist/views/integration/composables/use-integration-sync-log.d.ts +45 -0
  101. package/dist/views/integration-explorer/IntegrationExplorerView.vue.d.ts +2 -0
  102. package/dist/views/integration-explorer/composables/use-explorer-tab.d.ts +126 -0
  103. package/dist/views/integration-explorer/netsuite/ExplorerRecordSyncLog.vue.d.ts +17 -0
  104. package/dist/views/integration-explorer/netsuite/ExplorerRecordToolbar.vue.d.ts +201 -0
  105. package/dist/views/integration-explorer/netsuite/ExplorerSystemNote.vue.d.ts +15 -0
  106. package/dist/views/integration-explorer/netsuite/JsonViewer.vue.d.ts +15 -0
  107. package/dist/views/integration-explorer/netsuite/NetSuiteExplorerView.vue.d.ts +2 -0
  108. package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferSideSheet.vue.d.ts +7 -0
  109. package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +39 -0
  110. package/dist/views/integration-explorer/netsuite/items/AssemblyItemSideSheet.vue.d.ts +7 -0
  111. package/dist/views/integration-explorer/netsuite/items/InventoryItemSideSheet.vue.d.ts +7 -0
  112. package/dist/views/integration-explorer/netsuite/items/ItemsView.vue.d.ts +2 -0
  113. package/dist/views/integration-explorer/netsuite/items/ServiceItemSideSheet.vue.d.ts +7 -0
  114. package/dist/views/integration-explorer/netsuite/orders/ExplorerOrderDetailSideSheet.vue.d.ts +7 -0
  115. package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +39 -0
  116. package/dist/views/integration-explorer/netsuite/orders/PurchaseOrderSideSheet.vue.d.ts +7 -0
  117. package/dist/views/integration-explorer/netsuite/orders/SyncNetsuiteButton.vue.d.ts +29 -0
  118. package/dist/views/integration-explorer/netsuite/orders/TransferOrderSideSheet.vue.d.ts +7 -0
  119. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +21 -21
  120. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +21 -21
  121. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +129 -129
  122. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +154 -150
  123. package/dist/views/settings/SettingsView.vue.d.ts +2 -0
  124. package/dist/vue-i18n-D1JHIbLE.js +2365 -0
  125. package/dist/{xlsx-D4PML26z.js → xlsx-BEbkruI_.js} +398 -398
  126. package/dist/{xlsx.util-BWLcCmO_.js → xlsx.util-BMTXqfxw.js} +1 -1
  127. package/package.json +9 -4
  128. package/dist/ApprovalView-0FbsslVD.js +0 -226
  129. package/dist/ReceiveRequestView-ur3OeHuv.js +0 -2802
  130. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-GhRFdMoW.js +0 -3521
  131. package/dist/defineDeepModel-SD5OUepJ.js +0 -19
  132. package/dist/vue-i18n-D0Q6LFcu.js +0 -2365
package/dist/app.d.ts CHANGED
@@ -1202,6 +1202,14 @@ export declare const i18nMessages: {
1202
1202
  code: string;
1203
1203
  };
1204
1204
  };
1205
+ settings: {
1206
+ title: string;
1207
+ printTemplate: {
1208
+ title: string;
1209
+ description: string;
1210
+ edit: string;
1211
+ };
1212
+ };
1205
1213
  publish: {
1206
1214
  title: string;
1207
1215
  actions: {
@@ -2409,6 +2417,14 @@ export declare const i18nMessages: {
2409
2417
  code: string;
2410
2418
  };
2411
2419
  };
2420
+ settings: {
2421
+ title: string;
2422
+ printTemplate: {
2423
+ title: string;
2424
+ description: string;
2425
+ edit: string;
2426
+ };
2427
+ };
2412
2428
  publish: {
2413
2429
  title: string;
2414
2430
  actions: {
@@ -3588,6 +3604,14 @@ export declare const i18nMessages: {
3588
3604
  code: string;
3589
3605
  };
3590
3606
  };
3607
+ settings: {
3608
+ title: string;
3609
+ printTemplate: {
3610
+ title: string;
3611
+ description: string;
3612
+ edit: string;
3613
+ };
3614
+ };
3591
3615
  publish: {
3592
3616
  title: string;
3593
3617
  actions: {
@@ -4767,6 +4791,14 @@ export declare const i18nMessages: {
4767
4791
  code: string;
4768
4792
  };
4769
4793
  };
4794
+ settings: {
4795
+ title: string;
4796
+ printTemplate: {
4797
+ title: string;
4798
+ description: string;
4799
+ edit: string;
4800
+ };
4801
+ };
4770
4802
  publish: {
4771
4803
  title: string;
4772
4804
  actions: {
package/dist/app.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "vue";
2
- import { ar as n, as as e, at as o, aq as t, au as i, a as m } from "./app-CrrDFeMj.js";
2
+ import { at as r, au as e, av as o, as as t, aw as i, a as m } from "./app-B5-QVzib.js";
3
3
  export {
4
- n as FmApp,
4
+ r as FmApp,
5
5
  e as InventoryBindingForm,
6
6
  o as InventoryBindingSummary,
7
7
  t as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { o as c } from "./app-CrrDFeMj.js";
1
+ import { o as c } from "./app-B5-QVzib.js";
2
2
  import { useCoreStore as u } from "@feedmepos/mf-common";
3
3
  const d = c((s, a) => {
4
4
  function r() {
@@ -1,40 +1,49 @@
1
1
  import { useI18n as p } from "@feedmepos/mf-common";
2
- import { components as c } from "@feedmepos/ui-library";
2
+ import { components as d } from "@feedmepos/ui-library";
3
3
  import { h as t } from "vue";
4
- const { FmMenu: d, FmButton: b, FmMenuItem: s, FmMenuHeader: g, FmMenuDivider: f } = c;
5
- function M(u, a, i = []) {
6
- const { t: l } = p(), m = [
7
- ...u.map(({ translationKey: n, color: o, value: r }) => {
8
- const e = l(n);
4
+ const { FmMenu: b, FmButton: f, FmMenuItem: u, FmMenuHeader: g, FmMenuDivider: C } = d;
5
+ function F(c, l, a = []) {
6
+ const { t: s } = p(), i = [
7
+ ...c.map(({ translationKey: n, color: o, value: r, badgeWidget: e }) => {
8
+ const m = s(n);
9
9
  return t(
10
- s,
10
+ u,
11
11
  {
12
12
  onClick() {
13
- a(r ?? e);
13
+ l(r ?? m);
14
14
  }
15
15
  },
16
16
  {
17
17
  label: () => t(
18
- "span",
18
+ "div",
19
19
  {
20
- class: o
20
+ class: "flex items-center gap-2"
21
21
  },
22
- e
22
+ [
23
+ t(
24
+ "span",
25
+ {
26
+ class: o
27
+ },
28
+ m
29
+ ),
30
+ e ? e() : null
31
+ ]
23
32
  )
24
33
  }
25
34
  );
26
35
  })
27
36
  ];
28
- return i.length > 0 && m.push(
37
+ return a.length > 0 && i.push(
29
38
  t(g, { label: "Admin Only" }),
30
- t(f),
31
- ...i.map(({ translationKey: n, color: o, value: r }) => {
32
- const e = l(n);
39
+ t(C),
40
+ ...a.map(({ translationKey: n, color: o, value: r }) => {
41
+ const e = s(n);
33
42
  return t(
34
- s,
43
+ u,
35
44
  {
36
45
  onClick() {
37
- a(r ?? e);
46
+ l(r ?? e);
38
47
  },
39
48
  icon: "support_agent"
40
49
  },
@@ -50,13 +59,13 @@ function M(u, a, i = []) {
50
59
  );
51
60
  })
52
61
  ), t(
53
- d,
62
+ b,
54
63
  {
55
64
  trigger: "click",
56
65
  stopClickPropagation: !0
57
66
  },
58
67
  {
59
- "menu-button": () => t(b, {
68
+ "menu-button": () => t(f, {
60
69
  type: "button",
61
70
  variant: "tertiary",
62
71
  icon: "more_vert",
@@ -72,11 +81,11 @@ function M(u, a, i = []) {
72
81
  width: "160px"
73
82
  }
74
83
  },
75
- m
84
+ i
76
85
  )
77
86
  }
78
87
  );
79
88
  }
80
89
  export {
81
- M as c
90
+ F as c
82
91
  };
@@ -1,14 +1,17 @@
1
+ import type { JSX } from 'vue/jsx-runtime';
1
2
  export type RowActionProps = {
2
3
  /** @deprecated use translation key instead */
3
4
  label?: string;
4
5
  translationKey: string;
5
6
  color: string;
6
7
  value?: string;
8
+ badgeWidget?: () => JSX.Element;
7
9
  };
8
10
  export declare enum RowActionEnum {
9
11
  Add = "Add",
10
12
  Create = "Create",
11
13
  Print = "Print",
14
+ PrintCustom = "PrintCustom",
12
15
  Export = "Export",
13
16
  Update = "Update",
14
17
  Details = "Details",
@@ -1,4 +1,4 @@
1
- import { d as l } from "./dayjs.min-B463GIlc.js";
1
+ import { d as l } from "./dayjs.min-Dhp0BWSV.js";
2
2
  const T = new Intl.DateTimeFormat("en-US", {
3
3
  year: "numeric",
4
4
  month: "2-digit",
@@ -103,9 +103,9 @@ function I(e, t = /* @__PURE__ */ new Date()) {
103
103
  }
104
104
  export {
105
105
  p as a,
106
- M as b,
107
- g as c,
108
- c as d,
106
+ c as b,
107
+ M as c,
108
+ g as d,
109
109
  h as e,
110
110
  w as f,
111
111
  I as g,
@@ -1,4 +1,4 @@
1
- import { ai as Q, A as K } from "./app-CrrDFeMj.js";
1
+ import { ak as Q, A as K } from "./app-B5-QVzib.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,5 +1,5 @@
1
- import "./dayjs.min-B463GIlc.js";
2
- import "./app-CrrDFeMj.js";
1
+ import "./dayjs.min-Dhp0BWSV.js";
2
+ import "./app-B5-QVzib.js";
3
3
  function m(a) {
4
4
  function t(o, n = !0) {
5
5
  const e = Math.round(Math.log10(o));
@@ -0,0 +1,19 @@
1
+ import { c as a, a0 as u } from "./app-B5-QVzib.js";
2
+ import { getCurrentInstance as d, reactive as l, watch as o } from "vue";
3
+ function g(i = "modelValue", e) {
4
+ var n, c;
5
+ const s = ((n = d()) == null ? void 0 : n.props) ?? {}, f = ((c = d()) == null ? void 0 : c.emit) ?? (() => {
6
+ }), t = l(a(s[i] ?? (e == null ? void 0 : e.default) ?? {})), m = `update:${u(i)}`;
7
+ return e != null && e.watchProps && o(
8
+ () => s[i],
9
+ (r) => {
10
+ r && r !== t && Object.assign(t, a(r));
11
+ },
12
+ { deep: !0, immediate: !0 }
13
+ ), o(t, (r) => {
14
+ f(m, r);
15
+ }), t;
16
+ }
17
+ export {
18
+ g as d
19
+ };
@@ -1,4 +1,4 @@
1
- import { o as p } from "./app-CrrDFeMj.js";
1
+ import { o as p } from "./app-B5-QVzib.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = p((s, n) => {
4
4
  function o() {
@@ -1,4 +1,4 @@
1
- import { u as s, w as c } from "./xlsx-D4PML26z.js";
1
+ import { u as s, w as c } from "./xlsx-BEbkruI_.js";
2
2
  function i(e, o) {
3
3
  return o.map((t) => typeof t.selector == "function" ? t.selector(e) : e[t.selector]);
4
4
  }