@feedmepos/mf-inventory-portal 1.6.3 → 1.7.0-dev.0
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-C9leB4t0.js → App-DaAOxELy.js} +4 -4
- package/dist/{ApprovalView-CqOXr5Hw.js → ApprovalView-CxJ79rW7.js} +8 -8
- package/dist/{BindingsDialog-DRalvlwp.js → BindingsDialog-CZhCQoLO.js} +2 -2
- package/dist/{BindingsPicker-zXli3Z1x.js → BindingsPicker-BWRMxgYR.js} +2 -2
- package/dist/{BindingsTable--VoNPh7F.js → BindingsTable-fvBa1dHb.js} +3 -3
- package/dist/{BulkReceiveRequestView-Bon7uDCJ.js → BulkReceiveRequestView-Bq7_r-qY.js} +19 -19
- package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CKM48Ktp.js +126 -0
- package/dist/{ClosingDraftView-CdxQiwuz.js → ClosingDraftView-DdMr571D.js} +25 -24
- package/dist/{ClosingHistoryView-CTkdBXBa.js → ClosingHistoryView-BIpPvvzQ.js} +5 -5
- package/dist/{ClosingTemplateView-h9ohxtwI.js → ClosingTemplateView-IlV4hRZ7.js} +14 -14
- package/dist/{DefaultView-CLRzOH5K.js → DefaultView-TKUUG9_5.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-vgPmHbtx.js → DeliveryOrderPrintPreview-DTjC7-Op.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-CE9wwNB_.js → EmailDialog.vue_vue_type_script_setup_true_lang-DeFiuGtR.js} +23 -23
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DTeWGr5O.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-NtqJm53P.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DaXycWeg.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CzHFzHXg.js} +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiMEAtPb.js +118 -0
- package/dist/{FmMultiselectDialog-Bnouf9vX.js → FmMultiselectDialog-BdXOoS6z.js} +2 -2
- package/dist/{FmMultiselectDialog-BAMaksR7.js → FmMultiselectDialog-D_4f9sXH.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DnfFPNWn.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D_MOm5kW.js} +5 -5
- package/dist/{ImportView-DYhLRkQA.js → ImportView-BnL6y68X.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B4n5-iRK.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-g-g6qaNU.js} +1 -1
- package/dist/{IngredientGroupView-Dn15H-1E.js → IngredientGroupView-Du0iICme.js} +5 -5
- package/dist/{IngredientsView-9sp4RWOF.js → IngredientsView-m2Rtn_F_.js} +15 -15
- package/dist/{IntegrationExplorerView-DSj9e9rb.js → IntegrationExplorerView-J5BtpWN_.js} +5 -5
- package/dist/{IntegrationView-DbcMnd4z.js → IntegrationView-BMQj8wg-.js} +13 -13
- package/dist/{InventoryBindingForm-6OXalr29.js → InventoryBindingForm-D_KFXokV.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-6-CNpE55.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-B7GjOoZh.js} +5 -5
- package/dist/{InventoryBindingSummary-h7b4l6Wb.js → InventoryBindingSummary-9TWMG5bm.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cq_SuRtd.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DYXtIoll.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-7CXXGTvk.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CGJ_uWzF.js} +1 -1
- package/dist/ProductionView-CI07S6oW.js +1330 -0
- package/dist/{PublishView-BNml0c7h.js → PublishView-CWMdUnaY.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DMQ4-abx.js → PurchaseOrderPrintPreview-B5XJcf8G.js} +2 -2
- package/dist/{ReceiveRequestView-BTHWRSHt.js → ReceiveRequestView-st3jdG9W.js} +13 -13
- package/dist/{RecipeView-D7pdeDlr.js → RecipeView-D9ZVbmtm.js} +17 -17
- package/dist/{SettingsView-Ce3Fbejt.js → SettingsView-CUS0aMbf.js} +4 -4
- package/dist/{StockView-BGH5uWNi.js → StockView-Co4DOixF.js} +55 -54
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BegeXje7.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Dt6XECIc.js} +1 -1
- package/dist/{SupplierView-BuyycuNM.js → SupplierView-DXw6V-uS.js} +12 -12
- package/dist/{SurchargeView-B3O9a7WC.js → SurchargeView-C-Bg7UsR.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-TJ4VhnI3.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-D6_M-pbk.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BgkgLkWo.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D7NrX7HR.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CwY2xCQV.js → TransferDetails.vue_vue_type_script_setup_true_lang-D9Fl_xAx.js} +20 -20
- package/dist/{TransferTemplateView-CehWEgcU.js → TransferTemplateView-CP7ia82t.js} +20 -20
- package/dist/{UnitCostHistoryView-N9UZOJVt.js → UnitCostHistoryView-xe5q6105.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DpVe38HB.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-_Eax2wkO.js} +4 -4
- package/dist/{UnitView-YB56lxTp.js → UnitView-1e6MQ-Vu.js} +7 -7
- package/dist/{WarehouseView-DtBYtULO.js → WarehouseView-DXB6Ygwb.js} +5 -5
- package/dist/{WastageTemplateView-BJQ94zo8.js → WastageTemplateView-CWGNtaZJ.js} +14 -14
- package/dist/api/production.d.ts +29 -0
- package/dist/{app-CnwVdB-r.js → app-DXqwG4b3.js} +1910 -1834
- package/dist/app.js +1 -1
- package/dist/{closing-template-B0GQRFlS.js → closing-template-CCY6fg4v.js} +1 -1
- package/dist/{date2-CaCMUbxN.js → date2-BWfUJajP.js} +1 -1
- package/dist/{dayjs.min-C413l7qz.js → dayjs.min-BqAOh_2L.js} +1 -1
- package/dist/{decimal-dpWXqHCT.js → decimal-DmkQg2_J.js} +2 -2
- package/dist/{defineDeepModel-wTAgCIGa.js → defineDeepModel-D9smHIGg.js} +1 -1
- package/dist/{duplicate-template-DTkeAcof.js → duplicate-template-Ebdaehmw.js} +1 -1
- package/dist/{feature-CSsMjXm4.js → feature-CD2ndvWN.js} +2 -2
- package/dist/{format-time-from-id-A1BqDOzj.js → format-time-from-id-BtUh8UMO.js} +1 -1
- package/dist/{format-unit-display-CHS1Vvqm.js → format-unit-display-DLoTr1Hz.js} +12 -12
- package/dist/{import-export.helper-C8qIeMrV.js → import-export.helper-DYgr7Lvo.js} +6 -6
- package/dist/{index-dgiwVVtQ.js → index-CnuWmvgF.js} +1 -1
- package/dist/{index-CCdOkfwD.js → index-DmdqVO9N.js} +3 -3
- package/dist/{index-CEbJe2zv.js → index-z_cku6cd.js} +1 -1
- package/dist/inventory-core-dart.default-CEnDozvp.js +22707 -0
- package/dist/{jszip.min-k8R8v9tK.js → jszip.min-DKMvkIMM.js} +129 -129
- package/dist/{lz-string-OLkSz-NK.js → lz-string-BH6J5xxX.js} +1 -1
- package/dist/{netsuite-Cm4tUcLt.js → netsuite-kR1AFzO9.js} +2 -2
- package/dist/{number-CF9W8sDX.js → number-CRrcUtSg.js} +3 -3
- package/dist/{predefined-templates-DmBAGnMN.js → predefined-templates-DbAHazbJ.js} +1 -1
- package/dist/{purchase-order-template-C0ynPqX6.js → purchase-order-template-DoEJEwqG.js} +1 -1
- package/dist/{recalculationUtils-pDs8JNho.js → recalculationUtils-hk2PE0q1.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-CYCN4sgu.js → rules-BPXgi6ZE.js} +2 -2
- package/dist/stock-CJAv4fTu.js +75 -0
- package/dist/{stock-D8S1alJa.js → stock-qAhTEKrH.js} +1 -1
- package/dist/{supplier-CiPnrjsq.js → supplier-BvzIGpwW.js} +2 -2
- package/dist/{surcharge-CanooUK6.js → surcharge-BhLHJ3gK.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-eVbKU0_1.js → uom-rules-B1s74P9M.js} +1 -1
- package/dist/{use-ingredient-select-dialog-Lpcjl8Ws.js → use-ingredient-select-dialog-aAPbd5cS.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CA_03e_q.js → use-inventory-binding-dialog-CTjQzuV7.js} +2 -2
- package/dist/{use-template-enabled-locations-CWMCe4nl.js → use-template-enabled-locations-Brw80-tj.js} +2 -2
- package/dist/{use-transfer-locations-rvGiFI0e.js → use-transfer-locations-BF7CKYpr.js} +2 -2
- package/dist/{useHrmPermission-wOFwl59u.js → useHrmPermission-Csjov-cy.js} +1 -1
- package/dist/{useNavigationMenu-BoDv65KI.js → useNavigationMenu-D8BERWXB.js} +12 -7
- package/dist/useSseClient-Cen-cw5C.js +453 -0
- package/dist/views/production/ProductionBindingsCell.vue.d.ts +29 -0
- package/dist/views/production/ProductionCompletionDialog.vue.d.ts +32 -0
- package/dist/views/production/ProductionDetailSheet.vue.d.ts +38 -0
- package/dist/views/production/ProductionDuplicateDialog.vue.d.ts +280 -0
- package/dist/views/production/ProductionPrepareBuilder.vue.d.ts +6 -0
- package/dist/views/production/ProductionView.vue.d.ts +2 -0
- package/dist/{vue-i18n-Bov_Y0eC.js → vue-i18n-lC_mdXT4.js} +271 -271
- package/dist/{xlsx.util-0_Y_Q66v.js → xlsx.util-DxgWqaTd.js} +397 -397
- package/package.json +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CL9YNazx.js +0 -237
- package/dist/inventory-core-dart.default-CBuBQE02.js +0 -18716
- package/dist/useSseClient-DbWYwuT8.js +0 -524
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-inventory-portal",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0-dev.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"xlsx": "^0.18.5",
|
|
55
55
|
"@feedmepos/inventory-core-2": "^2.0.0",
|
|
56
56
|
"@feedmepos/inventory-core": "^1.0.2-dev.8",
|
|
57
|
-
"@feedmepos/inventory-core-js": "^1.0.1",
|
|
58
57
|
"@feedmepos/netsuite-core": "^1.0.0",
|
|
58
|
+
"@feedmepos/inventory-core-js": "^1.0.1",
|
|
59
59
|
"@feedmepos/inventory-core-dart": "^1.0.0",
|
|
60
60
|
"@feedmepos/zod-inventory": "^2.0.0"
|
|
61
61
|
},
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
import { defineComponent as z, computed as k, ref as O, resolveComponent as g, openBlock as l, createElementBlock as i, createVNode as _, withCtx as R, createElementVNode as m, Fragment as w, createTextVNode as I, toDisplayString as $, unref as t, createBlock as d, createCommentVNode as b, renderList as S, mergeModels as j, useModel as N, renderSlot as H, normalizeClass as T } from "vue";
|
|
2
|
-
import { useCoreStore as W, useI18n as D } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as q } from "./app-CnwVdB-r.js";
|
|
4
|
-
import { _ as G } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DTeWGr5O.js";
|
|
5
|
-
import { useBreakpoints as J } from "@feedmepos/ui-library";
|
|
6
|
-
import { u as K } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
7
|
-
import { D as A } from "./app-DiX-EfV6.js";
|
|
8
|
-
import { F as P } from "./FmAdminBadge-DjnBAgyv.js";
|
|
9
|
-
const X = { class: "inline-flex" }, Y = { 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" }, Z = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, ee = { class: "relative" }, oe = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, le = /* @__PURE__ */ z({
|
|
10
|
-
__name: "ChangeLocationComponent",
|
|
11
|
-
props: {
|
|
12
|
-
showBusiness: { type: Boolean }
|
|
13
|
-
},
|
|
14
|
-
setup(x) {
|
|
15
|
-
const a = q(), y = W(), B = k(() => {
|
|
16
|
-
var e;
|
|
17
|
-
return (e = y.currentBusiness.value) == null ? void 0 : e.name;
|
|
18
|
-
}), { t: c } = D(), v = O(""), r = k({
|
|
19
|
-
get() {
|
|
20
|
-
return a.businessLevel;
|
|
21
|
-
},
|
|
22
|
-
set(e) {
|
|
23
|
-
a.businessLevel = e;
|
|
24
|
-
}
|
|
25
|
-
}), p = k(
|
|
26
|
-
() => a.locations.map((e) => ({
|
|
27
|
-
label: e.name,
|
|
28
|
-
value: e.dbName,
|
|
29
|
-
type: e.type,
|
|
30
|
-
code: e.doc.profile.code ?? "--"
|
|
31
|
-
})).filter((e) => {
|
|
32
|
-
var f;
|
|
33
|
-
if (!v.value) return !0;
|
|
34
|
-
const o = v.value.toLocaleLowerCase();
|
|
35
|
-
return e.label.toLocaleLowerCase().includes(o) || ((f = e.code) == null ? void 0 : f.toLocaleLowerCase().includes(o));
|
|
36
|
-
})
|
|
37
|
-
), n = k(
|
|
38
|
-
() => p.value.filter((e) => e.type === "restaurant")
|
|
39
|
-
), s = k(
|
|
40
|
-
() => p.value.filter((e) => e.type === "warehouse")
|
|
41
|
-
);
|
|
42
|
-
function M({ value: e }) {
|
|
43
|
-
r.value = !1, a.selectLocation(a.locations.find((o) => o.dbName === e));
|
|
44
|
-
}
|
|
45
|
-
return (e, o) => {
|
|
46
|
-
const f = g("FmIcon"), Q = g("FmSearch"), C = g("FmMenuItem"), E = g("FmMenu");
|
|
47
|
-
return l(), i("div", X, [
|
|
48
|
-
_(E, { "close-on-click": !0 }, {
|
|
49
|
-
"menu-button": R(() => [
|
|
50
|
-
m("div", Y, [
|
|
51
|
-
_(f, {
|
|
52
|
-
name: e.showBusiness && r.value ? "store" : "storefront",
|
|
53
|
-
size: "sm"
|
|
54
|
-
}, null, 8, ["name"]),
|
|
55
|
-
m("div", Z, [
|
|
56
|
-
e.showBusiness && r.value ? (l(), i(w, { key: 0 }, [
|
|
57
|
-
I($(B.value), 1)
|
|
58
|
-
], 64)) : t(a)._currentLocation ? (l(), i(w, { key: 1 }, [
|
|
59
|
-
I($(t(a)._currentLocation.name) + " (" + $(t(a)._currentLocation.doc.profile.code ?? "--") + ") ", 1)
|
|
60
|
-
], 64)) : (l(), i(w, { key: 2 }, [
|
|
61
|
-
I($(t(c)("inventory.common.noLocationSelected")), 1)
|
|
62
|
-
], 64))
|
|
63
|
-
]),
|
|
64
|
-
_(f, {
|
|
65
|
-
name: "expand_more",
|
|
66
|
-
size: "sm"
|
|
67
|
-
})
|
|
68
|
-
])
|
|
69
|
-
]),
|
|
70
|
-
default: R(() => [
|
|
71
|
-
m("div", ee, [
|
|
72
|
-
m("div", oe, [
|
|
73
|
-
_(Q, {
|
|
74
|
-
"model-value": v.value,
|
|
75
|
-
"onUpdate:modelValue": o[0] || (o[0] = (u) => v.value = u),
|
|
76
|
-
placeholder: t(c)("inventory.common.table.toolbar.filterItems")
|
|
77
|
-
}, null, 8, ["model-value", "placeholder"])
|
|
78
|
-
]),
|
|
79
|
-
m("div", null, [
|
|
80
|
-
e.showBusiness ? (l(), d(C, {
|
|
81
|
-
key: 0,
|
|
82
|
-
"model-value": r.value,
|
|
83
|
-
label: B.value,
|
|
84
|
-
sublabel: "Business",
|
|
85
|
-
onClick: o[1] || (o[1] = (u) => r.value = !0)
|
|
86
|
-
}, null, 8, ["model-value", "label"])) : b("", !0),
|
|
87
|
-
(l(!0), i(w, null, S(n.value, (u) => {
|
|
88
|
-
var L;
|
|
89
|
-
return l(), d(C, {
|
|
90
|
-
key: u.value,
|
|
91
|
-
"model-value": !r.value && ((L = t(a)._currentLocation) == null ? void 0 : L.dbName) === u.value,
|
|
92
|
-
label: `${u.label} (${u.code})`,
|
|
93
|
-
sublabel: "Restaurant",
|
|
94
|
-
onClick: (h) => M(u),
|
|
95
|
-
onVnodeMounted: (h) => {
|
|
96
|
-
var V, F, U;
|
|
97
|
-
return !r.value && ((V = t(a)._currentLocation) == null ? void 0 : V.dbName) === u.value && ((F = h.el) == null || F.scrollIntoView({ behavior: "instant", block: "end" }), (U = h.el) == null || U.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
98
|
-
}
|
|
99
|
-
}, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
|
|
100
|
-
}), 128)),
|
|
101
|
-
(l(!0), i(w, null, S(s.value, (u) => {
|
|
102
|
-
var L;
|
|
103
|
-
return l(), d(C, {
|
|
104
|
-
key: u.value,
|
|
105
|
-
"model-value": !r.value && ((L = t(a)._currentLocation) == null ? void 0 : L.dbName) === u.value,
|
|
106
|
-
label: u.label,
|
|
107
|
-
sublabel: "Warehouse",
|
|
108
|
-
onClick: (h) => M(u),
|
|
109
|
-
onVnodeMounted: (h) => {
|
|
110
|
-
var V, F;
|
|
111
|
-
return !r.value && ((V = t(a)._currentLocation) == null ? void 0 : V.dbName) === u.value && ((F = h.el) == null || F.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
112
|
-
}
|
|
113
|
-
}, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
|
|
114
|
-
}), 128)),
|
|
115
|
-
!e.showBusiness && !n.value.length && !s.value.length ? (l(), d(C, {
|
|
116
|
-
key: 1,
|
|
117
|
-
disabled: "",
|
|
118
|
-
label: t(c)("inventory.common.noResultFound")
|
|
119
|
-
}, null, 8, ["label"])) : b("", !0)
|
|
120
|
-
])
|
|
121
|
-
])
|
|
122
|
-
]),
|
|
123
|
-
_: 1
|
|
124
|
-
})
|
|
125
|
-
]);
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
}), te = { class: "flex-1 w-full flex items-center gap-4 xs:flex-col-reverse sm:flex-col-reverse" }, ne = {
|
|
129
|
-
key: 0,
|
|
130
|
-
class: "flex-1 xs:w-full sm:w-full"
|
|
131
|
-
}, ae = {
|
|
132
|
-
key: 1,
|
|
133
|
-
class: "flex-1"
|
|
134
|
-
}, se = { class: "w-full max-w-[343px] xs:max-w-[unset] sm:max-w-[unset]" }, fe = /* @__PURE__ */ z({
|
|
135
|
-
__name: "FmInventoryTableToolbar",
|
|
136
|
-
props: /* @__PURE__ */ j({
|
|
137
|
-
dateRangeQuery: { type: Boolean },
|
|
138
|
-
changeLocation: { type: Boolean },
|
|
139
|
-
searchable: { type: Boolean },
|
|
140
|
-
hideFilterOptions: { type: Boolean },
|
|
141
|
-
filterable: { type: Boolean },
|
|
142
|
-
filterAttributes: {},
|
|
143
|
-
actions: {},
|
|
144
|
-
usingBusinessHelperText: {},
|
|
145
|
-
showBusiness: { type: Boolean }
|
|
146
|
-
}, {
|
|
147
|
-
search: {},
|
|
148
|
-
searchModifiers: {},
|
|
149
|
-
filter: {},
|
|
150
|
-
filterModifiers: {},
|
|
151
|
-
dateRange: {},
|
|
152
|
-
dateRangeModifiers: {}
|
|
153
|
-
}),
|
|
154
|
-
emits: ["update:search", "update:filter", "update:dateRange"],
|
|
155
|
-
setup(x) {
|
|
156
|
-
const { breakpoints: a } = J(), y = k(() => a.value.xs || a.value.sm), B = N(x, "search"), c = N(x, "filter"), v = N(x, "dateRange"), { t: r } = D(), p = K();
|
|
157
|
-
return (n, s) => {
|
|
158
|
-
const M = g("FmTextField"), e = g("FmButton");
|
|
159
|
-
return l(), i("div", {
|
|
160
|
-
class: "flex flex-col gap-8",
|
|
161
|
-
onVnodeMounted: s[4] || (s[4] = //@ts-ignore
|
|
162
|
-
(...o) => t(p).onMounted && t(p).onMounted(...o)),
|
|
163
|
-
onVnodeUnmounted: s[5] || (s[5] = //@ts-ignore
|
|
164
|
-
(...o) => t(p).onUnmounted && t(p).onUnmounted(...o))
|
|
165
|
-
}, [
|
|
166
|
-
H(n.$slots, "default"),
|
|
167
|
-
m("div", {
|
|
168
|
-
class: T([
|
|
169
|
-
"flex gap-8 items-center",
|
|
170
|
-
{
|
|
171
|
-
"px-8 flex-col-reverse h-[unset]": y.value,
|
|
172
|
-
"h-48": !y.value
|
|
173
|
-
}
|
|
174
|
-
])
|
|
175
|
-
}, [
|
|
176
|
-
n.changeLocation || n.dateRangeQuery ? (l(), i("div", {
|
|
177
|
-
key: 0,
|
|
178
|
-
class: T([
|
|
179
|
-
"flex gap-8 items-center",
|
|
180
|
-
{
|
|
181
|
-
"w-full overflow-x-auto": y.value
|
|
182
|
-
}
|
|
183
|
-
])
|
|
184
|
-
}, [
|
|
185
|
-
n.changeLocation ? (l(), d(le, {
|
|
186
|
-
key: 0,
|
|
187
|
-
"show-business": n.showBusiness
|
|
188
|
-
}, null, 8, ["show-business"])) : b("", !0),
|
|
189
|
-
n.dateRangeQuery ? (l(), d(G, {
|
|
190
|
-
key: 1,
|
|
191
|
-
"model-value": v.value,
|
|
192
|
-
"onUpdate:modelValue": s[0] || (s[0] = (o) => v.value = o)
|
|
193
|
-
}, null, 8, ["model-value"])) : b("", !0)
|
|
194
|
-
], 2)) : b("", !0),
|
|
195
|
-
m("div", te, [
|
|
196
|
-
n.filterable && n.filterAttributes ? (l(), i("div", ne, [
|
|
197
|
-
n.hideFilterOptions ? (l(), d(P, { key: 1 }, {
|
|
198
|
-
default: R(() => [
|
|
199
|
-
_(t(A), {
|
|
200
|
-
modelValue: c.value,
|
|
201
|
-
"onUpdate:modelValue": s[2] || (s[2] = (o) => c.value = o),
|
|
202
|
-
attributes: n.filterAttributes
|
|
203
|
-
}, null, 8, ["modelValue", "attributes"])
|
|
204
|
-
]),
|
|
205
|
-
_: 1
|
|
206
|
-
})) : (l(), d(t(A), {
|
|
207
|
-
key: 0,
|
|
208
|
-
modelValue: c.value,
|
|
209
|
-
"onUpdate:modelValue": s[1] || (s[1] = (o) => c.value = o),
|
|
210
|
-
attributes: n.filterAttributes
|
|
211
|
-
}, null, 8, ["modelValue", "attributes"]))
|
|
212
|
-
])) : y.value ? b("", !0) : (l(), i("div", ae)),
|
|
213
|
-
m("div", se, [
|
|
214
|
-
n.searchable ? (l(), d(M, {
|
|
215
|
-
key: 0,
|
|
216
|
-
"model-value": B.value,
|
|
217
|
-
"onUpdate:modelValue": s[3] || (s[3] = (o) => B.value = o),
|
|
218
|
-
"prepend-icon": "search",
|
|
219
|
-
placeholder: t(r)("inventory.common.table.toolbar.filterItems"),
|
|
220
|
-
class: "w-full"
|
|
221
|
-
}, null, 8, ["model-value", "placeholder"])) : b("", !0)
|
|
222
|
-
]),
|
|
223
|
-
(l(!0), i(w, null, S(n.actions, (o, f) => (l(), d(e, {
|
|
224
|
-
key: f,
|
|
225
|
-
variant: "tertiary",
|
|
226
|
-
"prepend-icon": o.icon,
|
|
227
|
-
onClick: o.onClick
|
|
228
|
-
}, null, 8, ["prepend-icon", "onClick"]))), 128))
|
|
229
|
-
])
|
|
230
|
-
], 2)
|
|
231
|
-
], 512);
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
});
|
|
235
|
-
export {
|
|
236
|
-
fe as _
|
|
237
|
-
};
|