@feedmepos/mf-inventory-portal 1.2.30-dev.1 → 1.2.31-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.
- package/dist/{App-kX4bqoEe.js → App-DfKh34ES.js} +43 -41
- package/dist/{ApprovalView-DCNKqVE2.js → ApprovalView-DyoKsEqh.js} +34 -28
- package/dist/{BindingsDialog-d7f1f8gf.js → BindingsDialog-7rGLzkyA.js} +8 -8
- package/dist/{BindingsPicker-2HJOx0QW.js → BindingsPicker-Cj1DvhQN.js} +6 -5
- package/dist/{BindingsTable-CPAjxOZG.js → BindingsTable-CAreptqr.js} +28 -24
- package/dist/{ClosingDraftView-CUng41eo.js → ClosingDraftView-DoDGz9Y8.js} +183 -175
- package/dist/{ClosingHistoryView-CcGc2NwU.js → ClosingHistoryView-BJSE7ZSv.js} +43 -41
- package/dist/{ClosingTemplateView-D8IAdhDb.js → ClosingTemplateView-Dr2eJk4h.js} +94 -76
- package/dist/{DeliveryOrderPrintPreview-BsM-CCc5.js → DeliveryOrderPrintPreview-BzYLm6J6.js} +15 -14
- package/dist/FmDroppableField-J0xUsOTV.js +154 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-cuggJ5Xd.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-16r_hkBE.js} +74 -72
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Csesow4V.js +279 -0
- package/dist/FmMultiselectDialog-BGhSjgbj.js +597 -0
- package/dist/{FmMultiselectDialog-BGbrqXUF.js → FmMultiselectDialog-DUrpqAkF.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-isogcN1O.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CSv7osJW.js} +51 -49
- package/dist/{ImportView-wAVrMEwL.js → ImportView-BAkyTU_3.js} +81 -74
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVUF4I2Q.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-z0IAsrH_.js} +5 -5
- package/dist/{IngredientGroupView-BZczeXdL.js → IngredientGroupView-D7gurA7T.js} +73 -65
- package/dist/{IngredientsView-D5N5Y1ZY.js → IngredientsView-hwfpMtTX.js} +358 -345
- package/dist/{IntegrationView-Hrslmuc1.js → IntegrationView-DwqzQ6E3.js} +1618 -1593
- package/dist/{InventoryBindingForm-DH6wgxOG.js → InventoryBindingForm-CwjM6Rqk.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Drr5vD6f.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BPr8PDwu.js} +41 -40
- package/dist/{InventoryBindingSummary-BU1ehpQZ.js → InventoryBindingSummary-B7UFFMkm.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-1ueC4GfZ.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Djo2b2Ix.js} +5 -5
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-FHcU1zZt.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BSgGGiN6.js} +22 -21
- package/dist/{PublishView-CQtj0f31.js → PublishView-CA9gFV_r.js} +26 -23
- package/dist/{PurchaseOrderPrintPreview-BQyXtHST.js → PurchaseOrderPrintPreview-BeHd82Y0.js} +10 -9
- package/dist/{ReceiveRequestView-Dm-h_SrY.js → ReceiveRequestView-DEthRdM1.js} +472 -456
- package/dist/{RecipeView-DNNRvr1w.js → RecipeView-D45gkYHY.js} +73 -64
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js +251 -0
- package/dist/{StockView-CaOm5BCx.js → StockView-COx7A4Ac.js} +292 -282
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Z91XRszD.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DX35xDkm.js} +1 -1
- package/dist/{SupplierView-JSII9qwL.js → SupplierView-DHM3dJMZ.js} +92 -80
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bg2K2ULw.js +177 -0
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +135 -0
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CyMEGFh5.js +123 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Mehd4lGs.js → TransferDetails.vue_vue_type_script_setup_true_lang-CVm2bXic.js} +318 -305
- package/dist/{TransferTemplateView-DyCpNKJd.js → TransferTemplateView-BtYozLuk.js} +228 -216
- package/dist/{UnitView-CqN7mlJ2.js → UnitView-B4mqodQa.js} +70 -63
- package/dist/{WarehouseView-gFWD-m8e.js → WarehouseView-CjDM8L_V.js} +123 -114
- package/dist/WastageTemplateView-Be4Y_zV8.js +2288 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/api/netsuite.d.ts +9 -3
- package/dist/app-DYsP0gKj.js +64121 -0
- package/dist/app-rgirz_52.js +8024 -0
- package/dist/app.js +6 -6
- package/dist/closing-template-BVy1ga2g.js +117 -0
- package/dist/date2-BO7HiZTk.js +116 -0
- package/dist/dayjs.min-HNt4C1ja.js +282 -0
- package/dist/{decimal-DfF_g5rc.js → decimal-BJ8rKm1R.js} +4 -3
- package/dist/defineDeepModel-CidpVmK7.js +19 -0
- package/dist/duplicate-template-C25Z0lvq.js +34 -0
- package/dist/feature-DCia3aqG.js +20162 -0
- package/dist/form-mode.enum-BKiNVH6A.js +4 -0
- package/dist/format-time-from-id-BPws326b.js +15 -0
- package/dist/{format-unit-display-ivAljvlo.js → format-unit-display-C2P3mS8l.js} +308 -297
- package/dist/{import-export.helper-B2MWv9v7.js → import-export.helper-Dt6ZMAPT.js} +56 -52
- package/dist/{index-DZaT0ZaL.js → index-6zxXdF-V.js} +1 -1
- package/dist/index-BjUDHtA2.js +45 -0
- package/dist/{index-BbhuWHyh.js → index-tZj47B-j.js} +16 -14
- package/dist/lodash-DLMgBu6M.js +3678 -0
- package/dist/netsuite-BSMLXIQa.js +4979 -0
- package/dist/{purchase-order-template-DdybMC_P.js → purchase-order-template-D5NGCbI2.js} +1 -1
- package/dist/router/shared.spec.d.ts +1 -0
- package/dist/row-action.enum-BcW_L_nE.js +67 -0
- package/dist/rules-BiaGzhvQ.js +201 -0
- package/dist/{stock-BYagIdsj.js → stock-DOCQ91Jh.js} +1 -1
- package/dist/{stock-V4ciPiBe.js → stock-Ty-89Ap8.js} +11 -10
- package/dist/stores/integration/netsuite.d.ts +5 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-CgtB1I9I.js → supplier-Dxb5ULjF.js} +27 -26
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BIQovyZX.js → use-ingredient-select-dialog-BI0yIG6A.js} +4 -3
- package/dist/{use-inventory-binding-dialog-DyjicXgc.js → use-inventory-binding-dialog-CbZC-VuL.js} +4 -3
- package/dist/use-template-enabled-locations-2-Dhttpl0B.js +111 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1 -1
- package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +6 -2
- package/dist/vue-i18n-Cqx7gNJF.js +2365 -0
- package/dist/xlsx-ex8Bmftq.js +24004 -0
- package/dist/xlsx.util-C8YXEqEl.js +78 -0
- package/package.json +2 -2
- package/dist/app-CnQ49Lyb.js +0 -131483
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import { defineComponent as I, computed as g, ref as z, resolveComponent as h, openBlock as n, createElementBlock as y, createVNode as _, withCtx as L, createElementVNode as f, toDisplayString as Y, unref as u, createBlock as p, createCommentVNode as w, Fragment as $, renderList as R, watch as E, mergeModels as O, useModel as C, renderSlot as H, normalizeClass as S } from "vue";
|
|
2
|
+
import { useCoreStore as W, useI18n as P } from "@feedmepos/mf-common";
|
|
3
|
+
import { u as q } from "./app-DYsP0gKj.js";
|
|
4
|
+
import { d as U } from "./date2-BO7HiZTk.js";
|
|
5
|
+
import { useBreakpoints as G } from "@feedmepos/ui-library";
|
|
6
|
+
import { u as J, F as K } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
7
|
+
import { b as A } from "./app-rgirz_52.js";
|
|
8
|
+
const X = { class: "inline-flex" }, Z = { 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" }, ee = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, te = { class: "relative" }, oe = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, ne = /* @__PURE__ */ I({
|
|
9
|
+
__name: "ChangeLocationComponent",
|
|
10
|
+
props: {
|
|
11
|
+
showBusiness: { type: Boolean }
|
|
12
|
+
},
|
|
13
|
+
setup(i) {
|
|
14
|
+
const o = q(), m = W(), c = g(() => {
|
|
15
|
+
var e;
|
|
16
|
+
return (e = m.currentBusiness.value) == null ? void 0 : e.name;
|
|
17
|
+
}), { t: v } = P(), d = z(""), a = g({
|
|
18
|
+
get() {
|
|
19
|
+
return o.businessLevel;
|
|
20
|
+
},
|
|
21
|
+
set(e) {
|
|
22
|
+
o.businessLevel = e;
|
|
23
|
+
}
|
|
24
|
+
}), b = g(
|
|
25
|
+
() => o.locations.map((e) => ({ label: e.name, value: e.dbName, type: e.type })).filter(
|
|
26
|
+
(e) => d.value ? e.label.toLocaleLowerCase().includes(d.value.toLocaleLowerCase()) : !0
|
|
27
|
+
)
|
|
28
|
+
), l = g(
|
|
29
|
+
() => b.value.filter((e) => e.type === "restaurant")
|
|
30
|
+
), s = g(
|
|
31
|
+
() => b.value.filter((e) => e.type === "warehouse")
|
|
32
|
+
);
|
|
33
|
+
function B({ value: e }) {
|
|
34
|
+
a.value = !1, o.selectLocation(o.locations.find((t) => t.dbName === e));
|
|
35
|
+
}
|
|
36
|
+
return (e, t) => {
|
|
37
|
+
const M = h("FmIcon"), Q = h("FmSearch"), D = h("FmMenuItem"), j = h("FmMenu");
|
|
38
|
+
return n(), y("div", X, [
|
|
39
|
+
_(j, { "close-on-click": !0 }, {
|
|
40
|
+
"menu-button": L(() => {
|
|
41
|
+
var r;
|
|
42
|
+
return [
|
|
43
|
+
f("div", Z, [
|
|
44
|
+
_(M, {
|
|
45
|
+
name: e.showBusiness && a.value ? "store" : "storefront",
|
|
46
|
+
size: "sm"
|
|
47
|
+
}, null, 8, ["name"]),
|
|
48
|
+
f("div", ee, Y(e.showBusiness && a.value ? c.value : ((r = u(o)._currentLocation) == null ? void 0 : r.name) ?? u(v)("inventory.common.noLocationSelected")), 1),
|
|
49
|
+
_(M, {
|
|
50
|
+
name: "expand_more",
|
|
51
|
+
size: "sm"
|
|
52
|
+
})
|
|
53
|
+
])
|
|
54
|
+
];
|
|
55
|
+
}),
|
|
56
|
+
default: L(() => [
|
|
57
|
+
f("div", te, [
|
|
58
|
+
f("div", oe, [
|
|
59
|
+
_(Q, {
|
|
60
|
+
"model-value": d.value,
|
|
61
|
+
"onUpdate:modelValue": t[0] || (t[0] = (r) => d.value = r),
|
|
62
|
+
placeholder: u(v)("inventory.common.table.toolbar.filterItems")
|
|
63
|
+
}, null, 8, ["model-value", "placeholder"])
|
|
64
|
+
]),
|
|
65
|
+
f("div", null, [
|
|
66
|
+
e.showBusiness ? (n(), p(D, {
|
|
67
|
+
key: 0,
|
|
68
|
+
"model-value": a.value,
|
|
69
|
+
label: c.value,
|
|
70
|
+
sublabel: "Business",
|
|
71
|
+
onClick: t[1] || (t[1] = (r) => a.value = !0)
|
|
72
|
+
}, null, 8, ["model-value", "label"])) : w("", !0),
|
|
73
|
+
(n(!0), y($, null, R(l.value, (r) => {
|
|
74
|
+
var V;
|
|
75
|
+
return n(), p(D, {
|
|
76
|
+
key: r.value,
|
|
77
|
+
"model-value": !a.value && ((V = u(o)._currentLocation) == null ? void 0 : V.dbName) === r.value,
|
|
78
|
+
label: r.label,
|
|
79
|
+
sublabel: "Restaurant",
|
|
80
|
+
onClick: (k) => B(r),
|
|
81
|
+
onVnodeMounted: (k) => {
|
|
82
|
+
var F, x, N;
|
|
83
|
+
return !a.value && ((F = u(o)._currentLocation) == null ? void 0 : F.dbName) === r.value && ((x = k.el) == null || x.scrollIntoView({ behavior: "instant", block: "end" }), (N = k.el) == null || N.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
84
|
+
}
|
|
85
|
+
}, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
|
|
86
|
+
}), 128)),
|
|
87
|
+
(n(!0), y($, null, R(s.value, (r) => {
|
|
88
|
+
var V;
|
|
89
|
+
return n(), p(D, {
|
|
90
|
+
key: r.value,
|
|
91
|
+
"model-value": !a.value && ((V = u(o)._currentLocation) == null ? void 0 : V.dbName) === r.value,
|
|
92
|
+
label: r.label,
|
|
93
|
+
sublabel: "Warehouse",
|
|
94
|
+
onClick: (k) => B(r),
|
|
95
|
+
onVnodeMounted: (k) => {
|
|
96
|
+
var F, x;
|
|
97
|
+
return !a.value && ((F = u(o)._currentLocation) == null ? void 0 : F.dbName) === r.value && ((x = k.el) == null || x.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
98
|
+
}
|
|
99
|
+
}, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
|
|
100
|
+
}), 128)),
|
|
101
|
+
!e.showBusiness && !l.value.length && !s.value.length ? (n(), p(D, {
|
|
102
|
+
key: 1,
|
|
103
|
+
disabled: "",
|
|
104
|
+
label: u(v)("inventory.common.noResultFound")
|
|
105
|
+
}, null, 8, ["label"])) : w("", !0)
|
|
106
|
+
])
|
|
107
|
+
])
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
})
|
|
111
|
+
]);
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
function he() {
|
|
116
|
+
const i = /* @__PURE__ */ new Date();
|
|
117
|
+
return i.setDate(i.getDate() - 15), {
|
|
118
|
+
start: i,
|
|
119
|
+
end: /* @__PURE__ */ new Date()
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function T(i = 15) {
|
|
123
|
+
const o = /* @__PURE__ */ new Date();
|
|
124
|
+
o.setDate(o.getDate() - i);
|
|
125
|
+
const m = o, c = /* @__PURE__ */ new Date();
|
|
126
|
+
return {
|
|
127
|
+
startDate: `${U(m)}`,
|
|
128
|
+
endDate: `${U(c)}`
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
const le = { 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" }, ae = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, se = /* @__PURE__ */ I({
|
|
132
|
+
__name: "FmDateRangePickerChip",
|
|
133
|
+
props: {
|
|
134
|
+
modelValue: { default: (i) => i.modelValue ?? T() }
|
|
135
|
+
},
|
|
136
|
+
emits: ["update:modelValue"],
|
|
137
|
+
setup(i, { emit: o }) {
|
|
138
|
+
const m = o, c = z(T());
|
|
139
|
+
E(c, (d) => {
|
|
140
|
+
m("update:modelValue", d);
|
|
141
|
+
});
|
|
142
|
+
const v = g(() => {
|
|
143
|
+
const { startDate: d, endDate: a } = c.value;
|
|
144
|
+
return !d && !a ? "" : `${d} - ${a}`;
|
|
145
|
+
});
|
|
146
|
+
return (d, a) => {
|
|
147
|
+
const b = h("FmIcon"), l = h("FmDateRangePicker");
|
|
148
|
+
return n(), p(l, {
|
|
149
|
+
"show-predefined-range": "",
|
|
150
|
+
modelValue: c.value,
|
|
151
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => c.value = s),
|
|
152
|
+
"start-label": "",
|
|
153
|
+
"end-label": ""
|
|
154
|
+
}, {
|
|
155
|
+
"trigger-button": L(() => [
|
|
156
|
+
f("div", le, [
|
|
157
|
+
_(b, {
|
|
158
|
+
name: "calendar_month",
|
|
159
|
+
size: "sm"
|
|
160
|
+
}),
|
|
161
|
+
f("div", ae, Y(v.value), 1)
|
|
162
|
+
])
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
}, 8, ["modelValue"]);
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
}), re = { class: "flex-1 w-full flex items-center gap-4 xs:flex-col-reverse sm:flex-col-reverse" }, ue = {
|
|
169
|
+
key: 0,
|
|
170
|
+
class: "flex-1 xs:w-full sm:w-full"
|
|
171
|
+
}, ie = {
|
|
172
|
+
key: 1,
|
|
173
|
+
class: "flex-1"
|
|
174
|
+
}, de = { class: "w-full max-w-[343px] xs:max-w-[unset] sm:max-w-[unset]" }, ge = /* @__PURE__ */ I({
|
|
175
|
+
__name: "FmInventoryTableToolbar",
|
|
176
|
+
props: /* @__PURE__ */ O({
|
|
177
|
+
dateRangeQuery: { type: Boolean },
|
|
178
|
+
changeLocation: { type: Boolean },
|
|
179
|
+
searchable: { type: Boolean },
|
|
180
|
+
hideFilterOptions: { type: Boolean },
|
|
181
|
+
filterable: { type: Boolean },
|
|
182
|
+
filterAttributes: {},
|
|
183
|
+
actions: {},
|
|
184
|
+
usingBusinessHelperText: {},
|
|
185
|
+
showBusiness: { type: Boolean }
|
|
186
|
+
}, {
|
|
187
|
+
search: {},
|
|
188
|
+
searchModifiers: {},
|
|
189
|
+
filter: {},
|
|
190
|
+
filterModifiers: {},
|
|
191
|
+
dateRange: {},
|
|
192
|
+
dateRangeModifiers: {}
|
|
193
|
+
}),
|
|
194
|
+
emits: ["update:search", "update:filter", "update:dateRange"],
|
|
195
|
+
setup(i) {
|
|
196
|
+
const { breakpoints: o } = G(), m = g(() => o.value.xs || o.value.sm), c = C(i, "search"), v = C(i, "filter"), d = C(i, "dateRange"), { t: a } = P(), b = J();
|
|
197
|
+
return (l, s) => {
|
|
198
|
+
const B = h("FmTextField"), e = h("FmButton");
|
|
199
|
+
return n(), y("div", {
|
|
200
|
+
class: "flex flex-col gap-8",
|
|
201
|
+
onVnodeMounted: s[4] || (s[4] = //@ts-ignore
|
|
202
|
+
(...t) => u(b).onMounted && u(b).onMounted(...t)),
|
|
203
|
+
onVnodeUnmounted: s[5] || (s[5] = //@ts-ignore
|
|
204
|
+
(...t) => u(b).onUnmounted && u(b).onUnmounted(...t))
|
|
205
|
+
}, [
|
|
206
|
+
H(l.$slots, "default"),
|
|
207
|
+
f("div", {
|
|
208
|
+
class: S([
|
|
209
|
+
"flex gap-8 items-center",
|
|
210
|
+
{
|
|
211
|
+
"px-8 flex-col-reverse h-[unset]": m.value,
|
|
212
|
+
"h-48": !m.value
|
|
213
|
+
}
|
|
214
|
+
])
|
|
215
|
+
}, [
|
|
216
|
+
l.changeLocation || l.dateRangeQuery ? (n(), y("div", {
|
|
217
|
+
key: 0,
|
|
218
|
+
class: S([
|
|
219
|
+
"flex gap-8 items-center",
|
|
220
|
+
{
|
|
221
|
+
"w-full overflow-x-auto": m.value
|
|
222
|
+
}
|
|
223
|
+
])
|
|
224
|
+
}, [
|
|
225
|
+
l.changeLocation ? (n(), p(ne, {
|
|
226
|
+
key: 0,
|
|
227
|
+
"show-business": l.showBusiness
|
|
228
|
+
}, null, 8, ["show-business"])) : w("", !0),
|
|
229
|
+
l.dateRangeQuery ? (n(), p(se, {
|
|
230
|
+
key: 1,
|
|
231
|
+
"model-value": d.value,
|
|
232
|
+
"onUpdate:modelValue": s[0] || (s[0] = (t) => d.value = t)
|
|
233
|
+
}, null, 8, ["model-value"])) : w("", !0)
|
|
234
|
+
], 2)) : w("", !0),
|
|
235
|
+
f("div", re, [
|
|
236
|
+
l.filterable && l.filterAttributes ? (n(), y("div", ue, [
|
|
237
|
+
l.hideFilterOptions ? (n(), p(K, { key: 1 }, {
|
|
238
|
+
default: L(() => [
|
|
239
|
+
_(u(A), {
|
|
240
|
+
modelValue: v.value,
|
|
241
|
+
"onUpdate:modelValue": s[2] || (s[2] = (t) => v.value = t),
|
|
242
|
+
attributes: l.filterAttributes
|
|
243
|
+
}, null, 8, ["modelValue", "attributes"])
|
|
244
|
+
]),
|
|
245
|
+
_: 1
|
|
246
|
+
})) : (n(), p(u(A), {
|
|
247
|
+
key: 0,
|
|
248
|
+
modelValue: v.value,
|
|
249
|
+
"onUpdate:modelValue": s[1] || (s[1] = (t) => v.value = t),
|
|
250
|
+
attributes: l.filterAttributes
|
|
251
|
+
}, null, 8, ["modelValue", "attributes"]))
|
|
252
|
+
])) : m.value ? w("", !0) : (n(), y("div", ie)),
|
|
253
|
+
f("div", de, [
|
|
254
|
+
l.searchable ? (n(), p(B, {
|
|
255
|
+
key: 0,
|
|
256
|
+
"model-value": c.value,
|
|
257
|
+
"onUpdate:modelValue": s[3] || (s[3] = (t) => c.value = t),
|
|
258
|
+
"prepend-icon": "search",
|
|
259
|
+
placeholder: u(a)("inventory.common.table.toolbar.filterItems"),
|
|
260
|
+
class: "w-full"
|
|
261
|
+
}, null, 8, ["model-value", "placeholder"])) : w("", !0)
|
|
262
|
+
]),
|
|
263
|
+
(n(!0), y($, null, R(l.actions, (t, M) => (n(), p(e, {
|
|
264
|
+
key: M,
|
|
265
|
+
variant: "tertiary",
|
|
266
|
+
"prepend-icon": t.icon,
|
|
267
|
+
onClick: t.onClick
|
|
268
|
+
}, null, 8, ["prepend-icon", "onClick"]))), 128))
|
|
269
|
+
])
|
|
270
|
+
], 2)
|
|
271
|
+
], 512);
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
export {
|
|
276
|
+
ge as _,
|
|
277
|
+
he as a,
|
|
278
|
+
T as i
|
|
279
|
+
};
|