@feedmepos/mf-inventory-portal 1.7.0-dev.6 → 1.7.0-dev.7

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 (113) hide show
  1. package/README.md +8 -8
  2. package/dist/{App-NlIy4RUv.js → App-CdLmQWt8.js} +4 -4
  3. package/dist/{ApprovalView-E7y0ueFH.js → ApprovalView-CSsDqhpv.js} +8 -8
  4. package/dist/{BindingsDialog-BNApImJz.js → BindingsDialog-DHJ1tvNJ.js} +2 -2
  5. package/dist/{BindingsPicker-DRWs430b.js → BindingsPicker-C8MPcvSz.js} +2 -2
  6. package/dist/{BindingsTable-BC1TgKaN.js → BindingsTable-52py8Ws5.js} +3 -3
  7. package/dist/{BulkReceiveRequestView-3XmccTDH.js → BulkReceiveRequestView-DV-Pi8Dl.js} +19 -19
  8. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DW71yYOY.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DqEFrMvv.js} +1 -1
  9. package/dist/ClosingDraftView-By9Ubrjj.js +4398 -0
  10. package/dist/ClosingHistoryView-DPX0oThW.js +1112 -0
  11. package/dist/ClosingTemplateView-CPfsw6Jo.js +2270 -0
  12. package/dist/CursorPaginatedTable.vue_vue_type_script_setup_true_lang-4KT9rH9e.js +152 -0
  13. package/dist/{DefaultView-vIumMOKt.js → DefaultView-bnlvalOA.js} +2 -2
  14. package/dist/{DeliveryOrderPrintPreview-DhLgl3uz.js → DeliveryOrderPrintPreview-DvCoRkS5.js} +2 -2
  15. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-Cn2ub5XB.js → EmailDialog.vue_vue_type_script_setup_true_lang-hclhTx1v.js} +23 -23
  16. package/dist/FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Dnb11ZZu.js +69 -0
  17. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CNkXEMRd.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-5zyDFkIj.js} +2 -2
  18. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BGeYHCo3.js +120 -0
  19. package/dist/{FmMultiselectDialog-Ckl1Yv9A.js → FmMultiselectDialog-BmsipVZ1.js} +1 -1
  20. package/dist/{FmMultiselectDialog-BKUDjNe8.js → FmMultiselectDialog-C89_c6t-.js} +2 -2
  21. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D-dqtdHm.js → FmUnitInput.vue_vue_type_script_setup_true_lang-mZVsLfXN.js} +5 -5
  22. package/dist/{ImportView-B2dZLlIQ.js → ImportView-5o7viifV.js} +6 -6
  23. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CZN7bMba.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cf5aYcgE.js} +1 -1
  24. package/dist/{IngredientGroupView-B8uTaewu.js → IngredientGroupView-DFtA9PGx.js} +5 -5
  25. package/dist/{IngredientsView-0pIpqaYP.js → IngredientsView-B7xgch69.js} +16 -16
  26. package/dist/{IntegrationExplorerView-m340FRkF.js → IntegrationExplorerView-WgrLMM-S.js} +4 -4
  27. package/dist/{IntegrationView-CR63stDu.js → IntegrationView-DODVvXar.js} +13 -13
  28. package/dist/{InventoryBindingForm-DxwGujF1.js → InventoryBindingForm-BFjgIg5X.js} +1 -1
  29. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CuXUsDzD.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BafAL8Ko.js} +5 -5
  30. package/dist/{InventoryBindingSummary-BZC8PmSy.js → InventoryBindingSummary-DIbLUq8T.js} +1 -1
  31. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DUQxKXKO.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CmMhWVV1.js} +1 -1
  32. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DhabkmeS.js → PremiumBadge.vue_vue_type_script_setup_true_lang-ChruzrrP.js} +1 -1
  33. package/dist/{ProductionView-DGK7ari8.js → ProductionView-DbomR0mp.js} +7 -7
  34. package/dist/{PublishView-C2WdbS4L.js → PublishView-CY8RPc96.js} +3 -3
  35. package/dist/{PurchaseOrderPrintPreview-DbB68sX0.js → PurchaseOrderPrintPreview-LlaeK9yj.js} +2 -2
  36. package/dist/{ReceiveRequestView-zAUq0Ssz.js → ReceiveRequestView-DhaH8q7H.js} +13 -13
  37. package/dist/{RecipeView-C5w_pUXR.js → RecipeView-BssQDDZQ.js} +17 -17
  38. package/dist/{SettingsView-DLRcCvk4.js → SettingsView-t33Yw-Y7.js} +4 -4
  39. package/dist/{StockView-BaH1vKcT.js → StockView-BS4bOyqr.js} +21 -21
  40. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-weKIvp8F.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DuC1cXzZ.js} +1 -1
  41. package/dist/{SupplierView-DrviX9XY.js → SupplierView-BJvfJjTL.js} +12 -12
  42. package/dist/{SurchargeView-PeKEls1Z.js → SurchargeView-D9MTfTxj.js} +6 -6
  43. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Czkd0qqw.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BDbdkJMO.js} +2 -2
  44. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B01wr4F8.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-bHKvO-R3.js} +1 -1
  45. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Dqz1eFSJ.js → TransferDetails.vue_vue_type_script_setup_true_lang-CiLaobTu.js} +20 -20
  46. package/dist/{TransferTemplateView-wN2nr_0X.js → TransferTemplateView-BJyvlc5A.js} +20 -20
  47. package/dist/{UnitCostHistoryView-DGTYxbvj.js → UnitCostHistoryView-D1x3terP.js} +4 -4
  48. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-B6krURPH.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CQuzAchK.js} +4 -4
  49. package/dist/{UnitView-C8SM9fQP.js → UnitView-Bt6iIBYS.js} +7 -7
  50. package/dist/{WarehouseView-DhOlmE3U.js → WarehouseView-Ds_FmW5Y.js} +5 -5
  51. package/dist/{WastageTemplateView-CM4eTx0N.js → WastageTemplateView-DEYy49G9.js} +14 -14
  52. package/dist/api/closing-draft.d.ts +11 -0
  53. package/dist/api/closing-template.d.ts +11 -2
  54. package/dist/api/closing.d.ts +12 -1
  55. package/dist/{app-pfHbU1WT.js → app-C5ZjmQBL.js} +4228 -4018
  56. package/dist/app.d.ts +8 -0
  57. package/dist/app.js +1 -1
  58. package/dist/{closing-template-C6Vx5eWA.js → closing-template-C1RAVtfm.js} +31 -11
  59. package/dist/components/CursorPaginatedTable.vue.d.ts +136 -0
  60. package/dist/components/FmInventoryTableToolbar.vue.d.ts +26 -0
  61. package/dist/components/ui-library/FmDateRangePickerChip.vue.d.ts +5 -0
  62. package/dist/composable/defineApi.d.ts +1 -1
  63. package/dist/{date2-C-n9LpKa.js → date2-C_I6Sj_2.js} +1 -1
  64. package/dist/{dayjs.min-Bu4_8gM9.js → dayjs.min-DLA2WeAZ.js} +1 -1
  65. package/dist/{decimal-C2_Vh-I3.js → decimal-CmyPHcIE.js} +2 -2
  66. package/dist/{defineDeepModel-CXP9xlO9.js → defineDeepModel-DgZRD9r1.js} +1 -1
  67. package/dist/{duplicate-template-XPmYbOJ9.js → duplicate-template-YgZzxaM1.js} +1 -1
  68. package/dist/{feature-CLk0uPEH.js → feature-DM1fHf-j.js} +2 -2
  69. package/dist/{format-time-from-id-G5QRBa84.js → format-time-from-id-ZLKKvFN3.js} +1 -1
  70. package/dist/{format-unit-display-IIqavf90.js → format-unit-display-Dh9Gkal3.js} +12 -12
  71. package/dist/{import-export.helper-BO_uqwp4.js → import-export.helper-NRzOlfjs.js} +6 -6
  72. package/dist/{index-Dcm54ldM.js → index-CH2gGkkr.js} +1 -1
  73. package/dist/{index-DnpSJzwo.js → index-D6ZdZoYl.js} +3 -3
  74. package/dist/{index-Ce3fiDvd.js → index-tlUzP5gu.js} +3344 -3066
  75. package/dist/{inventory-core-dart.default-INsUG73Y.js → inventory-core-dart.default-DEJl1cw1.js} +1 -1
  76. package/dist/{jszip.min-D3KgBOLH.js → jszip.min-IIc159ih.js} +2 -2
  77. package/dist/{lz-string-BWhXP-Xc.js → lz-string-CLDiS3IE.js} +1 -1
  78. package/dist/{netsuite-DzOrZBvA.js → netsuite-DuBR2cEF.js} +2 -2
  79. package/dist/{number-VpMHWJsJ.js → number-D80m3cTF.js} +3 -3
  80. package/dist/{predefined-templates-BvnvUI_F.js → predefined-templates-DRyPnzlW.js} +1 -1
  81. package/dist/{purchase-order-template-CJh4_Q3H.js → purchase-order-template-BBnMW_fW.js} +1 -1
  82. package/dist/{recalculationUtils-BTvAwC7J.js → recalculationUtils-DJK6lrcN.js} +1 -1
  83. package/dist/{rules-LPO_v5Zr.js → rules-BVYE7agw.js} +2 -2
  84. package/dist/{stock-DCHhwIaC.js → stock-Bp5E9dDF.js} +1 -1
  85. package/dist/{stock-CqpYPWHj.js → stock-WZL_VV0O.js} +3 -3
  86. package/dist/{supplier-CZEJx5mC.js → supplier-DaLG_xt7.js} +2 -2
  87. package/dist/{surcharge-BbTuG_a2.js → surcharge-4CBOByoy.js} +1 -1
  88. package/dist/tsconfig.app.tsbuildinfo +1 -1
  89. package/dist/{uom-rules-Cu4fXhZ2.js → uom-rules-B604Aftd.js} +1 -1
  90. package/dist/{use-ingredient-select-dialog-D6ETW66d.js → use-ingredient-select-dialog-C6FoBmcN.js} +2 -2
  91. package/dist/{use-inventory-binding-dialog-D_b729Po.js → use-inventory-binding-dialog-DGSFzKVG.js} +2 -2
  92. package/dist/{use-template-enabled-locations-DeR8DY64.js → use-template-enabled-locations-D5_hVbtg.js} +2 -2
  93. package/dist/{use-transfer-locations-DysOG_1c.js → use-transfer-locations-C8Tn4jb9.js} +2 -2
  94. package/dist/{useHrmPermission-BDMnFbDK.js → useHrmPermission-Cu0490uh.js} +1 -1
  95. package/dist/{useNavigationMenu-CjoofsrC.js → useNavigationMenu-HSwbFOrI.js} +2 -2
  96. package/dist/{useSseClient-B7hHgXIn.js → useSseClient-CptMV4gY.js} +1 -1
  97. package/dist/views/adjustment-template/wastage-template/table.d.ts +1 -1
  98. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +1284 -15
  99. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +234 -3090
  100. package/dist/views/closing-draft/helpers/closing-group-status.helper.d.ts +5 -3
  101. package/dist/views/closing-draft/helpers/closing-groups.helper.d.ts +19 -8
  102. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +577 -15
  103. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +51 -1025
  104. package/dist/views/closing-template/helpers/import-export.helper.d.ts +1 -1
  105. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1 -1
  106. package/dist/{vue-i18n-kLRqcyG8.js → vue-i18n-CXcdytIG.js} +1 -1
  107. package/dist/{xlsx.util-1F6O_wmm.js → xlsx.util-Dhm1k2gt.js} +2 -2
  108. package/package.json +3 -3
  109. package/dist/ClosingDraftView-DUv-k-RN.js +0 -4320
  110. package/dist/ClosingHistoryView-CGb32hip.js +0 -1115
  111. package/dist/ClosingTemplateView-DtxeqHgX.js +0 -2237
  112. package/dist/FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-OReBYvpY.js +0 -61
  113. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DiyqG-gq.js +0 -118
@@ -1,61 +0,0 @@
1
- import { defineComponent as D, ref as g, watch as f, computed as _, resolveComponent as s, createBlock as w, openBlock as h, withCtx as y, createElementVNode as l, createVNode as V, toDisplayString as v } from "vue";
2
- import { b as c } from "./date2-C-n9LpKa.js";
3
- function k() {
4
- const e = /* @__PURE__ */ new Date();
5
- return e.setDate(e.getDate() - 15), {
6
- start: e,
7
- end: /* @__PURE__ */ new Date()
8
- };
9
- }
10
- function d(e = 15) {
11
- const t = /* @__PURE__ */ new Date();
12
- t.setDate(t.getDate() - e);
13
- const r = t, n = /* @__PURE__ */ new Date();
14
- return {
15
- startDate: `${c(r)}`,
16
- endDate: `${c(n)}`
17
- };
18
- }
19
- const x = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400" }, b = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, F = /* @__PURE__ */ D({
20
- __name: "FmDateRangePickerChip",
21
- props: {
22
- modelValue: { default: (e) => e.modelValue ?? d() }
23
- },
24
- emits: ["update:modelValue"],
25
- setup(e, { emit: t }) {
26
- const r = t, n = g(d());
27
- f(n, (a) => {
28
- r("update:modelValue", a);
29
- });
30
- const i = _(() => {
31
- const { startDate: a, endDate: o } = n.value;
32
- return !a && !o ? "" : `${a} - ${o}`;
33
- });
34
- return (a, o) => {
35
- const m = s("FmIcon"), u = s("FmDateRangePicker");
36
- return h(), w(u, {
37
- "show-predefined-range": "",
38
- modelValue: n.value,
39
- "onUpdate:modelValue": o[0] || (o[0] = (p) => n.value = p),
40
- "start-label": "",
41
- "end-label": ""
42
- }, {
43
- "trigger-button": y(() => [
44
- l("div", x, [
45
- V(m, {
46
- name: "calendar_month",
47
- size: "sm"
48
- }),
49
- l("div", b, v(i.value), 1)
50
- ])
51
- ]),
52
- _: 1
53
- }, 8, ["modelValue"]);
54
- };
55
- }
56
- });
57
- export {
58
- F as _,
59
- k as a,
60
- d as i
61
- };
@@ -1,118 +0,0 @@
1
- import { defineComponent as V, mergeModels as F, computed as M, useModel as f, resolveComponent as b, createElementBlock as a, openBlock as l, unref as n, renderSlot as C, createElementVNode as p, normalizeClass as g, createCommentVNode as r, createBlock as s, withCtx as R, createVNode as U, Fragment as A, renderList as L } from "vue";
2
- import { useI18n as T } from "@feedmepos/mf-common";
3
- import { _ as I } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DW71yYOY.js";
4
- import { _ as N } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-OReBYvpY.js";
5
- import { useBreakpoints as Q } from "@feedmepos/ui-library";
6
- import { u as $ } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
7
- import { D as k } from "./app-C39bYJmq.js";
8
- import { F as D } from "./FmAdminBadge-DlplQOHb.js";
9
- const E = { class: "flex-1 w-full flex items-center gap-4 xs:flex-col-reverse sm:flex-col-reverse" }, O = {
10
- key: 0,
11
- class: "flex-1 xs:w-full sm:w-full"
12
- }, z = {
13
- key: 1,
14
- class: "flex-1"
15
- }, H = { class: "w-full max-w-[343px] xs:max-w-[unset] sm:max-w-[unset]" }, X = /* @__PURE__ */ V({
16
- __name: "FmInventoryTableToolbar",
17
- props: /* @__PURE__ */ F({
18
- dateRangeQuery: { type: Boolean },
19
- changeLocation: { type: Boolean },
20
- searchable: { type: Boolean },
21
- hideFilterOptions: { type: Boolean },
22
- filterable: { type: Boolean },
23
- filterAttributes: {},
24
- actions: {},
25
- usingBusinessHelperText: {},
26
- showBusiness: { type: Boolean }
27
- }, {
28
- search: {},
29
- searchModifiers: {},
30
- filter: {},
31
- filterModifiers: {},
32
- dateRange: {},
33
- dateRangeModifiers: {}
34
- }),
35
- emits: ["update:search", "update:filter", "update:dateRange"],
36
- setup(m) {
37
- const { breakpoints: c } = Q(), u = M(() => c.value.xs || c.value.sm), v = f(m, "search"), i = f(m, "filter"), y = f(m, "dateRange"), { t: B } = T(), d = $();
38
- return (o, t) => {
39
- const h = b("FmTextField"), w = b("FmButton");
40
- return l(), a("div", {
41
- class: "flex flex-col gap-8",
42
- onVnodeMounted: t[4] || (t[4] = //@ts-ignore
43
- (...e) => n(d).onMounted && n(d).onMounted(...e)),
44
- onVnodeUnmounted: t[5] || (t[5] = //@ts-ignore
45
- (...e) => n(d).onUnmounted && n(d).onUnmounted(...e))
46
- }, [
47
- C(o.$slots, "default"),
48
- p("div", {
49
- class: g([
50
- "flex gap-8 items-center",
51
- {
52
- "px-8 flex-col-reverse h-[unset]": u.value,
53
- "h-48": !u.value
54
- }
55
- ])
56
- }, [
57
- o.changeLocation || o.dateRangeQuery ? (l(), a("div", {
58
- key: 0,
59
- class: g([
60
- "flex gap-8 items-center",
61
- {
62
- "w-full overflow-x-auto": u.value
63
- }
64
- ])
65
- }, [
66
- o.changeLocation ? (l(), s(I, {
67
- key: 0,
68
- "show-business": o.showBusiness
69
- }, null, 8, ["show-business"])) : r("", !0),
70
- o.dateRangeQuery ? (l(), s(N, {
71
- key: 1,
72
- "model-value": y.value,
73
- "onUpdate:modelValue": t[0] || (t[0] = (e) => y.value = e)
74
- }, null, 8, ["model-value"])) : r("", !0)
75
- ], 2)) : r("", !0),
76
- p("div", E, [
77
- o.filterable && o.filterAttributes ? (l(), a("div", O, [
78
- o.hideFilterOptions ? (l(), s(D, { key: 1 }, {
79
- default: R(() => [
80
- U(n(k), {
81
- modelValue: i.value,
82
- "onUpdate:modelValue": t[2] || (t[2] = (e) => i.value = e),
83
- attributes: o.filterAttributes
84
- }, null, 8, ["modelValue", "attributes"])
85
- ]),
86
- _: 1
87
- })) : (l(), s(n(k), {
88
- key: 0,
89
- modelValue: i.value,
90
- "onUpdate:modelValue": t[1] || (t[1] = (e) => i.value = e),
91
- attributes: o.filterAttributes
92
- }, null, 8, ["modelValue", "attributes"]))
93
- ])) : u.value ? r("", !0) : (l(), a("div", z)),
94
- p("div", H, [
95
- o.searchable ? (l(), s(h, {
96
- key: 0,
97
- "model-value": v.value,
98
- "onUpdate:modelValue": t[3] || (t[3] = (e) => v.value = e),
99
- "prepend-icon": "search",
100
- placeholder: n(B)("inventory.common.table.toolbar.filterItems"),
101
- class: "w-full"
102
- }, null, 8, ["model-value", "placeholder"])) : r("", !0)
103
- ]),
104
- (l(!0), a(A, null, L(o.actions, (e, x) => (l(), s(w, {
105
- key: x,
106
- variant: "tertiary",
107
- "prepend-icon": e.icon,
108
- onClick: e.onClick
109
- }, null, 8, ["prepend-icon", "onClick"]))), 128))
110
- ])
111
- ], 2)
112
- ], 512);
113
- };
114
- }
115
- });
116
- export {
117
- X as _
118
- };