@feedmepos/mf-hrm-portal 2.0.6-dev.1 → 2.0.6
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/{AuditLogList-C23_MiyK.js → AuditLogList-mk1RbMXf.js} +6 -7
- package/dist/{EmployeeList-vXPEVqoh.js → EmployeeList-BLzCroKt.js} +169 -164
- package/dist/{Main-k56Iy_zg.js → Main-Iq4fp839.js} +7 -8
- package/dist/{Main-DC9H9bAs.js → Main-LIt4hYn8.js} +10 -11
- package/dist/{PermissionSetList-B8tJCNpR.js → PermissionSetList-CNvdnZEw.js} +52 -53
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BPJpVG8_.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DCT_Y6Am.js} +755 -756
- package/dist/{RoleList-C5WA3Kxu.js → RoleList-AMggFB4w.js} +24 -26
- package/dist/{TeamMemberList-Ic-iWBHd.js → TeamMemberList-DaWjvODe.js} +9 -10
- package/dist/{TimesheetList-DlGpcOUp.js → TimesheetList-Dp_1EjAA.js} +10 -11
- package/dist/{app-D0xH_99A.js → app-CCkFz3PM.js} +694 -959
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-C1rTVn8X.js → dayjs.min-DVRxgWXl.js} +1 -1
- package/dist/{employee-BK4sYiRy.js → employee-8mSXAzs-.js} +20 -21
- package/dist/{index-DSAB4vz3.js → index-C_69XbrV.js} +1 -1
- package/dist/{iteration-BSGKcAZm.js → index-Cq17YHgg.js} +4430 -3468
- package/dist/{lodash-CeTePH4O.js → lodash-J0KOvkWp.js} +1 -1
- package/dist/src/api/index.d.ts +1 -3
- package/dist/src/router/shared.d.ts +1 -2
- package/dist/{team-B25hRkju.js → team-CRqSHpKv.js} +1 -1
- package/dist/{timesheet-C8oy-bxz.js → timesheet-XhZUvI_q.js} +9 -10
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-WGnUS7Wm.js → useAppStore-CI8j71j-.js} +1 -1
- package/dist/{useLoading-BCi2g_rf.js → useLoading-DynadGXC.js} +1 -1
- package/dist/{useReportPermissions--LOfl1e-.js → useReportPermissions-BqGXho47.js} +11 -12
- package/dist/useRestaurantMap-D5BNPLKh.js +107 -0
- package/package.json +2 -2
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +0 -71
- package/dist/HorizontalSplitter-o860F4xM.js +0 -12
- package/dist/Main-CQWe1-SW.js +0 -599
- package/dist/index-C2ubYSVV.js +0 -968
- package/dist/src/api/grant-user/index.d.ts +0 -8
- package/dist/src/stores/grant-user.d.ts +0 -86
- package/dist/src/types/grant-user.d.ts +0 -27
- package/dist/src/views/grant/GrantUserList.vue.d.ts +0 -17
- package/dist/src/views/grant/Main.vue.d.ts +0 -2
- package/dist/src/views/grant/components/GrantUserForm.vue.d.ts +0 -17
- package/dist/src/views/grant/locales/index.d.ts +0 -232
- package/dist/useRestaurantMap-e9fQJiLC.js +0 -39
|
@@ -4,15 +4,14 @@ import { useI18n as N } from "@feedmepos/mf-common";
|
|
|
4
4
|
import { _ as g } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
5
|
import { _ as h } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
6
6
|
import "@feedmepos/ui-library";
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
import "./index-DSAB4vz3.js";
|
|
7
|
+
import "./index-Cq17YHgg.js";
|
|
8
|
+
import { R as v } from "./app-CCkFz3PM.js";
|
|
9
|
+
import "./useAppStore-CI8j71j-.js";
|
|
10
|
+
import "./index-C_69XbrV.js";
|
|
12
11
|
/* empty css */
|
|
13
12
|
/* empty css */
|
|
14
|
-
import "./team-
|
|
15
|
-
const w = { class: "space-y-24" },
|
|
13
|
+
import "./team-CRqSHpKv.js";
|
|
14
|
+
const w = { class: "space-y-24" }, P = /* @__PURE__ */ V({
|
|
16
15
|
__name: "Main",
|
|
17
16
|
setup(x) {
|
|
18
17
|
const { t: a } = N(), f = k(), R = F(), _ = u(), b = u(), t = u("member");
|
|
@@ -83,5 +82,5 @@ const w = { class: "space-y-24" }, Q = /* @__PURE__ */ V({
|
|
|
83
82
|
}
|
|
84
83
|
});
|
|
85
84
|
export {
|
|
86
|
-
|
|
85
|
+
P as default
|
|
87
86
|
};
|
|
@@ -3,17 +3,16 @@ import { useRouter as of, useRoute as cf } from "vue-router";
|
|
|
3
3
|
import { useCoreStore as hf, useI18n as uf } from "@feedmepos/mf-common";
|
|
4
4
|
import { _ as vf } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
5
|
import { _ as pf } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
6
|
-
import { u as df } from "./useAppStore-
|
|
6
|
+
import { u as df } from "./useAppStore-CI8j71j-.js";
|
|
7
7
|
import "@feedmepos/ui-library";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { u as mf } from "./employee-
|
|
10
|
-
import "./lodash-
|
|
11
|
-
import "./
|
|
12
|
-
import { R as vt } from "./app-
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./timesheet-C8oy-bxz.js";
|
|
9
|
+
import { u as mf } from "./employee-8mSXAzs-.js";
|
|
10
|
+
import "./lodash-J0KOvkWp.js";
|
|
11
|
+
import "./index-Cq17YHgg.js";
|
|
12
|
+
import { R as vt } from "./app-CCkFz3PM.js";
|
|
13
|
+
import "./useReportPermissions-BqGXho47.js";
|
|
14
|
+
import "./dayjs.min-DVRxgWXl.js";
|
|
15
|
+
import "./timesheet-XhZUvI_q.js";
|
|
17
16
|
var In = {};
|
|
18
17
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
19
18
|
var jt = {};
|
|
@@ -15484,7 +15483,7 @@ var Yt = {
|
|
|
15484
15483
|
const f2 = {
|
|
15485
15484
|
key: 0,
|
|
15486
15485
|
class: "mr-16"
|
|
15487
|
-
}, l2 = { class: "space-y-24" },
|
|
15486
|
+
}, l2 = { class: "space-y-24" }, y2 = /* @__PURE__ */ rf({
|
|
15488
15487
|
__name: "Main",
|
|
15489
15488
|
setup(e) {
|
|
15490
15489
|
const t = of(), r = cf(), { readTeamMemberPosUserIds: n } = mf(), { restaurants: a, currentBusiness: i, readRestaurants: s } = hf(), { readRoles: f, roles: o } = df(), { t: l } = uf(), c = yn(), d = yn(), p = yn(), v = On({
|
|
@@ -15604,5 +15603,5 @@ const f2 = {
|
|
|
15604
15603
|
}
|
|
15605
15604
|
});
|
|
15606
15605
|
export {
|
|
15607
|
-
|
|
15606
|
+
y2 as default
|
|
15608
15607
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { defineComponent as q, computed as S, resolveComponent as u, createElementBlock as E, openBlock as g, createElementVNode as y, createVNode as r, toDisplayString as N, unref as c, withCtx as P, createTextVNode as te, Fragment as X, renderList as oe, ref as b, createBlock as H, nextTick as ne, onMounted as ie, h as
|
|
1
|
+
import { defineComponent as q, computed as S, resolveComponent as u, createElementBlock as E, openBlock as g, createElementVNode as y, createVNode as r, toDisplayString as N, unref as c, withCtx as P, createTextVNode as te, Fragment as X, renderList as oe, ref as b, createBlock as H, nextTick as ne, onMounted as ie, h as O } from "vue";
|
|
2
2
|
import { useI18n as M, useCoreStore as ae } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Q, useDialog as le, useBreakpoints as re, components as me, FmButtonColorThemeVariant as ce, FmButtonVariant as ue } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { a as ye } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BPJpVG8_.js";
|
|
5
|
+
import { q as K, C as pe, u as Y, m as Z, p as G, v as fe, n as ve, o as A, x as Se, y as _e, z as be, A as he, D as Pe } from "./index-Cq17YHgg.js";
|
|
6
|
+
import { u as ge } from "./useLoading-DynadGXC.js";
|
|
7
|
+
import { i as J } from "./app-CCkFz3PM.js";
|
|
8
|
+
import { a as ye } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DCT_Y6Am.js";
|
|
10
9
|
const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q({
|
|
11
10
|
__name: "PermissionWithTooltip",
|
|
12
11
|
props: {
|
|
@@ -16,8 +15,8 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
16
15
|
}
|
|
17
16
|
},
|
|
18
17
|
setup($) {
|
|
19
|
-
const { customReportPermissions:
|
|
20
|
-
return (
|
|
18
|
+
const { customReportPermissions: R } = K(), t = $, i = S(() => pe(t.modelValue, R.value)), { t: l } = M();
|
|
19
|
+
return (k, C) => {
|
|
21
20
|
const h = u("FmIcon"), F = u("FmTooltip");
|
|
22
21
|
return g(), E("div", Fe, [
|
|
23
22
|
y("span", null, N(c(l)("team.labels.allowed", { count: i.value.length })), 1),
|
|
@@ -44,7 +43,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
44
43
|
]);
|
|
45
44
|
};
|
|
46
45
|
}
|
|
47
|
-
}),
|
|
46
|
+
}), xe = { class: "fm-typo-en-title-md-600" }, we = { class: "flex items-center justify-start gap-8" }, Re = /* @__PURE__ */ q({
|
|
48
47
|
__name: "PermissionSetForm",
|
|
49
48
|
props: {
|
|
50
49
|
modelValue: {
|
|
@@ -52,8 +51,8 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
52
51
|
default: () => ({})
|
|
53
52
|
}
|
|
54
53
|
},
|
|
55
|
-
setup($, { expose:
|
|
56
|
-
const t = $, { t: i } = M(), l = b(!1),
|
|
54
|
+
setup($, { expose: R }) {
|
|
55
|
+
const t = $, { t: i } = M(), l = b(!1), k = S(() => {
|
|
57
56
|
var e;
|
|
58
57
|
return (e = t.modelValue) != null && e.id ? i("permissionSet.form.update.title") : i("permissionSet.form.create.title");
|
|
59
58
|
}), C = b(), h = Q(), F = ge(h), m = Y(), a = b({ ...t.modelValue }), d = b([]), p = b([]), D = [(e) => !!e || "Permission set name is required"], U = S(() => {
|
|
@@ -72,7 +71,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
72
71
|
const e = new Set(o);
|
|
73
72
|
for (const s of L.value) e.add(s.subject);
|
|
74
73
|
return e;
|
|
75
|
-
}),
|
|
74
|
+
}), I = S(() => {
|
|
76
75
|
const e = /* @__PURE__ */ new Set();
|
|
77
76
|
for (const s of G)
|
|
78
77
|
s.category === J.reports && e.add(s.subject);
|
|
@@ -80,7 +79,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
80
79
|
s.category === J.reports && e.add(s.subject);
|
|
81
80
|
return e;
|
|
82
81
|
});
|
|
83
|
-
async function
|
|
82
|
+
async function z() {
|
|
84
83
|
var s, v;
|
|
85
84
|
await ne(), l.value = !l.value, a.value = { ...t.modelValue }, d.value = ((s = t.modelValue) == null ? void 0 : s.permissionSetIds) ?? [];
|
|
86
85
|
const e = ((v = t.modelValue) == null ? void 0 : v.permissions) ?? [];
|
|
@@ -89,23 +88,23 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
89
88
|
e
|
|
90
89
|
);
|
|
91
90
|
}
|
|
92
|
-
function
|
|
93
|
-
const e = A(V.value), s = n.value ? f.value : o, v = Se(p.value, s),
|
|
94
|
-
return he(e,
|
|
91
|
+
function T() {
|
|
92
|
+
const e = A(V.value), s = n.value ? f.value : o, v = Se(p.value, s), x = _e(v, I.value), w = be(x);
|
|
93
|
+
return he(e, w);
|
|
95
94
|
}
|
|
96
95
|
function ee() {
|
|
97
96
|
p.value = A(V.value);
|
|
98
97
|
}
|
|
99
98
|
async function se() {
|
|
100
|
-
var v,
|
|
101
|
-
const e = await ((v = C.value) == null ? void 0 : v.validateInputsWithoutSubmit()), s = (
|
|
99
|
+
var v, x;
|
|
100
|
+
const e = await ((v = C.value) == null ? void 0 : v.validateInputsWithoutSubmit()), s = (x = ae().currentBusiness.value) == null ? void 0 : x.id;
|
|
102
101
|
!(e != null && e.length) && s && F.minor(async () => {
|
|
103
|
-
var
|
|
104
|
-
const
|
|
105
|
-
if ((
|
|
102
|
+
var j;
|
|
103
|
+
const w = T();
|
|
104
|
+
if ((j = t.modelValue) != null && j.id) {
|
|
106
105
|
const B = {
|
|
107
106
|
name: a.value.name,
|
|
108
|
-
permissions:
|
|
107
|
+
permissions: w,
|
|
109
108
|
permissionSetIds: d.value,
|
|
110
109
|
businessId: a.value.businessId
|
|
111
110
|
};
|
|
@@ -114,7 +113,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
114
113
|
const B = {
|
|
115
114
|
name: a.value.name,
|
|
116
115
|
businessId: s,
|
|
117
|
-
permissions:
|
|
116
|
+
permissions: w,
|
|
118
117
|
permissionSetIds: d.value
|
|
119
118
|
};
|
|
120
119
|
await m.createPermissionSet(B);
|
|
@@ -122,10 +121,10 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
122
121
|
l.value = !1;
|
|
123
122
|
});
|
|
124
123
|
}
|
|
125
|
-
return
|
|
126
|
-
trigger:
|
|
124
|
+
return R({
|
|
125
|
+
trigger: z
|
|
127
126
|
}), (e, s) => {
|
|
128
|
-
const v = u("FmTextField"),
|
|
127
|
+
const v = u("FmTextField"), x = u("FmSelect"), w = u("FmForm"), j = u("FmButton"), B = u("FmSideSheet");
|
|
129
128
|
return g(), H(B, {
|
|
130
129
|
modelValue: l.value,
|
|
131
130
|
"onUpdate:modelValue": s[4] || (s[4] = (_) => l.value = _),
|
|
@@ -133,18 +132,18 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
133
132
|
"dismiss-away": ""
|
|
134
133
|
}, {
|
|
135
134
|
"side-sheet-header": P(() => [
|
|
136
|
-
y("p",
|
|
135
|
+
y("p", xe, N(k.value), 1)
|
|
137
136
|
]),
|
|
138
137
|
"side-sheet-footer": P(() => [
|
|
139
|
-
y("div",
|
|
140
|
-
r(
|
|
138
|
+
y("div", we, [
|
|
139
|
+
r(j, {
|
|
141
140
|
label: U.value,
|
|
142
141
|
size: "md",
|
|
143
142
|
variant: "primary",
|
|
144
143
|
type: "submit",
|
|
145
144
|
onClick: se
|
|
146
145
|
}, null, 8, ["label"]),
|
|
147
|
-
r(
|
|
146
|
+
r(j, {
|
|
148
147
|
label: c(i)("common.cancel"),
|
|
149
148
|
size: "md",
|
|
150
149
|
variant: "secondary",
|
|
@@ -153,7 +152,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
153
152
|
])
|
|
154
153
|
]),
|
|
155
154
|
default: P(() => [
|
|
156
|
-
r(
|
|
155
|
+
r(w, {
|
|
157
156
|
ref_key: "formRef",
|
|
158
157
|
ref: C
|
|
159
158
|
}, {
|
|
@@ -165,7 +164,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
165
164
|
placeholder: c(i)("permissionSet.form.namePlaceholder"),
|
|
166
165
|
rules: D
|
|
167
166
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
168
|
-
r(
|
|
167
|
+
r(x, {
|
|
169
168
|
modelValue: d.value,
|
|
170
169
|
"onUpdate:modelValue": [
|
|
171
170
|
s[1] || (s[1] = (_) => d.value = _),
|
|
@@ -193,13 +192,13 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
193
192
|
}, 8, ["modelValue"]);
|
|
194
193
|
};
|
|
195
194
|
}
|
|
196
|
-
}),
|
|
195
|
+
}), ke = { class: "space-y-8" }, Ce = { class: "flex justify-end xs:px-16" }, Ie = {
|
|
197
196
|
key: 0,
|
|
198
197
|
class: "overflow-auto"
|
|
199
|
-
},
|
|
198
|
+
}, Te = { class: "pb-64" }, Ue = /* @__PURE__ */ q({
|
|
200
199
|
__name: "PermissionSetList",
|
|
201
|
-
setup($, { expose:
|
|
202
|
-
const { t } = M(), { fetchCustomReportPermissions: i } = K(), l = Q(),
|
|
200
|
+
setup($, { expose: R }) {
|
|
201
|
+
const { t } = M(), { fetchCustomReportPermissions: i } = K(), l = Q(), k = le(), { breakpoints: C } = re(), h = b(""), F = S(() => {
|
|
203
202
|
var n;
|
|
204
203
|
return (n = d.value) == null ? void 0 : n.filter((o) => {
|
|
205
204
|
const f = h.value.toLowerCase();
|
|
@@ -228,8 +227,8 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
228
227
|
const o = n.row.original, f = Z(
|
|
229
228
|
[o.id],
|
|
230
229
|
a.permissionSets.value
|
|
231
|
-
),
|
|
232
|
-
return
|
|
230
|
+
), I = A(f);
|
|
231
|
+
return O(Ve, { modelValue: I });
|
|
233
232
|
}
|
|
234
233
|
},
|
|
235
234
|
{
|
|
@@ -239,8 +238,8 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
239
238
|
headerContentClass: "-mx-16"
|
|
240
239
|
},
|
|
241
240
|
cell(n) {
|
|
242
|
-
return
|
|
243
|
-
|
|
241
|
+
return O("div", { class: "w-full flex justify-end items-center" }, [
|
|
242
|
+
O(me.FmButton, {
|
|
244
243
|
prependIcon: "delete",
|
|
245
244
|
variant: ue.Tertiary,
|
|
246
245
|
textColor: ce.NeutralGray400,
|
|
@@ -259,7 +258,7 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
259
258
|
p.value = void 0, (n = m.value) == null || n.trigger();
|
|
260
259
|
}
|
|
261
260
|
async function L(n) {
|
|
262
|
-
|
|
261
|
+
k.open({
|
|
263
262
|
title: t("permissionSet.form.delete.title"),
|
|
264
263
|
message: t("permissionSet.form.delete.confirmationMessage", { permissionSetName: n.name }),
|
|
265
264
|
minWidth: C.value.lg ? 588 : 0,
|
|
@@ -281,43 +280,43 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
281
280
|
}) : t("permissionSet.form.delete.conflictError", { permissionSetName: n.name }) : o instanceof Error ? o.message : `${o}`;
|
|
282
281
|
l.open({ message: f, type: "error" });
|
|
283
282
|
}
|
|
284
|
-
|
|
283
|
+
k.close();
|
|
285
284
|
});
|
|
286
285
|
}
|
|
287
286
|
return ie(() => {
|
|
288
287
|
D(), i();
|
|
289
|
-
}),
|
|
288
|
+
}), R({
|
|
290
289
|
create: V
|
|
291
290
|
}), (n, o) => {
|
|
292
|
-
const f = u("FmSearch"),
|
|
291
|
+
const f = u("FmSearch"), I = u("FmTable"), z = u("FullWrapper");
|
|
293
292
|
return g(), E(X, null, [
|
|
294
|
-
r(
|
|
293
|
+
r(Re, {
|
|
295
294
|
ref_key: "permissionSetFormRef",
|
|
296
295
|
ref: m,
|
|
297
296
|
"model-value": p.value
|
|
298
297
|
}, null, 8, ["model-value"]),
|
|
299
|
-
y("div",
|
|
298
|
+
y("div", ke, [
|
|
300
299
|
y("div", Ce, [
|
|
301
300
|
r(f, {
|
|
302
301
|
modelValue: h.value,
|
|
303
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
302
|
+
"onUpdate:modelValue": o[0] || (o[0] = (T) => h.value = T),
|
|
304
303
|
class: "w-[320px] xs:w-full",
|
|
305
304
|
autofocus: "",
|
|
306
305
|
placeholder: c(t)("permissionSet.search.placeholder")
|
|
307
306
|
}, null, 8, ["modelValue", "placeholder"])
|
|
308
307
|
]),
|
|
309
|
-
d.value.length > 0 ? (g(), E("div",
|
|
310
|
-
y("div",
|
|
311
|
-
r(
|
|
308
|
+
d.value.length > 0 ? (g(), E("div", Ie, [
|
|
309
|
+
y("div", Te, [
|
|
310
|
+
r(z, null, {
|
|
312
311
|
default: P(() => [
|
|
313
|
-
r(
|
|
312
|
+
r(I, {
|
|
314
313
|
"column-defs": W,
|
|
315
314
|
"row-data": F.value,
|
|
316
315
|
"page-size": F.value.length,
|
|
317
316
|
"pin-header-row": "",
|
|
318
317
|
"hide-footer": "",
|
|
319
318
|
"shrink-at": !1,
|
|
320
|
-
onRowClick: o[1] || (o[1] = (
|
|
319
|
+
onRowClick: o[1] || (o[1] = (T) => U(T.original))
|
|
321
320
|
}, null, 8, ["row-data", "page-size"])
|
|
322
321
|
]),
|
|
323
322
|
_: 1
|
|
@@ -334,5 +333,5 @@ const Fe = { class: "flex flex-row items-center gap-8" }, Ve = /* @__PURE__ */ q
|
|
|
334
333
|
}
|
|
335
334
|
});
|
|
336
335
|
export {
|
|
337
|
-
|
|
336
|
+
Ue as default
|
|
338
337
|
};
|