golden-logic-ui 1.3.32 → 1.3.34

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.
@@ -1,5 +1,5 @@
1
1
  import L from "../../../node_modules/vue3-print-nb/dist/vue3-print-nb.es.js";
2
- import { resolveComponent as D, resolveDirective as E, createElementBlock as l, openBlock as i, withDirectives as T, createElementVNode as r, createCommentVNode as j, createVNode as v, vModelText as O, withCtx as M, createTextVNode as f, Fragment as m, renderList as w, withModifiers as k, toDisplayString as g, normalizeClass as P } from "vue";
2
+ import { resolveComponent as D, resolveDirective as E, createElementBlock as i, openBlock as d, withDirectives as T, createElementVNode as r, createCommentVNode as j, toDisplayString as o, createVNode as k, vModelText as O, withCtx as M, createTextVNode as f, Fragment as m, renderList as _, withModifiers as w, normalizeClass as v } from "vue";
3
3
  /* empty css */
4
4
  import A from "../../../_virtual/_plugin-vue_export-helper.js";
5
5
  const H = {
@@ -53,7 +53,7 @@ const H = {
53
53
  filteredData() {
54
54
  const t = this.search.toLowerCase();
55
55
  return this.sortData(this.data).filter((a) => Object.values(a).some(
56
- (d) => d != null && d.toString().toLowerCase().includes(t)
56
+ (g) => g != null && g.toString().toLowerCase().includes(t)
57
57
  ));
58
58
  },
59
59
  totalPages() {
@@ -70,7 +70,7 @@ const H = {
70
70
  ), e = t + this.maxDisplayedPages - 1;
71
71
  return e > this.totalPages && (e = this.totalPages, t = Math.max(e - this.maxDisplayedPages + 1, 1)), Array.from(
72
72
  { length: e - t + 1 },
73
- (a, d) => t + d
73
+ (a, g) => t + g
74
74
  );
75
75
  },
76
76
  firstItemIndex() {
@@ -83,15 +83,15 @@ const H = {
83
83
  },
84
84
  methods: {
85
85
  async exportToExcel() {
86
- const t = await import("xlsx"), e = t.default || t, a = document.querySelector("#table" + this.Random_string), d = Array.from(a.querySelectorAll("thead th")).map((h) => h.innerText), o = ["", ...["action"]], p = d.map((h, b) => o.includes(h) ? b : -1).filter((h) => h !== -1), y = Array.from(a.querySelectorAll("tbody tr")).map((h) => Array.from(h.querySelectorAll("td")).map((C) => C.innerText).filter((C, S) => !p.includes(S))), s = [d.filter((h, b) => !p.includes(b)), ...y], c = e.utils.aoa_to_sheet(s), x = e.utils.book_new();
87
- e.utils.book_append_sheet(x, c, "Sheet1"), e.writeFile(x, "exported-file.xlsx");
86
+ const t = await import("xlsx"), e = t.default || t, a = document.querySelector("#table" + this.Random_string), g = Array.from(a.querySelectorAll("thead th")).map((c) => c.innerText), l = ["", ...["action"]], y = g.map((c, b) => l.includes(c) ? b : -1).filter((c) => c !== -1), p = Array.from(a.querySelectorAll("tbody tr")).map((c) => Array.from(c.querySelectorAll("td")).map((C) => C.innerText).filter((C, S) => !y.includes(S))), s = [g.filter((c, b) => !y.includes(b)), ...p], h = e.utils.aoa_to_sheet(s), x = e.utils.book_new();
87
+ e.utils.book_append_sheet(x, h, "Sheet1"), e.writeFile(x, "exported-file.xlsx");
88
88
  },
89
89
  generateRandomString(t) {
90
90
  let e = "";
91
- const a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", d = a.length;
91
+ const a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", g = a.length;
92
92
  for (let n = 0; n < t; n++)
93
93
  e += a.charAt(
94
- Math.floor(Math.random() * d)
94
+ Math.floor(Math.random() * g)
95
95
  );
96
96
  return e;
97
97
  },
@@ -134,27 +134,28 @@ const H = {
134
134
  }, V = { class: "p-0" }, B = {
135
135
  ref: "hiddenPrintBtn",
136
136
  style: { display: "none" }
137
- }, I = { class: "flex flex-col flex-wrap gap-4 pb-4 xl:flex-row xl:items-center xl:justify-between" }, K = { class: "flex items-center gap-2" }, q = { class: "mt-[9px]" }, R = { class: "relative" }, N = { class: "flex flex-wrap mb-3" }, F = ["id"], Z = ["id"], z = { class: "hidden text-sm font-normal text-center text-gray-600 print:table-header-group! lg:table-header-group dark:border-gray-600 bg-gray-50 dark:bg-gray-800 dark:text-gray-400 print:border-[1px]!" }, U = ["onClick"], X = { class: "inline-flex items-center justify-center gap-1" }, G = {
137
+ }, I = { class: "flex flex-col flex-wrap gap-4 pb-4 xl:flex-row xl:items-center xl:justify-between" }, K = { class: "flex items-center gap-2" }, q = { class: "font-medium" }, R = { class: "mt-[9px]" }, N = { class: "font-medium" }, F = { class: "relative" }, Z = ["placeholder"], z = { class: "flex flex-wrap mb-3" }, U = ["id"], X = ["id"], G = { class: "hidden text-sm font-normal text-center text-gray-600 print:table-header-group! lg:table-header-group dark:border-gray-600 bg-gray-50 dark:bg-gray-800 dark:text-gray-400 print:border-[1px]!" }, W = ["onClick"], J = { class: "inline-flex items-center justify-center gap-1" }, Q = {
138
138
  key: 0,
139
139
  class: "print:hidden!"
140
- }, W = { class: "bg-white dark:bg-gray-900" }, J = ["data-label"], Q = {
140
+ }, Y = { class: "bg-white dark:bg-gray-900" }, $ = ["data-label"], ee = {
141
141
  key: 0,
142
142
  class: "text-pretty"
143
- }, Y = ["innerHTML"], $ = {
143
+ }, te = ["innerHTML"], re = {
144
144
  key: 0,
145
145
  class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800"
146
- }, ee = { class: "flex flex-col items-center w-full gap-2" }, te = { class: "text-sm text-gray-700 dark:text-gray-400" }, re = { class: "font-semibold text-gray-900 dark:text-white" }, se = { class: "font-semibold text-gray-900 dark:text-white" }, ae = { class: "font-semibold text-gray-900 dark:text-white" }, ne = { "aria-label": "Page navigation" }, oe = { class: "flex items-center h-8 -space-x-px text-sm" }, le = ["onClick", "aria-current"];
147
- function ie(t, e, a, d, n, o) {
148
- const p = D("dropdown"), y = D("gl-button"), _ = E("print");
149
- return i(), l("div", V, [
146
+ }, ae = { class: "flex flex-col items-center w-full gap-2" }, se = { class: "text-sm text-gray-700 dark:text-gray-400" }, ne = { class: "font-semibold text-gray-900 dark:text-white" }, le = { class: "font-semibold text-gray-900 dark:text-white" }, oe = { class: "font-semibold text-gray-900 dark:text-white" }, ie = { "aria-label": "Page navigation" }, de = { class: "flex items-center h-8 -space-x-px text-sm" }, ge = ["onClick", "aria-current"];
147
+ function ce(t, e, a, g, n, l) {
148
+ const y = D("dropdown"), p = D("gl-button"), P = E("print");
149
+ return d(), i("div", V, [
150
150
  T(r("button", B, null, 512), [
151
- [_, n.printObj]
151
+ [P, n.printObj]
152
152
  ]),
153
153
  r("div", I, [
154
154
  r("div", K, [
155
- e[4] || (e[4] = r("span", { class: "font-medium" }, " Show ", -1)),
156
- r("div", q, [
157
- v(p, {
155
+ r("span", q, o(a.language?.show ?? "Show"), 1),
156
+ r("div", R, [
157
+ k(y, {
158
+ language: a.language,
158
159
  has_cancel: !1,
159
160
  options: n.showNoOfEntries,
160
161
  modelValue: n.itemsPerPage,
@@ -164,58 +165,58 @@ function ie(t, e, a, d, n, o) {
164
165
  label_name: "",
165
166
  default_value: 10,
166
167
  show: !1,
167
- placeholder: "Please select an option"
168
- }, null, 8, ["options", "modelValue"])
168
+ placeholder: a.language?.please_select_an_option ?? "Please select an option"
169
+ }, null, 8, ["language", "options", "modelValue", "placeholder"])
169
170
  ]),
170
- e[5] || (e[5] = r("span", { class: "font-medium" }, " Entries ", -1))
171
+ r("span", N, o(a.language?.entries ?? "Entries"), 1)
171
172
  ]),
172
- e[7] || (e[7] = r("label", {
173
+ e[5] || (e[5] = r("label", {
173
174
  for: "table-search",
174
175
  class: "sr-only"
175
176
  }, "Search", -1)),
176
- r("div", R, [
177
- e[6] || (e[6] = r("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, null, -1)),
177
+ r("div", F, [
178
+ e[4] || (e[4] = r("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, null, -1)),
178
179
  T(r("input", {
179
180
  type: "text",
180
181
  "onUpdate:modelValue": e[1] || (e[1] = (s) => n.search = s),
181
182
  class: "gl-input-form",
182
- placeholder: "Search ..."
183
- }, null, 512), [
183
+ placeholder: a.language?.search ? a.language?.search + " ..." : "Search ..."
184
+ }, null, 8, Z), [
184
185
  [O, n.search]
185
186
  ])
186
187
  ])
187
188
  ]),
188
- r("div", N, [
189
- v(y, {
190
- onClick: o.delayedPrint,
189
+ r("div", z, [
190
+ k(p, {
191
+ onClick: l.delayedPrint,
191
192
  tag: "button",
192
193
  is_loading: t.isLoadingPrint,
193
194
  button_type: "light",
194
195
  has_border_reduced: !1,
195
196
  classes: "rounded-s-lg",
196
- svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">\r
197
- <path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z"/>\r
197
+ svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
198
+ <path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z"/>
198
199
  </svg>`
199
200
  }, {
200
- default: M(() => e[8] || (e[8] = [
201
- f(" Print ")
202
- ])),
201
+ default: M(() => [
202
+ f(o(a.language?.print ?? "Print"), 1)
203
+ ]),
203
204
  _: 1
204
205
  }, 8, ["onClick", "is_loading"]),
205
- v(y, {
206
- onClick: o.exportToExcel,
206
+ k(p, {
207
+ onClick: l.exportToExcel,
207
208
  tag: "button",
208
209
  button_type: "light",
209
210
  has_border_reduced: !1,
210
211
  classes: "rounded-e-lg",
211
- svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">\r
212
- <path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"/>\r
213
- </svg>\r
212
+ svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
213
+ <path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"/>
214
+ </svg>
214
215
  `
215
216
  }, {
216
- default: M(() => e[9] || (e[9] = [
217
- f(" Excel ")
218
- ])),
217
+ default: M(() => [
218
+ f(o(a.language?.excel ?? "Excel"), 1)
219
+ ]),
219
220
  _: 1
220
221
  }, 8, ["onClick"])
221
222
  ]),
@@ -227,16 +228,16 @@ function ie(t, e, a, d, n, o) {
227
228
  id: "table" + n.Random_string,
228
229
  class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse print:border-collapse! border-spacing-y-5 lg:border-spacing-y-0 print:border-spacing-y-0! dark:border-gray-800 dark:bg-gray-900"
229
230
  }, [
230
- r("thead", z, [
231
+ r("thead", G, [
231
232
  r("tr", null, [
232
- (i(!0), l(m, null, w(a.columns, (s, c) => (i(), l("th", {
233
- key: c,
234
- onClick: k((x) => o.sort(s), ["prevent"]),
233
+ (d(!0), i(m, null, _(a.columns, (s, h) => (d(), i("th", {
234
+ key: h,
235
+ onClick: w((x) => l.sort(s), ["prevent"]),
235
236
  class: "w-full px-4 py-2 lg:w-2/12 print:w-2/12! print:border!"
236
237
  }, [
237
- r("div", X, [
238
- r("span", null, g(s), 1),
239
- n.sortKey === s ? (i(), l("span", G, e[10] || (e[10] = [
238
+ r("div", J, [
239
+ r("span", null, o(s), 1),
240
+ n.sortKey === s ? (d(), i("span", Q, e[6] || (e[6] = [
240
241
  r("svg", {
241
242
  class: "w-4 h-4",
242
243
  "aria-hidden": "true",
@@ -254,51 +255,51 @@ function ie(t, e, a, d, n, o) {
254
255
  ], -1)
255
256
  ]))) : j("", !0)
256
257
  ])
257
- ], 8, U))), 128))
258
+ ], 8, W))), 128))
258
259
  ])
259
260
  ]),
260
- r("tbody", W, [
261
- (i(!0), l(m, null, w(o.paginatedData, (s, c) => (i(), l("tr", {
262
- key: c,
261
+ r("tbody", Y, [
262
+ (d(!0), i(m, null, _(l.paginatedData, (s, h) => (d(), i("tr", {
263
+ key: h,
263
264
  class: "text-gray-500 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-200"
264
265
  }, [
265
- (i(!0), l(m, null, w(a.columns, (x, u) => (i(), l("td", {
266
+ (d(!0), i(m, null, _(a.columns, (x, u) => (d(), i("td", {
266
267
  key: u,
267
268
  "data-label": x,
268
- class: P(["text-pretty before:content-[attr(data-label)] before:font-bold dark:before:text-gray-400 lg:before:content-[''] print:before:content-['']! flex flex-row flex-wrap items-center justify-between gap-x-4 gap-y-1 wrap-anywhere lg:wrap-normal lg:table-cell print:table-cell! py-2.5 px-4 lg:py-3 lg:px-4 print:py-3! print:px-4! border-[1px]! dark:border-gray-700", {
269
+ class: v(["text-pretty before:content-[attr(data-label)] before:font-bold dark:before:text-gray-400 lg:before:content-[''] print:before:content-['']! flex flex-row flex-wrap items-center justify-between gap-x-4 gap-y-1 wrap-anywhere lg:wrap-normal lg:table-cell print:table-cell! py-2.5 px-4 lg:py-3 lg:px-4 print:py-3! print:px-4! border-[1px]! dark:border-gray-700", {
269
270
  "rounded-t-lg lg:rounded-t-none!": u === 0,
270
271
  "rounded-b-lg lg:rounded-b-none!": u === a.columns.length - 1
271
272
  }])
272
273
  }, [
273
- a.escape_html ? (i(), l("p", Q, g(s[u]), 1)) : (i(), l("p", {
274
+ a.escape_html ? (d(), i("p", ee, o(s[u]), 1)) : (d(), i("p", {
274
275
  key: 1,
275
276
  class: "text-pretty",
276
277
  innerHTML: s[u]
277
- }, null, 8, Y))
278
- ], 10, J))), 128))
278
+ }, null, 8, te))
279
+ ], 10, $))), 128))
279
280
  ]))), 128))
280
281
  ])
281
- ], 8, Z)
282
- ], 8, F),
283
- o.paginatedData.length > 0 ? (i(), l("div", $, [
284
- r("div", ee, [
285
- r("p", te, [
286
- f(g(a.language?.showing ?? "Showing") + " ", 1),
287
- r("span", re, g(o.firstItemIndex), 1),
288
- f(" " + g(a.language?.to ?? "to") + " ", 1),
289
- r("span", se, g(o.lastItemIndex), 1),
290
- f(" " + g(a.language?.of ?? "of") + " ", 1),
291
- r("span", ae, g(o.filteredData.length), 1),
292
- f(" " + g(a.language?.entries ?? "entries"), 1)
282
+ ], 8, X)
283
+ ], 8, U),
284
+ l.paginatedData.length > 0 ? (d(), i("div", re, [
285
+ r("div", ae, [
286
+ r("p", se, [
287
+ f(o(a.language?.showing ?? "Showing") + " ", 1),
288
+ r("span", ne, o(l.firstItemIndex), 1),
289
+ f(" " + o(a.language?.to ?? "to") + " ", 1),
290
+ r("span", le, o(l.lastItemIndex), 1),
291
+ f(" " + o(a.language?.of ?? "of") + " ", 1),
292
+ r("span", oe, o(l.filteredData.length), 1),
293
+ f(" " + o(a.language?.entries ?? "entries"), 1)
293
294
  ]),
294
- r("nav", ne, [
295
- r("ul", oe, [
295
+ r("nav", ie, [
296
+ r("ul", de, [
296
297
  r("li", null, [
297
298
  r("a", {
298
299
  href: "#",
299
- onClick: e[2] || (e[2] = k((...s) => o.previousPage && o.previousPage(...s), ["prevent"])),
300
+ onClick: e[2] || (e[2] = w((...s) => l.previousPage && l.previousPage(...s), ["prevent"])),
300
301
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
301
- }, e[11] || (e[11] = [
302
+ }, e[7] || (e[7] = [
302
303
  r("span", { class: "sr-only" }, "Previous", -1),
303
304
  r("svg", {
304
305
  class: "w-2.5 h-2.5 rtl:rotate-180",
@@ -317,23 +318,23 @@ function ie(t, e, a, d, n, o) {
317
318
  ], -1)
318
319
  ]))
319
320
  ]),
320
- (i(!0), l(m, null, w(o.displayedPageNumbers, (s) => (i(), l("li", {
321
+ (d(!0), i(m, null, _(l.displayedPageNumbers, (s) => (d(), i("li", {
321
322
  key: s,
322
- class: P(Math.abs(s - n.currentPage) > 2 ? "hidden sm:block" : "")
323
+ class: v(Math.abs(s - n.currentPage) > 2 ? "hidden sm:block" : "")
323
324
  }, [
324
325
  r("a", {
325
326
  href: "#",
326
- onClick: k((c) => o.goToPage(s), ["prevent"]),
327
- class: P(n.currentPage === s ? "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"),
327
+ onClick: w((h) => l.goToPage(s), ["prevent"]),
328
+ class: v(n.currentPage === s ? "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"),
328
329
  "aria-current": n.currentPage === s ? "page" : void 0
329
- }, g(s), 11, le)
330
+ }, o(s), 11, ge)
330
331
  ], 2))), 128)),
331
332
  r("li", null, [
332
333
  r("a", {
333
334
  href: "#",
334
- onClick: e[3] || (e[3] = k((...s) => o.nextPage && o.nextPage(...s), ["prevent"])),
335
+ onClick: e[3] || (e[3] = w((...s) => l.nextPage && l.nextPage(...s), ["prevent"])),
335
336
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
336
- }, e[12] || (e[12] = [
337
+ }, e[8] || (e[8] = [
337
338
  r("span", { class: "sr-only" }, "Next", -1),
338
339
  r("svg", {
339
340
  class: "w-2.5 h-2.5 rtl:rotate-180",
@@ -358,7 +359,7 @@ function ie(t, e, a, d, n, o) {
358
359
  ])) : j("", !0)
359
360
  ]);
360
361
  }
361
- const ue = /* @__PURE__ */ A(H, [["render", ie], ["__scopeId", "data-v-dc892000"]]);
362
+ const ye = /* @__PURE__ */ A(H, [["render", ce], ["__scopeId", "data-v-5ce108ff"]]);
362
363
  export {
363
- ue as default
364
+ ye as default
364
365
  };
@@ -336,6 +336,7 @@ function Ie(t, s, i, d, a, r) {
336
336
  l("span", ee, u(i.language?.show ?? "Show"), 1),
337
337
  l("div", te, [
338
338
  x(F, {
339
+ language: i.language,
339
340
  options_top_size: 0,
340
341
  has_cancel: !1,
341
342
  options: a.pageOptions,
@@ -346,8 +347,8 @@ function Ie(t, s, i, d, a, r) {
346
347
  label_name: "",
347
348
  default_value: 5,
348
349
  show: !1,
349
- placeholder: "Please select an option"
350
- }, null, 8, ["options", "modelValue"])
350
+ placeholder: i.language?.please_select_an_option ?? "Please select an option"
351
+ }, null, 8, ["language", "options", "modelValue", "placeholder"])
351
352
  ]),
352
353
  l("span", le, u(i.language?.entries ?? "Entries"), 1)
353
354
  ]),
@@ -374,6 +375,7 @@ function Ie(t, s, i, d, a, r) {
374
375
  (o(!0), c(f, null, v(r.customFilters, (e, h) => (o(), c(f, { key: h }, [
375
376
  e.type == "dropdown" ? (o(), _(D, {
376
377
  key: 0,
378
+ language: i.language,
377
379
  has_cancel: !0,
378
380
  options: e.options,
379
381
  modelValue: a.dynamicFilters[e.field_name],
@@ -383,7 +385,7 @@ function Ie(t, s, i, d, a, r) {
383
385
  label_name: e.field_label,
384
386
  show: !1,
385
387
  placeholder: i.language?.please_select_an_option ?? "Please select an option"
386
- }, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : g("", !0),
388
+ }, null, 8, ["language", "options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : g("", !0),
387
389
  e.type == "text" ? (o(), _(k, {
388
390
  key: 1,
389
391
  type: "text",
@@ -419,6 +421,7 @@ function Ie(t, s, i, d, a, r) {
419
421
  e.hasOwnFilter && Object.keys(e.hasOwnFilter).length > 0 ? (o(), c(f, { key: 0 }, [
420
422
  e.hasOwnFilter.type == "dropdown" ? (o(), _(D, {
421
423
  key: 0,
424
+ language: i.language,
422
425
  has_cancel: !0,
423
426
  options: e.hasOwnFilter.options,
424
427
  modelValue: a.dynamicFilters[e.field_name],
@@ -428,7 +431,7 @@ function Ie(t, s, i, d, a, r) {
428
431
  label_name: e.field_label,
429
432
  show: !1,
430
433
  placeholder: i.language?.please_select_an_option ?? "Please select an option"
431
- }, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : g("", !0),
434
+ }, null, 8, ["language", "options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : g("", !0),
432
435
  e.hasOwnFilter.type == "text" ? (o(), _(k, {
433
436
  key: 1,
434
437
  type: "text",
@@ -781,7 +784,7 @@ function Ie(t, s, i, d, a, r) {
781
784
  ])
782
785
  ], 64);
783
786
  }
784
- const Ee = /* @__PURE__ */ J(X, [["render", Ie], ["__scopeId", "data-v-ffd09517"]]);
787
+ const Ee = /* @__PURE__ */ J(X, [["render", Ie], ["__scopeId", "data-v-95fa873e"]]);
785
788
  export {
786
789
  Ee as default
787
790
  };