@feedmepos/mf-inventory-portal 1.3.6 → 1.3.7-dev.2

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 (131) hide show
  1. package/dist/{App-Dpp0kp2e.js → App-Bt9_9LW3.js} +3 -3
  2. package/dist/ApprovalView-BAFatrEE.js +241 -0
  3. package/dist/{BindingsDialog-BPlkzrss.js → BindingsDialog-lLNdP2RG.js} +5 -5
  4. package/dist/{BindingsPicker-AM4k3s9Z.js → BindingsPicker-BwxdoHu-.js} +3 -3
  5. package/dist/{BindingsTable-C6-30brl.js → BindingsTable-C8cf9nV_.js} +5 -5
  6. package/dist/{ClosingDraftView-uRsqurau.js → ClosingDraftView-CHB815at.js} +57 -57
  7. package/dist/{ClosingHistoryView-s2st44Dv.js → ClosingHistoryView-BQS52wLi.js} +4 -4
  8. package/dist/{ClosingTemplateView-BMyeL_mh.js → ClosingTemplateView-7o5xDvYi.js} +16 -16
  9. package/dist/{DeliveryOrderPrintPreview-BRlZ634c.js → DeliveryOrderPrintPreview-DBWYDmhP.js} +17 -17
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CLSs6bA6.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-hX9rZGHP.js} +14 -14
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-bIMS8fQq.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DLo83JRe.js} +2 -2
  12. package/dist/{FmMultiselectDialog-CtNvTe13.js → FmMultiselectDialog-CX6Q05kY.js} +2 -2
  13. package/dist/{FmMultiselectDialog-DVjVqJMs.js → FmMultiselectDialog-eZLmEoMJ.js} +1 -1
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DpzpUafg.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CNP7o7p-.js} +4 -4
  15. package/dist/{ImportView-DFV9vZdP.js → ImportView-5F1k_NOx.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CQ1s9NEE.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-COyKYsPf.js} +1 -1
  17. package/dist/{IngredientGroupView-DA9vJ8fS.js → IngredientGroupView-1kwOZDub.js} +7 -7
  18. package/dist/{IngredientsView-qiA89Spr.js → IngredientsView-L50oDR5B.js} +17 -17
  19. package/dist/IntegrationExplorerView-BVJ3qSYS.js +22254 -0
  20. package/dist/{IntegrationView-Cp9gVEKi.js → IntegrationView-CwBluyeW.js} +13 -13
  21. package/dist/{InventoryBindingForm-C7WQo9tq.js → InventoryBindingForm-28KU0Y69.js} +1 -1
  22. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BwbHMBzc.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DAxmcGtJ.js} +5 -5
  23. package/dist/{InventoryBindingSummary-CSC8Oo2Z.js → InventoryBindingSummary-hjZLd6je.js} +1 -1
  24. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6fd31Fx.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-GqT3S9zo.js} +1 -1
  25. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BMmYypr7.js → PremiumBadge.vue_vue_type_script_setup_true_lang-6jv1aHW-.js} +1 -1
  26. package/dist/{PublishView-DiMBWtmR.js → PublishView-kBqlO98G.js} +3 -3
  27. package/dist/{PurchaseOrderPrintPreview-BxsgNwIR.js → PurchaseOrderPrintPreview-C_AaZuFs.js} +12 -12
  28. package/dist/ReceiveRequestView-sebwwuaH.js +2817 -0
  29. package/dist/{RecipeView-h8oz6YWX.js → RecipeView-B39YtOhH.js} +22 -21
  30. package/dist/SettingsView-CFoKuaMo.js +695 -0
  31. package/dist/{StockView-BMLQhXUr.js → StockView-DGO3Xf6j.js} +21 -20
  32. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9Ju9qNs.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-b6jr57r-.js} +1 -1
  33. package/dist/{SupplierView-tXBV72Jj.js → SupplierView-Bfo4AYFs.js} +14 -14
  34. package/dist/{SurchargeView-DDaFJWQd.js → SurchargeView-CPuDx3I8.js} +8 -8
  35. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bb9YSuiv.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-EmbaZT8X.js} +2 -2
  36. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bfy6QZ5V.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CMWRgrTV.js} +1 -1
  37. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-_5fogvJl.js +3790 -0
  38. package/dist/{TransferTemplateView-vhdc3V8r.js → TransferTemplateView-DH1BkbUP.js} +20 -19
  39. package/dist/{UnitCostHistoryView-C6axtlfa.js → UnitCostHistoryView-DonGH8na.js} +4 -4
  40. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DW8nVpeH.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CW3kofME.js} +4 -4
  41. package/dist/{UnitView-Dx030V3h.js → UnitView-CFBdZjSP.js} +9 -9
  42. package/dist/{WarehouseView-Dvc063hP.js → WarehouseView-gdd1ou_Y.js} +7 -7
  43. package/dist/{WastageTemplateView-0cuBPiRM.js → WastageTemplateView-BoMqb-zR.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-LDTQJMhy.js → app-QEDlYnlN.js} +4711 -4557
  47. package/dist/app.d.ts +32 -0
  48. package/dist/app.js +2 -2
  49. package/dist/{closing-template-D0LdzwtB.js → closing-template-CbHN15AQ.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-DPXk7flq.js → date2-Z-I7Kd_W.js} +4 -4
  53. package/dist/{dayjs.min-mBDQc-9G.js → dayjs.min-D4CmdyEZ.js} +1 -1
  54. package/dist/{decimal-BToK0wBw.js → decimal-C-T875Hm.js} +2 -2
  55. package/dist/defineDeepModel-Ds_lq_kg.js +19 -0
  56. package/dist/{duplicate-template-CkTur22u.js → duplicate-template-CmTg7BGs.js} +1 -1
  57. package/dist/{export-Nnabwt7T.js → export-B1VAPZRx.js} +1 -1
  58. package/dist/feature-_WJViVjR.js +1081 -0
  59. package/dist/{format-time-from-id-DoLZWDHr.js → format-time-from-id-DZ_PAFci.js} +1 -1
  60. package/dist/{format-unit-display-DeUVS8Ka.js → format-unit-display-DlODRa7k.js} +13 -13
  61. package/dist/{import-export.helper-CljIBGLZ.js → import-export.helper-DVCiPtHv.js} +6 -6
  62. package/dist/{index-D3fQ9TVX.js → index-BHqcJDf6.js} +1 -1
  63. package/dist/{index-DP8htYK-.js → index-BZxwdVW1.js} +3 -3
  64. package/dist/{index-C3rXHanm.js → index-rghVMuZK.js} +1 -1
  65. package/dist/{feature-DU99Iib1.js → inventory-core-dart.default-ugZJdof5.js} +322 -1395
  66. package/dist/{lodash-rgAcNpoP.js → lodash-CgDY9U7s.js} +1 -1
  67. package/dist/{lz-string-C9rYv8AB.js → lz-string-DNoTxtCy.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-BG6BPWro.js → netsuite-B64xGIt5.js} +60 -9
  82. package/dist/{number-SNScDKT8.js → number-Bqy4-9rV.js} +3 -3
  83. package/dist/predefined-templates-B5qmOdnZ.js +4542 -0
  84. package/dist/{purchase-order-template-D8fAq-Zt.js → purchase-order-template-BxowjjVQ.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-UuB2i2KE.js → rules-BkK6oJzC.js} +2 -2
  88. package/dist/{stock-Xag5QdmK.js → stock-CedueOcQ.js} +1 -1
  89. package/dist/{stock-BUeSTOdB.js → stock-lXNLY2TO.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-DSfyrBxJ.js → supplier-BxEW6DYL.js} +2 -2
  94. package/dist/{surcharge-Vp9urWiP.js → surcharge-_zxlHhpJ.js} +1 -1
  95. package/dist/tsconfig.app.tsbuildinfo +1 -1
  96. package/dist/{use-ingredient-select-dialog-D80a30rC.js → use-ingredient-select-dialog-BQFTqO6q.js} +2 -2
  97. package/dist/{use-inventory-binding-dialog-DFD6fQTw.js → use-inventory-binding-dialog-BnJKIhqC.js} +2 -2
  98. package/dist/{use-template-enabled-locations-2-gLYNdIUE.js → use-template-enabled-locations-2-Ch5vC3Ux.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-u2llGfc9.js → vue-i18n-taYcBeKI.js} +382 -382
  125. package/dist/{xlsx-D-xEkyaF.js → xlsx-BlvEsbYy.js} +1 -1
  126. package/dist/{xlsx.util-CuJApaiU.js → xlsx.util-B4ae3AUU.js} +1 -1
  127. package/package.json +9 -4
  128. package/dist/ApprovalView-Br8e1L7F.js +0 -226
  129. package/dist/ReceiveRequestView-DioKLQuF.js +0 -2802
  130. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-bOAribrn.js +0 -3521
  131. package/dist/defineDeepModel-CKoG7koO.js +0 -19
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-LDTQJMhy.js";
2
+ import { at as r, au as e, av as o, as as t, aw as i, a as m } from "./app-QEDlYnlN.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-LDTQJMhy.js";
1
+ import { o as c } from "./app-QEDlYnlN.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-mBDQc-9G.js";
1
+ import { d as l } from "./dayjs.min-D4CmdyEZ.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-LDTQJMhy.js";
1
+ import { ak as Q, A as K } from "./app-QEDlYnlN.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,5 +1,5 @@
1
- import "./dayjs.min-mBDQc-9G.js";
2
- import "./app-LDTQJMhy.js";
1
+ import "./dayjs.min-D4CmdyEZ.js";
2
+ import "./app-QEDlYnlN.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-QEDlYnlN.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-LDTQJMhy.js";
1
+ import { o as p } from "./app-QEDlYnlN.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-D-xEkyaF.js";
1
+ import { u as s, w as c } from "./xlsx-BlvEsbYy.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
  }