@feedmepos/mf-report 5.17.3-beta.0 → 5.18.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/App-C9I2NljG.js +152 -0
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-CUteALow.js → BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js} +5 -5
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-CLTU-OJV.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-uiSe3Jon.js} +2 -2
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-BA60lPjR.js → Default.vue_vue_type_script_setup_true_lang-BX_Bz8I8.js} +2 -2
  5. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BKEfQCHO.js → DynamicWidget.vue_vue_type_script_setup_true_lang-CNRtuVTK.js} +5 -5
  6. package/dist/{InsightView-B22He5Eq.js → InsightView-DV6Nvi6h.js} +5 -5
  7. package/dist/{Integration-DwkFaxGn.js → Integration-CWUSF_o7.js} +2 -2
  8. package/dist/{Integrations-CqMymn98.js → Integrations-BOVIAEgw.js} +3 -3
  9. package/dist/{Layout-BklWN0PE.js → Layout-CTUQOBlj.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-C3V3j1yU.js → MenuTab.vue_vue_type_script_setup_true_lang-DAFwqfMp.js} +6 -6
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-D-BS0WM5.js → NavigationTab.vue_vue_type_script_setup_true_lang-BDA9wTdJ.js} +9599 -9310
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-By5gQvZP.js → NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js} +1 -1
  13. package/dist/{OverviewView-VqJNiehH.js → OverviewView-BdkNW-E-.js} +5 -5
  14. package/dist/Report-YAviXRm9.js +449 -0
  15. package/dist/{ReportEditor-IlsWxYjl.js → ReportEditor-CMqGCf9p.js} +6 -6
  16. package/dist/ReportView-CyTt0xju.js +252 -0
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-eK4eP1Qy.js → SelectComponent.vue_vue_type_script_setup_true_lang-mR2PeX3S.js} +1 -1
  18. package/dist/{Setting-BZuPbv9P.js → Setting-CxGy_k2J.js} +4 -4
  19. package/dist/{TileEditor-zMD1VLuR.js → TileEditor-BxXlzNXM.js} +7 -7
  20. package/dist/{TransitionFade-Doi_KsOY.js → TransitionFade-C0ttcU9I.js} +5 -5
  21. package/dist/app.js +71 -23
  22. package/dist/{helper-bP_1beSH.js → helper-UCnMF9KV.js} +1 -1
  23. package/dist/{vue-i18n-BgRNnwPF.js → vue-i18n-CTLGxUiF.js} +1468 -1452
  24. package/package.json +1 -1
  25. package/dist/App-fjOq3b8Z.js +0 -149
  26. package/dist/Report-ahCD8eFy.js +0 -426
  27. package/dist/ReportView-CPlF_2ST.js +0 -192
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as o, resolveComponent as d, createElementBlock as r, openBlock as a, renderSlot as f, createVNode as g, withCtx as _, createCommentVNode as y, createElementVNode as l, toDisplayString as n } from "vue";
2
- import { u as h } from "./vue-i18n-BgRNnwPF.js";
2
+ import { u as h } from "./vue-i18n-CTLGxUiF.js";
3
3
  const v = { class: "flex flex-col h-full" }, D = ["src"], T = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, b = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, F = /* @__PURE__ */ u({
4
4
  __name: "NoData",
5
5
  props: {
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as g, computed as w, resolveComponent as k, createBlock as a, openBlock as t, withCtx as $, createVNode as d, createElementVNode as y, unref as e, normalizeStyle as C, normalizeClass as u, createElementBlock as _, Fragment as h, renderList as B } from "vue";
2
- import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BKEfQCHO.js";
3
- import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-BA60lPjR.js";
4
- import { a as P } from "./BaseDialog.vue_vue_type_script_setup_true_lang-CUteALow.js";
2
+ import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CNRtuVTK.js";
3
+ import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-BX_Bz8I8.js";
4
+ import { a as P } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
5
5
  import { storeToRefs as R } from "pinia";
6
- import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-By5gQvZP.js";
6
+ import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js";
7
7
  import { useBreakpoints as V } from "@feedmepos/ui-library";
8
- import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-C3V3j1yU.js";
8
+ import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-DAFwqfMp.js";
9
9
  import { useI18n as D } from "@feedmepos/mf-common";
10
10
  const G = /* @__PURE__ */ g({
11
11
  __name: "OverviewView",
@@ -0,0 +1,449 @@
1
+ import { defineComponent as ye, ref as B, watch as oe, computed as C, h as g, withModifiers as be, resolveComponent as _, createBlock as E, openBlock as O, withCtx as i, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as he, normalizeClass as S, withDirectives as M, createElementBlock as xe, Fragment as Ce, renderList as _e, toDisplayString as V, createTextVNode as Se, vShow as q } from "vue";
2
+ import { storeToRefs as ae } from "pinia";
3
+ import { a as ke } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
4
+ import { _ as Ie } from "./Default.vue_vue_type_script_setup_true_lang-BX_Bz8I8.js";
5
+ import { u as we } from "./message-dialog-UoMWOnil.js";
6
+ import { b as re, f as $e } from "./vue-i18n-CTLGxUiF.js";
7
+ import { useSnackbar as Re, useBreakpoints as De, components as Fe, FmButtonColorThemeVariant as Le } from "@feedmepos/ui-library";
8
+ import { _ as Ne } from "./NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js";
9
+ import { useRouter as Oe, useRoute as Ve, onBeforeRouteLeave as ze } from "vue-router";
10
+ import { useI18n as Je } from "@feedmepos/mf-common";
11
+ import { r as le } from "./i18n-Cif1I9J2.js";
12
+ const Pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ae = { class: "w-[343px]" }, Te = { class: "fm-typo-en-body-md-600" }, Ze = /* @__PURE__ */ ye({
13
+ __name: "Report",
14
+ setup(Be) {
15
+ const { t: a, te: K } = Je(), U = Oe(), j = Ve(), p = ke(), { business: ne } = ae(re()), {
16
+ reports: d,
17
+ categories: $,
18
+ pinReport: R,
19
+ isOpenAddReportDialog: se,
20
+ scrollPositionY: Y,
21
+ customReportQuota: G,
22
+ canCreateCustomReport: ce
23
+ } = ae(p), { promptMessage: H } = we(), { promptLoader: Q } = $e(), v = Re(), { breakpoints: s } = De(), b = B();
24
+ ze(() => {
25
+ b.value && (Y.value = b.value.$el.children[0].scrollTop);
26
+ }), oe(b, () => {
27
+ b.value && setTimeout(() => {
28
+ b.value.$el.children[0].scrollTop = Y.value;
29
+ }, 200);
30
+ });
31
+ const z = C(() => R.value && d.value ? d.value.filter((t) => {
32
+ var o;
33
+ return (o = R.value) == null ? void 0 : o.includes(t.id);
34
+ }) : []);
35
+ oe(
36
+ [() => ne.value],
37
+ () => {
38
+ p.refreshPinReport();
39
+ },
40
+ { immediate: !0 }
41
+ );
42
+ const W = C(() => z.value.length > 0 ? d.value.filter(
43
+ (t) => z.value.findIndex((o) => o.id === t.id) === -1
44
+ ) : d.value), { FmButton: ie, FmMenu: J, FmMenuItem: k, FmIcon: P, FmChip: A } = Fe, X = C(() => [
45
+ { value: void 0, label: "All" },
46
+ ...$.value.map((t) => ({
47
+ value: t.id,
48
+ label: t.name
49
+ }))
50
+ ]), h = B(X.value[0]), D = B(""), x = C(() => W.value.length === 0 || $.value.length === 0 ? [] : [
51
+ ...z.value.map((o) => {
52
+ const r = $.value.find((c) => c.id === o.category);
53
+ return {
54
+ name: le(a, K, o.name, "other"),
55
+ categoryId: (r == null ? void 0 : r.id) ?? "",
56
+ category: r != null && r.name ? a(`report.category.${r.name}`) : a("report.common.uncategorized"),
57
+ reportId: o.id,
58
+ editable: o.editable,
59
+ pin: !0
60
+ };
61
+ }).filter((o) => h.value.value && o.categoryId !== h.value.value ? !1 : o.name.toLowerCase().indexOf(D.value.toLowerCase()) !== -1),
62
+ ...W.value.map((o) => {
63
+ const r = $.value.find((c) => c.id === o.category);
64
+ return {
65
+ name: le(a, K, o.name, "other"),
66
+ categoryId: (r == null ? void 0 : r.id) ?? "",
67
+ category: r != null && r.name ? a(`report.category.${r.name}`) : a("report.common.uncategorized"),
68
+ reportId: o.id,
69
+ editable: o.editable,
70
+ pin: !1
71
+ };
72
+ }).filter((o) => h.value.value && o.categoryId !== h.value.value ? !1 : o.name.toLowerCase().indexOf(D.value.toLowerCase()) !== -1)
73
+ ]), me = C(
74
+ () => x.value.map((t) => `${t.name}${t.category}`).toString()
75
+ ), ue = [
76
+ {
77
+ accessorKey: "name",
78
+ header: a("report.common.name"),
79
+ enableSorting: !1,
80
+ cell: (t) => t.getValue()
81
+ },
82
+ {
83
+ accessorKey: "category",
84
+ header: a("report.common.category"),
85
+ enableSorting: !1,
86
+ meta: {
87
+ width: "200px"
88
+ },
89
+ cell: (t) => g(
90
+ A,
91
+ {
92
+ class: `${t.getValue() !== a("report.common.uncategorized") ? "bg-fm-color-system-info-100 text-fm-color-typo-info" : "text-fm-color-typo-secondary"} fm-typo-en-body-sm-600`,
93
+ compact: !0
94
+ },
95
+ { default: () => t.getValue() }
96
+ )
97
+ },
98
+ {
99
+ accessorKey: "",
100
+ id: "Action",
101
+ header: a("report.common.actions"),
102
+ meta: {
103
+ width: "100px"
104
+ },
105
+ cell: (t) => {
106
+ const o = t.row.original, r = o.reportId, c = d.value.find((m) => m.id === r), T = [
107
+ {
108
+ label: a("report.common.duplicate"),
109
+ onClick: () => {
110
+ c && Z(c);
111
+ },
112
+ variant: "",
113
+ disabled: !1
114
+ },
115
+ {
116
+ label: a("report.common.remove"),
117
+ onClick: () => {
118
+ c && ee(c);
119
+ },
120
+ variant: "destructive",
121
+ disabled: !o.editable
122
+ }
123
+ ];
124
+ return g(
125
+ "div",
126
+ {
127
+ class: `flex ${s.value.lg || s.value.md ? "justify-end" : ""} items-center`
128
+ },
129
+ {
130
+ default: () => [
131
+ g(
132
+ "button",
133
+ {
134
+ onClick: be(() => {
135
+ c && te(c);
136
+ }, ["stop"]),
137
+ class: `text-fm-color-neutral-gray-400 ${o.pin ? "" : "show-pin"} hover:bg-fm-color-opacity-sm rounded-lg flex items-center justify-center`
138
+ },
139
+ {
140
+ default: () => [
141
+ g(
142
+ P,
143
+ {
144
+ name: "keep",
145
+ class: "px-12 p-8",
146
+ outline: !o.pin,
147
+ size: "md"
148
+ },
149
+ {}
150
+ )
151
+ ]
152
+ }
153
+ ),
154
+ g(
155
+ J,
156
+ { stopClickPropagation: !0, shift: !0 },
157
+ {
158
+ default: () => T.map(
159
+ (m) => g(
160
+ k,
161
+ {
162
+ onClick: m.disabled ? {} : m.onClick,
163
+ label: m.label,
164
+ class: m.disabled ? "text-fm-color-typo-disabled" : m.variant === "destructive" ? "text-fm-color-typo-error" : "",
165
+ disabled: m.disabled
166
+ },
167
+ {
168
+ label: () => g("p", m.label)
169
+ }
170
+ )
171
+ ),
172
+ "menu-button": () => g(
173
+ ie,
174
+ {
175
+ variant: "tertiary",
176
+ size: "md",
177
+ icon: "more_vert",
178
+ iconColor: Le.NeutralGray400
179
+ },
180
+ {}
181
+ )
182
+ }
183
+ )
184
+ ]
185
+ }
186
+ );
187
+ }
188
+ }
189
+ ];
190
+ async function Z(t) {
191
+ if (await H({
192
+ title: a("report.common.duplicate"),
193
+ message: a("report.messages.confirmAction", {
194
+ action: a("report.common.duplicate"),
195
+ name: t.name
196
+ })
197
+ })) {
198
+ const r = JSON.parse(JSON.stringify(t));
199
+ r.editable = !0, r.id = "", r.name = `${r.name} ${a("report.common.duplicate")}`, Q(async () => {
200
+ try {
201
+ await p.createOrUpdateReport(r), v.open({
202
+ message: `${a("report.messages.duplicateSuccess", { name: r.name })}`,
203
+ type: "success"
204
+ });
205
+ } catch (c) {
206
+ v.open({ message: JSON.stringify(c), type: "error" });
207
+ }
208
+ });
209
+ }
210
+ }
211
+ async function ee(t) {
212
+ await H({
213
+ title: a("report.messages.deleteReport"),
214
+ message: a("report.messages.confirmDelete", { name: t.name })
215
+ }) && Q(async () => {
216
+ try {
217
+ await p.removeReport(t), v.open({
218
+ message: a("report.messages.deleteSuccess", { name: t.name }),
219
+ type: "success"
220
+ });
221
+ } catch (r) {
222
+ v.open({ message: JSON.stringify(r), type: "error" });
223
+ }
224
+ });
225
+ }
226
+ function pe() {
227
+ if (ce.value)
228
+ se.value = !0;
229
+ else {
230
+ let t = `Your current plan only support up to ${G.value} custom reports.`;
231
+ G.value === 0 && (t = "Your current plan does not support custom report."), v.open({
232
+ message: t,
233
+ type: "error"
234
+ });
235
+ }
236
+ }
237
+ function te(t) {
238
+ R.value && R.value.includes(t.id) ? (v.open({
239
+ message: `${a("report.common.unpin")} ${t.name} ${a("report.common.successful")}`,
240
+ type: "success"
241
+ }), p.clearPinReport(t.id)) : (v.open({
242
+ message: `${a("report.common.pin")} ${t.name} ${a("report.common.successful")}`,
243
+ type: "success"
244
+ }), p.cachePinReport(t));
245
+ }
246
+ function de(t) {
247
+ h.value = t;
248
+ }
249
+ const { selectedLocationIds: I, dateRange: F, compareDateRange: L, timeRange: f, globalFilters: Ee, locations: fe } = re(), N = C(() => I.length === fe.length);
250
+ return (t, o) => {
251
+ const r = _("FmPageHead"), c = _("FmSearch"), T = _("FmForm"), m = _("FmListItem"), ge = _("FmList"), ve = _("FmTable");
252
+ return O(), E(Ie, null, {
253
+ default: i(() => [
254
+ n(r, {
255
+ title: e(a)("report.common.report", 1),
256
+ class: "h-[68px]",
257
+ actions: [
258
+ {
259
+ label: `${e(a)("report.view.report.add")}`,
260
+ value: "add",
261
+ isPrimary: !0,
262
+ prependIcon: "add"
263
+ }
264
+ ],
265
+ "onClick:action": o[0] || (o[0] = (l) => pe())
266
+ }, null, 8, ["title", "actions"]),
267
+ y("div", {
268
+ class: S(`overflow-y-hidden flex flex-col gap-8 ${e(s).sm || e(s).xs ? "mb-20" : ""}`),
269
+ style: he({ height: `calc(100% - ${e(s).lg || e(s).md ? 72 : 64}px)` })
270
+ }, [
271
+ n(T, {
272
+ class: S(`flex items-center gap-2 ${e(s).sm || e(s).xs ? "px-3" : "px-24"}`)
273
+ }, {
274
+ default: i(() => [
275
+ n(e(J), null, {
276
+ "menu-button": i(() => [
277
+ n(e(A), { class: "fm-typo-en-body-md-600 text-fm-color-neutral-gray-400" }, {
278
+ default: i(() => [
279
+ y("p", null, V(e(a)(`report.category.${h.value.label}`)), 1),
280
+ n(e(P), { name: "expand_more" })
281
+ ]),
282
+ _: 1
283
+ })
284
+ ]),
285
+ default: i(() => [
286
+ (O(!0), xe(Ce, null, _e(X.value, (l, u) => (O(), E(e(k), {
287
+ key: u,
288
+ label: e(a)(`report.category.${l.label}`),
289
+ onClick: () => de(l)
290
+ }, null, 8, ["label", "onClick"]))), 128))
291
+ ]),
292
+ _: 1
293
+ }),
294
+ y("div", {
295
+ class: S(`flex ${e(s).sm || e(s).xs ? "justify-center items-center" : ""}`)
296
+ }, [
297
+ y("p", Pe, V(e(a)("report.common.results", { count: x.value.length })), 1)
298
+ ], 2),
299
+ o[3] || (o[3] = y("div", { class: "grow" }, null, -1)),
300
+ y("div", Ae, [
301
+ n(c, {
302
+ modelValue: D.value,
303
+ "onUpdate:modelValue": o[1] || (o[1] = (l) => D.value = l),
304
+ class: S(`${e(s).lg || e(s).md ? "grow" : ""}`)
305
+ }, null, 8, ["modelValue", "class"])
306
+ ])
307
+ ]),
308
+ _: 1
309
+ }, 8, ["class"]),
310
+ M((O(), E(ve, {
311
+ key: me.value,
312
+ ref_key: "table",
313
+ ref: b,
314
+ class: S([e(s).sm || e(s).xs ? "px-0" : "px-24", "report-table"]),
315
+ style: { height: "calc(100% - 40px)" },
316
+ "column-defs": ue,
317
+ "row-data": x.value,
318
+ "page-size": x.value.length,
319
+ "hide-footer": !0,
320
+ "row-class-name": "row",
321
+ onRowClick: o[2] || (o[2] = (l) => {
322
+ e(p).updateCurrentReportId(l.original.reportId), e(U).push({
323
+ name: "reportView",
324
+ query: {
325
+ ...e(j).query,
326
+ reportId: l.original.reportId,
327
+ startDate: e(F).startDate,
328
+ endDate: e(F).endDate,
329
+ compareStartDate: e(L).startDate,
330
+ compareEndDate: e(L).endDate,
331
+ timeStart: e(f).start ? JSON.stringify(e(f).start) : null,
332
+ timeEnd: e(f).end ? JSON.stringify(e(f).end) : null,
333
+ isAllLocation: N.value.toString(),
334
+ locationIds: N.value ? null : e(I) ? JSON.stringify(e(I)) : null
335
+ }
336
+ });
337
+ })
338
+ }, {
339
+ "list-row": i(({ original: l }) => [
340
+ n(ge, {
341
+ onClick: () => {
342
+ l.reportId && (e(p).updateCurrentReportId(l.reportId), e(U).push({
343
+ name: "reportView",
344
+ query: {
345
+ ...e(j).query,
346
+ reportId: l.reportId,
347
+ startDate: e(F).startDate,
348
+ endDate: e(F).endDate,
349
+ compareStartDate: e(L).startDate,
350
+ compareEndDate: e(L).endDate,
351
+ timeStart: e(f).start ? JSON.stringify(e(f).start) : null,
352
+ timeEnd: e(f).end ? JSON.stringify(e(f).end) : null,
353
+ isAllLocation: N.value.toString(),
354
+ locationIds: N.value ? null : e(I) ? JSON.stringify(e(I)) : null
355
+ }
356
+ }));
357
+ }
358
+ }, {
359
+ default: i(() => [
360
+ n(m, {
361
+ tag: "label",
362
+ label: l.name,
363
+ clickable: ""
364
+ }, {
365
+ append: i(() => [
366
+ n(e(A), {
367
+ class: S(
368
+ l.category !== "Uncategorized" ? "bg-fm-color-system-info-100 text-fm-color-typo-info" : "text-fm-color-typo-secondary"
369
+ ),
370
+ compact: !0
371
+ }, {
372
+ default: i(() => [
373
+ y("p", Te, V(l.category), 1)
374
+ ]),
375
+ _: 2
376
+ }, 1032, ["class"]),
377
+ n(e(J), {
378
+ placement: "left",
379
+ "stop-click-propagation": !0
380
+ }, {
381
+ "menu-button": i(() => [
382
+ n(e(P), {
383
+ name: "more_vert",
384
+ class: "btn-color"
385
+ })
386
+ ]),
387
+ default: i(() => [
388
+ n(e(k), {
389
+ label: l.pin ? "Unpin" : "Pin",
390
+ onClick: () => {
391
+ const u = e(d).find(
392
+ (w) => w.id === l.reportId
393
+ );
394
+ u && te(u);
395
+ }
396
+ }, null, 8, ["label", "onClick"]),
397
+ n(e(k), {
398
+ label: e(a)("report.common.duplicate"),
399
+ onClick: () => {
400
+ const u = e(d).find(
401
+ (w) => w.id === l.reportId
402
+ );
403
+ u && Z(u);
404
+ }
405
+ }, null, 8, ["label", "onClick"]),
406
+ M(n(e(k), {
407
+ label: e(a)("report.common.delete"),
408
+ class: "text-fm-color-typo-error",
409
+ onClick: () => {
410
+ const u = e(d).find(
411
+ (w) => w.id === l.reportId
412
+ );
413
+ u && ee(u);
414
+ }
415
+ }, {
416
+ label: i(() => [
417
+ Se(V(e(a)("report.common.delete")), 1)
418
+ ]),
419
+ _: 2
420
+ }, 1032, ["label", "onClick"]), [
421
+ [q, l.editable]
422
+ ])
423
+ ]),
424
+ _: 2
425
+ }, 1024)
426
+ ]),
427
+ _: 2
428
+ }, 1032, ["label"])
429
+ ]),
430
+ _: 2
431
+ }, 1032, ["onClick"])
432
+ ]),
433
+ _: 1
434
+ }, 8, ["class", "row-data", "page-size"])), [
435
+ [q, x.value.length > 0]
436
+ ]),
437
+ M(n(Ne, null, null, 512), [
438
+ [q, x.value.length === 0]
439
+ ])
440
+ ], 6)
441
+ ]),
442
+ _: 1
443
+ });
444
+ };
445
+ }
446
+ });
447
+ export {
448
+ Ze as default
449
+ };
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as G, mergeModels as L, useModel as j, ref as q, computed as U, resolveComponent as f, createBlock as $, openBlock as i, withCtx as s, createElementVNode as w, createVNode as t, unref as l, normalizeClass as oe, createTextVNode as ce, toDisplayString as P, createElementBlock as S, Fragment as J, renderSlot as Ce, createCommentVNode as Q, watch as pe, renderList as X, resolveDynamicComponent as Ue, isRef as ke, normalizeStyle as ve, onMounted as Be } from "vue";
2
- import { W as De, _ as We, i as Ie, S as ye, d as _e, T as Re, a as qe } from "./TransitionFade-Doi_KsOY.js";
3
- import { c as Pe, D as le, C as we, a as Ve, b as Ee, v as te } from "./BaseDialog.vue_vue_type_script_setup_true_lang-CUteALow.js";
2
+ import { W as De, _ as We, i as Ie, S as ye, d as _e, T as Re, a as qe } from "./TransitionFade-C0ttcU9I.js";
3
+ import { c as Pe, D as le, C as we, a as Ve, b as Ee, v as te } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DK6im_EY.js";
4
4
  import { storeToRefs as fe } from "pinia";
5
5
  import { useRouter as Se, useRoute as $e } from "vue-router";
6
6
  import { useBreakpoints as ie, useSnackbar as Oe, FmButtonColorThemeVariant as Z } from "@feedmepos/ui-library";
7
7
  import { u as Te } from "./message-dialog-UoMWOnil.js";
8
- import { u as ae, i as ue, f as ze } from "./vue-i18n-BgRNnwPF.js";
9
- import { _ as de } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BKEfQCHO.js";
10
- import { _ as me } from "./NoData.vue_vue_type_script_setup_true_lang-By5gQvZP.js";
8
+ import { u as ae, i as ue, f as ze } from "./vue-i18n-CTLGxUiF.js";
9
+ import { _ as de } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CNRtuVTK.js";
10
+ import { _ as me } from "./NoData.vue_vue_type_script_setup_true_lang-Divo8W18.js";
11
11
  import { r as re } from "./i18n-Cif1I9J2.js";
12
- import { _ as Fe } from "./SelectComponent.vue_vue_type_script_setup_true_lang-eK4eP1Qy.js";
12
+ import { _ as Fe } from "./SelectComponent.vue_vue_type_script_setup_true_lang-mR2PeX3S.js";
13
13
  const He = /* @__PURE__ */ G({
14
14
  __name: "WidgetDialog",
15
15
  props: /* @__PURE__ */ L({