@feedmepos/mf-inventory-portal 0.0.19-dev.10 → 0.0.19-dev.12

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 (43) hide show
  1. package/dist/{ApprovalView-BgTTFiOw.js → ApprovalView-CuTAFiWC.js} +5 -5
  2. package/dist/{BindingsDialog-BROnpXEI.js → BindingsDialog-C_ndNZ8f.js} +1 -1
  3. package/dist/{BindingsPicker-aQHfS_vY.js → BindingsPicker-CcAod_ha.js} +1 -1
  4. package/dist/{BindingsTable-DvtIQMFk.js → BindingsTable-Bm4-kj_a.js} +1 -1
  5. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DR9YAhaJ.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-rDMoAXyd.js} +1 -1
  6. package/dist/{IngredientsView-BgAQCCD-.js → IngredientsView-CyD65_rv.js} +5 -5
  7. package/dist/{IntegrationView-DEBb_X5K.js → IntegrationView-Bh1BWAq-.js} +2 -2
  8. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-VF3PDSzP.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cw3SEkW_.js} +1 -1
  9. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BIRzNfFN.js → PremiumBadge.vue_vue_type_script_setup_true_lang-B_kVFkxk.js} +1 -1
  10. package/dist/{PurchaseOrderPrintPreview-D2zNGZhx.js → PurchaseOrderPrintPreview-Uf0aO8n1.js} +10 -10
  11. package/dist/{ReceiveRequestView-Dc5JlUMC.js → ReceiveRequestView-C0r1FIwM.js} +7 -7
  12. package/dist/{RecipeView-C1DBn8pW.js → RecipeView-CYE6gi__.js} +5 -5
  13. package/dist/{StockView-6wi6BEOE.js → StockView-CKyhKuGi.js} +135 -127
  14. package/dist/{SupplierView-CS7YdL5Q.js → SupplierView-BSJoZFMr.js} +5 -5
  15. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-8L6lwGpu.js +739 -0
  16. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-Bdby-n4P.js +1676 -0
  17. package/dist/TransferTemplateView-B23JFk-I.js +1101 -0
  18. package/dist/{UnitView-BUdKTKch.js → UnitView-DXnLq5nR.js} +6 -6
  19. package/dist/{WarehouseView-BbreEn79.js → WarehouseView-BCnvqHHp.js} +4 -4
  20. package/dist/{app-B3oV5Muh.js → app-DDxzU9iC.js} +7986 -7849
  21. package/dist/app.d.ts +136 -0
  22. package/dist/app.js +1 -1
  23. package/dist/components/row-action.enum.d.ts +3 -1
  24. package/dist/{decimal-DzjRPmPY.js → decimal-DN0h6619.js} +1 -1
  25. package/dist/{id-to-date-CG1QobkF.js → id-to-date-D1fU6Y7T.js} +1 -1
  26. package/dist/layout-DcSLry7F.js +151 -0
  27. package/dist/{purchase-order-transaction-type-D-GMrgDp.js → purchase-order-transaction-type-D0c31GiL.js} +92 -87
  28. package/dist/row-action.enum-PMKMRrZR.js +50 -0
  29. package/dist/{supplier-BE_AQA4h.js → supplier-CQXRbSC3.js} +1 -1
  30. package/dist/tsconfig.app.tsbuildinfo +1 -1
  31. package/dist/views/stock/helper/stock-row-action.d.ts +4 -2
  32. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +20 -0
  33. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +9 -0
  34. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -0
  35. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +445 -1
  36. package/dist/{xlsx-BGXLmGtO.js → xlsx-yV2SoDMC.js} +1 -1
  37. package/dist/{xlsx.util-DxU-P-ww.js → xlsx.util-CTIDgqw2.js} +2 -2
  38. package/package.json +3 -3
  39. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CBbbXOhl.js +0 -745
  40. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-CWEypKBc.js +0 -1662
  41. package/dist/TransferTemplateView-C1hmdeKM.js +0 -933
  42. package/dist/layout-qEWDq5Vs.js +0 -147
  43. package/dist/row-action.enum-7jVyol1k.js +0 -36
@@ -1,147 +0,0 @@
1
- import { components as I, useBreakpoints as R } from "@feedmepos/ui-library";
2
- import { h as i, defineComponent as F, computed as B, openBlock as u, createBlock as M, resolveDynamicComponent as V, unref as p, normalizeClass as x, withCtx as z, createElementVNode as d, renderSlot as D, normalizeProps as L, guardReactiveProps as N, createElementBlock as c, Fragment as k, renderList as P, createVNode as w, createCommentVNode as y } from "vue";
3
- import { af as _ } from "./app-B3oV5Muh.js";
4
- const { FmMenu: E, FmButton: S, FmMenuItem: $ } = I;
5
- function O(o, n) {
6
- return i(
7
- E,
8
- {
9
- trigger: "click",
10
- stopClickPropagation: !0
11
- },
12
- {
13
- "menu-button": () => i(S, {
14
- type: "button",
15
- variant: "tertiary",
16
- icon: "more_vert",
17
- iconColor: "#000000",
18
- size: "md"
19
- }),
20
- default: () => i(
21
- "div",
22
- {
23
- style: {
24
- backgroundColor: "white",
25
- padding: "4px",
26
- width: "160px"
27
- }
28
- },
29
- o.map(({ label: r, color: e, value: t }) => i(
30
- $,
31
- {
32
- onClick() {
33
- n(t ?? r);
34
- }
35
- },
36
- {
37
- label: () => i(
38
- "span",
39
- {
40
- class: e
41
- },
42
- r
43
- )
44
- }
45
- ))
46
- )
47
- }
48
- );
49
- }
50
- /**
51
- * vue-table
52
- *
53
- * Copyright (c) TanStack
54
- *
55
- * This source code is licensed under the MIT license found in the
56
- * LICENSE.md file in the root directory of this source tree.
57
- *
58
- * @license MIT
59
- */
60
- const b = F({
61
- props: ["render", "props"],
62
- setup: (o) => () => typeof o.render == "function" || typeof o.render == "object" ? i(o.render, o.props) : o.render
63
- }), j = { class: "flex gap-4 w-full" }, A = { class: "flex-1" }, H = { class: "flex flex-col" }, T = { key: 0 }, q = { key: 0 }, Q = /* @__PURE__ */ F({
64
- __name: "TableActionableRow",
65
- props: {
66
- row: {},
67
- onRowClick: {},
68
- actionColumnId: { default: "action" }
69
- },
70
- setup(o) {
71
- const n = o, r = B(
72
- () => n.row.getVisibleCells().reduce(
73
- (e, t) => (e[t.column.id] = t, e),
74
- {}
75
- )
76
- );
77
- return (e, t) => (u(), M(V(e.onRowClick ? p(I).FmListItem : "div"), {
78
- class: x([
79
- "w-full border-b border-fm-color-neutral-gray-100",
80
- {
81
- "bg-fm-color-neutral-gray-100": e.row.getIsSelected(),
82
- "cursor-pointer": typeof e.onRowClick == "function"
83
- }
84
- ]),
85
- onClick: t[0] || (t[0] = (m) => {
86
- var s;
87
- return (s = e.onRowClick) == null ? void 0 : s.call(e, e.row.original);
88
- })
89
- }, {
90
- default: z(() => {
91
- var m, s, f, a, C;
92
- return [
93
- d("div", j, [
94
- d("div", A, [
95
- D(e.$slots, "default", L(N(r.value)), () => [
96
- d("div", H, [
97
- (u(!0), c(k, null, P(n.row.getVisibleCells(), (l) => {
98
- var g, v, h;
99
- return u(), c(k, {
100
- key: l.id
101
- }, [
102
- l.column.id !== e.actionColumnId ? (u(), c("div", T, [
103
- w(p(b), {
104
- render: (v = (g = l.column) == null ? void 0 : g.columnDef) == null ? void 0 : v.cell,
105
- props: (h = l.getContext) == null ? void 0 : h.call(l)
106
- }, null, 8, ["render", "props"])
107
- ])) : y("", !0)
108
- ], 64);
109
- }), 128))
110
- ])
111
- ])
112
- ]),
113
- r.value[e.actionColumnId ?? ""] ? (u(), c("div", q, [
114
- d("div", null, [
115
- w(p(b), {
116
- render: (f = (s = (m = r.value[e.actionColumnId ?? ""]) == null ? void 0 : m.column) == null ? void 0 : s.columnDef) == null ? void 0 : f.cell,
117
- props: (C = (a = r.value[e.actionColumnId ?? ""]) == null ? void 0 : a.getContext) == null ? void 0 : C.call(a)
118
- }, null, 8, ["render", "props"])
119
- ])
120
- ])) : y("", !0)
121
- ])
122
- ];
123
- }),
124
- _: 3
125
- }, 8, ["class"]));
126
- }
127
- });
128
- function U() {
129
- return {
130
- get tableHeight() {
131
- const o = _(), { breakpoints: n } = R();
132
- return o.isIframeMode ? n.value.xs || n.value.sm ? {
133
- height: "calc(100dvh - 180px)"
134
- } : {
135
- height: "calc(100dvh - 124px)"
136
- } : {
137
- height: "calc(100dvh - 180px)"
138
- };
139
- }
140
- };
141
- }
142
- export {
143
- b as F,
144
- Q as _,
145
- O as c,
146
- U as u
147
- };
@@ -1,36 +0,0 @@
1
- var t = /* @__PURE__ */ ((e) => (e.READ = "READ", e.UPDATE = "UPDATE", e.CREATE = "CREATE", e))(t || {}), r = /* @__PURE__ */ ((e) => (e.Add = "Add", e.Create = "Create", e.Print = "Print", e.Update = "Update", e.Details = "Details", e.Edit = "Edit", e.Delete = "Delete", e))(r || {});
2
- const l = {
3
- Add: {
4
- label: "Add",
5
- color: "text-fm-color-typo-primary"
6
- },
7
- Create: {
8
- label: "Create",
9
- color: "text-fm-color-typo-primary"
10
- },
11
- Update: {
12
- label: "Update",
13
- color: "text-fm-color-typo-primary"
14
- },
15
- Details: {
16
- label: "Details",
17
- color: "text-fm-color-typo-primary"
18
- },
19
- Print: {
20
- label: "Print",
21
- color: "text-fm-color-typo-primary"
22
- },
23
- Edit: {
24
- label: "Edit",
25
- color: "text-fm-color-typo-primary"
26
- },
27
- Delete: {
28
- label: "Delete",
29
- color: "text-fm-color-typo-error"
30
- }
31
- };
32
- export {
33
- l as D,
34
- t as F,
35
- r as R
36
- };