vuetable-next 1.1.0 → 1.1.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/vue3.js CHANGED
@@ -1,37 +1,46 @@
1
- var ta = Object.defineProperty, na = Object.defineProperties;
2
- var aa = Object.getOwnPropertyDescriptors;
3
- var yn = Object.getOwnPropertySymbols;
4
- var la = Object.prototype.hasOwnProperty, oa = Object.prototype.propertyIsEnumerable;
5
- var mn = (e, n, a) => n in e ? ta(e, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[n] = a, q = (e, n) => {
1
+ var ba = Object.defineProperty, ga = Object.defineProperties;
2
+ var va = Object.getOwnPropertyDescriptors;
3
+ var _e = Object.getOwnPropertySymbols;
4
+ var Fn = Object.prototype.hasOwnProperty, On = Object.prototype.propertyIsEnumerable;
5
+ var $n = (e, n, a) => n in e ? ba(e, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[n] = a, q = (e, n) => {
6
6
  for (var a in n || (n = {}))
7
- la.call(n, a) && mn(e, a, n[a]);
8
- if (yn)
9
- for (var a of yn(n))
10
- oa.call(n, a) && mn(e, a, n[a]);
7
+ Fn.call(n, a) && $n(e, a, n[a]);
8
+ if (_e)
9
+ for (var a of _e(n))
10
+ On.call(n, a) && $n(e, a, n[a]);
11
11
  return e;
12
- }, be = (e, n) => na(e, aa(n));
13
- var Cn = (e, n, a) => new Promise((u, s) => {
14
- var b = (l) => {
12
+ }, he = (e, n) => ga(e, va(n));
13
+ var Tn = (e, n) => {
14
+ var a = {};
15
+ for (var i in e)
16
+ Fn.call(e, i) && n.indexOf(i) < 0 && (a[i] = e[i]);
17
+ if (e != null && _e)
18
+ for (var i of _e(e))
19
+ n.indexOf(i) < 0 && On.call(e, i) && (a[i] = e[i]);
20
+ return a;
21
+ };
22
+ var qn = (e, n, a) => new Promise((i, s) => {
23
+ var g = (o) => {
15
24
  try {
16
- i(a.next(l));
25
+ u(a.next(o));
17
26
  } catch (d) {
18
27
  s(d);
19
28
  }
20
- }, c = (l) => {
29
+ }, c = (o) => {
21
30
  try {
22
- i(a.throw(l));
31
+ u(a.throw(o));
23
32
  } catch (d) {
24
33
  s(d);
25
34
  }
26
- }, i = (l) => l.done ? u(l.value) : Promise.resolve(l.value).then(b, c);
27
- i((a = a.apply(e, n)).next());
35
+ }, u = (o) => o.done ? i(o.value) : Promise.resolve(o.value).then(g, c);
36
+ u((a = a.apply(e, n)).next());
28
37
  });
29
- import * as Ot from "vue-demi";
30
- import { defineComponent as J, inject as pe, ref as L, computed as P, isVue2 as W, h as ra, markRaw as qn, toRaw as St, watch as _, shallowRef as Ve, onMounted as qt, onUpdated as Rn, onBeforeUnmount as $t, getCurrentInstance as sa, onBeforeUpdate as wn, onBeforeMount as ia, nextTick as De, reactive as Rt, toRefs as ua, provide as ca, set as da, triggerRef as fa, isReadonly as ba, unref as ga, isRef as Hn } from "vue-demi";
31
- import Pn from "axios";
32
- import { openBlock as m, createElementBlock as w, mergeProps as Se, createElementVNode as V, normalizeClass as O, normalizeStyle as ne, resolveComponent as ke, Fragment as K, renderList as oe, createBlock as ce, resolveDynamicComponent as Ne, createVNode as Q, createCommentVNode as X, renderSlot as va, normalizeProps as ha, guardReactiveProps as pa, toDisplayString as Xe, withCtx as Pt, Transition as ya, withDirectives as ma, vShow as Ca } from "vue";
33
- import wa from "mitt";
34
- const Pa = J({
38
+ import * as jt from "vue-demi";
39
+ import { defineComponent as Q, inject as pe, ref as A, computed as k, isVue2 as K, h as ha, markRaw as An, toRaw as Dt, watch as te, shallowRef as Ne, onMounted as It, onUpdated as Bn, onBeforeUnmount as Ht, getCurrentInstance as pa, onBeforeUpdate as Rn, onBeforeMount as ya, nextTick as Ve, reactive as Lt, toRefs as ma, provide as Ca, set as wa, triggerRef as Pa, isReadonly as ka, unref as Sa, isRef as Vn } from "vue-demi";
40
+ import Dn from "axios";
41
+ import { openBlock as y, createElementBlock as P, mergeProps as $e, createElementVNode as z, normalizeClass as T, normalizeStyle as oe, resolveComponent as Se, Fragment as U, renderList as se, createBlock as fe, resolveDynamicComponent as Ge, createVNode as Y, createCommentVNode as ee, renderSlot as $a, normalizeProps as Fa, guardReactiveProps as Oa, toDisplayString as tt, withCtx as qt, Transition as Ta, withDirectives as qa, vShow as Ra } from "vue";
42
+ import Da from "mitt";
43
+ const Ha = Q({
35
44
  name: "vuetable-field-checkbox",
36
45
  inheritAttrs: !1,
37
46
  props: {
@@ -42,50 +51,50 @@ const Pa = J({
42
51
  title: { type: String, required: !1 }
43
52
  },
44
53
  setup(e) {
45
- const n = pe("vuetable"), a = L(null), u = P(() => (n.tableData || []).filter((d) => n.isSelectedRow(d[n.trackBy])).length), s = P(() => {
54
+ const n = pe("vuetable"), a = A(null), i = k(() => (n.tableData || []).filter((d) => n.isSelectedRow(d[n.trackBy])).length), s = k(() => {
46
55
  var d;
47
- return u.value > 0 && u.value < (((d = n.tableData) == null ? void 0 : d.length) || 0);
56
+ return i.value > 0 && i.value < (((d = n.tableData) == null ? void 0 : d.length) || 0);
48
57
  });
49
- function b(d, v) {
58
+ function g(d, h) {
50
59
  var r;
51
- d && n.onCheckboxToggled(v.target.checked, (r = e.rowField) == null ? void 0 : r.name, d);
60
+ d && n.onCheckboxToggled(h.target.checked, (r = e.rowField) == null ? void 0 : r.name, d);
52
61
  }
53
62
  function c(d) {
54
63
  n.onCheckboxToggledAll(d.target.checked);
55
64
  }
56
- function i(d) {
65
+ function u(d) {
57
66
  return !!d && n.isSelectedRow(d[n.trackBy]);
58
67
  }
59
- function l() {
60
- return u.value > 0;
68
+ function o() {
69
+ return i.value > 0;
61
70
  }
62
- return { vuetable: n, checkbox: a, isIndeterminate: s, toggleCheckbox: b, toggleAllCheckbox: c, isSelected: i, isAllItemsInCurrentPageSelected: l };
71
+ return { vuetable: n, checkbox: a, isIndeterminate: s, toggleCheckbox: g, toggleAllCheckbox: c, isSelected: u, isAllItemsInCurrentPageSelected: o };
63
72
  }
64
- }), de = (e, n) => {
73
+ }), be = (e, n) => {
65
74
  const a = e.__vccOpts || e;
66
- for (const [u, s] of n)
67
- a[u] = s;
75
+ for (const [i, s] of n)
76
+ a[i] = s;
68
77
  return a;
69
- }, ka = [".indeterminate", "checked"], Sa = ["checked"];
70
- function $a(e, n, a, u, s, b) {
71
- return e.isHeader ? (m(), w("th", Se({ key: 0 }, e.$attrs, { class: "vuetable-th-component-checkbox" }), [
72
- V("input", {
78
+ }, Ma = [".indeterminate", "checked"], Ea = ["checked"];
79
+ function ja(e, n, a, i, s, g) {
80
+ return e.isHeader ? (y(), P("th", $e({ key: 0 }, e.$attrs, { class: "vuetable-th-component-checkbox" }), [
81
+ z("input", {
73
82
  ref: "checkbox",
74
83
  ".indeterminate": e.isIndeterminate,
75
84
  checked: e.isAllItemsInCurrentPageSelected(),
76
85
  type: "checkbox",
77
86
  onChange: n[0] || (n[0] = (c) => e.toggleAllCheckbox(c))
78
- }, null, 40, ka)
79
- ], 16)) : (m(), w("td", Se({ key: 1 }, e.$attrs, { class: "vuetable-td-component-checkbox" }), [
80
- V("input", {
87
+ }, null, 40, Ma)
88
+ ], 16)) : (y(), P("td", $e({ key: 1 }, e.$attrs, { class: "vuetable-td-component-checkbox" }), [
89
+ z("input", {
81
90
  ref: "checkbox",
82
91
  checked: e.isSelected(e.rowData),
83
92
  type: "checkbox",
84
93
  onChange: n[1] || (n[1] = (c) => e.toggleCheckbox(e.rowData, c))
85
- }, null, 40, Sa)
94
+ }, null, 40, Ea)
86
95
  ], 16));
87
96
  }
88
- const Ht = /* @__PURE__ */ de(Pa, [["render", $a]]), Fa = J({
97
+ const At = /* @__PURE__ */ be(Ha, [["render", ja]]), Ia = Q({
89
98
  name: "vuetable-field-handle",
90
99
  inheritAttrs: !1,
91
100
  props: {
@@ -94,22 +103,22 @@ const Ht = /* @__PURE__ */ de(Pa, [["render", $a]]), Fa = J({
94
103
  },
95
104
  setup() {
96
105
  const e = pe("vuetable");
97
- function n(a, u = "") {
98
- return typeof e.css.renderIcon == "undefined" ? `<i class="${a.join(" ")}" ${u}></i>` : e.css.renderIcon(a, u);
106
+ function n(a, i = "") {
107
+ return typeof e.css.renderIcon == "undefined" ? `<i class="${a.join(" ")}" ${i}></i>` : e.css.renderIcon(a, i);
99
108
  }
100
109
  return { vuetable: e, renderIconTag: n };
101
110
  }
102
- }), Ta = ["innerHTML"], Oa = ["innerHTML"];
103
- function qa(e, n, a, u, s, b) {
104
- return e.isHeader ? (m(), w("th", Se({ key: 0 }, e.$attrs, {
111
+ }), La = ["innerHTML"], Aa = ["innerHTML"];
112
+ function Ba(e, n, a, i, s, g) {
113
+ return e.isHeader ? (y(), P("th", $e({ key: 0 }, e.$attrs, {
105
114
  class: "vuetable-th-component-handle",
106
115
  innerHTML: e.title
107
- }), null, 16, Ta)) : (m(), w("td", Se({ key: 1 }, e.$attrs, {
116
+ }), null, 16, La)) : (y(), P("td", $e({ key: 1 }, e.$attrs, {
108
117
  class: "vuetable-td-component-handle",
109
118
  innerHTML: e.renderIconTag(["handle-icon", e.vuetable.css.handleIcon])
110
- }), null, 16, Oa));
119
+ }), null, 16, Aa));
111
120
  }
112
- const Dt = /* @__PURE__ */ de(Fa, [["render", qa]]), Ra = J({
121
+ const Bt = /* @__PURE__ */ be(Ia, [["render", Ba]]), Va = Q({
113
122
  name: "vuetable-field-sequence",
114
123
  inheritAttrs: !1,
115
124
  props: {
@@ -124,222 +133,222 @@ const Dt = /* @__PURE__ */ de(Fa, [["render", qa]]), Ra = J({
124
133
  }
125
134
  return { vuetable: n, renderSequence: a };
126
135
  }
127
- }), Ha = ["innerHTML"], Da = ["innerHTML"];
128
- function Ea(e, n, a, u, s, b) {
129
- return e.isHeader ? (m(), w("th", Se({ key: 0 }, e.$attrs, {
136
+ }), Na = ["innerHTML"], Ga = ["innerHTML"];
137
+ function Wa(e, n, a, i, s, g) {
138
+ return e.isHeader ? (y(), P("th", $e({ key: 0 }, e.$attrs, {
130
139
  class: "vuetable-th-component-sequence",
131
140
  innerHTML: e.title
132
- }), null, 16, Ha)) : (m(), w("td", Se({ key: 1 }, e.$attrs, {
141
+ }), null, 16, Na)) : (y(), P("td", $e({ key: 1 }, e.$attrs, {
133
142
  class: "vuetable-td-component-sequence",
134
143
  innerHTML: e.renderSequence()
135
- }), null, 16, Da));
144
+ }), null, 16, Ga));
136
145
  }
137
- const Et = /* @__PURE__ */ de(Ra, [["render", Ea]]), Ma = J({
146
+ const Vt = /* @__PURE__ */ be(Va, [["render", Wa]]), za = Q({
138
147
  name: "vuetable-th-gutter",
139
148
  setup() {
140
- const e = pe("vuetable"), n = P(() => e.hasFixedRightColumn && e.tableLayout.isFixedHeader);
149
+ const e = pe("vuetable"), n = k(() => e.hasFixedRightColumn && e.tableLayout.isFixedHeader);
141
150
  return { vuetable: e, pinned: n };
142
151
  }
143
152
  });
144
- function ja(e, n, a, u, s, b) {
145
- return m(), w("th", {
146
- style: ne({ width: e.vuetable.scrollBarWidth, position: e.pinned ? "sticky" : void 0, right: e.pinned ? "0px" : void 0 }),
147
- class: O([{ "vuetable-fixed-column": e.pinned, "vuetable-fixed-header": e.pinned }, "vuetable-th-gutter"])
153
+ function Ka(e, n, a, i, s, g) {
154
+ return y(), P("th", {
155
+ style: oe({ width: e.vuetable.scrollBarWidth, position: e.pinned ? "sticky" : void 0, right: e.pinned ? "0px" : void 0 }),
156
+ class: T([{ "vuetable-fixed-column": e.pinned, "vuetable-fixed-header": e.pinned }, "vuetable-th-gutter"])
148
157
  }, null, 6);
149
158
  }
150
- const _e = /* @__PURE__ */ de(Ma, [["render", ja], ["__scopeId", "data-v-c45e8fef"]]), Mt = (e, { slots: n }) => {
151
- var u, s;
152
- const a = (u = n.default) == null ? void 0 : u.call(n)[0];
159
+ const nt = /* @__PURE__ */ be(za, [["render", Ka], ["__scopeId", "data-v-c45e8fef"]]), Nt = (e, { slots: n }) => {
160
+ var i, s;
161
+ const a = (i = n.default) == null ? void 0 : i.call(n)[0];
153
162
  return (s = e.onRendered) == null || s.call(e), a;
154
163
  };
155
- Mt.props = ["revision", "onRendered"];
156
- Mt.inheritAttrs = !1;
157
- const jt = (e, { slots: n }) => Ot.renderSlot({ default: e.content }, "default", e.scope, n.default);
158
- jt.props = ["content", "scope"];
159
- jt.inheritAttrs = !1;
160
- const La = Ot.isVue2 ? {
164
+ Nt.props = ["revision", "onRendered"];
165
+ Nt.inheritAttrs = !1;
166
+ const Gt = (e, { slots: n }) => jt.renderSlot({ default: e.content }, "default", e.scope, n.default);
167
+ Gt.props = ["content", "scope"];
168
+ Gt.inheritAttrs = !1;
169
+ const Ua = jt.isVue2 ? {
161
170
  functional: !0,
162
171
  props: ["revision", "onRendered"],
163
172
  render: (e, n) => {
164
- var u, s, b, c, i;
165
- const a = (b = (s = (u = n.scopedSlots).default) == null ? void 0 : s.call(u)[0]) != null ? b : n.children[0];
166
- return (i = (c = n.props).onRendered) == null || i.call(c), a;
173
+ var i, s, g, c, u;
174
+ const a = (g = (s = (i = n.scopedSlots).default) == null ? void 0 : s.call(i)[0]) != null ? g : n.children[0];
175
+ return (u = (c = n.props).onRendered) == null || u.call(c), a;
167
176
  }
168
- } : Mt, Dn = Ot.isVue2 ? {
177
+ } : Nt, Nn = jt.isVue2 ? {
169
178
  functional: !0,
170
179
  props: ["content", "scope"],
171
180
  render: (e, n) => {
172
- var a, u, s, b, c;
173
- return (c = (u = (a = n.props).content) == null ? void 0 : u.call(a, n.props.scope)) != null ? c : (b = (s = n.scopedSlots).default) == null ? void 0 : b.call(s);
181
+ var a, i, s, g, c;
182
+ return (c = (i = (a = n.props).content) == null ? void 0 : i.call(a, n.props.scope)) != null ? c : (g = (s = n.scopedSlots).default) == null ? void 0 : g.call(s);
174
183
  }
175
- } : jt, Ia = J({
184
+ } : Gt, xa = Q({
176
185
  name: "vuetable-row-header",
177
186
  components: {
178
- SlotOutlet: Dn,
179
- "vuetable-field-checkbox": Ht,
180
- "vuetable-field-handle": Dt,
181
- "vuetable-field-sequence": Et,
182
- VuetableColGutter: _e
187
+ SlotOutlet: Nn,
188
+ "vuetable-field-checkbox": At,
189
+ "vuetable-field-handle": Bt,
190
+ "vuetable-field-sequence": Vt,
191
+ VuetableColGutter: nt
183
192
  },
184
193
  props: {
185
194
  vuetable: { type: Object, default: null }
186
195
  },
187
196
  setup() {
188
197
  const e = pe("vuetable");
189
- function n(h) {
190
- return e.columnRevision, e.getColumnSlot(h.name, !0);
198
+ function n(p) {
199
+ return e.columnRevision, e.getColumnSlot(p.name, !0);
191
200
  }
192
- function a(h) {
193
- return h.replace(e.fieldPrefix, "");
201
+ function a(p) {
202
+ return p.replace(e.fieldPrefix, "");
194
203
  }
195
- function u(h, y) {
204
+ function i(p, C) {
196
205
  return [
197
- `${h}-${s(y.name)}`,
198
- y.titleClass || "",
199
- e.groupClass(y),
200
- e.getCellProps(y, "header").class,
201
- b(y),
202
- { sortable: e.isSortable(y) }
206
+ `${p}-${s(C.name)}`,
207
+ C.titleClass || "",
208
+ e.groupClass(C),
209
+ e.getCellProps(C, "header").class,
210
+ g(C),
211
+ { sortable: e.isSortable(C) }
203
212
  ];
204
213
  }
205
- function s(h) {
206
- return typeof h == "string" && h.replace(/([A-Z])/g, (y) => "_" + y.toLowerCase()).replace(" ", "_").replace(".", "_");
214
+ function s(p) {
215
+ return typeof p == "string" && p.replace(/([A-Z])/g, (C) => "_" + C.toLowerCase()).replace(" ", "_").replace(".", "_");
207
216
  }
208
- function b(h) {
209
- const y = d(h);
210
- return y !== !1 ? e.sortOrder[y].direction == "asc" ? e.css.ascendingClass : e.css.descendingClass : "";
217
+ function g(p) {
218
+ const C = d(p);
219
+ return C !== !1 ? e.sortOrder[C].direction == "asc" ? e.css.ascendingClass : e.css.descendingClass : "";
211
220
  }
212
- function c(h) {
213
- const y = d(h);
214
- return y === !1 ? e.css.sortableIcon : e.sortOrder[y].direction == "asc" ? e.css.ascendingIcon : e.css.descendingIcon;
221
+ function c(p) {
222
+ const C = d(p);
223
+ return C === !1 ? e.css.sortableIcon : e.sortOrder[C].direction == "asc" ? e.css.ascendingIcon : e.css.descendingIcon;
215
224
  }
216
- function i(h) {
217
- return d(h) !== !1;
225
+ function u(p) {
226
+ return d(p) !== !1;
218
227
  }
219
- function l(h) {
220
- return e.isSortable(h) && e.css.sortableIcon != "";
228
+ function o(p) {
229
+ return e.isSortable(p) && e.css.sortableIcon != "";
221
230
  }
222
- function d(h) {
223
- if (!e.isSortable(h))
231
+ function d(p) {
232
+ if (!e.isSortable(p))
224
233
  return !1;
225
- for (let y = 0; y < e.sortOrder.length; y++)
226
- if (v(h, y))
227
- return y;
234
+ for (let C = 0; C < e.sortOrder.length; C++)
235
+ if (h(p, C))
236
+ return C;
228
237
  return !1;
229
238
  }
230
- function v(h, y) {
231
- return e.sortOrder[y].field === h.name && e.sortOrder[y].sortField === h.sortField;
239
+ function h(p, C) {
240
+ return e.sortOrder[C].field === p.name && e.sortOrder[C].sortField === p.sortField;
232
241
  }
233
- function r(h, y = !1) {
234
- const F = y ? "" : f(h);
235
- if ((y || F.length > 0) && i(h) || l(h)) {
236
- const D = `opacity:${g(h)};position:relative;float:right`, R = e.showSortIcons ? $(["sort-icon", c(h)], `style="${D}"`) : "";
237
- return F + " " + R;
242
+ function r(p, C = !1) {
243
+ const O = C ? "" : b(p);
244
+ if ((C || O.length > 0) && u(p) || o(p)) {
245
+ const H = `opacity:${v(p)};position:relative;float:right`, R = e.showSortIcons ? F(["sort-icon", c(p)], `style="${H}"`) : "";
246
+ return O + " " + R;
238
247
  }
239
- return F;
248
+ return O;
240
249
  }
241
- function f(h) {
242
- return typeof h.title == "function" ? h.title() : typeof h.title == "undefined" ? h.name.toString().replace(".", " ") : h.title;
250
+ function b(p) {
251
+ return typeof p.title == "function" ? p.title() : typeof p.title == "undefined" ? p.name.toString().replace(".", " ") : p.title;
243
252
  }
244
- function g(h) {
245
- let D = 0.3;
246
- const R = e.sortOrder.length, N = d(h);
247
- return 1 - R * D < 0.3 && (D = (1 - 0.3) / (R - 1)), 1 - (N === !1 ? 0 : N) * D;
253
+ function v(p) {
254
+ let H = 0.3;
255
+ const R = e.sortOrder.length, N = d(p);
256
+ return 1 - R * H < 0.3 && (H = (1 - 0.3) / (R - 1)), 1 - (N === !1 ? 0 : N) * H;
248
257
  }
249
- function $(h, y = "") {
250
- return typeof e.css.renderIcon == "undefined" ? `<i class="${h.join(" ")}" ${y}></i>` : e.css.renderIcon(h, y);
258
+ function F(p, C = "") {
259
+ return typeof e.css.renderIcon == "undefined" ? `<i class="${p.join(" ")}" ${C}></i>` : e.css.renderIcon(p, C);
251
260
  }
252
- function S(h, y) {
253
- e.orderBy(h, y);
261
+ function $(p, C) {
262
+ e.orderBy(p, C);
254
263
  }
255
- return { headerTable: e, getHeaderSlot: n, stripPrefix: a, headerClass: u, toSnakeCase: s, sortClass: b, sortIcon: c, isInCurrentSortGroup: i, hasSortableIcon: l, currentSortOrderPosition: d, fieldIsInSortOrderPosition: v, renderTitle: r, getTitle: f, sortIconOpacity: g, renderIconTag: $, onColumnHeaderClicked: S, VuetableColGutter: _e };
264
+ return { headerTable: e, getHeaderSlot: n, stripPrefix: a, headerClass: i, toSnakeCase: s, sortClass: g, sortIcon: c, isInCurrentSortGroup: u, hasSortableIcon: o, currentSortOrderPosition: d, fieldIsInSortOrderPosition: h, renderTitle: r, getTitle: b, sortIconOpacity: v, renderIconTag: F, onColumnHeaderClicked: $, VuetableColGutter: nt };
256
265
  }
257
- }), Aa = ["data-vuetable-column", "innerHTML", "onClick"], Ba = ["id", "data-vuetable-column", "onClick"], Va = ["innerHTML"], Na = ["id", "data-vuetable-column", "innerHTML", "onClick"];
258
- function Wa(e, n, a, u, s, b) {
259
- const c = ke("slot-outlet"), i = ke("VuetableColGutter");
260
- return m(), w("tr", null, [
261
- (m(!0), w(K, null, oe(e.headerTable.tableFields, (l, d) => (m(), w(K, {
262
- key: e.headerTable.getColumnKey(l)
266
+ }), Ja = ["data-vuetable-column", "innerHTML", "onClick"], Za = ["id", "data-vuetable-column", "onClick"], Qa = ["innerHTML"], Ya = ["id", "data-vuetable-column", "innerHTML", "onClick"];
267
+ function Xa(e, n, a, i, s, g) {
268
+ const c = Se("slot-outlet"), u = Se("VuetableColGutter");
269
+ return y(), P("tr", null, [
270
+ (y(!0), P(U, null, se(e.headerTable.tableFields, (o, d) => (y(), P(U, {
271
+ key: e.headerTable.getColumnKey(o)
263
272
  }, [
264
- l.visible ? (m(), w(K, { key: 0 }, [
265
- e.headerTable.isFieldComponent(l.name) ? (m(), ce(Ne(l.name), {
266
- key: e.headerTable.getColumnKey(l),
273
+ o.visible ? (y(), P(U, { key: 0 }, [
274
+ e.headerTable.isFieldComponent(o.name) ? (y(), fe(Ge(o.name), {
275
+ key: e.headerTable.getColumnKey(o),
267
276
  "is-header": "",
268
277
  vuetable: e.headerTable,
269
- "row-field": l,
270
- title: e.renderTitle(l),
271
- "data-vuetable-column": e.headerTable.getCellProps(l, "header")["data-vuetable-column"],
272
- class: O(e.headerClass("vuetable-th-component", l)),
273
- style: ne([{ width: l.width }, e.headerTable.getCellProps(l, "header").style]),
278
+ "row-field": o,
279
+ title: e.renderTitle(o),
280
+ "data-vuetable-column": e.headerTable.getCellProps(o, "header")["data-vuetable-column"],
281
+ class: T(e.headerClass("vuetable-th-component", o)),
282
+ style: oe([{ width: o.width }, e.headerTable.getCellProps(o, "header").style]),
274
283
  "onVuetable:headerEvent": e.headerTable.onHeaderEvent,
275
- onClick: (v) => e.onColumnHeaderClicked(l, v)
276
- }, null, 40, ["vuetable", "row-field", "title", "data-vuetable-column", "class", "style", "onVuetable:headerEvent", "onClick"])) : e.headerTable.isFieldSlot(l.name) ? (m(), w("th", {
277
- key: e.headerTable.getColumnKey(l),
278
- "data-vuetable-column": e.headerTable.getCellProps(l, "header")["data-vuetable-column"],
279
- class: O(e.headerClass("vuetable-th-slot", l)),
280
- style: ne([{ width: l.width }, e.headerTable.getCellProps(l, "header").style]),
281
- innerHTML: e.renderTitle(l),
282
- onClick: (v) => e.onColumnHeaderClicked(l, v)
283
- }, null, 14, Aa)) : e.getHeaderSlot(l) ? (m(), w("th", {
284
- key: e.headerTable.getColumnKey(l),
285
- id: "_" + l.name,
286
- "data-vuetable-column": e.headerTable.getCellProps(l, "header")["data-vuetable-column"],
287
- class: O(e.headerClass("vuetable-th", l)),
288
- style: ne([{ width: l.width }, e.headerTable.getCellProps(l, "header").style]),
289
- onClick: (v) => e.onColumnHeaderClicked(l, v)
284
+ onClick: (h) => e.onColumnHeaderClicked(o, h)
285
+ }, null, 40, ["vuetable", "row-field", "title", "data-vuetable-column", "class", "style", "onVuetable:headerEvent", "onClick"])) : e.headerTable.isFieldSlot(o.name) ? (y(), P("th", {
286
+ key: e.headerTable.getColumnKey(o),
287
+ "data-vuetable-column": e.headerTable.getCellProps(o, "header")["data-vuetable-column"],
288
+ class: T(e.headerClass("vuetable-th-slot", o)),
289
+ style: oe([{ width: o.width }, e.headerTable.getCellProps(o, "header").style]),
290
+ innerHTML: e.renderTitle(o),
291
+ onClick: (h) => e.onColumnHeaderClicked(o, h)
292
+ }, null, 14, Ja)) : e.getHeaderSlot(o) ? (y(), P("th", {
293
+ key: e.headerTable.getColumnKey(o),
294
+ id: "_" + o.name,
295
+ "data-vuetable-column": e.headerTable.getCellProps(o, "header")["data-vuetable-column"],
296
+ class: T(e.headerClass("vuetable-th", o)),
297
+ style: oe([{ width: o.width }, e.headerTable.getCellProps(o, "header").style]),
298
+ onClick: (h) => e.onColumnHeaderClicked(o, h)
290
299
  }, [
291
- Q(c, {
292
- content: e.getHeaderSlot(l),
293
- scope: { column: l, index: d }
300
+ Y(c, {
301
+ content: e.getHeaderSlot(o),
302
+ scope: { column: o, index: d }
294
303
  }, null, 8, ["content", "scope"]),
295
- V("span", {
296
- innerHTML: e.renderTitle(l, !0)
297
- }, null, 8, Va)
298
- ], 14, Ba)) : (m(), w("th", {
299
- key: e.headerTable.getColumnKey(l),
300
- id: "_" + l.name,
301
- "data-vuetable-column": e.headerTable.getCellProps(l, "header")["data-vuetable-column"],
302
- class: O(e.headerClass("vuetable-th", l)),
303
- style: ne([{ width: l.width }, e.headerTable.getCellProps(l, "header").style]),
304
- innerHTML: e.renderTitle(l),
305
- onClick: (v) => e.onColumnHeaderClicked(l, v)
306
- }, null, 14, Na))
307
- ], 64)) : X("", !0)
304
+ z("span", {
305
+ innerHTML: e.renderTitle(o, !0)
306
+ }, null, 8, Qa)
307
+ ], 14, Za)) : (y(), P("th", {
308
+ key: e.headerTable.getColumnKey(o),
309
+ id: "_" + o.name,
310
+ "data-vuetable-column": e.headerTable.getCellProps(o, "header")["data-vuetable-column"],
311
+ class: T(e.headerClass("vuetable-th", o)),
312
+ style: oe([{ width: o.width }, e.headerTable.getCellProps(o, "header").style]),
313
+ innerHTML: e.renderTitle(o),
314
+ onClick: (h) => e.onColumnHeaderClicked(o, h)
315
+ }, null, 14, Ya))
316
+ ], 64)) : ee("", !0)
308
317
  ], 64))), 128)),
309
- e.headerTable.scrollVisible ? (m(), ce(i, { key: 0 })) : X("", !0)
318
+ e.headerTable.scrollVisible ? (y(), fe(u, { key: 0 })) : ee("", !0)
310
319
  ]);
311
320
  }
312
- const En = /* @__PURE__ */ de(Ia, [["render", Wa]]);
313
- function Mn(e, n, a) {
314
- const u = new Map(n.tableFields.map((l, d) => [l, d])), s = n.groupBy != null, b = s ? n.tableLayout.headerGroups : [{ key: "fields", fields: n.tableFields.filter((l) => l.visible) }], c = () => e("col", { style: { width: n.scrollBarWidth }, class: "vuetable-col-gutter" }), i = b.map((l) => e("colgroup", { key: l.key }, [
315
- ...l.fields.map((d) => {
316
- var g;
317
- const r = (typeof d.name == "object" && d.name !== null ? d.name.name || "component" : d.name).replace(n.fieldPrefix, ""), f = (g = d.$_index) != null ? g : u.get(d);
321
+ const Gn = /* @__PURE__ */ be(xa, [["render", Xa]]);
322
+ function Wn(e, n, a) {
323
+ const i = new Map(n.tableFields.map((o, d) => [o, d])), s = n.groupBy != null, g = s ? n.tableLayout.headerGroups : [{ key: "fields", fields: n.tableFields.filter((o) => o.visible) }], c = () => e("col", { style: { width: n.scrollBarWidth }, class: "vuetable-col-gutter" }), u = g.map((o) => e("colgroup", { key: o.key }, [
324
+ ...o.fields.map((d) => {
325
+ var v;
326
+ const r = (typeof d.name == "object" && d.name !== null ? d.name.name || "component" : d.name).replace(n.fieldPrefix, ""), b = (v = d.$_index) != null ? v : i.get(d);
318
327
  return e("col", {
319
328
  key: n.getColumnKey(d),
320
329
  style: { width: a && n.getHeaderWidth(d) || d.width },
321
- class: [`vuetable-col-${r}`, d.titleClass, `${r}-${f}`, n.groupClass(d)]
330
+ class: [`vuetable-col-${r}`, d.titleClass, `${r}-${b}`, n.groupClass(d)]
322
331
  });
323
332
  }),
324
333
  ...!s && a && n.scrollVisible ? [c()] : []
325
334
  ]));
326
- return s && a && n.scrollVisible && i.push(e("colgroup", { key: "gutter" }, [c()])), i;
335
+ return s && a && n.scrollVisible && u.push(e("colgroup", { key: "gutter" }, [c()])), u;
327
336
  }
328
- const jn = { isHeader: { type: Boolean, default: !1 } }, Ga = {
337
+ const zn = { isHeader: { type: Boolean, default: !1 } }, _a = {
329
338
  name: "vuetable-col-group",
330
339
  functional: !0,
331
340
  inject: ["vuetable"],
332
- props: jn,
333
- render: (e, n) => Mn(e, n.injections.vuetable, n.props.isHeader)
334
- }, za = J({
341
+ props: zn,
342
+ render: (e, n) => Wn(e, n.injections.vuetable, n.props.isHeader)
343
+ }, el = Q({
335
344
  name: "vuetable-col-group",
336
345
  inheritAttrs: !1,
337
- props: jn,
346
+ props: zn,
338
347
  setup(e) {
339
348
  const n = pe("vuetable");
340
- return () => Mn(ra, n, e.isHeader);
349
+ return () => Wn(ha, n, e.isHeader);
341
350
  }
342
- }), kn = W ? Ga : za, Ka = J({
351
+ }), Hn = K ? _a : el, tl = Q({
343
352
  name: "VuetableDetailHost",
344
353
  props: {
345
354
  detailComponent: { type: [String, Object], default: "" },
@@ -348,283 +357,283 @@ const jn = { isHeader: { type: Boolean, default: !1 } }, Ga = {
348
357
  options: { type: Object, default: () => ({}) }
349
358
  },
350
359
  setup(e) {
351
- const n = pe("vuetable"), a = P(() => n.vuetable), u = P(() => typeof e.detailComponent == "object" ? qn(St(e.detailComponent)) : e.detailComponent);
352
- return { tableContext: n, vuetable: a, resolvedDetailComponent: u };
360
+ const n = pe("vuetable"), a = k(() => n.vuetable), i = k(() => typeof e.detailComponent == "object" ? An(Dt(e.detailComponent)) : e.detailComponent);
361
+ return { tableContext: n, vuetable: a, resolvedDetailComponent: i };
353
362
  }
354
363
  });
355
- function Ua(e, n, a, u, s, b) {
356
- return m(), ce(Ne(e.resolvedDetailComponent), {
364
+ function nl(e, n, a, i, s, g) {
365
+ return y(), fe(Ge(e.resolvedDetailComponent), {
357
366
  "row-data": e.rowData,
358
367
  "row-index": e.rowIndex,
359
368
  vuetable: e.tableContext,
360
369
  options: e.options
361
370
  }, null, 8, ["row-data", "row-index", "vuetable", "options"]);
362
371
  }
363
- const xa = /* @__PURE__ */ de(Ka, [["render", Ua]]);
364
- function Sn(e, n, a) {
372
+ const al = /* @__PURE__ */ be(tl, [["render", nl]]);
373
+ function Mn(e, n, a) {
365
374
  return e === void 0 ? a : e === "" || e === n || !!e;
366
375
  }
367
- function $n(e) {
376
+ function En(e) {
368
377
  if (typeof e == "function")
369
378
  return (n) => {
370
379
  const a = e(n);
371
380
  return Array.isArray(a) ? a : a == null ? [] : [a];
372
381
  };
373
382
  }
374
- function Ja(e) {
375
- let n = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Set(), s = !1;
376
- function b(i) {
377
- const l = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Set();
378
- function v(r) {
379
- var g, $, S, h, y, F, D, R, N, ae;
383
+ function ll(e) {
384
+ let n = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Set(), s = !1;
385
+ function g(u) {
386
+ const o = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Set();
387
+ function h(r) {
388
+ var v, F, $, p, C, O, H, R, N, ge;
380
389
  if (Array.isArray(r)) {
381
- r.forEach(v);
390
+ r.forEach(h);
382
391
  return;
383
392
  }
384
393
  if (!r || typeof r != "object") return;
385
- const f = W ? ($ = (g = r.componentOptions) == null ? void 0 : g.Ctor) == null ? void 0 : $.options : r.type;
386
- if ((f == null ? void 0 : f.__vuetableColumn) === !0) {
387
- const I = W ? q(q({}, (S = r.data) == null ? void 0 : S.attrs), (h = r.componentOptions) == null ? void 0 : h.propsData) : r.props || {}, p = I.field;
388
- if (typeof p != "string" || !p) {
394
+ const b = K ? (F = (v = r.componentOptions) == null ? void 0 : v.Ctor) == null ? void 0 : F.options : r.type;
395
+ if ((b == null ? void 0 : b.__vuetableColumn) === !0) {
396
+ const M = K ? q(q({}, ($ = r.data) == null ? void 0 : $.attrs), (p = r.componentOptions) == null ? void 0 : p.propsData) : r.props || {}, S = M.field;
397
+ if (typeof S != "string" || !S) {
389
398
  d.add("VuetableColumn requires a non-empty field.");
390
399
  return;
391
400
  }
392
- if (l.has(p)) {
393
- d.add(`Duplicate VuetableColumn field: ${p}. The first declaration wins.`);
401
+ if (o.has(S)) {
402
+ d.add(`Duplicate VuetableColumn field: ${S}. The first declaration wins.`);
394
403
  return;
395
404
  }
396
- const T = (ee, ge) => {
397
- var se;
398
- return (se = I[ee]) != null ? se : I[ge];
399
- }, E = W ? [(y = r.data) == null ? void 0 : y.staticClass, (F = r.data) == null ? void 0 : F.class] : I.class, M = W ? ((D = r.data) == null ? void 0 : D.scopedSlots) || {} : r.children || {}, H = W ? (R = r.componentOptions) == null ? void 0 : R.children : Array.isArray(M) ? M : void 0;
400
- l.set(p, {
405
+ const w = (ne, me) => {
406
+ var x;
407
+ return (x = M[ne]) != null ? x : M[me];
408
+ }, j = K ? [(C = r.data) == null ? void 0 : C.staticClass, (O = r.data) == null ? void 0 : O.class] : M.class, I = K ? ((H = r.data) == null ? void 0 : H.scopedSlots) || {} : r.children || {}, L = K ? (R = r.componentOptions) == null ? void 0 : R.children : Array.isArray(I) ? I : void 0;
409
+ o.set(S, {
401
410
  field: {
402
- name: p,
403
- title: I.label,
404
- sortField: Sn(I.sortable, "sortable", !1) ? T("sortField", "sort-field") || p : null,
405
- width: (N = I.width) != null ? N : null,
406
- fixed: I.fixed,
407
- fixedOrder: Object.prototype.hasOwnProperty.call(I, "fixedOrder") ? I.fixedOrder : I["fixed-order"],
408
- group: (ae = I.group) != null ? ae : null,
409
- visible: Sn(I.visible, "visible", !0),
410
- titleClass: [E, T("headerClass", "header-class")],
411
- dataClass: [E, T("cellClass", "cell-class")],
412
- $_columnKey: p
411
+ name: S,
412
+ title: M.label,
413
+ sortField: Mn(M.sortable, "sortable", !1) ? w("sortField", "sort-field") || S : null,
414
+ width: (N = M.width) != null ? N : null,
415
+ fixed: M.fixed,
416
+ fixedOrder: Object.prototype.hasOwnProperty.call(M, "fixedOrder") ? M.fixedOrder : M["fixed-order"],
417
+ group: (ge = M.group) != null ? ge : null,
418
+ visible: Mn(M.visible, "visible", !0),
419
+ titleClass: [j, w("headerClass", "header-class")],
420
+ dataClass: [j, w("cellClass", "cell-class")],
421
+ $_columnKey: S
413
422
  },
414
- cell: $n(M.default) || (H != null && H.length ? () => H : void 0),
415
- header: $n(M.header)
423
+ cell: En(I.default) || (L != null && L.length ? () => L : void 0),
424
+ header: En(I.header)
416
425
  });
417
426
  return;
418
427
  }
419
- typeof r.type == "symbol" && Array.isArray(r.children) && v(r.children);
428
+ typeof r.type == "symbol" && Array.isArray(r.children) && h(r.children);
420
429
  }
421
- v(i), d.forEach((r) => {
422
- u.has(r) || e.warn(r);
423
- }), u = d, n = l, s = l.size > 0;
430
+ h(u), d.forEach((r) => {
431
+ i.has(r) || e.warn(r);
432
+ }), i = d, n = o, s = o.size > 0;
424
433
  }
425
434
  function c() {
426
- const i = /* @__PURE__ */ new Map(), l = [...n].map(([d, v], r) => {
427
- const f = e.normalize(v.field, r);
428
- i.set(d, f);
429
- const g = a.get(d), $ = e.fields.value.find((S) => S.$_columnKey === d);
430
- if (!g || !$) return q({}, f);
431
- for (const S of Object.keys(f))
432
- JSON.stringify(f[S]) !== JSON.stringify(g[S]) && ($[S] = f[S]);
433
- return $;
435
+ const u = /* @__PURE__ */ new Map(), o = [...n].map(([d, h], r) => {
436
+ const b = e.normalize(h.field, r);
437
+ u.set(d, b);
438
+ const v = a.get(d), F = e.fields.value.find(($) => $.$_columnKey === d);
439
+ if (!v || !F) return q({}, b);
440
+ for (const $ of Object.keys(b))
441
+ JSON.stringify(b[$]) !== JSON.stringify(v[$]) && (F[$] = b[$]);
442
+ return F;
434
443
  });
435
- (l.length !== e.fields.value.length || l.some((d, v) => d !== e.fields.value[v])) && (e.fields.value = l), a = i;
444
+ (o.length !== e.fields.value.length || o.some((d, h) => d !== e.fields.value[h])) && (e.fields.value = o), a = u;
436
445
  }
437
446
  return {
438
- discover: b,
447
+ discover: g,
439
448
  reconcile: c,
440
449
  hasDeclarations: () => s,
441
- getColumnSlot: (i, l = !1) => {
442
- var d, v;
443
- return l ? (d = n.get(i)) == null ? void 0 : d.header : (v = n.get(i)) == null ? void 0 : v.cell;
450
+ getColumnSlot: (u, o = !1) => {
451
+ var d, h;
452
+ return o ? (d = n.get(u)) == null ? void 0 : d.header : (h = n.get(u)) == null ? void 0 : h.cell;
444
453
  }
445
454
  };
446
455
  }
447
- function re(e) {
456
+ function ie(e) {
448
457
  return e.fixed === "left" || e.fixed === "right" ? e.fixed : void 0;
449
458
  }
450
- function Fn(e, n) {
459
+ function jn(e, n) {
451
460
  const a = Object.keys(n);
452
- return a.length === Object.keys(e).length && a.every((u) => e[u] === n[u]);
461
+ return a.length === Object.keys(e).length && a.every((i) => e[i] === n[i]);
453
462
  }
454
- function Tn(e, n) {
463
+ function In(e, n) {
455
464
  return e.$_columnKey || (typeof e.name == "string" ? e.name : e.name || n);
456
465
  }
457
- function Za(e) {
466
+ function ol(e) {
458
467
  const n = /* @__PURE__ */ new Map();
459
- let a = /* @__PURE__ */ new Map(), u = 0, s = 0;
460
- const b = (i) => typeof i == "number" && Number.isInteger(i) && i >= 1;
461
- return _(() => e.fields.value.map((i, l) => ({ field: i, identity: Tn(i, l), side: re(i), order: i.fixedOrder })), (i) => {
462
- const l = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map();
463
- for (const { field: v, identity: r, side: f, order: g } of i) {
464
- const $ = l.get(r) || 0;
465
- l.set(r, $ + 1);
466
- const S = n.get(r) || [], h = S[$] || { key: u++, sequence: 0, invalidOrder: !1 };
467
- S[$] = h, n.set(r, S), h.side !== f && (h.side = f, h.sequence = f ? s++ : 0);
468
- const y = g !== void 0 && !b(g);
469
- y && !h.invalidOrder && e.warn(`fixedOrder for ${String(v.name)} must be a positive integer; treating it as automatic.`), h.invalidOrder = y, d.set(v, h);
468
+ let a = /* @__PURE__ */ new Map(), i = 0, s = 0;
469
+ const g = (u) => typeof u == "number" && Number.isInteger(u) && u >= 1;
470
+ return te(() => e.fields.value.map((u, o) => ({ field: u, identity: In(u, o), side: ie(u), order: u.fixedOrder })), (u) => {
471
+ const o = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map();
472
+ for (const { field: h, identity: r, side: b, order: v } of u) {
473
+ const F = o.get(r) || 0;
474
+ o.set(r, F + 1);
475
+ const $ = n.get(r) || [], p = $[F] || { key: i++, sequence: 0, invalidOrder: !1 };
476
+ $[F] = p, n.set(r, $), p.side !== b && (p.side = b, p.sequence = b ? s++ : 0);
477
+ const C = v !== void 0 && !g(v);
478
+ C && !p.invalidOrder && e.warn(`fixedOrder for ${String(h.name)} must be a positive integer; treating it as automatic.`), p.invalidOrder = C, d.set(h, p);
470
479
  }
471
480
  a = d;
472
- }, { immediate: !0, flush: "sync" }), _(() => e.fields.value.map(Tn), (i) => {
473
- const l = /* @__PURE__ */ new Map();
474
- for (const d of i) l.set(d, (l.get(d) || 0) + 1);
475
- for (const [d, v] of n) {
476
- const r = l.get(d);
477
- r === void 0 ? n.delete(d) : v.length = r;
478
- }
479
- }), { orderedFields: P(() => {
480
- if (e.mode.value === "in-place" || !e.fields.value.some((r) => re(r))) return e.fields.value;
481
- const i = [], l = [], d = [], v = (r, f) => {
482
- const g = r.map((F) => {
483
- var D;
484
- return { field: F, order: b(F.fixedOrder) ? F.fixedOrder : void 0, sequence: ((D = a.get(F)) == null ? void 0 : D.sequence) || 0 };
485
- }), $ = new Set(g.filter((F) => F.order !== void 0).map((F) => F.order)), S = g.filter((F) => F.order === void 0).sort((F, D) => F.sequence - D.sequence);
486
- let h = 1;
487
- for (const F of S) {
488
- for (; $.has(h); ) h++;
489
- F.order = h++;
481
+ }, { immediate: !0, flush: "sync" }), te(() => e.fields.value.map(In), (u) => {
482
+ const o = /* @__PURE__ */ new Map();
483
+ for (const d of u) o.set(d, (o.get(d) || 0) + 1);
484
+ for (const [d, h] of n) {
485
+ const r = o.get(d);
486
+ r === void 0 ? n.delete(d) : h.length = r;
487
+ }
488
+ }), { orderedFields: k(() => {
489
+ if (e.mode.value === "in-place" || !e.fields.value.some((r) => ie(r))) return e.fields.value;
490
+ const u = [], o = [], d = [], h = (r, b) => {
491
+ const v = r.map((O) => {
492
+ var H;
493
+ return { field: O, order: g(O.fixedOrder) ? O.fixedOrder : void 0, sequence: ((H = a.get(O)) == null ? void 0 : H.sequence) || 0 };
494
+ }), F = new Set(v.filter((O) => O.order !== void 0).map((O) => O.order)), $ = v.filter((O) => O.order === void 0).sort((O, H) => O.sequence - H.sequence);
495
+ let p = 1;
496
+ for (const O of $) {
497
+ for (; F.has(p); ) p++;
498
+ O.order = p++;
490
499
  }
491
- const y = g.sort((F, D) => F.order - D.order || F.sequence - D.sequence).map((F) => F.field);
492
- return f === "right" ? y.reverse() : y;
500
+ const C = v.sort((O, H) => O.order - H.order || O.sequence - H.sequence).map((O) => O.field);
501
+ return b === "right" ? C.reverse() : C;
493
502
  };
494
503
  for (const r of e.fields.value) {
495
- const f = re(r);
496
- f === "left" ? i.push(r) : f === "right" ? d.push(r) : l.push(r);
504
+ const b = ie(r);
505
+ b === "left" ? u.push(r) : b === "right" ? d.push(r) : o.push(r);
497
506
  }
498
- return [...v(i, "left"), ...l, ...v(d, "right")];
499
- }), getColumnKey: (i) => {
500
- var l, d, v, r;
501
- return (r = (v = (d = i.$_columnKey) != null ? d : (l = a.get(i)) == null ? void 0 : l.key) != null ? v : i.$_index) != null ? r : 0;
507
+ return [...h(u, "left"), ...o, ...h(d, "right")];
508
+ }), getColumnKey: (u) => {
509
+ var o, d, h, r;
510
+ return (r = (h = (d = u.$_columnKey) != null ? d : (o = a.get(u)) == null ? void 0 : o.key) != null ? h : u.$_index) != null ? r : 0;
502
511
  } };
503
512
  }
504
- function Qa(e) {
505
- const n = Ve({}), a = Ve({}), u = Ve(), s = Ve(), b = P(() => new Map(e.fields.value.map((p, T) => [p, T]))), c = P(() => e.fields.value.filter((p) => p.visible)), i = P(() => new Map(c.value.map((p, T) => [p, T]))), l = P(() => c.value.some((p) => re(p))), d = P(() => c.value.some((p) => re(p) === "right")), v = P(() => l.value && e.isFixedHeader.value && u.value !== void 0 ? `${u.value}px` : e.scrollBarWidth.value), r = P(() => {
506
- const p = /* @__PURE__ */ new Map();
507
- for (const T of ["left", "right"]) {
508
- let E = 0;
509
- const M = T === "left" ? c.value : [...c.value].reverse();
510
- for (const H of M)
511
- re(H) === T && (p.set(H, E), E += n.value[String(b.value.get(H))] || 0);
512
- }
513
- return p;
513
+ function rl(e) {
514
+ const n = Ne({}), a = Ne({}), i = Ne(), s = Ne(), g = k(() => new Map(e.fields.value.map((S, w) => [S, w]))), c = k(() => e.fields.value.filter((S) => S.visible)), u = k(() => new Map(c.value.map((S, w) => [S, w]))), o = k(() => c.value.some((S) => ie(S))), d = k(() => c.value.some((S) => ie(S) === "right")), h = k(() => o.value && e.isFixedHeader.value && i.value !== void 0 ? `${i.value}px` : e.scrollBarWidth.value), r = k(() => {
515
+ const S = /* @__PURE__ */ new Map();
516
+ for (const w of ["left", "right"]) {
517
+ let j = 0;
518
+ const I = w === "left" ? c.value : [...c.value].reverse();
519
+ for (const L of I)
520
+ ie(L) === w && (S.set(L, j), j += n.value[String(g.value.get(L))] || 0);
521
+ }
522
+ return S;
514
523
  });
515
- let f = !1, g = !1, $, S = !1, h;
516
- const y = /* @__PURE__ */ new Set();
517
- function F(p, T) {
518
- var H;
519
- const E = re(p);
520
- if (!p.visible || !E) return { class: [], style: {} };
521
- const M = E === "right" && T === "header" && e.isFixedHeader.value && e.scrollVisible.value ? (H = s.value) != null ? H : Number.parseFloat(v.value) || 0 : 0;
524
+ let b = !1, v = !1, F, $ = !1, p;
525
+ const C = /* @__PURE__ */ new Set();
526
+ function O(S, w) {
527
+ var L;
528
+ const j = ie(S);
529
+ if (!S.visible || !j) return { class: [], style: {} };
530
+ const I = j === "right" && w === "header" && e.isFixedHeader.value && e.scrollVisible.value ? (L = s.value) != null ? L : Number.parseFloat(h.value) || 0 : 0;
522
531
  return {
523
- class: ["vuetable-fixed-column", `vuetable-fixed-${E}`, `vuetable-fixed-${T}`],
524
- style: { position: "sticky", [E]: `${(r.value.get(p) || 0) + M}px` }
532
+ class: ["vuetable-fixed-column", `vuetable-fixed-${j}`, `vuetable-fixed-${w}`],
533
+ style: { position: "sticky", [j]: `${(r.value.get(S) || 0) + I}px` }
525
534
  };
526
535
  }
527
- function D(p, T = "body") {
528
- if (!l.value || !p.visible || !re(p)) return { class: [], style: {} };
529
- const E = b.value.get(p);
530
- if (E === void 0) return { class: [], style: {} };
531
- const M = F(p, T);
532
- return M["data-vuetable-column"] = String(E), M;
536
+ function H(S, w = "body") {
537
+ if (!o.value || !S.visible || !ie(S)) return { class: [], style: {} };
538
+ const j = g.value.get(S);
539
+ if (j === void 0) return { class: [], style: {} };
540
+ const I = O(S, w);
541
+ return I["data-vuetable-column"] = String(j), I;
533
542
  }
534
- function R(p, T = "header") {
535
- if (!l.value) return { class: [], style: {} };
536
- const E = i.value.get(p[0]), M = p.length ? re(p[0]) : void 0;
537
- return !M || E === void 0 || !p.every((H, ee) => c.value[E + ee] === H && re(H) === M) ? { class: [], style: {} } : F(M === "left" ? p[0] : p[p.length - 1], T);
543
+ function R(S, w = "header") {
544
+ if (!o.value) return { class: [], style: {} };
545
+ const j = u.value.get(S[0]), I = S.length ? ie(S[0]) : void 0;
546
+ return !I || j === void 0 || !S.every((L, ne) => c.value[j + ne] === L && ie(L) === I) ? { class: [], style: {} } : O(I === "left" ? S[0] : S[S.length - 1], w);
538
547
  }
539
- function N(p) {
540
- if (!l.value || !e.isFixedHeader.value) return;
541
- const T = a.value[String(b.value.get(p))];
542
- return T === void 0 ? void 0 : `${T}px`;
548
+ function N(S) {
549
+ if (!o.value || !e.isFixedHeader.value) return;
550
+ const w = a.value[String(g.value.get(S))];
551
+ return w === void 0 ? void 0 : `${w}px`;
543
552
  }
544
- function ae() {
545
- var Oe, Me, je;
546
- if ($ = void 0, g || !f) return;
547
- const p = e.root(), T = p && l.value ? p.querySelector(":scope > .vuetable-body-wrapper") : null, E = p && l.value ? p.querySelector(":scope > .vuetable-head-wrapper") : null, M = T == null ? void 0 : T.querySelector(":scope > table.vuetable"), H = E == null ? void 0 : E.querySelector(":scope > table.vuetable"), ee = new Set(l.value ? [p, T, E, M, H].filter((B) => !!B) : []), ge = /* @__PURE__ */ new Map(), se = {};
548
- let $e, Fe;
549
- if (l.value && e.isFixedHeader.value) {
550
- const B = (Me = (Oe = M == null ? void 0 : M.tBodies[0]) == null ? void 0 : Oe.rows[0]) == null ? void 0 : Me.cells;
551
- if ((B == null ? void 0 : B.length) === c.value.length && Array.from(B).every((Z) => Z.colSpan === 1) && c.value.forEach((Z, Ce) => {
552
- const le = B[Ce], ue = le.getBoundingClientRect().width;
553
- ge.set(le, ue), Number.isFinite(ue) && ue > 0 && (se[String(b.value.get(Z))] = ue, ee.add(le));
554
- }), e.scrollVisible.value && T && T.offsetWidth > 0) {
555
- const Z = window.getComputedStyle(T);
556
- $e = Math.max(0, T.offsetWidth - T.clientWidth - (Number.parseFloat(Z.borderLeftWidth) || 0) - (Number.parseFloat(Z.borderRightWidth) || 0));
553
+ function ge() {
554
+ var Pe, je, Te;
555
+ if (F = void 0, v || !b) return;
556
+ const S = e.root(), w = S && o.value ? S.querySelector(":scope > .vuetable-body-wrapper") : null, j = S && o.value ? S.querySelector(":scope > .vuetable-head-wrapper") : null, I = w == null ? void 0 : w.querySelector(":scope > table.vuetable"), L = j == null ? void 0 : j.querySelector(":scope > table.vuetable"), ne = new Set(o.value ? [S, w, j, I, L].filter((G) => !!G) : []), me = /* @__PURE__ */ new Map(), x = {};
557
+ let Ce, we;
558
+ if (o.value && e.isFixedHeader.value) {
559
+ const G = (je = (Pe = I == null ? void 0 : I.tBodies[0]) == null ? void 0 : Pe.rows[0]) == null ? void 0 : je.cells;
560
+ if ((G == null ? void 0 : G.length) === c.value.length && Array.from(G).every((ce) => ce.colSpan === 1) && c.value.forEach((ce, de) => {
561
+ const J = G[de], ae = J.getBoundingClientRect().width;
562
+ me.set(J, ae), Number.isFinite(ae) && ae > 0 && (x[String(g.value.get(ce))] = ae, ne.add(J));
563
+ }), e.scrollVisible.value && w && w.offsetWidth > 0) {
564
+ const ce = window.getComputedStyle(w);
565
+ Ce = Math.max(0, w.offsetWidth - w.clientWidth - (Number.parseFloat(ce.borderLeftWidth) || 0) - (Number.parseFloat(ce.borderRightWidth) || 0));
557
566
  }
558
- const ie = H == null ? void 0 : H.querySelector(":scope > thead > tr > .vuetable-th-gutter"), U = ie == null ? void 0 : ie.getBoundingClientRect().width;
559
- ie && U !== void 0 && Number.isFinite(U) && U > 0 && (Fe = U, ee.add(ie));
560
- }
561
- const Te = {};
562
- for (const B of c.value) {
563
- if (!re(B)) continue;
564
- const ie = String(b.value.get(B)), U = `[data-vuetable-column="${ie}"]`, Z = [
565
- `:scope > .vuetable-body-wrapper > table.vuetable > tbody > tr > ${U}`,
566
- `:scope > .vuetable-head-wrapper > table.vuetable > thead > tr > ${U}, :scope > .vuetable-body-wrapper > table.vuetable > thead > tr > ${U}`
567
+ const ue = L == null ? void 0 : L.querySelector(":scope > thead > tr > .vuetable-th-gutter"), re = ue == null ? void 0 : ue.getBoundingClientRect().width;
568
+ ue && re !== void 0 && Number.isFinite(re) && re > 0 && (we = re, ne.add(ue));
569
+ }
570
+ const Fe = {};
571
+ for (const G of c.value) {
572
+ if (!ie(G)) continue;
573
+ const ue = String(g.value.get(G)), re = `[data-vuetable-column="${ue}"]`, ce = [
574
+ `:scope > .vuetable-body-wrapper > table.vuetable > tbody > tr > ${re}`,
575
+ `:scope > .vuetable-head-wrapper > table.vuetable > thead > tr > ${re}, :scope > .vuetable-body-wrapper > table.vuetable > thead > tr > ${re}`
567
576
  ];
568
- for (const Ce of Z) {
569
- const le = p && l.value ? p.querySelector(Ce) : null, ue = le ? (je = ge.get(le)) != null ? je : le.getBoundingClientRect().width : void 0;
570
- if (le && ue !== void 0 && Number.isFinite(ue) && ue > 0) {
571
- Te[ie] = ue, ee.add(le);
577
+ for (const de of ce) {
578
+ const J = S && o.value ? S.querySelector(de) : null, ae = J ? (Te = me.get(J)) != null ? Te : J.getBoundingClientRect().width : void 0;
579
+ if (J && ae !== void 0 && Number.isFinite(ae) && ae > 0) {
580
+ Fe[ue] = ae, ne.add(J);
572
581
  break;
573
582
  }
574
583
  }
575
584
  }
576
- for (const B of y)
577
- ee.has(B) || (h == null || h.unobserve(B), y.delete(B));
578
- for (const B of ee)
579
- y.has(B) || (h == null || h.observe(B), y.add(B));
580
- Fn(n.value, Te) || (n.value = Te);
581
- const me = !Fn(a.value, se), Ee = u.value !== $e;
582
- me && (a.value = se), Ee && (u.value = $e), s.value = Fe, (me || Ee) && I();
585
+ for (const G of C)
586
+ ne.has(G) || (p == null || p.unobserve(G), C.delete(G));
587
+ for (const G of ne)
588
+ C.has(G) || (p == null || p.observe(G), C.add(G));
589
+ jn(n.value, Fe) || (n.value = Fe);
590
+ const Oe = !jn(a.value, x), Ee = i.value !== Ce;
591
+ Oe && (a.value = x), Ee && (i.value = Ce), s.value = we, (Oe || Ee) && M();
583
592
  }
584
- function I() {
585
- !f || g || $ !== void 0 || !l.value && y.size === 0 && Object.keys(n.value).length === 0 || (S = typeof requestAnimationFrame == "function", $ = S ? requestAnimationFrame(ae) : setTimeout(ae, 0));
593
+ function M() {
594
+ !b || v || F !== void 0 || !o.value && C.size === 0 && Object.keys(n.value).length === 0 || ($ = typeof requestAnimationFrame == "function", F = $ ? requestAnimationFrame(ge) : setTimeout(ge, 0));
586
595
  }
587
- return qt(() => {
588
- f = !0, typeof ResizeObserver != "undefined" && (h = new ResizeObserver(I)), window.addEventListener("resize", I), I();
589
- }), Rn(I), $t(() => {
590
- g = !0, f = !1, h == null || h.disconnect(), y.clear(), window.removeEventListener("resize", I), $ !== void 0 && (S ? cancelAnimationFrame($) : clearTimeout($));
591
- }), { enabled: l, hasFixedRightColumn: d, headerGutterWidth: v, getHeaderWidth: N, getCellProps: D, getSpanProps: R, schedule: I };
596
+ return It(() => {
597
+ b = !0, typeof ResizeObserver != "undefined" && (p = new ResizeObserver(M)), window.addEventListener("resize", M), M();
598
+ }), Bn(M), Ht(() => {
599
+ v = !0, b = !1, p == null || p.disconnect(), C.clear(), window.removeEventListener("resize", M), F !== void 0 && ($ ? cancelAnimationFrame(F) : clearTimeout(F));
600
+ }), { enabled: o, hasFixedRightColumn: d, headerGutterWidth: h, getHeaderWidth: N, getCellProps: H, getSpanProps: R, schedule: M };
592
601
  }
593
- function Ya(e) {
602
+ function sl(e) {
594
603
  return typeof e == "string" && e.trim() !== "" || typeof e == "number" && Number.isFinite(e) ? e : null;
595
604
  }
596
- function Xa(e) {
597
- const n = P(() => e.fields.value.filter((c) => c.visible)), a = P(() => {
605
+ function il(e) {
606
+ const n = k(() => e.fields.value.filter((c) => c.visible)), a = k(() => {
598
607
  const c = e.groupBy();
599
- return c == null ? [] : n.value.reduce((i, l, d) => {
600
- const v = Ya(c in l && Object.prototype.hasOwnProperty.call(l, c) ? l[c] : null), r = i[i.length - 1];
601
- return r && r.value === v ? (r.fields.push(l), r.colspan++, r.endIndex = d) : i.push({ key: `${typeof v}:${String(v)}:${d}`, value: v, fields: [l], colspan: 1, startIndex: d, endIndex: d }), i;
608
+ return c == null ? [] : n.value.reduce((u, o, d) => {
609
+ const h = sl(c in o && Object.prototype.hasOwnProperty.call(o, c) ? o[c] : null), r = u[u.length - 1];
610
+ return r && r.value === h ? (r.fields.push(o), r.colspan++, r.endIndex = d) : u.push({ key: `${typeof h}:${String(h)}:${d}`, value: h, fields: [o], colspan: 1, startIndex: d, endIndex: d }), u;
602
611
  }, []);
603
- }), u = P(() => a.value.flatMap((c) => {
604
- const i = [];
605
- return c.fields.forEach((l, d) => {
606
- const v = re(l), r = i[i.length - 1];
607
- if (r && r.fixed === v)
608
- r.fields.push(l), r.colspan++, r.endIndex++, r.isGroupEnd = r.endIndex === c.endIndex;
612
+ }), i = k(() => a.value.flatMap((c) => {
613
+ const u = [];
614
+ return c.fields.forEach((o, d) => {
615
+ const h = ie(o), r = u[u.length - 1];
616
+ if (r && r.fixed === h)
617
+ r.fields.push(o), r.colspan++, r.endIndex++, r.isGroupEnd = r.endIndex === c.endIndex;
609
618
  else {
610
- const f = c.startIndex + d;
611
- i.push(be(q({}, c), { key: `${c.key}:${v || "none"}:${f}`, groupKey: c.key, fields: [l], colspan: 1, startIndex: f, endIndex: f, fixed: v, isGroupStart: f === c.startIndex, isGroupEnd: f === c.endIndex }));
619
+ const b = c.startIndex + d;
620
+ u.push(he(q({}, c), { key: `${c.key}:${h || "none"}:${b}`, groupKey: c.key, fields: [o], colspan: 1, startIndex: b, endIndex: b, fixed: h, isGroupStart: b === c.startIndex, isGroupEnd: b === c.endIndex }));
612
621
  }
613
- }), i;
614
- })), s = P(() => {
622
+ }), u;
623
+ })), s = k(() => {
615
624
  const c = /* @__PURE__ */ new Map();
616
- for (const i of a.value) {
617
- c.set(i.fields[0], ["vuetable-group-start"]);
618
- const l = i.fields[i.fields.length - 1];
619
- c.set(l, [...c.get(l) || [], "vuetable-group-end"]);
625
+ for (const u of a.value) {
626
+ c.set(u.fields[0], ["vuetable-group-start"]);
627
+ const o = u.fields[u.fields.length - 1];
628
+ c.set(o, [...c.get(o) || [], "vuetable-group-end"]);
620
629
  }
621
630
  return c;
622
631
  });
623
- return { scope: P(() => ({
632
+ return { scope: k(() => ({
624
633
  fields: e.fields.value,
625
634
  visibleFields: n.value,
626
635
  groups: a.value,
627
- headerGroups: u.value,
636
+ headerGroups: i.value,
628
637
  getCellProps: e.getCellProps,
629
638
  getSpanProps: e.getSpanProps,
630
639
  columnCount: n.value.length,
@@ -666,19 +675,19 @@ const ye = {
666
675
  paginationInfo: {
667
676
  infoClass: "left floated left aligned six wide column"
668
677
  }
669
- }, On = /* @__PURE__ */ new WeakMap(), _a = J({
678
+ }, Ln = /* @__PURE__ */ new WeakMap(), ul = Q({
670
679
  name: "Vuetable",
671
- inheritAttrs: W,
680
+ inheritAttrs: K,
672
681
  components: {
673
- RenderBoundary: La,
674
- SlotOutlet: Dn,
675
- VuetableRowHeader: En,
676
- VuetableColGroup: kn,
677
- VuetableColGutter: _e,
678
- VuetableDetailHost: xa,
679
- "vuetable-field-checkbox": Ht,
680
- "vuetable-field-handle": Dt,
681
- "vuetable-field-sequence": Et
682
+ RenderBoundary: Ua,
683
+ SlotOutlet: Nn,
684
+ VuetableRowHeader: Gn,
685
+ VuetableColGroup: Hn,
686
+ VuetableColGutter: nt,
687
+ VuetableDetailHost: al,
688
+ "vuetable-field-checkbox": At,
689
+ "vuetable-field-handle": Bt,
690
+ "vuetable-field-sequence": Vt
682
691
  },
683
692
  props: {
684
693
  fields: { type: Array, default: void 0 },
@@ -704,7 +713,7 @@ const ye = {
704
713
  perPage: { type: Number, required: !1, default: 10 },
705
714
  initialPage: { type: Number, required: !1, default: 1 },
706
715
  firstPage: { type: Number, required: !1, default: 1 },
707
- sortOrder: { type: Array, required: !1, default: () => L([]).value },
716
+ sortOrder: { type: Array, required: !1, default: () => A([]).value },
708
717
  multiSort: { type: Boolean, required: !1, default: !1 },
709
718
  tableHeight: { type: String, required: !1, default: null },
710
719
  multiSortKey: { type: String, required: !1, default: "alt" },
@@ -730,184 +739,199 @@ const ye = {
730
739
  return this.tableCss;
731
740
  }
732
741
  },
733
- setup(e, { emit: n, slots: a, attrs: u }) {
734
- var pn;
735
- const s = sa(), b = L(), c = L(0);
736
- let i = q(q({}, e), u), l = Object.keys(a).length > 0;
737
- wn(() => {
738
- var G, z, he, te;
739
- if (W) {
740
- const Y = s == null ? void 0 : s.proxy;
741
- (g.hasDeclarations() || Je("default") || (G = Y == null ? void 0 : Y.$slots) != null && G.default || (te = (he = (z = Y == null ? void 0 : Y.$vnode) == null ? void 0 : z.data) == null ? void 0 : he.scopedSlots) != null && te.default) && c.value++;
742
+ setup(e, { emit: n, slots: a, attrs: i }) {
743
+ var Sn;
744
+ const s = pa(), g = A(), c = A(0);
745
+ let u = q(q({}, e), i), o = Object.keys(a).length > 0;
746
+ Rn(() => {
747
+ var E, W, X, le;
748
+ if (K) {
749
+ const _ = s == null ? void 0 : s.proxy;
750
+ (v.hasDeclarations() || Je("default") || (E = _ == null ? void 0 : _.$slots) != null && E.default || (le = (X = (W = _ == null ? void 0 : _.$vnode) == null ? void 0 : W.data) == null ? void 0 : X.scopedSlots) != null && le.default) && c.value++;
742
751
  return;
743
752
  }
744
- const t = q(q({}, e), u), o = Object.keys(t), C = o.length === Object.keys(i).length && o.every((Y) => t[Y] === i[Y]), k = Object.keys(a).length > 0;
745
- (C || l || k) && c.value++, l = k, i = t;
753
+ const t = q(q({}, e), i), l = Object.keys(t), f = l.length === Object.keys(u).length && l.every((_) => t[_] === u[_]), m = Object.keys(a).length > 0;
754
+ (f || o || m) && c.value++, o = m, u = t;
746
755
  });
747
- const d = P(() => s == null ? void 0 : s.proxy), v = L([]), r = Za({ fields: v, mode: P(() => e.fixedMode || "edges"), warn: Re }), f = P({
756
+ const d = k(() => s == null ? void 0 : s.proxy), h = A([]), r = ol({ fields: h, mode: k(() => e.fixedMode || "edges"), warn: De }), b = k({
748
757
  get: () => r.orderedFields.value,
749
758
  set: (t) => {
750
- v.value = t;
759
+ h.value = t;
751
760
  }
752
- }), g = Ja({ fields: v, normalize: nt, warn: Re }), $ = g.getColumnSlot, S = L(null), h = L(null), y = L(e.initialPage), F = L([]), D = L([]), R = L(0), N = L("17px"), ae = L(!1), I = Qe(e.sortOrder), p = W ? L(I) : Ve(I);
753
- let T = !1;
754
- const E = P({
755
- get: () => p.value,
761
+ }), v = ll({ fields: h, normalize: ot, warn: De }), F = v.getColumnSlot, $ = A(null), p = k(() => {
762
+ const t = /* @__PURE__ */ new Map();
763
+ return ($.value || []).map((f) => {
764
+ const m = f[e.trackBy];
765
+ if (typeof m != "string" && (typeof m != "number" || !Number.isFinite(m))) return null;
766
+ const E = JSON.stringify(["id", m]);
767
+ return t.set(E, (t.get(E) || 0) + 1), E;
768
+ }).map((f, m) => f !== null && t.get(f) === 1 ? f : JSON.stringify(["index", m]));
769
+ }), C = A(null), O = A(e.initialPage), H = A([]), R = A([]), N = A(0), ge = A("17px"), M = A(!1), S = Xe(e.sortOrder), w = K ? A(S) : Ne(S);
770
+ let j = !1;
771
+ const I = k({
772
+ get: () => w.value,
756
773
  set: (t) => {
757
- T = !0, p.value = Qe(t), Be();
774
+ j = !0, w.value = Xe(t), Be();
758
775
  }
759
776
  });
760
- W && s && ia(() => Object.defineProperty(s.proxy, "sortOrder", {
777
+ K && s && ya(() => Object.defineProperty(s.proxy, "sortOrder", {
761
778
  configurable: !0,
762
779
  enumerable: !0,
763
- get: () => E.value,
780
+ get: () => I.value,
764
781
  set: (t) => {
765
- E.value = t;
782
+ I.value = t;
766
783
  }
767
784
  }));
768
- const M = (pn = s == null ? void 0 : s.proxy) == null ? void 0 : pn.$parent;
769
- if (M) {
770
- let t = On.get(M);
785
+ const L = (Sn = s == null ? void 0 : s.proxy) == null ? void 0 : Sn.$parent;
786
+ if (L) {
787
+ let t = Ln.get(L);
771
788
  if (!t) {
772
- t = /* @__PURE__ */ new Set(), On.set(M, t);
773
- const C = t, k = () => C.forEach((G) => G());
774
- W ? M.$on("hook:beforeUpdate", k) : wn(k, M.$);
789
+ t = /* @__PURE__ */ new Set(), Ln.set(L, t);
790
+ const f = t, m = () => f.forEach((E) => E());
791
+ K ? L.$on("hook:beforeUpdate", m) : Rn(m, L.$);
775
792
  }
776
- t.add(bt);
777
- const o = t;
778
- $t(() => o.delete(bt));
779
- }
780
- const H = L(e.httpOptions), ee = L(), ge = P(() => q(q({}, ye.table), e.css)), se = P(() => {
781
- var t, o;
782
- return (t = S.value) != null && t.length ? ((o = S.value) == null ? void 0 : o.length) > 0 : !1;
783
- }), $e = P(() => se.value && e.detailRowComponent !== ""), Fe = P(() => S.value && typeof S.value[0][e.trackBy] != "undefined"), Te = P(() => f.value.filter((t) => t.visible).length), me = P(() => {
793
+ t.add(Ct);
794
+ const l = t;
795
+ Ht(() => l.delete(Ct));
796
+ }
797
+ const ne = A(e.httpOptions), me = A();
798
+ let x = 0;
799
+ const Ce = k(() => {
800
+ const t = q(q({}, ye.table), e.css);
801
+ for (const l of ["tableClass", "ascendingIcon", "descendingIcon", "sortableIcon", "handleIcon"])
802
+ Object.prototype.hasOwnProperty.call(e.css || {}, l) || (t[l] += l === "tableClass" ? " vuetable-semantic-table" : " vuetable-semantic-icon");
803
+ return t;
804
+ }), we = k(() => {
805
+ var t, l;
806
+ return (t = $.value) != null && t.length ? ((l = $.value) == null ? void 0 : l.length) > 0 : !1;
807
+ }), Fe = k(() => we.value && e.detailRowComponent !== ""), Oe = k(() => $.value && typeof $.value[0][e.trackBy] != "undefined"), Ee = k(() => b.value.filter((t) => t.visible).length), Pe = k(() => {
784
808
  var t;
785
- return ((t = S.value) == null ? void 0 : t.length) || 0;
786
- }), Ee = P(() => me.value === 0 && e.noDataTemplate.length > 0), Oe = P(() => {
809
+ return ((t = $.value) == null ? void 0 : t.length) || 0;
810
+ }), je = k(() => Pe.value === 0 && e.noDataTemplate.length > 0), Te = k(() => {
787
811
  var t;
788
- return S.value === null || ((t = S.value) == null ? void 0 : t.length) === 0;
789
- }), Me = P(() => Oe.value ? !0 : S.value.length < e.minRows), je = P(() => Oe.value ? e.minRows : S.value.length >= e.minRows ? 0 : e.minRows - S.value.length), B = P(() => e.apiMode), ie = P(() => !e.apiMode), U = P(() => e.tableHeight != null), Z = Qa({ fields: f, root: () => {
812
+ return $.value === null || ((t = $.value) == null ? void 0 : t.length) === 0;
813
+ }), G = k(() => Te.value ? !0 : $.value.length < e.minRows), ue = k(() => Te.value ? e.minRows : $.value.length >= e.minRows ? 0 : e.minRows - $.value.length), re = k(() => e.apiMode), ce = k(() => !e.apiMode), de = k(() => e.tableHeight != null), J = rl({ fields: b, root: () => {
790
814
  var t;
791
815
  return (t = s == null ? void 0 : s.proxy) == null ? void 0 : t.$el;
792
- }, isFixedHeader: U, scrollVisible: ae, scrollBarWidth: N }), { getCellProps: Ce, getSpanProps: le, enabled: ue } = Z, et = Xa({ fields: f, groupBy: () => e.groupBy, isFixedHeader: U, scrollVisible: ae, scrollBarWidth: Z.headerGutterWidth, getCellProps: Ce, getSpanProps: le });
793
- tt(), Be(), De(() => {
794
- j("initialized", f.value);
816
+ }, isFixedHeader: de, scrollVisible: M, scrollBarWidth: ge }), { getCellProps: ae, getSpanProps: Wt, enabled: Qn } = J, at = il({ fields: b, groupBy: () => e.groupBy, isFixedHeader: de, scrollVisible: M, scrollBarWidth: J.headerGutterWidth, getCellProps: ae, getSpanProps: Wt });
817
+ lt(), Be(), Ve(() => {
818
+ qe || B("initialized", b.value);
795
819
  });
796
- let Ge = !1, Lt = !1, qe = null, we = null;
797
- function ze() {
798
- const t = b.value;
799
- qe && (!Ge || !U.value || qe !== t) && (qe.removeEventListener("scroll", Ke), qe = null), !(!Ge || !U.value || !t) && (N.value = At() + "px", qe !== t && (t.addEventListener("scroll", Ke), qe = t), R.value = -1, Ke({ currentTarget: t }), Ie());
800
- }
801
- _(U, () => {
802
- W ? De(ze) : ze();
803
- }, { flush: "post" }), qt(() => {
804
- Ge = !0, e.loadOnStart && fe(), ze();
805
- }), $t(() => {
806
- Ge = !1, Lt = !0, we !== null && (clearTimeout(we), we = null), ze();
820
+ let ze = !1, qe = !1, Re = null, ke = null;
821
+ function Ke() {
822
+ const t = g.value;
823
+ Re && (!ze || !de.value || Re !== t) && (Re.removeEventListener("scroll", Ue), Re = null), !(!ze || !de.value || !t) && (ge.value = Kt() + "px", Re !== t && (t.addEventListener("scroll", Ue), Re = t), N.value = -1, Ue({ currentTarget: t }), Le());
824
+ }
825
+ te(de, () => {
826
+ K ? Ve(Ke) : Ke();
827
+ }, { flush: "post" }), It(() => {
828
+ ze = !0, e.loadOnStart && ve(), Ke();
829
+ }), Ht(() => {
830
+ ze = !1, qe = !0, x++, ke !== null && (clearTimeout(ke), ke = null), Ke();
807
831
  });
808
- const It = Rt(be(q({}, ua(e)), {
832
+ const zt = Lt(he(q({}, ma(e)), {
809
833
  vuetable: d,
810
- $el: P(() => {
834
+ $el: k(() => {
811
835
  var t;
812
836
  return (t = s == null ? void 0 : s.proxy) == null ? void 0 : t.$el;
813
837
  }),
814
- isApiMode: B,
815
- tableLayout: et.scope,
816
- groupClass: et.groupClass,
817
- getCellProps: Ce,
818
- getSpanProps: le,
819
- fixedColumnsEnabled: ue,
820
- hasFixedRightColumn: Z.hasFixedRightColumn,
821
- scheduleFixedColumns: Z.schedule,
822
- getHeaderWidth: Z.getHeaderWidth,
838
+ isApiMode: re,
839
+ tableLayout: at.scope,
840
+ groupClass: at.groupClass,
841
+ getCellProps: ae,
842
+ getSpanProps: Wt,
843
+ fixedColumnsEnabled: Qn,
844
+ hasFixedRightColumn: J.hasFixedRightColumn,
845
+ scheduleFixedColumns: J.schedule,
846
+ getHeaderWidth: J.getHeaderWidth,
823
847
  getColumnKey: r.getColumnKey,
824
- tableFields: f,
825
- tableData: S,
826
- tablePagination: h,
827
- selectedTo: F,
828
- countVisibleFields: Te,
829
- dataIsAvailable: se,
830
- countTableData: me,
831
- displayEmptyDataRow: Ee,
832
- useDetailRow: $e,
833
- hasRowIdentifier: Fe,
834
- lessThanMinRows: Me,
835
- blankRows: je,
836
- scrollVisible: ae,
837
- scrollBarWidth: Z.headerGutterWidth,
838
- sortOrder: p,
839
- css: ge,
840
- $_css: ge,
841
- isFieldSlot: Vt,
842
- getColumnSlot: $,
848
+ tableFields: b,
849
+ tableData: $,
850
+ tablePagination: C,
851
+ selectedTo: H,
852
+ countVisibleFields: Ee,
853
+ dataIsAvailable: we,
854
+ countTableData: Pe,
855
+ displayEmptyDataRow: je,
856
+ useDetailRow: Fe,
857
+ hasRowIdentifier: Oe,
858
+ lessThanMinRows: G,
859
+ blankRows: ue,
860
+ scrollVisible: M,
861
+ scrollBarWidth: J.headerGutterWidth,
862
+ sortOrder: w,
863
+ css: Ce,
864
+ $_css: Ce,
865
+ isFieldSlot: Jt,
866
+ getColumnSlot: F,
843
867
  columnRevision: c,
844
- onHeaderEvent: fn,
845
- setData: Pe,
846
- getFieldTitle: Bt,
847
- orderBy: Jt,
848
- camelCase: Nt,
849
- clearSortOrder: Qt,
850
- toggleDetailRow: nn,
851
- showDetailRow: yt,
852
- hideDetailRow: mt,
868
+ onHeaderEvent: mn,
869
+ setData: st,
870
+ getFieldTitle: xt,
871
+ orderBy: tn,
872
+ camelCase: Zt,
873
+ clearSortOrder: an,
874
+ toggleDetailRow: cn,
875
+ showDetailRow: $t,
876
+ hideDetailRow: Ft,
853
877
  isVisibleDetailRow: Ae,
854
- reload: Ct,
855
- fireEvent: j,
856
- singleColumnSort: ft,
857
- removeSortColumn: ct,
858
- setSortColumnDirection: dt,
859
- clearSelectedValues: Xt,
860
- showField: an,
861
- hideField: ln,
862
- toggleField: on,
863
- onCheckboxToggled: bn,
864
- onCheckboxToggledAll: gn,
865
- checkIfRowIdentifierExists: Ue,
866
- changePage: vn,
867
- resetData: hn,
868
- refresh: wt,
869
- isFieldComponent: lt,
878
+ reload: Ot,
879
+ fireEvent: B,
880
+ singleColumnSort: mt,
881
+ removeSortColumn: pt,
882
+ setSortColumnDirection: yt,
883
+ clearSelectedValues: on,
884
+ showField: dn,
885
+ hideField: fn,
886
+ toggleField: bn,
887
+ onCheckboxToggled: Cn,
888
+ onCheckboxToggledAll: wn,
889
+ checkIfRowIdentifierExists: it,
890
+ changePage: Pn,
891
+ resetData: kn,
892
+ refresh: Tt,
893
+ isFieldComponent: ut,
870
894
  makeTitle: xe,
871
- getAllQueryParams: rt,
872
- isSortable: Ze,
873
- getDefaultSortParam: st,
874
- getObjectValue: ve,
875
- isSelectedRow: pt
895
+ getAllQueryParams: bt,
896
+ isSortable: Ye,
897
+ getDefaultSortParam: gt,
898
+ getObjectValue: Me,
899
+ isSelectedRow: St
876
900
  }));
877
- ca("vuetable", It);
878
- function At() {
879
- const t = document.createElement("div"), o = document.createElement("div");
880
- t.style.visibility = "hidden", t.style.width = "100px", o.style.width = "100%", t.appendChild(o), document.body.appendChild(t);
881
- const C = t.offsetWidth;
901
+ Ca("vuetable", zt);
902
+ function Kt() {
903
+ const t = document.createElement("div"), l = document.createElement("div");
904
+ t.style.visibility = "hidden", t.style.width = "100px", l.style.width = "100%", t.appendChild(l), document.body.appendChild(t);
905
+ const f = t.offsetWidth;
882
906
  t.style.overflow = "scroll";
883
- const k = o.offsetWidth;
884
- return document.body.removeChild(t), C - k;
885
- }
886
- function Ke(t) {
887
- var k, G;
888
- const o = t.currentTarget;
889
- if (!o) return;
890
- const C = o.scrollLeft;
891
- if (C != R.value) {
892
- const z = (G = (k = b.value) == null ? void 0 : k.parentElement) == null ? void 0 : G.querySelector(".vuetable-head-wrapper");
893
- z != null && (z.scrollLeft = C), R.value = C;
907
+ const m = l.offsetWidth;
908
+ return document.body.removeChild(t), f - m;
909
+ }
910
+ function Ue(t) {
911
+ var m, E;
912
+ const l = t.currentTarget;
913
+ if (!l) return;
914
+ const f = l.scrollLeft;
915
+ if (f != N.value) {
916
+ const W = (E = (m = g.value) == null ? void 0 : m.parentElement) == null ? void 0 : E.querySelector(".vuetable-head-wrapper");
917
+ W != null && (W.scrollLeft = f), N.value = f;
894
918
  }
895
919
  }
896
- function Re(t) {
920
+ function De(t) {
897
921
  e.silent || console.error(t);
898
922
  }
899
- function Nn(t, o) {
900
- return [t, o.dataClass, ...et.groupClass(o), ...Ce(o).class];
923
+ function Yn(t, l) {
924
+ return [t, l.dataClass, ...at.groupClass(l), ...ae(l).class];
901
925
  }
902
- function tt() {
926
+ function lt() {
903
927
  if (typeof e.fields == "undefined") {
904
- g.reconcile();
928
+ v.reconcile();
905
929
  return;
906
930
  }
907
- v.value = e.fields.map(nt);
931
+ h.value = e.fields.map(ot);
908
932
  }
909
- function nt(t, o) {
910
- const C = {
933
+ function ot(t, l) {
934
+ const f = {
911
935
  name: "",
912
936
  // title:
913
937
  // this allow the code to detect undefined title
@@ -918,609 +942,653 @@ const ye = {
918
942
  formatter: null,
919
943
  visible: !0,
920
944
  width: null,
921
- $_index: o
945
+ $_index: l
922
946
  };
923
947
  if (typeof t == "string")
924
- return be(q({}, C), {
925
- name: at(t),
948
+ return he(q({}, f), {
949
+ name: rt(t),
926
950
  title: xe(t)
927
951
  });
928
- const k = Object.assign({}, C, t);
929
- return k.name = at(k.name), k.title === void 0 && (k.title = xe(k.name)), k.formatter !== null && typeof k.formatter != "function" && (console.error(k.name + " field formatter must be a function"), k.formatter = null), k;
952
+ const m = Object.assign({}, f, t);
953
+ return m.name = rt(m.name), m.title === void 0 && (m.title = xe(m.name)), m.formatter !== null && typeof m.formatter != "function" && (console.error(m.name + " field formatter must be a function"), m.formatter = null), m;
930
954
  }
931
- function at(t) {
932
- return t instanceof Object ? qn(St(t)) : t.replace("__", e.fieldPrefix);
955
+ function rt(t) {
956
+ return t instanceof Object ? An(Dt(t)) : t.replace("__", e.fieldPrefix);
933
957
  }
934
- function Pe(t) {
935
- if (!(t === null || typeof t == "undefined")) {
936
- if (j("loading"), Array.isArray(t)) {
937
- S.value = t, j("loaded");
958
+ function st(t) {
959
+ t === null || typeof t == "undefined" || Ie(t, ++x);
960
+ }
961
+ function D(t) {
962
+ return !qe && t === x;
963
+ }
964
+ function Ie(t, l) {
965
+ if (!(!D(l) || t === null || typeof t == "undefined") && (B("loading"), !!D(l))) {
966
+ if (Array.isArray(t)) {
967
+ if ($.value = t, !D(l)) return;
968
+ B("loaded");
938
969
  return;
939
970
  }
940
- S.value = ve(t, e.dataPath, null), h.value = ve(t, e.paginationPath, null), De(() => {
941
- Ue(), Le(), j("pagination-data", h.value), j("loaded");
942
- });
971
+ Ut(t, l);
943
972
  }
944
973
  }
945
- function Ue() {
946
- if (se.value)
947
- return Fe.value ? !0 : (Re('Invalid your data! Use "track-by" prop to specify.'), !1);
974
+ function Ut(t, l, f = !1) {
975
+ const m = Me(t, e.dataPath, null);
976
+ if (!D(l) || ($.value = m, !D(l))) return;
977
+ const E = Me(t, e.paginationPath, null);
978
+ D(l) && (C.value = E, D(l) && (f && C.value === null && De(`vuetable: pagination-path ${e.paginationPath} not found.
979
+ It looks like the data returned from the server does not have pagination information
980
+ or you may have set it incorrectly.
981
+
982
+ You can explicitly suppress this warning by setting pagination-path="".`), Ve(() => {
983
+ D(l) && (it(), D(l) && (Ze(), D(l) && (B("pagination-data", C.value), D(l) && B("loaded"))));
984
+ })));
985
+ }
986
+ function it() {
987
+ if (we.value)
988
+ return Oe.value ? !0 : (De('Invalid your data! Use "track-by" prop to specify.'), !1);
948
989
  }
949
990
  function xe(t) {
950
- return lt(t) ? "" : ot(t.replace(".", " "));
991
+ return ut(t) ? "" : ct(t.replace(".", " "));
951
992
  }
952
- function Bt(t) {
993
+ function xt(t) {
953
994
  return typeof t.title == "function" ? t.title() : t.title;
954
995
  }
955
- function Wn(t, o) {
956
- return gt(t) ? Yt(t, o) : ve(o, t.name, "");
996
+ function Xn(t, l) {
997
+ return wt(t) ? ln(t, l) : Me(l, t.name, "");
957
998
  }
958
- function lt(t) {
999
+ function ut(t) {
959
1000
  return t instanceof Object ? !0 : t.slice(0, e.fieldPrefix.length) === e.fieldPrefix || t.slice(0, 2) === "__";
960
1001
  }
961
- function Vt(t) {
1002
+ function Jt(t) {
962
1003
  return typeof Je(t) != "undefined";
963
1004
  }
964
1005
  function Je(t) {
965
- var o, C;
966
- return W ? (C = (o = s == null ? void 0 : s.proxy) == null ? void 0 : o.$scopedSlots) == null ? void 0 : C[t] : a[t];
1006
+ var l, f;
1007
+ return K ? (f = (l = s == null ? void 0 : s.proxy) == null ? void 0 : l.$scopedSlots) == null ? void 0 : f[t] : a[t];
967
1008
  }
968
- function ot(t) {
969
- return t.replace(/\w+/g, (o) => o.charAt(0).toUpperCase() + o.substring(1).toLowerCase());
1009
+ function ct(t) {
1010
+ return t.replace(/\w+/g, (l) => l.charAt(0).toUpperCase() + l.substring(1).toLowerCase());
970
1011
  }
971
- function Nt(t, o = "_") {
972
- return t.split(o).map((C) => ot(C)).join("");
1012
+ function Zt(t, l = "_") {
1013
+ return t.split(l).map((f) => ct(f)).join("");
973
1014
  }
974
- function fe(t = Gt, o = zt) {
975
- if (ie.value) {
976
- sn();
1015
+ function ve(t = dt, l = Qe) {
1016
+ const f = ++x;
1017
+ if (ce.value) {
1018
+ vn(f);
977
1019
  return;
978
1020
  }
979
- return j("loading"), H.value.params = Ut(rt()), ee.value = Wt(e.apiUrl, H.value), ee.value.then(
980
- t,
981
- o
982
- ).catch(() => o());
1021
+ if (!D(f) || (B("loading"), !D(f))) return Promise.resolve();
1022
+ const m = q({}, ne.value), E = bt();
1023
+ if (!D(f) || (m.params = _t(q({}, E)), !D(f))) return Promise.resolve();
1024
+ const W = Qt(e.apiUrl, m);
1025
+ return D(f) && (me.value = W), W.then(
1026
+ (X) => {
1027
+ if (D(f))
1028
+ return t === dt ? Yt(X, f) : t(X);
1029
+ },
1030
+ (X) => {
1031
+ if (D(f))
1032
+ return l === Qe ? ft(X, f) : l(X);
1033
+ }
1034
+ ).catch(() => {
1035
+ if (D(f))
1036
+ return l === Qe ? ft(void 0, f) : l();
1037
+ });
983
1038
  }
984
- function Wt(t, o) {
985
- return Cn(this, null, function* () {
1039
+ function Qt(t, l) {
1040
+ return qn(this, null, function* () {
986
1041
  if (e.httpFetch)
987
- return e.httpFetch(t, o);
1042
+ return e.httpFetch(t, l);
988
1043
  if (e.httpMethod === "get")
989
- return Pn.get(t, o);
1044
+ return Dn.get(t, l);
990
1045
  {
991
- const C = yield H.value.params;
992
- return delete o.params, delete H.value.params, Pn.post(t, C, H.value);
1046
+ const f = l, { params: m } = f, E = Tn(f, ["params"]);
1047
+ return Dn.post(t, yield m, E);
993
1048
  }
994
1049
  });
995
1050
  }
996
- function Gt(t) {
997
- j("load-success", t);
998
- const o = e.transform ? e.transform(t.data) : t.data;
999
- S.value = ve(o, e.dataPath, null), h.value = ve(o, e.paginationPath, null), h.value === null && Re(`vuetable: pagination-path ${e.paginationPath} not found.
1000
- It looks like the data returned from the server does not have pagination information
1001
- or you may have set it incorrectly.
1002
-
1003
- You can explicitly suppress this warning by setting pagination-path="".`), De(() => {
1004
- Ue(), Le(), j("pagination-data", h.value), j("loaded");
1005
- });
1051
+ function dt(t) {
1052
+ Yt(t, x);
1006
1053
  }
1007
- function Le() {
1008
- Lt || (we !== null && clearTimeout(we), we = setTimeout(() => {
1009
- we = null, Ie();
1054
+ function Yt(t, l) {
1055
+ if (!D(l) || (B("load-success", t), !D(l))) return;
1056
+ const f = e.transform ? e.transform(t.data) : t.data;
1057
+ D(l) && Ut(f, l, !0);
1058
+ }
1059
+ function Ze() {
1060
+ qe || (ke !== null && clearTimeout(ke), ke = setTimeout(() => {
1061
+ ke = null, Le();
1010
1062
  }, 80));
1011
1063
  }
1012
- function Ie() {
1013
- De(() => {
1014
- const t = b.value;
1015
- t != null && (ae.value = t.scrollHeight > t.clientHeight, j("scrollbar-visible", ae.value));
1064
+ function Le() {
1065
+ qe || Ve(() => {
1066
+ if (qe) return;
1067
+ const t = g.value;
1068
+ t != null && (M.value = t.scrollHeight > t.clientHeight, B("scrollbar-visible", M.value));
1016
1069
  });
1017
1070
  }
1018
- function zt(t) {
1019
- console.error("load-error", t), j("load-error", t), j("loaded");
1071
+ function Qe(t) {
1072
+ ft(t, x);
1073
+ }
1074
+ function ft(t, l) {
1075
+ D(l) && (console.error("load-error", t), D(l) && (B("load-error", t), D(l) && B("loaded")));
1020
1076
  }
1021
- function rt() {
1077
+ function bt() {
1022
1078
  let t = {};
1023
- return typeof e.queryParams == "function" ? (t = e.queryParams(p.value, y.value, e.perPage), typeof t == "object" ? t : {}) : (t[e.queryParams.sort] = Kt(), t[e.queryParams.page] = y.value, t[e.queryParams.perPage] = e.perPage, t);
1079
+ return typeof e.queryParams == "function" ? (t = e.queryParams(w.value, O.value, e.perPage), typeof t == "object" ? t : {}) : (t[e.queryParams.sort] = Xt(), t[e.queryParams.page] = O.value, t[e.queryParams.perPage] = e.perPage, t);
1024
1080
  }
1025
- function Kt() {
1081
+ function Xt() {
1026
1082
  var t;
1027
- return !p.value || ((t = p.value[0]) == null ? void 0 : t.field) == "" ? "" : typeof e.sortParams == "function" ? e.sortParams(p.value) : st();
1083
+ return !w.value || ((t = w.value[0]) == null ? void 0 : t.field) == "" ? "" : typeof e.sortParams == "function" ? e.sortParams(w.value) : gt();
1028
1084
  }
1029
- function st() {
1030
- return p.value.map((t) => `${t.sortField}|${t.direction}`).join(",");
1085
+ function gt() {
1086
+ return w.value.map((t) => `${t.sortField}|${t.direction}`).join(",");
1031
1087
  }
1032
- function Ut(t) {
1033
- for (let o in e.appendParams)
1034
- t[o] = e.appendParams[o];
1088
+ function _t(t) {
1089
+ for (let l in e.appendParams)
1090
+ t[l] = e.appendParams[l];
1035
1091
  return t;
1036
1092
  }
1037
- function Ze(t) {
1093
+ function Ye(t) {
1038
1094
  return t.sortField !== null;
1039
1095
  }
1040
- function xt(t) {
1041
- if (!Ze(t))
1096
+ function en(t) {
1097
+ if (!Ye(t))
1042
1098
  return !1;
1043
- for (let o = 0; o < p.value.length; o++)
1044
- if (it(t, o))
1045
- return o;
1099
+ for (let l = 0; l < w.value.length; l++)
1100
+ if (vt(t, l))
1101
+ return l;
1046
1102
  return !1;
1047
1103
  }
1048
- function it(t, o) {
1049
- return p.value[o].field === t.name && p.value[o].sortField === t.sortField;
1104
+ function vt(t, l) {
1105
+ return w.value[l].field === t.name && w.value[l].sortField === t.sortField;
1050
1106
  }
1051
- function Jt(t, o) {
1052
- if (!Ze(t)) return;
1053
- const C = e.multiSortKey.toLowerCase() + "Key";
1054
- e.multiSort && o[C] ? Zt(t) : ft(t), y.value = e.firstPage, (B.value || e.dataManager) && fe();
1107
+ function tn(t, l) {
1108
+ if (!Ye(t)) return;
1109
+ const f = e.multiSortKey.toLowerCase() + "Key";
1110
+ e.multiSort && l[f] ? nn(t) : mt(t), O.value = e.firstPage, (re.value || e.dataManager) && ve();
1055
1111
  }
1056
1112
  function He() {
1057
- W || fa(p);
1113
+ K || Pa(w);
1058
1114
  }
1059
- function ut(t, o) {
1060
- p.value.push({
1115
+ function ht(t, l) {
1116
+ w.value.push({
1061
1117
  field: t.name,
1062
1118
  sortField: t.sortField,
1063
- direction: o || "asc"
1119
+ direction: l || "asc"
1064
1120
  }), He();
1065
1121
  }
1066
- function ct(t) {
1067
- p.value.splice(t, 1), He();
1122
+ function pt(t) {
1123
+ w.value.splice(t, 1), He();
1068
1124
  }
1069
- function dt(t, o) {
1070
- p.value[t].direction = o, He();
1125
+ function yt(t, l) {
1126
+ w.value[t].direction = l, He();
1071
1127
  }
1072
- function Zt(t) {
1073
- let o = xt(t);
1074
- o === !1 ? ut(t, "asc") : p.value[o].direction === "asc" ? dt(o, "desc") : ct(o);
1128
+ function nn(t) {
1129
+ let l = en(t);
1130
+ l === !1 ? ht(t, "asc") : w.value[l].direction === "asc" ? yt(l, "desc") : pt(l);
1075
1131
  }
1076
- function ft(t) {
1077
- if (p.value.length === 0) {
1078
- ut(t, "asc");
1132
+ function mt(t) {
1133
+ if (w.value.length === 0) {
1134
+ ht(t, "asc");
1079
1135
  return;
1080
1136
  }
1081
- p.value.splice(1), it(t, 0) ? p.value[0].direction = p.value[0].direction === "asc" ? "desc" : "asc" : p.value[0].direction = "asc", p.value[0].field = t.name, p.value[0].sortField = t.sortField, He();
1137
+ w.value.splice(1), vt(t, 0) ? w.value[0].direction = w.value[0].direction === "asc" ? "desc" : "asc" : w.value[0].direction = "asc", w.value[0].field = t.name, w.value[0].sortField = t.sortField, He();
1082
1138
  }
1083
- function Qt() {
1084
- E.value = L([]).value;
1139
+ function an() {
1140
+ I.value = A([]).value;
1085
1141
  }
1086
- function bt() {
1087
- var o;
1088
- if (!T) return;
1089
- const t = W ? (o = s == null ? void 0 : s.proxy) == null ? void 0 : o.$options.propsData : s == null ? void 0 : s.vnode.props;
1090
- (t == null ? void 0 : t.sortOrder) === void 0 && (t == null ? void 0 : t["sort-order"]) === void 0 || (T = !1, p.value = Qe(e.sortOrder), Be());
1142
+ function Ct() {
1143
+ var l;
1144
+ if (!j) return;
1145
+ const t = K ? (l = s == null ? void 0 : s.proxy) == null ? void 0 : l.$options.propsData : s == null ? void 0 : s.vnode.props;
1146
+ (t == null ? void 0 : t.sortOrder) === void 0 && (t == null ? void 0 : t["sort-order"]) === void 0 || (j = !1, w.value = Xe(e.sortOrder), Be());
1091
1147
  }
1092
- function gt(t) {
1148
+ function wt(t) {
1093
1149
  return typeof t.formatter == "function";
1094
1150
  }
1095
- function Yt(t, o) {
1096
- if (gt(t) && typeof t.formatter == "function")
1097
- return t.formatter(ve(o, t.name), s == null ? void 0 : s.proxy);
1151
+ function ln(t, l) {
1152
+ if (wt(t) && typeof t.formatter == "function")
1153
+ return t.formatter(Me(l, t.name), s == null ? void 0 : s.proxy);
1098
1154
  }
1099
- function ve(t, o, C) {
1100
- C = typeof C == "undefined" ? null : C;
1101
- let k = t;
1102
- return o.trim() != "" && o.split(".").forEach((z) => {
1103
- if (k !== null && typeof k[z] != "undefined" && k[z] !== null)
1104
- k = k[z];
1155
+ function Me(t, l, f) {
1156
+ f = typeof f == "undefined" ? null : f;
1157
+ let m = t;
1158
+ return l.trim() != "" && l.split(".").forEach((W) => {
1159
+ if (m !== null && typeof m[W] != "undefined" && m[W] !== null)
1160
+ m = m[W];
1105
1161
  else {
1106
- k = C;
1162
+ m = f;
1107
1163
  return;
1108
1164
  }
1109
- }), k;
1165
+ }), m;
1110
1166
  }
1111
- function vt(t) {
1112
- pt(t) || F.value.push(t);
1167
+ function Pt(t) {
1168
+ St(t) || H.value.push(t);
1113
1169
  }
1114
- function ht(t) {
1115
- F.value = F.value.filter((o) => o !== t);
1170
+ function kt(t) {
1171
+ H.value = H.value.filter((l) => l !== t);
1116
1172
  }
1117
- function pt(t) {
1118
- return F.value.indexOf(t) >= 0;
1173
+ function St(t) {
1174
+ return H.value.indexOf(t) >= 0;
1119
1175
  }
1120
- function Xt() {
1121
- F.value = [];
1176
+ function on() {
1177
+ H.value = [];
1122
1178
  }
1123
- function _t() {
1124
- y.value > e.firstPage && (y.value -= 1, fe());
1179
+ function rn() {
1180
+ O.value > e.firstPage && (O.value -= 1, ve());
1125
1181
  }
1126
- function en() {
1127
- y.value < h.value.last_page && (y.value += 1, fe());
1182
+ function sn() {
1183
+ O.value < C.value.last_page && (O.value += 1, ve());
1128
1184
  }
1129
- function tn(t) {
1130
- t != y.value && t >= e.firstPage && t <= h.value.last_page && (y.value = t, fe());
1185
+ function un(t) {
1186
+ t != O.value && t >= e.firstPage && t <= C.value.last_page && (O.value = t, ve());
1131
1187
  }
1132
1188
  function Ae(t) {
1133
- return D.value.indexOf(t) >= 0;
1189
+ return R.value.indexOf(t) >= 0;
1134
1190
  }
1135
- function yt(t) {
1136
- Ae(t) || D.value.push(t), Ie();
1191
+ function $t(t) {
1192
+ Ae(t) || R.value.push(t), Le();
1137
1193
  }
1138
- function mt(t) {
1139
- Ae(t) && (D.value.splice(
1140
- D.value.indexOf(t),
1194
+ function Ft(t) {
1195
+ Ae(t) && (R.value.splice(
1196
+ R.value.indexOf(t),
1141
1197
  1
1142
- ), Le());
1198
+ ), Ze());
1143
1199
  }
1144
- function nn(t) {
1145
- Ae(t) ? mt(t) : yt(t);
1200
+ function cn(t) {
1201
+ Ae(t) ? Ft(t) : $t(t);
1146
1202
  }
1147
- function an(t) {
1148
- t < 0 || t >= v.value.length || (v.value[t].visible = !0);
1203
+ function dn(t) {
1204
+ t < 0 || t >= h.value.length || (h.value[t].visible = !0);
1149
1205
  }
1150
- function ln(t) {
1151
- t < 0 || t >= v.value.length || (v.value[t].visible = !1);
1206
+ function fn(t) {
1207
+ t < 0 || t >= h.value.length || (h.value[t].visible = !1);
1152
1208
  }
1153
- function on(t) {
1154
- t < 0 || t >= v.value.length || (v.value[t].visible = !v.value[t].visible);
1209
+ function bn(t) {
1210
+ t < 0 || t >= h.value.length || (h.value[t].visible = !h.value[t].visible);
1155
1211
  }
1156
- function rn(t = null, o = null, C = null) {
1157
- return t = t === null ? 0 : t, o = o === null ? e.perPage : o, C = C === null ? y.value : C, {
1212
+ function gn(t = null, l = null, f = null) {
1213
+ return t = t === null ? 0 : t, l = l === null ? e.perPage : l, f = f === null ? O.value : f, {
1158
1214
  total: t,
1159
- per_page: o,
1160
- current_page: C,
1161
- last_page: Math.ceil(t / o) || 0,
1215
+ per_page: l,
1216
+ current_page: f,
1217
+ last_page: Math.ceil(t / l) || 0,
1162
1218
  next_page_url: "",
1163
1219
  prev_page_url: "",
1164
- from: (C - 1) * o + 1,
1165
- to: Math.min(C * o, t)
1220
+ from: (f - 1) * l + 1,
1221
+ to: Math.min(f * l, t)
1166
1222
  };
1167
1223
  }
1168
- function Qe(t) {
1169
- const o = (C) => ba(C) || Object.isFrozen(St(C));
1170
- return o(t) || t.some(o) ? L(t.map((C) => q({}, C))).value : t;
1224
+ function Xe(t) {
1225
+ const l = (f) => ka(f) || Object.isFrozen(Dt(f));
1226
+ return l(t) || t.some(l) ? A(t.map((f) => q({}, f))).value : t;
1171
1227
  }
1172
1228
  function Be() {
1173
1229
  let t = !1;
1174
- p.value.forEach((o) => {
1175
- const C = o.sortField || o.field;
1176
- o.sortField !== C && (da(o, "sortField", C), t = !0);
1230
+ w.value.forEach((l) => {
1231
+ const f = l.sortField || l.field;
1232
+ l.sortField !== f && (wa(l, "sortField", f), t = !0);
1177
1233
  }), t && He();
1178
1234
  }
1179
- function sn() {
1180
- if (e.data !== null && Array.isArray(e.data)) {
1181
- Pe(e.data);
1182
- return;
1235
+ function _n() {
1236
+ vn(++x);
1237
+ }
1238
+ function vn(t) {
1239
+ if (D(t)) {
1240
+ if (e.data !== null && Array.isArray(e.data)) {
1241
+ Ie(e.data, t);
1242
+ return;
1243
+ }
1244
+ e.dataManager ? hn(t) : Ie(e.data, t);
1183
1245
  }
1184
- e.dataManager ? un() : Pe(e.data);
1185
1246
  }
1186
- function un() {
1187
- const t = e.dataManager(p.value, rn());
1188
- dn(t) ? t.then((o) => Pe(o)) : Pe(t);
1247
+ function ea() {
1248
+ hn(++x);
1189
1249
  }
1190
- function cn(t) {
1250
+ function hn(t) {
1251
+ if (!D(t)) return;
1252
+ const l = e.dataManager(w.value, gn());
1253
+ yn(l) ? l.then((f) => Ie(f, t)) : Ie(l, t);
1254
+ }
1255
+ function pn(t) {
1191
1256
  return typeof t == "object" && t !== null;
1192
1257
  }
1193
- function dn(t) {
1194
- return cn(t) && typeof t.then == "function";
1258
+ function yn(t) {
1259
+ return pn(t) && typeof t.then == "function";
1195
1260
  }
1196
- function Gn(t, o) {
1197
- return typeof e.rowClass == "function" ? e.rowClass(t, o) : e.rowClass;
1261
+ function ta(t, l) {
1262
+ return typeof e.rowClass == "function" ? e.rowClass(t, l) : e.rowClass;
1198
1263
  }
1199
- function zn(t, o) {
1200
- return typeof e.detailRowClass == "function" ? e.detailRowClass(t, o) : e.detailRowClass;
1264
+ function na(t, l) {
1265
+ return typeof e.detailRowClass == "function" ? e.detailRowClass(t, l) : e.detailRowClass;
1201
1266
  }
1202
- function Kn(t, o, C) {
1203
- return j("row-clicked", { data: t, index: o, event: C }), !0;
1267
+ function aa(t, l, f) {
1268
+ return B("row-clicked", { data: t, index: l, event: f }), !0;
1204
1269
  }
1205
- function Un(t, o, C) {
1206
- j("row-dblclicked", { data: t, index: o, event: C });
1270
+ function la(t, l, f) {
1271
+ B("row-dblclicked", { data: t, index: l, event: f });
1207
1272
  }
1208
- function xn(t, o, C) {
1209
- j("detail-row-clicked", { data: t, index: o, event: C });
1273
+ function oa(t, l, f) {
1274
+ B("detail-row-clicked", { data: t, index: l, event: f });
1210
1275
  }
1211
- function Jn(t, o, C, k) {
1212
- j("cell-clicked", { data: t, index: o, field: C, event: k });
1276
+ function ra(t, l, f, m) {
1277
+ B("cell-clicked", { data: t, index: l, field: f, event: m });
1213
1278
  }
1214
- function Zn(t, o, C, k) {
1215
- j("cell-dblclicked", { data: t, index: o, field: C, event: k });
1279
+ function sa(t, l, f, m) {
1280
+ B("cell-dblclicked", { data: t, index: l, field: f, event: m });
1216
1281
  }
1217
- function Qn(t, o, C, k) {
1218
- j("cell-rightclicked", { data: t, index: o, field: C, event: k });
1282
+ function ia(t, l, f, m) {
1283
+ B("cell-rightclicked", { data: t, index: l, field: f, event: m });
1219
1284
  }
1220
- function Yn(t, o, C) {
1221
- j("row-mouseover", { data: t, index: o, event: C });
1285
+ function ua(t, l, f) {
1286
+ B("row-mouseover", { data: t, index: l, event: f });
1222
1287
  }
1223
- function Xn(t, o) {
1224
- j("field-event", t, o, s == null ? void 0 : s.proxy);
1288
+ function ca(t, l) {
1289
+ B("field-event", t, l, s == null ? void 0 : s.proxy);
1225
1290
  }
1226
- function fn(t, o) {
1227
- j("header-event", t, o, s == null ? void 0 : s.proxy);
1291
+ function mn(t, l) {
1292
+ B("header-event", t, l, s == null ? void 0 : s.proxy);
1228
1293
  }
1229
- function bn(t, o, C) {
1230
- if (C[e.trackBy] === void 0) {
1231
- Re(`checkbox field: The "${e.trackBy}" field does not exist! Make sure the field you specify in "track-by" prop does exist.`);
1294
+ function Cn(t, l, f) {
1295
+ if (f[e.trackBy] === void 0) {
1296
+ De(`checkbox field: The "${e.trackBy}" field does not exist! Make sure the field you specify in "track-by" prop does exist.`);
1232
1297
  return;
1233
1298
  }
1234
- const k = C[e.trackBy];
1235
- t ? vt(k) : ht(k), j("checkbox-toggled", t, o);
1236
- }
1237
- function gn(t) {
1238
- var o, C;
1239
- t ? (o = S.value) == null || o.forEach((k) => {
1240
- vt(k[e.trackBy]);
1241
- }) : (C = S.value) == null || C.forEach((k) => {
1242
- ht(k[e.trackBy]);
1243
- }), j("checkbox-toggled-all", t);
1244
- }
1245
- function vn(t) {
1246
- t === "prev" ? _t() : t === "next" ? en() : tn(t);
1247
- }
1248
- function Ct() {
1249
- return fe();
1250
- }
1251
- function j(t, ...o) {
1252
- return n(`${e.eventPrefix}${t}`, ...o);
1253
- }
1254
- function _n() {
1255
- var k, G, z, he;
1256
- if (g.discover((he = (k = Je("default")) == null ? void 0 : k()) != null ? he : W ? (z = (G = s == null ? void 0 : s.proxy) == null ? void 0 : G.$slots) == null ? void 0 : z.default : void 0), e.fields === void 0 && g.reconcile(), W) return {};
1257
- const t = String(e.eventPrefix), o = [t, `${t}x`.replace(/-(\w)/g, (te, Y) => Y.toUpperCase()).slice(0, -1)].map((te) => `on${te.charAt(0).toUpperCase()}${te.slice(1)}`), C = {};
1258
- for (const te in u)
1259
- if (Object.prototype.hasOwnProperty.call(u, te)) {
1260
- if (/^on[^a-z]/.test(te)) {
1261
- const Y = te.replace(/(?:Once|Passive|Capture)+$/, "");
1262
- if (!te.startsWith("on:") && !/^on[A-Z][a-z0-9]*$/.test(Y) && (t === "" || o.some((ea) => Y.startsWith(ea)))) continue;
1299
+ const m = f[e.trackBy];
1300
+ t ? Pt(m) : kt(m), B("checkbox-toggled", t, l, f);
1301
+ }
1302
+ function wn(t) {
1303
+ var l, f;
1304
+ t ? (l = $.value) == null || l.forEach((m) => {
1305
+ Pt(m[e.trackBy]);
1306
+ }) : (f = $.value) == null || f.forEach((m) => {
1307
+ kt(m[e.trackBy]);
1308
+ }), B("checkbox-toggled-all", t);
1309
+ }
1310
+ function Pn(t) {
1311
+ t === "prev" ? rn() : t === "next" ? sn() : un(t);
1312
+ }
1313
+ function Ot() {
1314
+ return ve();
1315
+ }
1316
+ function B(t, ...l) {
1317
+ return n(`${e.eventPrefix}${t}`, ...l);
1318
+ }
1319
+ function da() {
1320
+ var m, E, W, X;
1321
+ if (v.discover((X = (m = Je("default")) == null ? void 0 : m()) != null ? X : K ? (W = (E = s == null ? void 0 : s.proxy) == null ? void 0 : E.$slots) == null ? void 0 : W.default : void 0), e.fields === void 0 && v.reconcile(), K) return {};
1322
+ const t = String(e.eventPrefix), l = [t, `${t}x`.replace(/-(\w)/g, (le, _) => _.toUpperCase()).slice(0, -1)].map((le) => `on${le.charAt(0).toUpperCase()}${le.slice(1)}`), f = {};
1323
+ for (const le in i)
1324
+ if (Object.prototype.hasOwnProperty.call(i, le)) {
1325
+ if (/^on[^a-z]/.test(le)) {
1326
+ const _ = le.replace(/(?:Once|Passive|Capture)+$/, "");
1327
+ if (!le.startsWith("on:") && !/^on[A-Z][a-z0-9]*$/.test(_) && (t === "" || l.some((fa) => _.startsWith(fa)))) continue;
1263
1328
  }
1264
- C[te] = u[te];
1329
+ f[le] = i[le];
1265
1330
  }
1266
- return C;
1267
- }
1268
- function wt() {
1269
- return y.value = e.firstPage, fe();
1270
- }
1271
- function hn() {
1272
- S.value = null, h.value = null, j("data-reset");
1273
- }
1274
- return _(() => e.multiSort, (t) => {
1275
- !t && p.value.length > 1 && (p.value.splice(1), He(), fe());
1276
- }), _(() => e.apiUrl, (t, o) => e.reactiveApiUrl && t !== o && wt()), _(() => e.data, Pe, { immediate: !0 }), _([S, me], () => {
1277
- U.value && De(Le);
1278
- }), _(() => e.tableHeight, (t, o) => {
1279
- (t == null || o != null) && Ie();
1280
- }), _(() => {
1331
+ return f;
1332
+ }
1333
+ function Tt() {
1334
+ return O.value = e.firstPage, ve();
1335
+ }
1336
+ function kn() {
1337
+ const t = ++x;
1338
+ D(t) && ($.value = null, D(t) && (C.value = null, D(t) && B("data-reset")));
1339
+ }
1340
+ return te(() => e.multiSort, (t) => {
1341
+ !t && w.value.length > 1 && (w.value.splice(1), He(), ve());
1342
+ }), te(() => e.apiUrl, (t, l) => e.reactiveApiUrl && t !== l && Tt()), te(() => e.data, st, { immediate: !0 }), te([$, Pe], () => {
1343
+ de.value && Ve(Ze);
1344
+ }), te(() => e.tableHeight, (t, l) => {
1345
+ (t == null || l != null) && Le();
1346
+ }), te(() => {
1281
1347
  var t;
1282
- return { source: e.fields, fields: (t = e.fields) == null ? void 0 : t.map((o) => ({ source: o, fixed: typeof o == "object" && o !== null ? o.fixed : void 0, fixedOrder: typeof o == "object" && o !== null ? o.fixedOrder : void 0 })) };
1283
- }, (t, o) => {
1284
- var C;
1285
- if (!o || t.source !== o.source || !t.fields || t.fields.length !== ((C = o.fields) == null ? void 0 : C.length) || t.fields.some((k, G) => {
1286
- var z;
1287
- return k.source !== ((z = o.fields) == null ? void 0 : z[G].source);
1348
+ return { source: e.fields, fields: (t = e.fields) == null ? void 0 : t.map((l) => ({ source: l, fixed: typeof l == "object" && l !== null ? l.fixed : void 0, fixedOrder: typeof l == "object" && l !== null ? l.fixedOrder : void 0 })) };
1349
+ }, (t, l) => {
1350
+ var f;
1351
+ if (!l || t.source !== l.source || !t.fields || t.fields.length !== ((f = l.fields) == null ? void 0 : f.length) || t.fields.some((m, E) => {
1352
+ var W;
1353
+ return m.source !== ((W = l.fields) == null ? void 0 : W[E].source);
1288
1354
  })) {
1289
- tt();
1355
+ lt();
1290
1356
  return;
1291
1357
  }
1292
- t.fields.forEach((k, G) => {
1293
- var z, he;
1294
- k.fixed !== ((z = o.fields) == null ? void 0 : z[G].fixed) && (v.value[G].fixed = k.fixed), k.fixedOrder !== ((he = o.fields) == null ? void 0 : he[G].fixedOrder) && (v.value[G].fixedOrder = k.fixedOrder);
1358
+ t.fields.forEach((m, E) => {
1359
+ var W, X;
1360
+ m.fixed !== ((W = l.fields) == null ? void 0 : W[E].fixed) && (h.value[E].fixed = m.fixed), m.fixedOrder !== ((X = l.fields) == null ? void 0 : X[E].fixedOrder) && (h.value[E].fixedOrder = m.fixedOrder);
1295
1361
  });
1296
- }, { immediate: !0 }), _(() => e.perPage, Ct), _(() => e.sortOrder, (t, o) => {
1297
- (t !== o || p.value === t || T) && (T = !1, p.value = Qe(t)), Be();
1298
- }, { flush: "sync" }), _(() => e.sortOrder.slice(), bt), _(() => e.httpOptions, (t) => {
1299
- H.value = t;
1300
- }, { immediate: !0 }), be(q({}, W ? {} : { sortOrder: E }), { bodyRevision: c, getSlot: Je, getRootAttrs: _n, tableContext: It, fireEvent: j, bodyWrapper: b, vuetable: d, tableFields: f, tableData: S, tablePagination: h, currentPage: y, selectedTo: F, visibleDetailRows: D, lastScrollPosition: R, scrollBarWidth: N, scrollVisible: ae, order: p, optionsHttp: H, instanceFetch: ee, tableCss: ge, dataIsAvailable: se, useDetailRow: $e, hasRowIdentifier: Fe, countVisibleFields: Te, countTableData: me, displayEmptyDataRow: Ee, emptyDataTable: Oe, lessThanMinRows: Me, blankRows: je, isApiMode: B, isDataMode: ie, isFixedHeader: U, getScrollBarWidth: At, handleScroll: Ke, warn: Re, bodyClass: Nn, normalizeFields: tt, newField: nt, normalizeFieldName: at, setData: Pe, checkIfRowIdentifierExists: Ue, makeTitle: xe, getFieldTitle: Bt, renderNormalField: Wn, isFieldComponent: lt, isFieldSlot: Vt, titleCase: ot, camelCase: Nt, loadData: fe, fetch: Wt, loadSuccess: Gt, updateHeader: Le, checkScrollbarVisibility: Ie, loadFailed: zt, getAllQueryParams: rt, getSortParam: Kt, getDefaultSortParam: st, getAppendParams: Ut, isSortable: Ze, currentSortOrderPosition: xt, fieldIsInSortOrderPosition: it, orderBy: Jt, addSortColumn: ut, removeSortColumn: ct, setSortColumnDirection: dt, multiColumnSort: Zt, singleColumnSort: ft, clearSortOrder: Qt, hasFormatter: gt, callFormatter: Yt, getObjectValue: ve, selectId: vt, unselectId: ht, isSelectedRow: pt, clearSelectedValues: Xt, gotoPreviousPage: _t, gotoNextPage: en, gotoPage: tn, isVisibleDetailRow: Ae, showDetailRow: yt, hideDetailRow: mt, toggleDetailRow: nn, showField: an, hideField: ln, toggleField: on, makePagination: rn, normalizeSortOrder: Be, handleDataMode: sn, callDataManager: un, isObject: cn, isPromiseObject: dn, onRowClass: Gn, onDetailRowClass: zn, onRowClicked: Kn, onRowDoubleClicked: Un, onDetailRowClick: xn, onCellClicked: Jn, onCellDoubleClicked: Zn, onCellRightClicked: Qn, onMouseOver: Yn, onFieldEvent: Xn, onHeaderEvent: fn, onCheckboxToggled: bn, onCheckboxToggledAll: gn, changePage: vn, reload: Ct, refresh: wt, resetData: hn, VuetableColGroup: kn });
1362
+ }, { immediate: !0 }), te(() => e.perPage, Ot), te(() => e.sortOrder, (t, l) => {
1363
+ (t !== l || w.value === t || j) && (j = !1, w.value = Xe(t)), Be();
1364
+ }, { flush: "sync" }), te(() => e.sortOrder.slice(), Ct), te(() => e.httpOptions, (t) => {
1365
+ ne.value = t;
1366
+ }, { immediate: !0 }), he(q({}, K ? {} : { sortOrder: I }), { bodyRevision: c, getSlot: Je, getRootAttrs: da, tableContext: zt, fireEvent: B, bodyWrapper: g, vuetable: d, tableFields: b, tableData: $, rowKeys: p, tablePagination: C, currentPage: O, selectedTo: H, visibleDetailRows: R, lastScrollPosition: N, scrollBarWidth: ge, scrollVisible: M, order: w, optionsHttp: ne, instanceFetch: me, tableCss: Ce, dataIsAvailable: we, useDetailRow: Fe, hasRowIdentifier: Oe, countVisibleFields: Ee, countTableData: Pe, displayEmptyDataRow: je, emptyDataTable: Te, lessThanMinRows: G, blankRows: ue, isApiMode: re, isDataMode: ce, isFixedHeader: de, getScrollBarWidth: Kt, handleScroll: Ue, warn: De, bodyClass: Yn, normalizeFields: lt, newField: ot, normalizeFieldName: rt, setData: st, checkIfRowIdentifierExists: it, makeTitle: xe, getFieldTitle: xt, renderNormalField: Xn, isFieldComponent: ut, isFieldSlot: Jt, titleCase: ct, camelCase: Zt, loadData: ve, fetch: Qt, loadSuccess: dt, updateHeader: Ze, checkScrollbarVisibility: Le, loadFailed: Qe, getAllQueryParams: bt, getSortParam: Xt, getDefaultSortParam: gt, getAppendParams: _t, isSortable: Ye, currentSortOrderPosition: en, fieldIsInSortOrderPosition: vt, orderBy: tn, addSortColumn: ht, removeSortColumn: pt, setSortColumnDirection: yt, multiColumnSort: nn, singleColumnSort: mt, clearSortOrder: an, hasFormatter: wt, callFormatter: ln, getObjectValue: Me, selectId: Pt, unselectId: kt, isSelectedRow: St, clearSelectedValues: on, gotoPreviousPage: rn, gotoNextPage: sn, gotoPage: un, isVisibleDetailRow: Ae, showDetailRow: $t, hideDetailRow: Ft, toggleDetailRow: cn, showField: dn, hideField: fn, toggleField: bn, makePagination: gn, normalizeSortOrder: Be, handleDataMode: _n, callDataManager: ea, isObject: pn, isPromiseObject: yn, onRowClass: ta, onDetailRowClass: na, onRowClicked: aa, onRowDoubleClicked: la, onDetailRowClick: oa, onCellClicked: ra, onCellDoubleClicked: sa, onCellRightClicked: ia, onMouseOver: ua, onFieldEvent: ca, onHeaderEvent: mn, onCheckboxToggled: Cn, onCheckboxToggledAll: wn, changePage: Pn, reload: Ot, refresh: Tt, resetData: kn, VuetableColGroup: Hn });
1301
1367
  }
1302
- }), el = {
1368
+ }), cl = {
1303
1369
  key: 0,
1304
1370
  class: "vuetable-head-wrapper"
1305
- }, tl = {
1371
+ }, dl = {
1306
1372
  key: 1,
1307
1373
  class: "vuetable-header-groups"
1308
- }, nl = ["colspan"], al = { key: 0 }, ll = {
1374
+ }, fl = ["colspan"], bl = { key: 0 }, gl = {
1309
1375
  key: 1,
1310
1376
  class: "vuetable-header-groups"
1311
- }, ol = ["colspan"], rl = { class: "vuetable-body" }, sl = ["item-index", "onClick", "onDblclick", "onMouseover"], il = ["data-vuetable-column"], ul = ["data-vuetable-column", "onClick", "onDblclick", "onContextmenu"], cl = ["data-vuetable-column", "innerHTML", "onClick", "onDblclick", "onContextmenu"], dl = ["onClick"], fl = ["colspan"], bl = { key: 0 }, gl = ["colspan", "innerHTML"], vl = ["data-vuetable-column"];
1312
- function hl(e, n, a, u, s, b) {
1313
- const c = ke("vuetable-col-group"), i = ke("slot-outlet"), l = ke("vuetable-col-gutter"), d = ke("vuetable-detail-host"), v = ke("render-boundary");
1314
- return m(), w("div", Se(e.getRootAttrs(), {
1377
+ }, vl = ["colspan"], hl = { class: "vuetable-body" }, pl = ["item-index", "onClick", "onDblclick", "onMouseover"], yl = ["data-vuetable-column"], ml = ["data-vuetable-column", "onClick", "onDblclick", "onContextmenu"], Cl = ["data-vuetable-column", "innerHTML", "onClick", "onDblclick", "onContextmenu"], wl = ["onClick"], Pl = ["colspan"], kl = { key: 0 }, Sl = ["colspan", "innerHTML"], $l = ["data-vuetable-column"];
1378
+ function Fl(e, n, a, i, s, g) {
1379
+ const c = Se("vuetable-col-group"), u = Se("slot-outlet"), o = Se("vuetable-col-gutter"), d = Se("vuetable-detail-host"), h = Se("render-boundary");
1380
+ return y(), P("div", $e(e.getRootAttrs(), {
1315
1381
  class: [e.tableCss.tableWrapper, { "vuetable-fixed-columns": e.tableContext.fixedColumnsEnabled }]
1316
1382
  }), [
1317
- e.isFixedHeader ? (m(), w("div", el, [
1318
- V("table", {
1319
- class: O(["vuetable", "fixed-header", e.tableCss.tableClass, e.tableCss.tableHeaderClass])
1383
+ e.isFixedHeader ? (y(), P("div", cl, [
1384
+ z("table", {
1385
+ class: T(["vuetable", "fixed-header", e.tableCss.tableClass, e.tableCss.tableHeaderClass])
1320
1386
  }, [
1321
- Q(c, { "is-header": "" }),
1322
- V("thead", null, [
1323
- Q(i, {
1387
+ Y(c, { "is-header": "" }),
1388
+ z("thead", null, [
1389
+ Y(u, {
1324
1390
  content: e.getSlot("beforeHeader"),
1325
1391
  scope: e.tableContext.tableLayout
1326
1392
  }, null, 8, ["content", "scope"]),
1327
- va(e.$slots, "tableHeader", ha(pa(e.tableContext.tableLayout)), () => [
1328
- e.tableContext.tableLayout.groups.length && e.getSlot("tableHeaderGroups") ? (m(), ce(i, {
1393
+ $a(e.$slots, "tableHeader", Fa(Oa(e.tableContext.tableLayout)), () => [
1394
+ e.tableContext.tableLayout.groups.length && e.getSlot("tableHeaderGroups") ? (y(), fe(u, {
1329
1395
  key: 0,
1330
1396
  content: e.getSlot("tableHeaderGroups"),
1331
1397
  scope: e.tableContext.tableLayout
1332
- }, null, 8, ["content", "scope"])) : e.tableContext.tableLayout.groups.length ? (m(), w("tr", tl, [
1333
- (m(!0), w(K, null, oe(e.tableContext.tableLayout.headerGroups, (r) => (m(), w("th", {
1398
+ }, null, 8, ["content", "scope"])) : e.tableContext.tableLayout.groups.length ? (y(), P("tr", dl, [
1399
+ (y(!0), P(U, null, se(e.tableContext.tableLayout.headerGroups, (r) => (y(), P("th", {
1334
1400
  key: r.key,
1335
- style: ne(e.tableContext.tableLayout.getSpanProps(r.fields).style),
1401
+ style: oe(e.tableContext.tableLayout.getSpanProps(r.fields).style),
1336
1402
  colspan: r.colspan,
1337
- class: O([e.tableContext.tableLayout.getSpanProps(r.fields).class, { "vuetable-group-start": r.isGroupStart, "vuetable-group-end": r.isGroupEnd }]),
1403
+ class: T([e.tableContext.tableLayout.getSpanProps(r.fields).class, { "vuetable-group-start": r.isGroupStart, "vuetable-group-end": r.isGroupEnd }]),
1338
1404
  scope: "colgroup"
1339
- }, Xe(r.value), 15, nl))), 128)),
1340
- e.scrollVisible ? (m(), ce(l, { key: 0 })) : X("", !0)
1341
- ])) : X("", !0),
1342
- (m(!0), w(K, null, oe(e.headerRows, (r, f) => (m(), ce(Ne(r), {
1343
- key: f,
1344
- index: f,
1405
+ }, tt(r.value), 15, fl))), 128)),
1406
+ e.scrollVisible ? (y(), fe(o, { key: 0 })) : ee("", !0)
1407
+ ])) : ee("", !0),
1408
+ (y(!0), P(U, null, se(e.headerRows, (r, b) => (y(), fe(Ge(r), {
1409
+ key: b,
1410
+ index: b,
1345
1411
  vuetable: e.tableContext,
1346
1412
  "onVuetable:headerEvent": e.onHeaderEvent
1347
1413
  }, null, 40, ["index", "vuetable", "onVuetable:headerEvent"]))), 128))
1348
1414
  ]),
1349
- Q(i, {
1415
+ Y(u, {
1350
1416
  content: e.getSlot("afterHeader"),
1351
1417
  scope: e.tableContext.tableLayout
1352
1418
  }, null, 8, ["content", "scope"])
1353
1419
  ])
1354
1420
  ], 2)
1355
- ])) : X("", !0),
1356
- Q(v, {
1421
+ ])) : ee("", !0),
1422
+ Y(h, {
1357
1423
  revision: e.bodyRevision,
1358
1424
  "on-rendered": e.tableContext.fixedColumnsEnabled ? e.tableContext.scheduleFixedColumns : void 0
1359
1425
  }, {
1360
- default: Pt(() => [
1361
- V("div", {
1426
+ default: qt(() => [
1427
+ z("div", {
1362
1428
  ref: "bodyWrapper",
1363
- class: O([{ "fixed-header": e.isFixedHeader }, "vuetable-body-wrapper"]),
1364
- style: ne({ height: e.tableHeight })
1429
+ class: T([{ "fixed-header": e.isFixedHeader }, "vuetable-body-wrapper"]),
1430
+ style: oe({ height: e.tableHeight })
1365
1431
  }, [
1366
- V("table", {
1367
- class: O(["vuetable", e.isFixedHeader ? "fixed-header" : "", e.tableCss.tableClass, e.tableCss.tableBodyClass])
1432
+ z("table", {
1433
+ class: T(["vuetable", e.isFixedHeader ? "fixed-header" : "", e.tableCss.tableClass, e.tableCss.tableBodyClass])
1368
1434
  }, [
1369
- Q(c),
1370
- e.isFixedHeader ? X("", !0) : (m(), w("thead", al, [
1371
- Q(i, {
1435
+ Y(c),
1436
+ e.isFixedHeader ? ee("", !0) : (y(), P("thead", bl, [
1437
+ Y(u, {
1372
1438
  content: e.getSlot("beforeHeader"),
1373
1439
  scope: e.tableContext.tableLayout
1374
1440
  }, null, 8, ["content", "scope"]),
1375
- Q(i, {
1441
+ Y(u, {
1376
1442
  content: e.getSlot("tableHeader"),
1377
1443
  scope: e.tableContext.tableLayout
1378
1444
  }, {
1379
- default: Pt(() => [
1380
- e.tableContext.tableLayout.groups.length && e.getSlot("tableHeaderGroups") ? (m(), ce(i, {
1445
+ default: qt(() => [
1446
+ e.tableContext.tableLayout.groups.length && e.getSlot("tableHeaderGroups") ? (y(), fe(u, {
1381
1447
  key: 0,
1382
1448
  content: e.getSlot("tableHeaderGroups"),
1383
1449
  scope: e.tableContext.tableLayout
1384
- }, null, 8, ["content", "scope"])) : e.tableContext.tableLayout.groups.length ? (m(), w("tr", ll, [
1385
- (m(!0), w(K, null, oe(e.tableContext.tableLayout.headerGroups, (r) => (m(), w("th", {
1450
+ }, null, 8, ["content", "scope"])) : e.tableContext.tableLayout.groups.length ? (y(), P("tr", gl, [
1451
+ (y(!0), P(U, null, se(e.tableContext.tableLayout.headerGroups, (r) => (y(), P("th", {
1386
1452
  key: r.key,
1387
- style: ne(e.tableContext.tableLayout.getSpanProps(r.fields).style),
1453
+ style: oe(e.tableContext.tableLayout.getSpanProps(r.fields).style),
1388
1454
  colspan: r.colspan,
1389
- class: O([e.tableContext.tableLayout.getSpanProps(r.fields).class, { "vuetable-group-start": r.isGroupStart, "vuetable-group-end": r.isGroupEnd }]),
1455
+ class: T([e.tableContext.tableLayout.getSpanProps(r.fields).class, { "vuetable-group-start": r.isGroupStart, "vuetable-group-end": r.isGroupEnd }]),
1390
1456
  scope: "colgroup"
1391
- }, Xe(r.value), 15, ol))), 128)),
1392
- e.scrollVisible ? (m(), ce(l, { key: 0 })) : X("", !0)
1393
- ])) : X("", !0),
1394
- (m(!0), w(K, null, oe(e.headerRows, (r, f) => (m(), ce(Ne(r), {
1395
- key: f,
1396
- index: f,
1457
+ }, tt(r.value), 15, vl))), 128)),
1458
+ e.scrollVisible ? (y(), fe(o, { key: 0 })) : ee("", !0)
1459
+ ])) : ee("", !0),
1460
+ (y(!0), P(U, null, se(e.headerRows, (r, b) => (y(), fe(Ge(r), {
1461
+ key: b,
1462
+ index: b,
1397
1463
  vuetable: e.tableContext,
1398
1464
  "onVuetable:headerEvent": e.onHeaderEvent
1399
1465
  }, null, 40, ["index", "vuetable", "onVuetable:headerEvent"]))), 128))
1400
1466
  ]),
1401
1467
  _: 1
1402
1468
  }, 8, ["content", "scope"]),
1403
- Q(i, {
1469
+ Y(u, {
1404
1470
  content: e.getSlot("afterHeader"),
1405
1471
  scope: e.tableContext.tableLayout
1406
1472
  }, null, 8, ["content", "scope"])
1407
1473
  ])),
1408
- V("tfoot", null, [
1409
- Q(i, {
1474
+ z("tfoot", null, [
1475
+ Y(u, {
1410
1476
  content: e.getSlot("beforeFooter"),
1411
1477
  scope: e.tableContext.tableLayout
1412
1478
  }, null, 8, ["content", "scope"]),
1413
- Q(i, {
1479
+ Y(u, {
1414
1480
  content: e.getSlot("tableFooter"),
1415
1481
  scope: e.tableContext.tableLayout
1416
1482
  }, null, 8, ["content", "scope"]),
1417
- Q(i, {
1483
+ Y(u, {
1418
1484
  content: e.getSlot("afterFooter"),
1419
1485
  scope: e.tableContext.tableLayout
1420
1486
  }, null, 8, ["content", "scope"])
1421
1487
  ]),
1422
- V("tbody", rl, [
1423
- (m(!0), w(K, null, oe(e.tableData, (r, f) => (m(), w(K, { key: f }, [
1424
- V("tr", {
1425
- "item-index": f,
1426
- class: O(e.onRowClass(r, f)),
1427
- onClick: (g) => e.onRowClicked(r, f, g),
1428
- onDblclick: (g) => e.onRowDoubleClicked(r, f, g),
1429
- onMouseover: (g) => e.onMouseOver(r, f, g)
1488
+ z("tbody", hl, [
1489
+ (y(!0), P(U, null, se(e.tableData, (r, b) => (y(), P(U, {
1490
+ key: e.rowKeys[b]
1491
+ }, [
1492
+ z("tr", {
1493
+ "item-index": b,
1494
+ class: T(e.onRowClass(r, b)),
1495
+ onClick: (v) => e.onRowClicked(r, b, v),
1496
+ onDblclick: (v) => e.onRowDoubleClicked(r, b, v),
1497
+ onMouseover: (v) => e.onMouseOver(r, b, v)
1430
1498
  }, [
1431
- (m(!0), w(K, null, oe(e.tableFields, (g) => (m(), w(K, {
1432
- key: e.tableContext.getColumnKey(g)
1499
+ (y(!0), P(U, null, se(e.tableFields, (v) => (y(), P(U, {
1500
+ key: e.tableContext.getColumnKey(v)
1433
1501
  }, [
1434
- g.visible ? (m(), w(K, { key: 0 }, [
1435
- e.isFieldComponent(g.name) ? (m(), ce(Ne(g.name), {
1436
- key: e.tableContext.getColumnKey(g),
1502
+ v.visible ? (y(), P(U, { key: 0 }, [
1503
+ e.isFieldComponent(v.name) ? (y(), fe(Ge(v.name), {
1504
+ key: e.tableContext.getColumnKey(v),
1437
1505
  "row-data": r,
1438
- "row-index": f,
1439
- "row-field": g,
1506
+ "row-index": b,
1507
+ "row-field": v,
1440
1508
  vuetable: e.tableContext,
1441
- "data-vuetable-column": e.tableContext.getCellProps(g)["data-vuetable-column"],
1442
- class: O(e.bodyClass("vuetable-component", g)),
1443
- style: ne([{ width: g.width || void 0 }, e.tableContext.getCellProps(g).style]),
1509
+ "data-vuetable-column": e.tableContext.getCellProps(v)["data-vuetable-column"],
1510
+ class: T(e.bodyClass("vuetable-component", v)),
1511
+ style: oe([{ width: v.width || void 0 }, e.tableContext.getCellProps(v).style]),
1444
1512
  "onVuetable:fieldEvent": e.onFieldEvent
1445
- }, null, 40, ["row-data", "row-index", "row-field", "vuetable", "data-vuetable-column", "class", "style", "onVuetable:fieldEvent"])) : e.isFieldSlot(g.name) ? (m(), w("td", {
1446
- key: e.tableContext.getColumnKey(g),
1447
- "data-vuetable-column": e.tableContext.getCellProps(g)["data-vuetable-column"],
1448
- class: O(e.bodyClass("vuetable-slot", g)),
1449
- style: ne([{ width: g.width || void 0 }, e.tableContext.getCellProps(g).style])
1513
+ }, null, 40, ["row-data", "row-index", "row-field", "vuetable", "data-vuetable-column", "class", "style", "onVuetable:fieldEvent"])) : e.isFieldSlot(v.name) ? (y(), P("td", {
1514
+ key: e.tableContext.getColumnKey(v),
1515
+ "data-vuetable-column": e.tableContext.getCellProps(v)["data-vuetable-column"],
1516
+ class: T(e.bodyClass("vuetable-slot", v)),
1517
+ style: oe([{ width: v.width || void 0 }, e.tableContext.getCellProps(v).style])
1450
1518
  }, [
1451
- Q(i, {
1452
- content: e.getSlot(g.name),
1453
- scope: { rowData: r, rowIndex: f, rowField: g }
1519
+ Y(u, {
1520
+ content: e.getSlot(v.name),
1521
+ scope: { rowData: r, rowIndex: b, rowField: v }
1454
1522
  }, null, 8, ["content", "scope"])
1455
- ], 14, il)) : e.tableContext.getColumnSlot(g.name) ? (m(), w("td", {
1456
- key: e.tableContext.getColumnKey(g),
1457
- "data-vuetable-column": e.tableContext.getCellProps(g)["data-vuetable-column"],
1458
- class: O(e.bodyClass("vuetable-td-" + g.name, g)),
1459
- style: ne([{ width: g.width || void 0 }, e.tableContext.getCellProps(g).style]),
1460
- onClick: ($) => e.onCellClicked(r, f, g, $),
1461
- onDblclick: ($) => e.onCellDoubleClicked(r, f, g, $),
1462
- onContextmenu: ($) => e.onCellRightClicked(r, f, g, $)
1523
+ ], 14, yl)) : e.tableContext.getColumnSlot(v.name) ? (y(), P("td", {
1524
+ key: e.tableContext.getColumnKey(v),
1525
+ "data-vuetable-column": e.tableContext.getCellProps(v)["data-vuetable-column"],
1526
+ class: T(e.bodyClass("vuetable-td-" + v.name, v)),
1527
+ style: oe([{ width: v.width || void 0 }, e.tableContext.getCellProps(v).style]),
1528
+ onClick: (F) => e.onCellClicked(r, b, v, F),
1529
+ onDblclick: (F) => e.onCellDoubleClicked(r, b, v, F),
1530
+ onContextmenu: (F) => e.onCellRightClicked(r, b, v, F)
1463
1531
  }, [
1464
- Q(i, {
1465
- content: e.tableContext.getColumnSlot(g.name),
1466
- scope: { row: r, index: f, column: g }
1532
+ Y(u, {
1533
+ content: e.tableContext.getColumnSlot(v.name),
1534
+ scope: { row: r, index: b, column: v }
1467
1535
  }, null, 8, ["content", "scope"])
1468
- ], 46, ul)) : (m(), w("td", {
1469
- key: e.tableContext.getColumnKey(g),
1470
- "data-vuetable-column": e.tableContext.getCellProps(g)["data-vuetable-column"],
1471
- class: O(e.bodyClass("vuetable-td-" + g.name, g)),
1472
- style: ne([{ width: g.width || void 0 }, e.tableContext.getCellProps(g).style]),
1473
- innerHTML: e.renderNormalField(g, r),
1474
- onClick: ($) => e.onCellClicked(r, f, g, $),
1475
- onDblclick: ($) => e.onCellDoubleClicked(r, f, g, $),
1476
- onContextmenu: ($) => e.onCellRightClicked(r, f, g, $)
1477
- }, null, 46, cl))
1478
- ], 64)) : X("", !0)
1536
+ ], 46, ml)) : (y(), P("td", {
1537
+ key: e.tableContext.getColumnKey(v),
1538
+ "data-vuetable-column": e.tableContext.getCellProps(v)["data-vuetable-column"],
1539
+ class: T(e.bodyClass("vuetable-td-" + v.name, v)),
1540
+ style: oe([{ width: v.width || void 0 }, e.tableContext.getCellProps(v).style]),
1541
+ innerHTML: e.renderNormalField(v, r),
1542
+ onClick: (F) => e.onCellClicked(r, b, v, F),
1543
+ onDblclick: (F) => e.onCellDoubleClicked(r, b, v, F),
1544
+ onContextmenu: (F) => e.onCellRightClicked(r, b, v, F)
1545
+ }, null, 46, Cl))
1546
+ ], 64)) : ee("", !0)
1479
1547
  ], 64))), 128))
1480
- ], 42, sl),
1481
- e.useDetailRow ? (m(), ce(ya, {
1482
- key: f,
1548
+ ], 42, pl),
1549
+ e.useDetailRow ? (y(), fe(Ta, {
1550
+ key: "detail:" + e.rowKeys[b],
1483
1551
  name: e.detailRowTransition
1484
1552
  }, {
1485
- default: Pt(() => [
1486
- e.isVisibleDetailRow(r[e.trackBy]) ? (m(), w("tr", {
1487
- key: 0,
1488
- class: O(e.onDetailRowClass(r, f)),
1489
- onClick: (g) => e.onDetailRowClick(r, f, g)
1553
+ default: qt(() => [
1554
+ e.isVisibleDetailRow(r[e.trackBy]) ? (y(), P("tr", {
1555
+ key: "detail:" + e.rowKeys[b],
1556
+ class: T(e.onDetailRowClass(r, b)),
1557
+ onClick: (v) => e.onDetailRowClick(r, b, v)
1490
1558
  }, [
1491
- V("td", { colspan: e.countVisibleFields }, [
1492
- Q(d, {
1559
+ z("td", { colspan: e.countVisibleFields }, [
1560
+ Y(d, {
1493
1561
  "detail-component": e.detailRowComponent,
1494
1562
  "row-data": r,
1495
- "row-index": f,
1563
+ "row-index": b,
1496
1564
  options: e.detailRowOptions
1497
1565
  }, null, 8, ["detail-component", "row-data", "row-index", "options"])
1498
- ], 8, fl)
1499
- ], 10, dl)) : X("", !0)
1566
+ ], 8, Pl)
1567
+ ], 10, wl)) : ee("", !0)
1500
1568
  ]),
1501
1569
  _: 2
1502
- }, 1032, ["name"])) : X("", !0)
1570
+ }, 1032, ["name"])) : ee("", !0)
1503
1571
  ], 64))), 128)),
1504
- e.displayEmptyDataRow ? (m(), w("tr", bl, [
1505
- V("td", {
1572
+ e.displayEmptyDataRow ? (y(), P("tr", kl, [
1573
+ z("td", {
1506
1574
  colspan: e.countVisibleFields,
1507
1575
  class: "vuetable-empty-result",
1508
1576
  innerHTML: e.noDataTemplate
1509
- }, null, 8, gl)
1510
- ])) : X("", !0),
1511
- e.lessThanMinRows ? (m(!0), w(K, { key: 1 }, oe(e.blankRows, (r) => (m(), w("tr", {
1577
+ }, null, 8, Sl)
1578
+ ])) : ee("", !0),
1579
+ e.lessThanMinRows ? (y(!0), P(U, { key: 1 }, se(e.blankRows, (r) => (y(), P("tr", {
1512
1580
  key: r,
1513
1581
  class: "blank-row"
1514
1582
  }, [
1515
- (m(!0), w(K, null, oe(e.tableFields, (f) => (m(), w(K, null, [
1516
- f.visible ? (m(), w("td", {
1517
- key: e.tableContext.getColumnKey(f),
1518
- "data-vuetable-column": e.tableContext.getCellProps(f)["data-vuetable-column"],
1519
- class: O([e.tableContext.groupClass(f), e.tableContext.getCellProps(f).class]),
1520
- style: ne(e.tableContext.getCellProps(f).style)
1521
- }, "   ", 14, vl)) : X("", !0)
1583
+ (y(!0), P(U, null, se(e.tableFields, (b) => (y(), P(U, null, [
1584
+ b.visible ? (y(), P("td", {
1585
+ key: e.tableContext.getColumnKey(b),
1586
+ "data-vuetable-column": e.tableContext.getCellProps(b)["data-vuetable-column"],
1587
+ class: T([e.tableContext.groupClass(b), e.tableContext.getCellProps(b).class]),
1588
+ style: oe(e.tableContext.getCellProps(b).style)
1589
+ }, "   ", 14, $l)) : ee("", !0)
1522
1590
  ], 64))), 256))
1523
- ]))), 128)) : X("", !0)
1591
+ ]))), 128)) : ee("", !0)
1524
1592
  ])
1525
1593
  ], 2)
1526
1594
  ], 6)
@@ -1529,7 +1597,7 @@ function hl(e, n, a, u, s, b) {
1529
1597
  }, 8, ["revision", "on-rendered"])
1530
1598
  ], 16);
1531
1599
  }
1532
- const Ye = /* @__PURE__ */ de(_a, [["render", hl]]), pl = Object.assign(J({
1600
+ const et = /* @__PURE__ */ be(ul, [["render", Fl]]), Ol = Object.assign(Q({
1533
1601
  name: "VuetableColumn",
1534
1602
  inheritAttrs: !1,
1535
1603
  props: {
@@ -1547,56 +1615,56 @@ const Ye = /* @__PURE__ */ de(_a, [["render", hl]]), pl = Object.assign(J({
1547
1615
  },
1548
1616
  render: () => null
1549
1617
  }), { __vuetableColumn: !0 });
1550
- function x(e) {
1551
- return typeof e == "function" ? e() : ga(e);
1618
+ function Z(e) {
1619
+ return typeof e == "function" ? e() : Sa(e);
1552
1620
  }
1553
- function Ln(e, n) {
1554
- const a = e === void 0 || Hn(e) || typeof e == "function" || typeof e == "number" ? { onEachSide: e, firstPage: n } : e, u = () => x(a.onEachSide === void 0 ? 2 : a.onEachSide), s = () => x(a.firstPage === void 0 ? 1 : a.firstPage), b = L(null), c = L({}), i = L("vuetable-pagination:"), l = P(() => {
1621
+ function Kn(e, n) {
1622
+ const a = e === void 0 || Vn(e) || typeof e == "function" || typeof e == "number" ? { onEachSide: e, firstPage: n } : e, i = () => Z(a.onEachSide === void 0 ? 2 : a.onEachSide), s = () => Z(a.firstPage === void 0 ? 1 : a.firstPage), g = A(null), c = A({}), u = A("vuetable-pagination:"), o = k(() => {
1555
1623
  var R, N;
1556
- return (N = (R = b.value) == null ? void 0 : R.last_page) != null ? N : 0;
1557
- }), d = P(() => {
1624
+ return (N = (R = g.value) == null ? void 0 : R.last_page) != null ? N : 0;
1625
+ }), d = k(() => {
1558
1626
  var R;
1559
- return ((R = b.value) == null ? void 0 : R.current_page) === x(s);
1560
- }), v = P(() => {
1627
+ return ((R = g.value) == null ? void 0 : R.current_page) === Z(s);
1628
+ }), h = k(() => {
1561
1629
  var R;
1562
- return ((R = b.value) == null ? void 0 : R.current_page) === l.value;
1563
- }), r = P(() => x(u) * 2 + 1), f = P(() => b.value ? b.value.last_page - x(s) + 1 : 0), g = P(() => f.value < x(u) * 2 + 4), $ = P(() => !b.value || b.value.current_page <= x(u) ? 1 : b.value.current_page >= f.value - x(u) ? f.value - x(u) * 2 : b.value.current_page - x(u));
1564
- function S() {
1565
- c.value = q(q({}, ye.pagination), x(a.css === void 0 ? {} : a.css));
1630
+ return ((R = g.value) == null ? void 0 : R.current_page) === o.value;
1631
+ }), r = k(() => Z(i) * 2 + 1), b = k(() => g.value ? g.value.last_page - Z(s) + 1 : 0), v = k(() => b.value < Z(i) * 2 + 4), F = k(() => !g.value || g.value.current_page <= Z(i) ? 1 : g.value.current_page >= b.value - Z(i) ? b.value - Z(i) * 2 : g.value.current_page - Z(i));
1632
+ function $() {
1633
+ c.value = q(q({}, ye.pagination), Z(a.css === void 0 ? {} : a.css));
1566
1634
  }
1567
- function h(R) {
1635
+ function p(R) {
1568
1636
  var N;
1569
1637
  (N = a.emit) == null || N.call(a, "vuetable-pagination:change-page", R);
1570
1638
  }
1571
- function y(R) {
1572
- b.value = R;
1639
+ function C(R) {
1640
+ g.value = R;
1573
1641
  }
1574
- function F() {
1575
- b.value = null;
1642
+ function O() {
1643
+ g.value = null;
1576
1644
  }
1577
- function D(R) {
1645
+ function H(R) {
1578
1646
  var N;
1579
- return R === ((N = b.value) == null ? void 0 : N.current_page);
1647
+ return R === ((N = g.value) == null ? void 0 : N.current_page);
1580
1648
  }
1581
- return S(), {
1582
- tablePagination: b,
1649
+ return $(), {
1650
+ tablePagination: g,
1583
1651
  customCss: c,
1584
- eventPrefix: i,
1585
- lastPage: l,
1652
+ eventPrefix: u,
1653
+ lastPage: o,
1586
1654
  isOnFirstPage: d,
1587
- isOnLastPage: v,
1588
- notEnoughPages: g,
1655
+ isOnLastPage: h,
1656
+ notEnoughPages: v,
1589
1657
  windowSize: r,
1590
- windowStart: $,
1591
- totalPage: f,
1592
- setPaginationData: y,
1593
- resetData: F,
1594
- isCurrentPage: D,
1595
- mergeCss: S,
1596
- loadPage: h
1658
+ windowStart: F,
1659
+ totalPage: b,
1660
+ setPaginationData: C,
1661
+ resetData: O,
1662
+ isCurrentPage: H,
1663
+ mergeCss: $,
1664
+ loadPage: p
1597
1665
  };
1598
1666
  }
1599
- const yl = J({
1667
+ const Tl = Q({
1600
1668
  props: {
1601
1669
  css: { type: Object, required: !1, default: () => ({}) },
1602
1670
  onEachSide: { type: Number, required: !1, default: 2 },
@@ -1604,81 +1672,81 @@ const yl = J({
1604
1672
  },
1605
1673
  emits: ["vuetable-pagination:change-page"],
1606
1674
  setup(e, { emit: n }) {
1607
- const a = Rt(q(q({}, ye.pagination), e.css)), {
1608
- tablePagination: u,
1675
+ const a = Lt(q(q({}, ye.pagination), e.css)), {
1676
+ tablePagination: i,
1609
1677
  totalPage: s,
1610
- lastPage: b,
1678
+ lastPage: g,
1611
1679
  isOnFirstPage: c,
1612
- isOnLastPage: i,
1613
- notEnoughPages: l,
1680
+ isOnLastPage: u,
1681
+ notEnoughPages: o,
1614
1682
  windowSize: d,
1615
- windowStart: v,
1683
+ windowStart: h,
1616
1684
  isCurrentPage: r,
1617
- setPaginationData: f,
1618
- resetData: g
1619
- } = Ln(() => e.onEachSide, () => e.firstPage);
1620
- function $(S) {
1621
- n("vuetable-pagination:change-page", S);
1685
+ setPaginationData: b,
1686
+ resetData: v
1687
+ } = Kn(() => e.onEachSide, () => e.firstPage);
1688
+ function F($) {
1689
+ n("vuetable-pagination:change-page", $);
1622
1690
  }
1623
- return { tableCss: a, tablePagination: u, totalPage: s, lastPage: b, isOnFirstPage: c, isOnLastPage: i, notEnoughPages: l, windowSize: d, windowStart: v, isCurrentPage: r, setPaginationData: f, resetData: g, loadPage: $ };
1691
+ return { tableCss: a, tablePagination: i, totalPage: s, lastPage: g, isOnFirstPage: c, isOnLastPage: u, notEnoughPages: o, windowSize: d, windowStart: h, isCurrentPage: r, setPaginationData: b, resetData: v, loadPage: F };
1624
1692
  }
1625
- }), ml = { key: 1 }, Cl = { key: 1 }, wl = ["innerHTML", "onClick"], Pl = ["innerHTML", "onClick"], kl = { key: 1 }, Sl = { key: 1 };
1626
- function $l(e, n, a, u, s, b) {
1627
- return ma((m(), w("div", {
1628
- class: O(e.tableCss.wrapperClass)
1693
+ }), ql = { key: 1 }, Rl = { key: 1 }, Dl = ["innerHTML", "onClick"], Hl = ["innerHTML", "onClick"], Ml = { key: 1 }, El = { key: 1 };
1694
+ function jl(e, n, a, i, s, g) {
1695
+ return qa((y(), P("div", {
1696
+ class: T(e.tableCss.wrapperClass)
1629
1697
  }, [
1630
- V("a", {
1631
- class: O(["btn-nav", e.tableCss.linkClass, e.isOnFirstPage ? e.tableCss.disabledClass : ""]),
1698
+ z("a", {
1699
+ class: T(["btn-nav", e.tableCss.linkClass, e.isOnFirstPage ? e.tableCss.disabledClass : ""]),
1632
1700
  onClick: n[0] || (n[0] = (c) => e.loadPage(e.firstPage))
1633
1701
  }, [
1634
- e.tableCss.icons.first != "" ? (m(), w("i", {
1702
+ e.tableCss.icons.first != "" ? (y(), P("i", {
1635
1703
  key: 0,
1636
- class: O([e.tableCss.icons.first])
1637
- }, null, 2)) : (m(), w("span", ml, " « "))
1704
+ class: T([e.tableCss.icons.first])
1705
+ }, null, 2)) : (y(), P("span", ql, " « "))
1638
1706
  ], 2),
1639
- V("a", {
1640
- class: O(["btn-nav", e.tableCss.linkClass, e.isOnFirstPage ? e.tableCss.disabledClass : ""]),
1707
+ z("a", {
1708
+ class: T(["btn-nav", e.tableCss.linkClass, e.isOnFirstPage ? e.tableCss.disabledClass : ""]),
1641
1709
  onClick: n[1] || (n[1] = (c) => e.loadPage("prev"))
1642
1710
  }, [
1643
- e.tableCss.icons.next != "" ? (m(), w("i", {
1711
+ e.tableCss.icons.next != "" ? (y(), P("i", {
1644
1712
  key: 0,
1645
- class: O([e.tableCss.icons.prev])
1646
- }, null, 2)) : (m(), w("span", Cl, "  ‹ "))
1713
+ class: T([e.tableCss.icons.prev])
1714
+ }, null, 2)) : (y(), P("span", Rl, "  ‹ "))
1647
1715
  ], 2),
1648
- e.notEnoughPages ? (m(!0), w(K, { key: 0 }, oe(e.totalPage, (c, i) => (m(), w("a", {
1649
- key: i,
1650
- class: O([e.tableCss.pageClass, e.isCurrentPage(i + e.firstPage) ? e.tableCss.activeClass : ""]),
1716
+ e.notEnoughPages ? (y(!0), P(U, { key: 0 }, se(e.totalPage, (c, u) => (y(), P("a", {
1717
+ key: u,
1718
+ class: T([e.tableCss.pageClass, e.isCurrentPage(u + e.firstPage) ? e.tableCss.activeClass : ""]),
1651
1719
  innerHTML: c,
1652
- onClick: (l) => e.loadPage(i + e.firstPage)
1653
- }, null, 10, wl))), 128)) : (m(!0), w(K, { key: 1 }, oe(e.windowSize, (c, i) => (m(), w("a", {
1654
- key: i,
1655
- class: O([e.tableCss.pageClass, e.isCurrentPage(e.windowStart + i + e.firstPage - 1) ? e.tableCss.activeClass : ""]),
1720
+ onClick: (o) => e.loadPage(u + e.firstPage)
1721
+ }, null, 10, Dl))), 128)) : (y(!0), P(U, { key: 1 }, se(e.windowSize, (c, u) => (y(), P("a", {
1722
+ key: u,
1723
+ class: T([e.tableCss.pageClass, e.isCurrentPage(e.windowStart + u + e.firstPage - 1) ? e.tableCss.activeClass : ""]),
1656
1724
  innerHTML: e.windowStart + c - 1,
1657
- onClick: (l) => e.loadPage(e.windowStart + i + e.firstPage - 1)
1658
- }, null, 10, Pl))), 128)),
1659
- V("a", {
1660
- class: O(["btn-nav", e.tableCss.linkClass, e.isOnLastPage ? e.tableCss.disabledClass : ""]),
1725
+ onClick: (o) => e.loadPage(e.windowStart + u + e.firstPage - 1)
1726
+ }, null, 10, Hl))), 128)),
1727
+ z("a", {
1728
+ class: T(["btn-nav", e.tableCss.linkClass, e.isOnLastPage ? e.tableCss.disabledClass : ""]),
1661
1729
  onClick: n[2] || (n[2] = (c) => e.loadPage("next"))
1662
1730
  }, [
1663
- e.tableCss.icons.next != "" ? (m(), w("i", {
1731
+ e.tableCss.icons.next != "" ? (y(), P("i", {
1664
1732
  key: 0,
1665
- class: O([e.tableCss.icons.next])
1666
- }, null, 2)) : (m(), w("span", kl, " ›  "))
1733
+ class: T([e.tableCss.icons.next])
1734
+ }, null, 2)) : (y(), P("span", Ml, " ›  "))
1667
1735
  ], 2),
1668
- V("a", {
1669
- class: O(["btn-nav", e.tableCss.linkClass, e.isOnLastPage ? e.tableCss.disabledClass : ""]),
1736
+ z("a", {
1737
+ class: T(["btn-nav", e.tableCss.linkClass, e.isOnLastPage ? e.tableCss.disabledClass : ""]),
1670
1738
  onClick: n[3] || (n[3] = (c) => e.loadPage(e.lastPage))
1671
1739
  }, [
1672
- e.tableCss.icons.last != "" ? (m(), w("i", {
1740
+ e.tableCss.icons.last != "" ? (y(), P("i", {
1673
1741
  key: 0,
1674
- class: O([e.tableCss.icons.last])
1675
- }, null, 2)) : (m(), w("span", Sl, " » "))
1742
+ class: T([e.tableCss.icons.last])
1743
+ }, null, 2)) : (y(), P("span", El, " » "))
1676
1744
  ], 2)
1677
1745
  ], 2)), [
1678
- [Ca, e.tablePagination && e.lastPage > e.firstPage]
1746
+ [Ra, e.tablePagination && e.lastPage > e.firstPage]
1679
1747
  ]);
1680
1748
  }
1681
- const Fl = /* @__PURE__ */ de(yl, [["render", $l]]), Tl = J({
1749
+ const Il = /* @__PURE__ */ be(Tl, [["render", jl]]), Ll = Q({
1682
1750
  props: {
1683
1751
  css: { type: Object, required: !1, default: () => ({}) },
1684
1752
  pageText: { type: String, required: !1, default: "Page" },
@@ -1687,90 +1755,90 @@ const Fl = /* @__PURE__ */ de(yl, [["render", $l]]), Tl = J({
1687
1755
  },
1688
1756
  emits: ["vuetable-pagination:change-page"],
1689
1757
  setup(e, { emit: n }) {
1690
- const a = wa(), u = Rt(q(q({}, ye.pagination), e.css)), {
1758
+ const a = Da(), i = Lt(q(q({}, ye.pagination), e.css)), {
1691
1759
  tablePagination: s,
1692
- totalPage: b,
1760
+ totalPage: g,
1693
1761
  lastPage: c,
1694
- isOnFirstPage: i,
1695
- isOnLastPage: l,
1762
+ isOnFirstPage: u,
1763
+ isOnLastPage: o,
1696
1764
  notEnoughPages: d,
1697
- windowSize: v,
1765
+ windowSize: h,
1698
1766
  windowStart: r,
1699
- isCurrentPage: f,
1700
- setPaginationData: g,
1701
- resetData: $
1702
- } = Ln(() => e.onEachSide, () => e.firstPage);
1703
- function S(y) {
1704
- n("vuetable-pagination:change-page", y);
1705
- }
1706
- function h(y) {
1707
- S(y.target.selectedIndex + e.firstPage);
1708
- }
1709
- return a.on("vuetable:pagination-data", (y) => {
1710
- g(y);
1711
- }), { emitter: a, tableCss: u, tablePagination: s, totalPage: b, lastPage: c, isOnFirstPage: i, isOnLastPage: l, notEnoughPages: d, windowSize: v, windowStart: r, isCurrentPage: f, setPaginationData: g, resetData: $, loadPage: S, onPageSelected: h };
1767
+ isCurrentPage: b,
1768
+ setPaginationData: v,
1769
+ resetData: F
1770
+ } = Kn(() => e.onEachSide, () => e.firstPage);
1771
+ function $(C) {
1772
+ n("vuetable-pagination:change-page", C);
1773
+ }
1774
+ function p(C) {
1775
+ $(C.target.selectedIndex + e.firstPage);
1776
+ }
1777
+ return a.on("vuetable:pagination-data", (C) => {
1778
+ v(C);
1779
+ }), { emitter: a, tableCss: i, tablePagination: s, totalPage: g, lastPage: c, isOnFirstPage: u, isOnLastPage: o, notEnoughPages: d, windowSize: h, windowStart: r, isCurrentPage: b, setPaginationData: v, resetData: F, loadPage: $, onPageSelected: p };
1712
1780
  }
1713
- }), Ol = ["value", "selected"];
1714
- function ql(e, n, a, u, s, b) {
1715
- return m(), w("div", {
1716
- class: O([e.tableCss.wrapperClass])
1781
+ }), Al = ["value", "selected"];
1782
+ function Bl(e, n, a, i, s, g) {
1783
+ return y(), P("div", {
1784
+ class: T([e.tableCss.wrapperClass])
1717
1785
  }, [
1718
- V("a", {
1719
- class: O([e.tableCss.linkClass, { [e.tableCss.disabledClass]: e.isOnFirstPage }]),
1786
+ z("a", {
1787
+ class: T([e.tableCss.linkClass, { [e.tableCss.disabledClass]: e.isOnFirstPage }]),
1720
1788
  onClick: n[0] || (n[0] = (c) => e.loadPage("prev"))
1721
1789
  }, [
1722
- V("i", {
1723
- class: O(e.tableCss.icons.prev)
1790
+ z("i", {
1791
+ class: T(e.tableCss.icons.prev)
1724
1792
  }, null, 2)
1725
1793
  ], 2),
1726
- V("select", {
1727
- class: O(["vuetable-pagination-dropdown", e.tableCss.dropdownClass]),
1794
+ z("select", {
1795
+ class: T(["vuetable-pagination-dropdown", e.tableCss.dropdownClass]),
1728
1796
  onChange: n[1] || (n[1] = (c) => e.onPageSelected(c))
1729
1797
  }, [
1730
- (m(!0), w(K, null, oe(e.totalPage, (c, i) => (m(), w("option", {
1798
+ (y(!0), P(U, null, se(e.totalPage, (c, u) => (y(), P("option", {
1731
1799
  key: c,
1732
- class: O([e.tableCss.pageClass]),
1733
- value: i + e.firstPage,
1734
- selected: e.isCurrentPage(i + e.firstPage)
1735
- }, Xe(e.pageText) + " " + Xe(c), 11, Ol))), 128))
1800
+ class: T([e.tableCss.pageClass]),
1801
+ value: u + e.firstPage,
1802
+ selected: e.isCurrentPage(u + e.firstPage)
1803
+ }, tt(e.pageText) + " " + tt(c), 11, Al))), 128))
1736
1804
  ], 34),
1737
- V("a", {
1738
- class: O([e.tableCss.linkClass, { [e.tableCss.disabledClass]: e.isOnLastPage }]),
1805
+ z("a", {
1806
+ class: T([e.tableCss.linkClass, { [e.tableCss.disabledClass]: e.isOnLastPage }]),
1739
1807
  onClick: n[2] || (n[2] = (c) => e.loadPage("next"))
1740
1808
  }, [
1741
- V("i", {
1742
- class: O(e.tableCss.icons.next)
1809
+ z("i", {
1810
+ class: T(e.tableCss.icons.next)
1743
1811
  }, null, 2)
1744
1812
  ], 2)
1745
1813
  ], 2);
1746
1814
  }
1747
- const Rl = /* @__PURE__ */ de(Tl, [["render", ql]]);
1748
- function Hl(e, n) {
1749
- const a = e === void 0 || Hn(e) || typeof e == "function" || typeof e == "string" ? { noDataTemplate: e, infoTemplate: n } : e, u = () => x(a.noDataTemplate === void 0 ? "No relevant data" : a.noDataTemplate), s = () => x(a.infoTemplate === void 0 ? "Displaying {from} to {to} of {total} items" : a.infoTemplate), b = L(null), c = L({}), i = P(() => b.value == null || b.value.total == 0), l = P(() => i.value ? x(u) : x(s).replace("{from}", `${b.value.from || 0}`).replace("{to}", `${b.value.to || 0}`).replace("{total}", `${b.value.total || 0}`));
1815
+ const Vl = /* @__PURE__ */ be(Ll, [["render", Bl]]);
1816
+ function Nl(e, n) {
1817
+ const a = e === void 0 || Vn(e) || typeof e == "function" || typeof e == "string" ? { noDataTemplate: e, infoTemplate: n } : e, i = () => Z(a.noDataTemplate === void 0 ? "No relevant data" : a.noDataTemplate), s = () => Z(a.infoTemplate === void 0 ? "Displaying {from} to {to} of {total} items" : a.infoTemplate), g = A(null), c = A({}), u = k(() => g.value == null || g.value.total == 0), o = k(() => u.value ? Z(i) : Z(s).replace("{from}", `${g.value.from || 0}`).replace("{to}", `${g.value.to || 0}`).replace("{total}", `${g.value.total || 0}`));
1750
1818
  function d() {
1751
- c.value = q(q({}, ye.paginationInfo), x(a.css === void 0 ? {} : a.css));
1819
+ c.value = q(q({}, ye.paginationInfo), Z(a.css === void 0 ? {} : a.css));
1752
1820
  }
1753
- function v(g) {
1754
- b.value = g;
1821
+ function h(v) {
1822
+ g.value = v;
1755
1823
  }
1756
1824
  function r() {
1757
- b.value = null;
1825
+ g.value = null;
1758
1826
  }
1759
- function f(g) {
1760
- var $;
1761
- return g === (($ = b.value) == null ? void 0 : $.current_page);
1827
+ function b(v) {
1828
+ var F;
1829
+ return v === ((F = g.value) == null ? void 0 : F.current_page);
1762
1830
  }
1763
1831
  return d(), {
1764
- tablePagination: b,
1832
+ tablePagination: g,
1765
1833
  customCss: c,
1766
- paginationInfo: l,
1767
- setPaginationData: v,
1834
+ paginationInfo: o,
1835
+ setPaginationData: h,
1768
1836
  resetData: r,
1769
- isCurrentPage: f,
1837
+ isCurrentPage: b,
1770
1838
  mergeCss: d
1771
1839
  };
1772
1840
  }
1773
- const Dl = J({
1841
+ const Gl = Q({
1774
1842
  props: {
1775
1843
  css: { type: null, required: !1, default: () => ({}) },
1776
1844
  infoTemplate: { type: String, required: !1, default: "Displaying {from} to {to} of {total} items" },
@@ -1780,19 +1848,19 @@ const Dl = J({
1780
1848
  const {
1781
1849
  tablePagination: n,
1782
1850
  paginationInfo: a,
1783
- setPaginationData: u,
1851
+ setPaginationData: i,
1784
1852
  resetData: s
1785
- } = Hl(() => e.noDataTemplate, () => e.infoTemplate), b = L(q(q({}, ye.paginationInfo), e.css));
1786
- return { tablePagination: n, paginationInfo: a, setPaginationData: u, resetData: s, tableCss: b };
1853
+ } = Nl(() => e.noDataTemplate, () => e.infoTemplate), g = A(q(q({}, ye.paginationInfo), e.css));
1854
+ return { tablePagination: n, paginationInfo: a, setPaginationData: i, resetData: s, tableCss: g };
1787
1855
  }
1788
- }), El = ["innerHTML"];
1789
- function Ml(e, n, a, u, s, b) {
1790
- return m(), w("div", {
1791
- class: O(["vuetable-pagination-info", e.tableCss.infoClass]),
1856
+ }), Wl = ["innerHTML"];
1857
+ function zl(e, n, a, i, s, g) {
1858
+ return y(), P("div", {
1859
+ class: T(["vuetable-pagination-info", e.tableCss.infoClass]),
1792
1860
  innerHTML: e.paginationInfo
1793
- }, null, 10, El);
1861
+ }, null, 10, Wl);
1794
1862
  }
1795
- const jl = /* @__PURE__ */ de(Dl, [["render", Ml]]), Ll = J({
1863
+ const Kl = /* @__PURE__ */ be(Gl, [["render", zl]]), Ul = Q({
1796
1864
  props: {
1797
1865
  rowData: {
1798
1866
  type: Object,
@@ -1817,8 +1885,8 @@ const jl = /* @__PURE__ */ de(Dl, [["render", Ml]]), Ll = J({
1817
1885
  default: null
1818
1886
  }
1819
1887
  }
1820
- }), _l = J({
1821
- mixins: [Ll],
1888
+ }), uo = Q({
1889
+ mixins: [Ul],
1822
1890
  methods: {
1823
1891
  toggleCheckbox(e, n) {
1824
1892
  this.vuetable.onCheckboxToggled(n.target.checked, this.rowField.name, e);
@@ -1830,13 +1898,13 @@ const jl = /* @__PURE__ */ de(Dl, [["render", Ml]]), Ll = J({
1830
1898
  return this.vuetable.isSelectedRow(e[this.vuetable.trackBy]);
1831
1899
  },
1832
1900
  isAllItemsInCurrentPageSelected() {
1833
- var u;
1901
+ var i;
1834
1902
  if (!this.vuetable.tableData) return;
1835
- let e = this.vuetable.trackBy, n = (u = this.$el) == null ? void 0 : u.querySelector("input[type=checkbox]"), a = this.vuetable.tableData.filter((s) => this.vuetable.isSelectedRow(s[e]));
1903
+ let e = this.vuetable.trackBy, n = (i = this.$el) == null ? void 0 : i.querySelector("input[type=checkbox]"), a = this.vuetable.tableData.filter((s) => this.vuetable.isSelectedRow(s[e]));
1836
1904
  return a.length <= 0 ? (n && (n.indeterminate = !1), !1) : a.length < this.vuetable.tableData.length ? (n && (n.indeterminate = !0), !0) : (n && (n.indeterminate = !1), !0);
1837
1905
  }
1838
1906
  }
1839
- }), eo = J({
1907
+ }), co = Q({
1840
1908
  props: {
1841
1909
  css: {
1842
1910
  type: Object,
@@ -1876,7 +1944,7 @@ const jl = /* @__PURE__ */ de(Dl, [["render", Ml]]), Ll = J({
1876
1944
  this.tablePagination = null;
1877
1945
  }
1878
1946
  }
1879
- }), to = J({
1947
+ }), fo = Q({
1880
1948
  emits: [
1881
1949
  "vuetable-pagination:change-page"
1882
1950
  ],
@@ -1949,31 +2017,31 @@ const jl = /* @__PURE__ */ de(Dl, [["render", Ml]]), Ll = J({
1949
2017
  }
1950
2018
  }
1951
2019
  });
1952
- function Il(e) {
2020
+ function xl(e) {
1953
2021
  const n = pe("vuetable", null);
1954
2022
  return {
1955
- rowData: P(() => {
2023
+ rowData: k(() => {
1956
2024
  var a;
1957
2025
  return (a = e.rowData) != null ? a : null;
1958
2026
  }),
1959
- rowIndex: P(() => e.rowIndex),
1960
- rowField: P(() => e.rowField),
1961
- isHeader: P(() => {
2027
+ rowIndex: k(() => e.rowIndex),
2028
+ rowField: k(() => e.rowField),
2029
+ isHeader: k(() => {
1962
2030
  var a;
1963
2031
  return (a = e.isHeader) != null ? a : !1;
1964
2032
  }),
1965
- title: P(() => {
2033
+ title: k(() => {
1966
2034
  var a;
1967
2035
  return (a = e.title) != null ? a : "";
1968
2036
  }),
1969
- vuetable: P(() => {
2037
+ vuetable: k(() => {
1970
2038
  var a;
1971
2039
  return (a = e.vuetable) != null ? a : n;
1972
2040
  })
1973
2041
  };
1974
2042
  }
1975
- function no(e) {
1976
- const n = Il(e);
2043
+ function bo(e) {
2044
+ const n = xl(e);
1977
2045
  function a() {
1978
2046
  const r = n.vuetable.value;
1979
2047
  if (!r)
@@ -1981,44 +2049,44 @@ function no(e) {
1981
2049
  return r;
1982
2050
  }
1983
2051
  a();
1984
- const u = L(null), s = P(() => {
2052
+ const i = A(null), s = k(() => {
1985
2053
  const r = a();
1986
- return (r.tableData || []).filter((f) => r.isSelectedRow(f[r.trackBy])).length;
1987
- }), b = P(() => {
2054
+ return (r.tableData || []).filter((b) => r.isSelectedRow(b[r.trackBy])).length;
2055
+ }), g = k(() => {
1988
2056
  var r;
1989
2057
  return s.value > 0 && s.value < (((r = a().tableData) == null ? void 0 : r.length) || 0);
1990
2058
  });
1991
- function c(r, f) {
1992
- var $;
2059
+ function c(r, b) {
2060
+ var F;
1993
2061
  if (!r) return;
1994
- a().onCheckboxToggled(f.target.checked, ($ = n.rowField.value) == null ? void 0 : $.name, r);
2062
+ a().onCheckboxToggled(b.target.checked, (F = n.rowField.value) == null ? void 0 : F.name, r);
1995
2063
  }
1996
- function i(r) {
2064
+ function u(r) {
1997
2065
  a().onCheckboxToggledAll(r.target.checked);
1998
2066
  }
1999
- function l(r) {
2067
+ function o(r) {
2000
2068
  if (!r) return !1;
2001
- const f = a();
2002
- return f.isSelectedRow(r[f.trackBy]);
2069
+ const b = a();
2070
+ return b.isSelectedRow(r[b.trackBy]);
2003
2071
  }
2004
2072
  function d() {
2005
2073
  if (a().tableData)
2006
2074
  return s.value > 0;
2007
2075
  }
2008
- function v() {
2009
- u.value && (u.value.indeterminate = n.isHeader.value && b.value);
2076
+ function h() {
2077
+ i.value && (i.value.indeterminate = n.isHeader.value && g.value);
2010
2078
  }
2011
- return qt(v), Rn(v), _([u, n.isHeader, b], v, { flush: "post" }), be(q({}, n), {
2012
- checkbox: u,
2079
+ return It(h), Bn(h), te([i, n.isHeader, g], h, { flush: "post" }), he(q({}, n), {
2080
+ checkbox: i,
2013
2081
  selectedCount: s,
2014
- isIndeterminate: b,
2082
+ isIndeterminate: g,
2015
2083
  toggleCheckbox: c,
2016
- toggleAllCheckbox: i,
2017
- isSelected: l,
2084
+ toggleAllCheckbox: u,
2085
+ isSelected: o,
2018
2086
  isAllItemsInCurrentPageSelected: d
2019
2087
  });
2020
2088
  }
2021
- function Al(e) {
2089
+ function Jl(e) {
2022
2090
  var n = this.constructor;
2023
2091
  return this.then(
2024
2092
  function(a) {
@@ -2033,224 +2101,224 @@ function Al(e) {
2033
2101
  }
2034
2102
  );
2035
2103
  }
2036
- function Bl(e) {
2104
+ function Zl(e) {
2037
2105
  var n = this;
2038
- return new n(function(a, u) {
2106
+ return new n(function(a, i) {
2039
2107
  if (!(e && typeof e.length != "undefined"))
2040
- return u(
2108
+ return i(
2041
2109
  new TypeError(
2042
2110
  typeof e + " " + e + " is not iterable(cannot read property Symbol(Symbol.iterator))"
2043
2111
  )
2044
2112
  );
2045
2113
  var s = Array.prototype.slice.call(e);
2046
2114
  if (s.length === 0) return a([]);
2047
- var b = s.length;
2048
- function c(l, d) {
2115
+ var g = s.length;
2116
+ function c(o, d) {
2049
2117
  if (d && (typeof d == "object" || typeof d == "function")) {
2050
- var v = d.then;
2051
- if (typeof v == "function") {
2052
- v.call(
2118
+ var h = d.then;
2119
+ if (typeof h == "function") {
2120
+ h.call(
2053
2121
  d,
2054
2122
  function(r) {
2055
- c(l, r);
2123
+ c(o, r);
2056
2124
  },
2057
2125
  function(r) {
2058
- s[l] = { status: "rejected", reason: r }, --b === 0 && a(s);
2126
+ s[o] = { status: "rejected", reason: r }, --g === 0 && a(s);
2059
2127
  }
2060
2128
  );
2061
2129
  return;
2062
2130
  }
2063
2131
  }
2064
- s[l] = { status: "fulfilled", value: d }, --b === 0 && a(s);
2132
+ s[o] = { status: "fulfilled", value: d }, --g === 0 && a(s);
2065
2133
  }
2066
- for (var i = 0; i < s.length; i++)
2067
- c(i, s[i]);
2134
+ for (var u = 0; u < s.length; u++)
2135
+ c(u, s[u]);
2068
2136
  });
2069
2137
  }
2070
- function In(e, n) {
2138
+ function Un(e, n) {
2071
2139
  this.name = "AggregateError", this.errors = e, this.message = n || "";
2072
2140
  }
2073
- In.prototype = Error.prototype;
2074
- function Vl(e) {
2141
+ Un.prototype = Error.prototype;
2142
+ function Ql(e) {
2075
2143
  var n = this;
2076
- return new n(function(a, u) {
2144
+ return new n(function(a, i) {
2077
2145
  if (!(e && typeof e.length != "undefined"))
2078
- return u(new TypeError("Promise.any accepts an array"));
2146
+ return i(new TypeError("Promise.any accepts an array"));
2079
2147
  var s = Array.prototype.slice.call(e);
2080
- if (s.length === 0) return u();
2081
- for (var b = [], c = 0; c < s.length; c++)
2148
+ if (s.length === 0) return i();
2149
+ for (var g = [], c = 0; c < s.length; c++)
2082
2150
  try {
2083
- n.resolve(s[c]).then(a).catch(function(i) {
2084
- b.push(i), b.length === s.length && u(
2085
- new In(
2086
- b,
2151
+ n.resolve(s[c]).then(a).catch(function(u) {
2152
+ g.push(u), g.length === s.length && i(
2153
+ new Un(
2154
+ g,
2087
2155
  "All promises were rejected"
2088
2156
  )
2089
2157
  );
2090
2158
  });
2091
- } catch (i) {
2092
- u(i);
2159
+ } catch (u) {
2160
+ i(u);
2093
2161
  }
2094
2162
  });
2095
2163
  }
2096
- var Nl = setTimeout;
2097
- function An(e) {
2164
+ var Yl = setTimeout;
2165
+ function xn(e) {
2098
2166
  return !!(e && typeof e.length != "undefined");
2099
2167
  }
2100
- function Wl() {
2168
+ function Xl() {
2101
2169
  }
2102
- function Gl(e, n) {
2170
+ function _l(e, n) {
2103
2171
  return function() {
2104
2172
  e.apply(n, arguments);
2105
2173
  };
2106
2174
  }
2107
- function A(e) {
2108
- if (!(this instanceof A))
2175
+ function V(e) {
2176
+ if (!(this instanceof V))
2109
2177
  throw new TypeError("Promises must be constructed via new");
2110
2178
  if (typeof e != "function") throw new TypeError("not a function");
2111
- this._state = 0, this._handled = !1, this._value = void 0, this._deferreds = [], Vn(e, this);
2179
+ this._state = 0, this._handled = !1, this._value = void 0, this._deferreds = [], Zn(e, this);
2112
2180
  }
2113
- function Bn(e, n) {
2181
+ function Jn(e, n) {
2114
2182
  for (; e._state === 3; )
2115
2183
  e = e._value;
2116
2184
  if (e._state === 0) {
2117
2185
  e._deferreds.push(n);
2118
2186
  return;
2119
2187
  }
2120
- e._handled = !0, A._immediateFn(function() {
2188
+ e._handled = !0, V._immediateFn(function() {
2121
2189
  var a = e._state === 1 ? n.onFulfilled : n.onRejected;
2122
2190
  if (a === null) {
2123
- (e._state === 1 ? Ft : We)(n.promise, e._value);
2191
+ (e._state === 1 ? Mt : We)(n.promise, e._value);
2124
2192
  return;
2125
2193
  }
2126
- var u;
2194
+ var i;
2127
2195
  try {
2128
- u = a(e._value);
2196
+ i = a(e._value);
2129
2197
  } catch (s) {
2130
2198
  We(n.promise, s);
2131
2199
  return;
2132
2200
  }
2133
- Ft(n.promise, u);
2201
+ Mt(n.promise, i);
2134
2202
  });
2135
2203
  }
2136
- function Ft(e, n) {
2204
+ function Mt(e, n) {
2137
2205
  try {
2138
2206
  if (n === e)
2139
2207
  throw new TypeError("A promise cannot be resolved with itself.");
2140
2208
  if (n && (typeof n == "object" || typeof n == "function")) {
2141
2209
  var a = n.then;
2142
- if (n instanceof A) {
2143
- e._state = 3, e._value = n, Tt(e);
2210
+ if (n instanceof V) {
2211
+ e._state = 3, e._value = n, Et(e);
2144
2212
  return;
2145
2213
  } else if (typeof a == "function") {
2146
- Vn(Gl(a, n), e);
2214
+ Zn(_l(a, n), e);
2147
2215
  return;
2148
2216
  }
2149
2217
  }
2150
- e._state = 1, e._value = n, Tt(e);
2151
- } catch (u) {
2152
- We(e, u);
2218
+ e._state = 1, e._value = n, Et(e);
2219
+ } catch (i) {
2220
+ We(e, i);
2153
2221
  }
2154
2222
  }
2155
2223
  function We(e, n) {
2156
- e._state = 2, e._value = n, Tt(e);
2224
+ e._state = 2, e._value = n, Et(e);
2157
2225
  }
2158
- function Tt(e) {
2159
- e._state === 2 && e._deferreds.length === 0 && A._immediateFn(function() {
2160
- e._handled || A._unhandledRejectionFn(e._value);
2226
+ function Et(e) {
2227
+ e._state === 2 && e._deferreds.length === 0 && V._immediateFn(function() {
2228
+ e._handled || V._unhandledRejectionFn(e._value);
2161
2229
  });
2162
2230
  for (var n = 0, a = e._deferreds.length; n < a; n++)
2163
- Bn(e, e._deferreds[n]);
2231
+ Jn(e, e._deferreds[n]);
2164
2232
  e._deferreds = null;
2165
2233
  }
2166
- function zl(e, n, a) {
2234
+ function eo(e, n, a) {
2167
2235
  this.onFulfilled = typeof e == "function" ? e : null, this.onRejected = typeof n == "function" ? n : null, this.promise = a;
2168
2236
  }
2169
- function Vn(e, n) {
2237
+ function Zn(e, n) {
2170
2238
  var a = !1;
2171
2239
  try {
2172
2240
  e(
2173
- function(u) {
2174
- a || (a = !0, Ft(n, u));
2241
+ function(i) {
2242
+ a || (a = !0, Mt(n, i));
2175
2243
  },
2176
- function(u) {
2177
- a || (a = !0, We(n, u));
2244
+ function(i) {
2245
+ a || (a = !0, We(n, i));
2178
2246
  }
2179
2247
  );
2180
- } catch (u) {
2248
+ } catch (i) {
2181
2249
  if (a) return;
2182
- a = !0, We(n, u);
2250
+ a = !0, We(n, i);
2183
2251
  }
2184
2252
  }
2185
- A.prototype.catch = function(e) {
2253
+ V.prototype.catch = function(e) {
2186
2254
  return this.then(null, e);
2187
2255
  };
2188
- A.prototype.then = function(e, n) {
2189
- var a = new this.constructor(Wl);
2190
- return Bn(this, new zl(e, n, a)), a;
2256
+ V.prototype.then = function(e, n) {
2257
+ var a = new this.constructor(Xl);
2258
+ return Jn(this, new eo(e, n, a)), a;
2191
2259
  };
2192
- A.prototype.finally = Al;
2193
- A.all = function(e) {
2194
- return new A(function(n, a) {
2195
- if (!An(e))
2260
+ V.prototype.finally = Jl;
2261
+ V.all = function(e) {
2262
+ return new V(function(n, a) {
2263
+ if (!xn(e))
2196
2264
  return a(new TypeError("Promise.all accepts an array"));
2197
- var u = Array.prototype.slice.call(e);
2198
- if (u.length === 0) return n([]);
2199
- var s = u.length;
2200
- function b(i, l) {
2265
+ var i = Array.prototype.slice.call(e);
2266
+ if (i.length === 0) return n([]);
2267
+ var s = i.length;
2268
+ function g(u, o) {
2201
2269
  try {
2202
- if (l && (typeof l == "object" || typeof l == "function")) {
2203
- var d = l.then;
2270
+ if (o && (typeof o == "object" || typeof o == "function")) {
2271
+ var d = o.then;
2204
2272
  if (typeof d == "function") {
2205
2273
  d.call(
2206
- l,
2207
- function(v) {
2208
- b(i, v);
2274
+ o,
2275
+ function(h) {
2276
+ g(u, h);
2209
2277
  },
2210
2278
  a
2211
2279
  );
2212
2280
  return;
2213
2281
  }
2214
2282
  }
2215
- u[i] = l, --s === 0 && n(u);
2216
- } catch (v) {
2217
- a(v);
2283
+ i[u] = o, --s === 0 && n(i);
2284
+ } catch (h) {
2285
+ a(h);
2218
2286
  }
2219
2287
  }
2220
- for (var c = 0; c < u.length; c++)
2221
- b(c, u[c]);
2288
+ for (var c = 0; c < i.length; c++)
2289
+ g(c, i[c]);
2222
2290
  });
2223
2291
  };
2224
- A.any = Vl;
2225
- A.allSettled = Bl;
2226
- A.resolve = function(e) {
2227
- return e && typeof e == "object" && e.constructor === A ? e : new A(function(n) {
2292
+ V.any = Ql;
2293
+ V.allSettled = Zl;
2294
+ V.resolve = function(e) {
2295
+ return e && typeof e == "object" && e.constructor === V ? e : new V(function(n) {
2228
2296
  n(e);
2229
2297
  });
2230
2298
  };
2231
- A.reject = function(e) {
2232
- return new A(function(n, a) {
2299
+ V.reject = function(e) {
2300
+ return new V(function(n, a) {
2233
2301
  a(e);
2234
2302
  });
2235
2303
  };
2236
- A.race = function(e) {
2237
- return new A(function(n, a) {
2238
- if (!An(e))
2304
+ V.race = function(e) {
2305
+ return new V(function(n, a) {
2306
+ if (!xn(e))
2239
2307
  return a(new TypeError("Promise.race accepts an array"));
2240
- for (var u = 0, s = e.length; u < s; u++)
2241
- A.resolve(e[u]).then(n, a);
2308
+ for (var i = 0, s = e.length; i < s; i++)
2309
+ V.resolve(e[i]).then(n, a);
2242
2310
  });
2243
2311
  };
2244
- A._immediateFn = // @ts-ignore
2312
+ V._immediateFn = // @ts-ignore
2245
2313
  typeof setImmediate == "function" && function(e) {
2246
2314
  setImmediate(e);
2247
2315
  } || function(e) {
2248
- Nl(e, 0);
2316
+ Yl(e, 0);
2249
2317
  };
2250
- A._unhandledRejectionFn = function(n) {
2318
+ V._unhandledRejectionFn = function(n) {
2251
2319
  typeof console != "undefined" && console && console.warn("Possible Unhandled Promise Rejection:", n);
2252
2320
  };
2253
- const Kl = [
2321
+ const to = [
2254
2322
  "initialized",
2255
2323
  "loading",
2256
2324
  "loaded",
@@ -2272,50 +2340,50 @@ const Kl = [
2272
2340
  "data-reset",
2273
2341
  "checkbox-toggled-custom"
2274
2342
  ];
2275
- function ao(e = {}) {
2276
- var u, s;
2277
- if (W) throw new Error("createVuetable requires Vue 3. Use the generic Vuetable component on Vue 2.");
2278
- const n = (u = e.eventPrefix) != null ? u : "vuetable:", a = be(q({}, Ye), {
2279
- props: be(q({}, Ye.props), {
2280
- eventPrefix: be(q({}, Ye.props.eventPrefix), {
2343
+ function go(e = {}) {
2344
+ var i, s;
2345
+ if (K) throw new Error("createVuetable requires Vue 3. Use the generic Vuetable component on Vue 2.");
2346
+ const n = (i = e.eventPrefix) != null ? i : "vuetable:", a = he(q({}, et), {
2347
+ props: he(q({}, et.props), {
2348
+ eventPrefix: he(q({}, et.props.eventPrefix), {
2281
2349
  default: n,
2282
- validator: (b) => b === n
2350
+ validator: (g) => g === n
2283
2351
  })
2284
2352
  }),
2285
- emits: [...new Set([...Kl, ...(s = e.events) != null ? s : []].reduce((b, c) => {
2286
- const i = `${n}${c}`, l = i.replace(/-(\w)/g, (d, v) => v.toUpperCase());
2287
- return b.push(i, l.charAt(0).toLowerCase() + l.slice(1)), b;
2353
+ emits: [...new Set([...to, ...(s = e.events) != null ? s : []].reduce((g, c) => {
2354
+ const u = `${n}${c}`, o = u.replace(/-(\w)/g, (d, h) => h.toUpperCase());
2355
+ return g.push(u, o.charAt(0).toLowerCase() + o.slice(1)), g;
2288
2356
  }, []))]
2289
2357
  });
2290
2358
  return delete a.install, a;
2291
2359
  }
2292
- const kt = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : void 0;
2293
- kt && !kt.Promise && (kt.Promise = A);
2294
- function Ul(e) {
2295
- e.component("vuetable", xl), e.component("vuetable-column", pl), e.component("vuetable-col-gutter", _e), e.component("vuetable-field-checkbox", Ht), e.component("vuetable-field-handle", Dt), e.component("vuetable-field-sequence", Et), e.component("vuetable-pagination", Fl), e.component("vuetable-pagination-dropdown", Rl), e.component("vuetable-pagination-info", jl), e.component("vuetable-row-header", En);
2360
+ const Rt = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : void 0;
2361
+ Rt && !Rt.Promise && (Rt.Promise = V);
2362
+ function no(e) {
2363
+ e.component("vuetable", ao), e.component("vuetable-column", Ol), e.component("vuetable-col-gutter", nt), e.component("vuetable-field-checkbox", At), e.component("vuetable-field-handle", Bt), e.component("vuetable-field-sequence", Vt), e.component("vuetable-pagination", Il), e.component("vuetable-pagination-dropdown", Vl), e.component("vuetable-pagination-info", Kl), e.component("vuetable-row-header", Gn);
2296
2364
  }
2297
- const xl = Object.assign(Ye, { install: Ul });
2365
+ const ao = Object.assign(et, { install: no });
2298
2366
  export {
2299
- xl as Vuetable,
2300
- _e as VuetableColGutter,
2301
- pl as VuetableColumn,
2302
- Ht as VuetableFieldCheckbox,
2303
- _l as VuetableFieldCheckboxMixin,
2304
- Dt as VuetableFieldHandle,
2305
- Ll as VuetableFieldMixin,
2306
- Et as VuetableFieldSequence,
2307
- Fl as VuetablePagination,
2308
- Rl as VuetablePaginationDropdown,
2309
- jl as VuetablePaginationInfo,
2310
- eo as VuetablePaginationInfoMixin,
2311
- to as VuetablePaginationMixin,
2312
- En as VuetableRowHeader,
2313
- ao as createVuetable,
2314
- xl as default,
2315
- Ul as install,
2316
- Il as useVuetableField,
2317
- no as useVuetableFieldCheckbox,
2318
- Ln as useVuetablePagination,
2319
- Hl as useVuetablePaginationInfo
2367
+ ao as Vuetable,
2368
+ nt as VuetableColGutter,
2369
+ Ol as VuetableColumn,
2370
+ At as VuetableFieldCheckbox,
2371
+ uo as VuetableFieldCheckboxMixin,
2372
+ Bt as VuetableFieldHandle,
2373
+ Ul as VuetableFieldMixin,
2374
+ Vt as VuetableFieldSequence,
2375
+ Il as VuetablePagination,
2376
+ Vl as VuetablePaginationDropdown,
2377
+ Kl as VuetablePaginationInfo,
2378
+ co as VuetablePaginationInfoMixin,
2379
+ fo as VuetablePaginationMixin,
2380
+ Gn as VuetableRowHeader,
2381
+ go as createVuetable,
2382
+ ao as default,
2383
+ no as install,
2384
+ xl as useVuetableField,
2385
+ bo as useVuetableFieldCheckbox,
2386
+ Kn as useVuetablePagination,
2387
+ Nl as useVuetablePaginationInfo
2320
2388
  };
2321
2389
  //# sourceMappingURL=vue3.js.map