@feedmepos/mf-inventory-portal 0.0.23-dev.29 → 0.0.23-dev.3
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.
- package/dist/{App-Cb0DKDZS.js → App-BREfwtck.js} +73 -85
- package/dist/{ApprovalView-Cifc-Y_m.js → ApprovalView-DCzLx24G.js} +27 -24
- package/dist/{BindingsDialog-huZq9ea8.js → BindingsDialog-CUcC8lue.js} +4 -4
- package/dist/{BindingsPicker-fFhc3-J_.js → BindingsPicker-3VOdZBWI.js} +9 -8
- package/dist/{BindingsTable-i3JEZnKw.js → BindingsTable-D5Lt6GOO.js} +22 -18
- package/dist/{ClosingTemplateView-CUfFxnXb.js → ClosingTemplateView-CukthwOo.js} +286 -272
- package/dist/FmDroppableField-8RzKjEdL.js +154 -0
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dwb3eBLo.js +267 -0
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CvtvzIt1.js +436 -0
- package/dist/FmMultiselectDialog-CKBcMDGC.js +415 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-FrCm7O_S.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DigsIOB0.js} +114 -116
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BtwkTwMB.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DweLQVwq.js} +5 -5
- package/dist/{IngredientGroupView-DS1OeV_l.js → IngredientGroupView-CkD8x2CP.js} +69 -63
- package/dist/IngredientsView-DuK4YSD6.js +1613 -0
- package/dist/{IntegrationView-BCwOX1nf.js → IntegrationView-BfeV07OO.js} +95 -92
- package/dist/{InventoryBindingForm-BObD8RZu.js → InventoryBindingForm-BsSmth0U.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-YGmtVDLf.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CMV5e99K.js} +27 -25
- package/dist/{InventoryBindingSummary-D1OHZ8H_.js → InventoryBindingSummary-BHloDawE.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJSNaaWU.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BjddpTCS.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C-oLUbzX.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BZBa_99i.js} +24 -23
- package/dist/{PurchaseOrderPrintPreview-s-lWuBrs.js → PurchaseOrderPrintPreview-CTdd-RuH.js} +14 -13
- package/dist/ReceiveRequestView-CgWNaYs1.js +4104 -0
- package/dist/{RecipeView-BdmH9QHY.js → RecipeView-CrmDQdc5.js} +85 -79
- package/dist/{StockView-CzIY1FD0.js → StockView-Xb3fQaiD.js} +1446 -1338
- package/dist/{SupplierView-CDdzeK4D.js → SupplierView-CrtIiaz0.js} +787 -2325
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +135 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C9H41eg7.js +1189 -0
- package/dist/TransferTemplateView-Cc7VRbZ7.js +1262 -0
- package/dist/{UnitView-CAKx1qNs.js → UnitView-C6BgrZ1G.js} +44 -40
- package/dist/{WarehouseView-DRveYDl1.js → WarehouseView-Hhd76ybU.js} +100 -94
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/api/bill.d.ts +2 -2
- package/dist/api/closing.d.ts +0 -1
- package/dist/api/netsuite.d.ts +1 -1
- package/dist/app-CwUHqg7h.js +33462 -0
- package/dist/app.d.ts +0 -56
- package/dist/app.js +2 -2
- package/dist/components/FmMinMaxInputRules.d.ts +1 -4
- package/dist/components/FmMultiselectDialogProps.d.ts +0 -1
- package/dist/components/row-action.enum.d.ts +0 -1
- package/dist/composable/defineDeepModel.d.ts +1 -1
- package/dist/date2-CHNm4ELK.js +117 -0
- package/dist/dayjs.min-FE3dpxHU.js +282 -0
- package/dist/{decimal-Dv59Tc95.js → decimal-rPKr5T-H.js} +1 -1
- package/dist/defineDeepModel-Dc1zZzOi.js +13 -0
- package/dist/{feature-CcnwSkJs.js → feature-z95vJnA1.js} +9 -23
- package/dist/format-time-from-id-CaPj8EHN.js +15 -0
- package/dist/format-unit-display-Bkz5kW6p.js +1198 -0
- package/dist/fuzzy-DXqhGaFi.js +41 -0
- package/dist/index-BMJHz32O.js +22277 -0
- package/dist/index-Be5vGZdr.js +45 -0
- package/dist/index-D2juQPg6.js +10545 -0
- package/dist/netsuite-P0as0Moa.js +194 -0
- package/dist/normalizeArguments-DP7Hrren.js +1552 -0
- package/dist/router/name.d.ts +0 -2
- package/dist/row-action.enum-PMKMRrZR.js +50 -0
- package/dist/rules-BQz4NGht.js +198 -0
- package/dist/stores/feature.d.ts +0 -2
- package/dist/stores/integration/netsuite.d.ts +1 -69
- package/dist/stores/inventory.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-DElqqxGT.js → supplier-BixmjZyl.js} +15 -15
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-CfHThiv9.js → use-inventory-binding-dialog-BRygbm1p.js} +11 -10
- package/dist/use-template-enabled-locations-2-Dd15d-ng.js +86 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +192 -24
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +193 -25
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +34 -34
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +54 -54
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +54 -54
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
- package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -8
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -96
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -96
- package/dist/xlsx-k2Rf0NcF.js +24004 -0
- package/dist/xlsx.util-CJxPf7XZ.js +78 -0
- package/package.json +2 -2
- package/dist/ClosingDraftView-C8yh1aar.js +0 -1190
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-lcB61e9L.js +0 -282
- package/dist/IngredientsView-1ICj0ozR.js +0 -1657
- package/dist/ReceiveRequestView-BR1NkASK.js +0 -4188
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-9gBm-Qpw.js +0 -1227
- package/dist/TransferTemplateView-BYuUr8m6.js +0 -1264
- package/dist/api/adjustment-template.d.ts +0 -23
- package/dist/api/closing-draft.d.ts +0 -6
- package/dist/app-CutWLf0m.js +0 -84180
- package/dist/format-unit-display-mDGo4-C8.js +0 -1207
- package/dist/index-BRw5keOc.js +0 -12087
- package/dist/stock-Bqhch78I.js +0 -125
- package/dist/views/adjustment-template/import/AdjustmentTemplateImport.vue.d.ts +0 -2
- package/dist/views/adjustment-template/import/AdjustmentTemplateImportItem.vue.d.ts +0 -18
- package/dist/views/adjustment-template/import/export.d.ts +0 -60
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDetails.vue.d.ts +0 -2
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDialog.vue.d.ts +0 -22
- package/dist/views/adjustment-template/wastage-template/WastageTemplatePublish.vue.d.ts +0 -6
- package/dist/views/adjustment-template/wastage-template/WastageTemplateView.vue.d.ts +0 -2
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +0 -1295
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateForm.vue.d.ts +0 -16
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +0 -35
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +0 -20
- package/dist/views/adjustment-template/wastage-template/props.d.ts +0 -29
- package/dist/views/adjustment-template/wastage-template/table.d.ts +0 -1273
- package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +0 -2
- package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +0 -22
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +0 -621
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +0 -25
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +0 -3621
- package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +0 -1
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +0 -19
- package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +0 -4
- package/dist/views/receive-request/helper/check-netsuite-subsidiary.helper.d.ts +0 -1
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { useI18n as R } from "@feedmepos/mf-common";
|
|
2
|
+
import { components as h } from "@feedmepos/ui-library";
|
|
3
|
+
import { h as i, defineComponent as F, computed as B, openBlock as u, createBlock as V, resolveDynamicComponent as z, unref as p, normalizeClass as D, withCtx as M, createElementVNode as c, renderSlot as N, normalizeProps as P, guardReactiveProps as _, createElementBlock as m, Fragment as w, renderList as E, createVNode as b, createCommentVNode as y } from "vue";
|
|
4
|
+
const { FmMenu: L, FmButton: S, FmMenuItem: $ } = h;
|
|
5
|
+
function O(o, a) {
|
|
6
|
+
return i(
|
|
7
|
+
L,
|
|
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(({ translationKey: t, color: e, value: r }) => {
|
|
30
|
+
const { t: s } = R(), n = s(t);
|
|
31
|
+
return i(
|
|
32
|
+
$,
|
|
33
|
+
{
|
|
34
|
+
onClick() {
|
|
35
|
+
a(r ?? n);
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: () => i(
|
|
40
|
+
"span",
|
|
41
|
+
{
|
|
42
|
+
class: e
|
|
43
|
+
},
|
|
44
|
+
n
|
|
45
|
+
)
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
})
|
|
49
|
+
)
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* vue-table
|
|
55
|
+
*
|
|
56
|
+
* Copyright (c) TanStack
|
|
57
|
+
*
|
|
58
|
+
* This source code is licensed under the MIT license found in the
|
|
59
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
60
|
+
*
|
|
61
|
+
* @license MIT
|
|
62
|
+
*/
|
|
63
|
+
const I = F({
|
|
64
|
+
props: ["render", "props"],
|
|
65
|
+
setup: (o) => () => typeof o.render == "function" || typeof o.render == "object" ? i(o.render, o.props) : o.render
|
|
66
|
+
}), j = { class: "flex gap-4 w-full" }, A = { class: "flex-1" }, T = { class: "flex flex-col" }, q = { key: 0 }, G = { key: 0 }, Q = /* @__PURE__ */ F({
|
|
67
|
+
__name: "TableActionableRow",
|
|
68
|
+
props: {
|
|
69
|
+
row: {},
|
|
70
|
+
onRowClick: {},
|
|
71
|
+
actionColumnId: { default: "action" }
|
|
72
|
+
},
|
|
73
|
+
setup(o) {
|
|
74
|
+
const a = o, t = B(
|
|
75
|
+
() => a.row.getVisibleCells().reduce(
|
|
76
|
+
(e, r) => (e[r.column.id] = r, e),
|
|
77
|
+
{}
|
|
78
|
+
)
|
|
79
|
+
);
|
|
80
|
+
return (e, r) => (u(), V(z(e.onRowClick ? p(h).FmListItem : "div"), {
|
|
81
|
+
class: D([
|
|
82
|
+
"w-full border-b border-fm-color-neutral-gray-100",
|
|
83
|
+
{
|
|
84
|
+
"bg-fm-color-neutral-gray-100": e.row.getIsSelected(),
|
|
85
|
+
"cursor-pointer": typeof e.onRowClick == "function"
|
|
86
|
+
}
|
|
87
|
+
]),
|
|
88
|
+
onClick: r[0] || (r[0] = (s) => {
|
|
89
|
+
var n;
|
|
90
|
+
return (n = e.onRowClick) == null ? void 0 : n.call(e, e.row.original);
|
|
91
|
+
})
|
|
92
|
+
}, {
|
|
93
|
+
default: M(() => {
|
|
94
|
+
var s, n, f, d, C;
|
|
95
|
+
return [
|
|
96
|
+
c("div", j, [
|
|
97
|
+
c("div", A, [
|
|
98
|
+
N(e.$slots, "default", P(_(t.value)), () => [
|
|
99
|
+
c("div", T, [
|
|
100
|
+
(u(!0), m(w, null, E(a.row.getVisibleCells(), (l) => {
|
|
101
|
+
var g, v, k;
|
|
102
|
+
return u(), m(w, {
|
|
103
|
+
key: l.id
|
|
104
|
+
}, [
|
|
105
|
+
l.column.id !== e.actionColumnId ? (u(), m("div", q, [
|
|
106
|
+
b(p(I), {
|
|
107
|
+
render: (v = (g = l.column) == null ? void 0 : g.columnDef) == null ? void 0 : v.cell,
|
|
108
|
+
props: (k = l.getContext) == null ? void 0 : k.call(l)
|
|
109
|
+
}, null, 8, ["render", "props"])
|
|
110
|
+
])) : y("", !0)
|
|
111
|
+
], 64);
|
|
112
|
+
}), 128))
|
|
113
|
+
])
|
|
114
|
+
])
|
|
115
|
+
]),
|
|
116
|
+
t.value[e.actionColumnId ?? ""] ? (u(), m("div", G, [
|
|
117
|
+
c("div", null, [
|
|
118
|
+
b(p(I), {
|
|
119
|
+
render: (f = (n = (s = t.value[e.actionColumnId ?? ""]) == null ? void 0 : s.column) == null ? void 0 : n.columnDef) == null ? void 0 : f.cell,
|
|
120
|
+
props: (C = (d = t.value[e.actionColumnId ?? ""]) == null ? void 0 : d.getContext) == null ? void 0 : C.call(d)
|
|
121
|
+
}, null, 8, ["render", "props"])
|
|
122
|
+
])
|
|
123
|
+
])) : y("", !0)
|
|
124
|
+
])
|
|
125
|
+
];
|
|
126
|
+
}),
|
|
127
|
+
_: 3
|
|
128
|
+
}, 8, ["class"]));
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
export {
|
|
132
|
+
I as F,
|
|
133
|
+
Q as _,
|
|
134
|
+
O as c
|
|
135
|
+
};
|