@feedmepos/mf-inventory-portal 1.2.49 → 1.2.50-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 (91) hide show
  1. package/dist/{App-w_Dbl-jn.js → App-DkCjc9Ei.js} +72 -68
  2. package/dist/{ApprovalView-CuOM9Ych.js → ApprovalView-CVBi-iKx.js} +34 -34
  3. package/dist/{BindingsDialog-DkMSnr51.js → BindingsDialog-D1EDPBOt.js} +2 -2
  4. package/dist/{BindingsPicker-DrXdWUTh.js → BindingsPicker-BhtMvuQY.js} +2 -2
  5. package/dist/{BindingsTable-Bj0eBYdU.js → BindingsTable-UI5TuSBx.js} +4 -4
  6. package/dist/{ClosingDraftView-D1oohB8Y.js → ClosingDraftView-Dsj4ZYEi.js} +19 -18
  7. package/dist/{ClosingHistoryView-BCYNhLDg.js → ClosingHistoryView-DoW-S9iS.js} +3 -3
  8. package/dist/{ClosingTemplateView-DIvZkCgT.js → ClosingTemplateView-vvlSzfDQ.js} +18 -17
  9. package/dist/{DeliveryOrderPrintPreview-C83_a-LI.js → DeliveryOrderPrintPreview-obetnJsJ.js} +1 -1
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bmas1qkC.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BQiI8aOT.js} +4 -4
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CQ_Er40u.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B746F-IR.js} +12 -12
  12. package/dist/{FmMultiselectDialog-BtvZkE6p.js → FmMultiselectDialog-CCvkuTS3.js} +1 -1
  13. package/dist/FmMultiselectDialog-NSDOnWEh.js +621 -0
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BN9OeQF3.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DWwF_0sR.js} +3 -3
  15. package/dist/{ImportView-CRdvYxW3.js → ImportView-COQQTu8N.js} +7 -7
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-D6J1wcU6.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BeXoFMVr.js} +1 -1
  17. package/dist/{IngredientGroupView-DCdnjh-f.js → IngredientGroupView-RR_JvJ28.js} +108 -107
  18. package/dist/{IngredientsView-DhZadYV8.js → IngredientsView-C3X5o2k_.js} +126 -125
  19. package/dist/{IntegrationView-B_D6Sgj-.js → IntegrationView-B5eHHOqw.js} +80 -80
  20. package/dist/{InventoryBindingForm-CM47I9t9.js → InventoryBindingForm-BUmVxK-a.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BYKUWI9e.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-jXzjJ0Kk.js} +4 -4
  22. package/dist/{InventoryBindingSummary-BSuJMrFU.js → InventoryBindingSummary-BX1xdZX3.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-9TTwcC8s.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BCcSPsw6.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D2vWMBZF.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BUPtyu3J.js} +2 -2
  25. package/dist/{PublishView-DxhE5g9_.js → PublishView-CzxnrErB.js} +3 -3
  26. package/dist/{PurchaseOrderPrintPreview-BzIwRI7z.js → PurchaseOrderPrintPreview-fVyn0zFN.js} +1 -1
  27. package/dist/ReceiveRequestView-CkYyKxe-.js +3028 -0
  28. package/dist/{RecipeView-Azx2MoPR.js → RecipeView-DFCFRYey.js} +83 -82
  29. package/dist/{StockView-D51RBHWQ.js → StockView-BRcgulQk.js} +113 -112
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-R0yauCbz.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BOYDCjdV.js} +1 -1
  31. package/dist/{SupplierView-BeHjJ0xJ.js → SupplierView-DIPr4lvP.js} +28 -27
  32. package/dist/SurchargeView-Cszy8Wqp.js +460 -0
  33. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DG1p3Rim.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-v8ef-mpz.js} +2 -2
  34. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js +84 -0
  35. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-cPIomfPb.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B-oyRnPC.js} +13 -13
  36. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BZR_EozX.js → TransferDetails.vue_vue_type_script_setup_true_lang-BlLY3DLp.js} +15 -15
  37. package/dist/{TransferTemplateView-BwdhVKO4.js → TransferTemplateView-DSpZoO9t.js} +16 -16
  38. package/dist/{UnitView-BT23dBtV.js → UnitView-IJsE_qkc.js} +20 -19
  39. package/dist/{WarehouseView-PWigQlHk.js → WarehouseView-Dyd2kUli.js} +21 -20
  40. package/dist/{WastageTemplateView-BGO19Pux.js → WastageTemplateView-Dk_bWOam.js} +165 -164
  41. package/dist/api/netsuite.d.ts +8 -0
  42. package/dist/api/surcharge.d.ts +31 -0
  43. package/dist/{app-C0a15lwm.js → app-DavdITF-.js} +4511 -4408
  44. package/dist/app-DiX-EfV6.js +8167 -0
  45. package/dist/app.d.ts +52 -0
  46. package/dist/app.js +1 -1
  47. package/dist/{closing-template-C9jSN68K.js → closing-template-DR9_kQ8D.js} +1 -1
  48. package/dist/component-DpCUABT3.js +82 -0
  49. package/dist/components/FmInventoryTableToolbar.vue.d.ts +8 -0
  50. package/dist/components/FmMultiselectDialogProps.d.ts +5 -0
  51. package/dist/{date2-DND2dkpu.js → date2-8GI9HBWH.js} +1 -1
  52. package/dist/{dayjs.min-CvewwBuM.js → dayjs.min-BlY4XBqj.js} +1 -1
  53. package/dist/{decimal-C11049RC.js → decimal-DL6mE527.js} +2 -2
  54. package/dist/{defineDeepModel-BYmk9G2K.js → defineDeepModel-BfjUieWa.js} +1 -1
  55. package/dist/{duplicate-template-CJLrmGdo.js → duplicate-template-Bgv9_gY3.js} +1 -1
  56. package/dist/{feature-D2GGGVQh.js → feature-Cw8ehb86.js} +3442 -2812
  57. package/dist/{format-time-from-id-DuUqVP8F.js → format-time-from-id-BGWQ_4he.js} +1 -1
  58. package/dist/{format-unit-display-BwBGMuCk.js → format-unit-display-DLGhl4yz.js} +11 -11
  59. package/dist/{import-export.helper-ejk_vT2V.js → import-export.helper-BquBG7Ja.js} +5 -5
  60. package/dist/{index-D65a-5cn.js → index-CU0XsNCT.js} +1 -1
  61. package/dist/{index-C9F5LU0v.js → index-CUO2gkjR.js} +3 -3
  62. package/dist/{index-Cy-YW3O0.js → index-E5tuyI2k.js} +1 -1
  63. package/dist/{lodash-DNLSknxF.js → lodash-CBzRp2rs.js} +1 -1
  64. package/dist/netsuite-fKE8zkqA.js +5402 -0
  65. package/dist/{purchase-order-template-C7J9I7o4.js → purchase-order-template-3KsyDF00.js} +1 -1
  66. package/dist/router/name.d.ts +1 -0
  67. package/dist/{rules-DQNuaKK6.js → rules-nrlXpIxl.js} +3 -3
  68. package/dist/{stock-bYU0NTHD.js → stock-BDzZUQ12.js} +1 -1
  69. package/dist/{stock-1aynIWpi.js → stock-BOXAynI6.js} +3 -3
  70. package/dist/stores/integration/netsuite.d.ts +5 -0
  71. package/dist/stores/surcharge.d.ts +18 -0
  72. package/dist/style.css +1 -1
  73. package/dist/{supplier-B72SAF3j.js → supplier-ImcuOQDw.js} +2 -2
  74. package/dist/surcharge-B8ym7Px4.js +71 -0
  75. package/dist/tsconfig.app.tsbuildinfo +1 -1
  76. package/dist/{use-ingredient-select-dialog-DO20RWUv.js → use-ingredient-select-dialog-DyzX-ffV.js} +2 -2
  77. package/dist/{use-inventory-binding-dialog-R2VQakMR.js → use-inventory-binding-dialog-CSGz0tLk.js} +2 -2
  78. package/dist/{use-template-enabled-locations-2-C7L_vyIF.js → use-template-enabled-locations-2-BgCxeCaB.js} +2 -2
  79. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +714 -0
  80. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +5 -0
  81. package/dist/views/surcharge/SurchargeView.vue.d.ts +2 -0
  82. package/dist/vue-i18n-DQB_dR_X.js +2365 -0
  83. package/dist/{xlsx-DZcSBj-s.js → xlsx-qb-9b1qs.js} +1 -1
  84. package/dist/{xlsx.util-DMCjqrHn.js → xlsx.util-BCW4ouE2.js} +1 -1
  85. package/package.json +2 -2
  86. package/dist/FmMultiselectDialog-IU5C9o_F.js +0 -598
  87. package/dist/ReceiveRequestView-C5wqi0jE.js +0 -2913
  88. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js +0 -162
  89. package/dist/app-uBuHtW8m.js +0 -8127
  90. package/dist/netsuite-TqUeqkqw.js +0 -5131
  91. package/dist/vue-i18n-BLzLoy1U.js +0 -2365
package/dist/app.d.ts CHANGED
@@ -98,6 +98,8 @@ export declare const i18nMessages: {
98
98
  latitude: string;
99
99
  };
100
100
  itemsSelected: string;
101
+ maximum: string;
102
+ maxSelectionsReached: string;
101
103
  filterItems: string;
102
104
  noItemsFound: string;
103
105
  dropField: {
@@ -837,6 +839,12 @@ export declare const i18nMessages: {
837
839
  Delete: string;
838
840
  };
839
841
  };
842
+ surcharges: {
843
+ title: string;
844
+ totalCost: string;
845
+ autoApplied: string;
846
+ appliedBased: string;
847
+ };
840
848
  };
841
849
  receiveRequest: {
842
850
  title: string;
@@ -944,6 +952,50 @@ export declare const i18nMessages: {
944
952
  };
945
953
  };
946
954
  };
955
+ surcharge: {
956
+ title: string;
957
+ actions: {
958
+ create: string;
959
+ edit: string;
960
+ save: string;
961
+ };
962
+ form: {
963
+ addRule: string;
964
+ vendor: string;
965
+ vendorPlaceholder: string;
966
+ vendorRequired: string;
967
+ name: string;
968
+ namePlaceholder: string;
969
+ nameRequired: string;
970
+ value: {
971
+ amount: string;
972
+ amountPlaceholder: string;
973
+ item: string;
974
+ itemPlaceholder: string;
975
+ };
976
+ rules: {
977
+ title: string;
978
+ description: string;
979
+ rule_N: string;
980
+ addRule: string;
981
+ supplierPlaceholder: string;
982
+ };
983
+ };
984
+ delete: {
985
+ title: string;
986
+ message: string;
987
+ success: string;
988
+ error: string;
989
+ errorMessage: string;
990
+ };
991
+ table: {
992
+ seqNo: string;
993
+ vendor: string;
994
+ createdAt: string;
995
+ name: string;
996
+ status: string;
997
+ };
998
+ };
947
999
  supplier: {
948
1000
  title: string;
949
1001
  delivery: {
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
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-C0a15lwm.js";
2
+ import { ar as n, as as e, at as o, aq as t, au as i, a as m } from "./app-DavdITF-.js";
3
3
  export {
4
4
  n as FmApp,
5
5
  e as InventoryBindingForm,
@@ -1,4 +1,4 @@
1
- import { o as c } from "./app-C0a15lwm.js";
1
+ import { o as c } from "./app-DavdITF-.js";
2
2
  import { useCoreStore as m } from "@feedmepos/mf-common";
3
3
  const l = c((a, s) => {
4
4
  function r() {
@@ -0,0 +1,82 @@
1
+ import { useI18n as p } from "@feedmepos/mf-common";
2
+ import { components as c } from "@feedmepos/ui-library";
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);
9
+ return t(
10
+ s,
11
+ {
12
+ onClick() {
13
+ a(r ?? e);
14
+ }
15
+ },
16
+ {
17
+ label: () => t(
18
+ "span",
19
+ {
20
+ class: o
21
+ },
22
+ e
23
+ )
24
+ }
25
+ );
26
+ })
27
+ ];
28
+ return i.length > 0 && m.push(
29
+ t(g, { label: "Admin Only" }),
30
+ t(f),
31
+ ...i.map(({ translationKey: n, color: o, value: r }) => {
32
+ const e = l(n);
33
+ return t(
34
+ s,
35
+ {
36
+ onClick() {
37
+ a(r ?? e);
38
+ },
39
+ icon: "support_agent"
40
+ },
41
+ {
42
+ label: () => t(
43
+ "span",
44
+ {
45
+ class: o
46
+ },
47
+ e
48
+ )
49
+ }
50
+ );
51
+ })
52
+ ), t(
53
+ d,
54
+ {
55
+ trigger: "click",
56
+ stopClickPropagation: !0
57
+ },
58
+ {
59
+ "menu-button": () => t(b, {
60
+ type: "button",
61
+ variant: "tertiary",
62
+ icon: "more_vert",
63
+ iconColor: "#000000",
64
+ size: "md"
65
+ }),
66
+ default: () => t(
67
+ "div",
68
+ {
69
+ style: {
70
+ backgroundColor: "white",
71
+ padding: "4px",
72
+ width: "160px"
73
+ }
74
+ },
75
+ m
76
+ )
77
+ }
78
+ );
79
+ }
80
+ export {
81
+ M as c
82
+ };
@@ -46,6 +46,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
46
46
  key: string;
47
47
  entity: "restaurant" | "item";
48
48
  values?: string[] | undefined;
49
+ options?: {
50
+ value: string;
51
+ label: string;
52
+ }[] | undefined;
49
53
  }[]>;
50
54
  };
51
55
  actions: {
@@ -90,6 +94,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
90
94
  key: string;
91
95
  entity: "restaurant" | "item";
92
96
  values?: string[] | undefined;
97
+ options?: {
98
+ value: string;
99
+ label: string;
100
+ }[] | undefined;
93
101
  }[]>;
94
102
  };
95
103
  actions: {
@@ -38,6 +38,11 @@ export interface FmMultiselectDialogProps {
38
38
  * `validateMongoQuery(item[attributeKey], mongoQuery)`
39
39
  */
40
40
  attributeKey?: string;
41
+ /**
42
+ * Maximum number of items that can be selected. If not set, there is no limit.
43
+ * Note: singleSelect is equivalent to maxSelections: 1
44
+ */
45
+ maxSelections?: number;
41
46
  }
42
47
  export interface FmMultiselectDialogEvents {
43
48
  (event: 'update:modelValue', mv: any): void;
@@ -1,4 +1,4 @@
1
- import { d as l } from "./dayjs.min-CvewwBuM.js";
1
+ import { d as l } from "./dayjs.min-BlY4XBqj.js";
2
2
  const T = new Intl.DateTimeFormat("en-US", {
3
3
  year: "numeric",
4
4
  month: "2-digit",
@@ -1,4 +1,4 @@
1
- import { ah as Q, x as K } from "./app-C0a15lwm.js";
1
+ import { ah as Q, x as K } from "./app-DavdITF-.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, x) {
@@ -1,5 +1,5 @@
1
- import "./app-C0a15lwm.js";
2
- import "./dayjs.min-CvewwBuM.js";
1
+ import "./app-DavdITF-.js";
2
+ import "./dayjs.min-BlY4XBqj.js";
3
3
  function m(a) {
4
4
  function t(o, n = !0) {
5
5
  const e = Math.round(Math.log10(o));
@@ -1,4 +1,4 @@
1
- import { c as d, Z as u } from "./app-C0a15lwm.js";
1
+ import { c as d, Z as u } from "./app-DavdITF-.js";
2
2
  import { getCurrentInstance as a, reactive as l, watch as o } from "vue";
3
3
  function g(i = "modelValue", e) {
4
4
  var n, c;
@@ -1,4 +1,4 @@
1
- import { o as p } from "./app-C0a15lwm.js";
1
+ import { o as p } from "./app-DavdITF-.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = p((s, n) => {
4
4
  function o() {