@feedmepos/mf-report 5.26.9 → 5.27.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.
- package/dist/{App-B9jsVITx.js → App-7sxIC6-C.js} +60 -60
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-D_dvvhqx.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CP6RAaXe.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BO7p8Mq_.js → Default.vue_vue_type_script_setup_true_lang-e3pzzQh_.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CYk44w69.js → DynamicWidget.vue_vue_type_script_setup_true_lang-HQ4x1yGJ.js} +1663 -1642
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DXusNtLu.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BQ196li6.js} +1448 -1359
- package/dist/{InsightView-DHWIOLCi.js → InsightView-CBP_EW0d.js} +4 -4
- package/dist/{Integration-K4zEQ9xo.js → Integration-CBCo0EOJ.js} +3 -3
- package/dist/{Integrations-KyNsy5yd.js → Integrations-DkQWZeZP.js} +2 -2
- package/dist/{Layout-BGGSx2Bv.js → Layout-D3zJH3z1.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-gFC74Kpl.js → MenuTab.vue_vue_type_script_setup_true_lang-2wArlO_a.js} +4 -4
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DGY2NPZT.js → NavigationTab.vue_vue_type_script_setup_true_lang-CL_DD9sP.js} +3 -3
- package/dist/OverviewView-CCJqYug0.js +62 -0
- package/dist/{Report-B2ypN6sG.js → Report-B4OdCQza.js} +3 -3
- package/dist/ReportEditor-C-zJNu8G.js +1812 -0
- package/dist/{ReportView-X8UyQe1R.js → ReportView-CxhzRur5.js} +93 -93
- package/dist/{Setting-BIYwCHo7.js → Setting-BaLkNfN8.js} +6 -6
- package/dist/{Template-B7ywcdv7.js → Template-wkBEZ12T.js} +3 -3
- package/dist/{TileEditor-D0mCJNfG.js → TileEditor-BUTsC_ct.js} +1620 -1600
- package/dist/TileGrid.vue_vue_type_script_setup_true_lang-BOkxFIAd.js +143 -0
- package/dist/{TransitionFade-BGQPx3Xb.js → TransitionFade-C7Czon0d.js} +164 -162
- package/dist/{app-T2BFgO-M.js → app-C3U4kkgS.js} +81 -25
- package/dist/app.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{useRestaurantPermission-DV8KEXT1.js → useRestaurantPermission-CDfKw3iJ.js} +1 -1
- package/package.json +1 -1
- package/dist/OverviewView-pLaPV8q1.js +0 -62
- package/dist/ReportEditor-BSIMLrn7.js +0 -1594
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { storeToRefs as
|
|
8
|
-
import { b as ye, c as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { useSnackbar as
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import { e as
|
|
14
|
-
import { r as
|
|
15
|
-
const
|
|
1
|
+
import { defineComponent as te, ref as ae, computed as p, watch as re, resolveComponent as J, createBlock as N, openBlock as S, withCtx as x, createVNode as f, createElementVNode as C, unref as l, toDisplayString as se, normalizeStyle as le, normalizeClass as B, createElementBlock as ne } from "vue";
|
|
2
|
+
import { _ as ie } from "./MenuTab.vue_vue_type_script_setup_true_lang-2wArlO_a.js";
|
|
3
|
+
import { _ as ce } from "./TileGrid.vue_vue_type_script_setup_true_lang-BOkxFIAd.js";
|
|
4
|
+
import { u as pe, l as ue, s as me } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BQ196li6.js";
|
|
5
|
+
import { useRouter as de, useRoute as ve } from "vue-router";
|
|
6
|
+
import { _ as fe } from "./Default.vue_vue_type_script_setup_true_lang-e3pzzQh_.js";
|
|
7
|
+
import { storeToRefs as y } from "pinia";
|
|
8
|
+
import { b as ye, c as ge, u as be, g as _e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CL_DD9sP.js";
|
|
9
|
+
import { _ as we, b as Se } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
|
|
10
|
+
import { useSnackbar as xe, useBreakpoints as Ce } from "@feedmepos/ui-library";
|
|
11
|
+
import { u as he, a as ke } from "./vue-i18n-DVWuTfed.js";
|
|
12
|
+
import { u as Te } from "./message-dialog-UoMWOnil.js";
|
|
13
|
+
import { e as Re, g as Pe } from "./app-C3U4kkgS.js";
|
|
14
|
+
import { r as De } from "./i18n-CI_sQ5d_.js";
|
|
15
|
+
const Ie = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-hidden text-ellipsis whitespace-nowrap" }, Oe = { class: "sticky top-0 z-10 bg-white" }, $e = /* @__PURE__ */ te({
|
|
16
16
|
__name: "ReportView",
|
|
17
|
-
setup(
|
|
18
|
-
const { t: e, te:
|
|
17
|
+
setup(Ae) {
|
|
18
|
+
const { t: e, te: q } = he(), g = de(), d = ve(), s = xe(), { promptMessage: h } = Te(), u = pe(), k = ye(), { promptLoader: v } = ke(), { breakpoints: i } = Ce(), { isOpenAccountingDialog: j } = y(ge()), { isOpenScheduleDialog: T } = y(be()), { disabled: R } = y(Re()), P = ae(null), D = p(
|
|
19
19
|
() => {
|
|
20
20
|
var a;
|
|
21
21
|
return ((a = P.value) == null ? void 0 : a.reportId) === c.value;
|
|
22
22
|
}
|
|
23
|
-
),
|
|
23
|
+
), F = p(() => {
|
|
24
24
|
var a;
|
|
25
25
|
return !!((a = o.value) != null && a.isSupportPos);
|
|
26
26
|
}), {
|
|
27
27
|
currentReport: o,
|
|
28
|
-
overviewReport:
|
|
28
|
+
overviewReport: V,
|
|
29
29
|
currentReportId: c,
|
|
30
|
-
isOpenDownloadDialog:
|
|
31
|
-
isOpenEmailDialog:
|
|
32
|
-
editingReport:
|
|
33
|
-
canCreateCustomReport:
|
|
34
|
-
customReportQuota:
|
|
35
|
-
} =
|
|
36
|
-
() =>
|
|
30
|
+
isOpenDownloadDialog: z,
|
|
31
|
+
isOpenEmailDialog: L,
|
|
32
|
+
editingReport: U,
|
|
33
|
+
canCreateCustomReport: H,
|
|
34
|
+
customReportQuota: I
|
|
35
|
+
} = y(u), { canUpdate: M, canDuplicate: W, isAdmin: Y } = Pe(), b = p(
|
|
36
|
+
() => Y.value && !!o.value && !o.value.isDefault
|
|
37
37
|
);
|
|
38
|
-
|
|
38
|
+
re(
|
|
39
39
|
() => c.value,
|
|
40
|
-
async () => P.value = await
|
|
40
|
+
async () => P.value = await _e(c.value),
|
|
41
41
|
{ immediate: !0 }
|
|
42
42
|
);
|
|
43
|
-
const
|
|
43
|
+
const G = p(() => {
|
|
44
44
|
var r;
|
|
45
|
-
const a = c.value === ((r =
|
|
45
|
+
const a = c.value === ((r = V.value) == null ? void 0 : r.id), t = [
|
|
46
46
|
{
|
|
47
47
|
icon: "mail",
|
|
48
48
|
label: e("report.common.emailSchedule"),
|
|
@@ -54,7 +54,7 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
54
54
|
icon: "article",
|
|
55
55
|
label: e(a ? "report.common.unsetAsOverview" : "report.common.setAsOverview"),
|
|
56
56
|
onClick: async () => {
|
|
57
|
-
await
|
|
57
|
+
await v(async () => {
|
|
58
58
|
if (o.value)
|
|
59
59
|
try {
|
|
60
60
|
await u.updateDefaultReport(a ? null : o.value.id), s.open({
|
|
@@ -78,7 +78,7 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
78
78
|
icon: "report_jobs",
|
|
79
79
|
label: e("report.common.reportStatus"),
|
|
80
80
|
onClick: () => {
|
|
81
|
-
|
|
81
|
+
O();
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
];
|
|
@@ -90,37 +90,37 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
90
90
|
icon: "library_add",
|
|
91
91
|
label: e("report.common.copyToTemplate"),
|
|
92
92
|
onClick: () => {
|
|
93
|
-
|
|
93
|
+
$();
|
|
94
94
|
}
|
|
95
95
|
}), t;
|
|
96
96
|
});
|
|
97
|
-
async function
|
|
98
|
-
|
|
97
|
+
async function O() {
|
|
98
|
+
k.isOpenJobDialog = !0, await k.getJobs();
|
|
99
99
|
}
|
|
100
|
-
function
|
|
101
|
-
if (!o.value || !
|
|
100
|
+
function Q() {
|
|
101
|
+
if (!o.value || !M(o.value)) {
|
|
102
102
|
s.open({
|
|
103
103
|
message: e("report.messages.noPermissionUpdateReport"),
|
|
104
104
|
type: "error"
|
|
105
105
|
});
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
108
|
-
|
|
108
|
+
U.value = JSON.parse(JSON.stringify(o.value)), g.push({
|
|
109
109
|
name: "reportEditor",
|
|
110
|
-
query:
|
|
110
|
+
query: d.query
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
|
-
async function
|
|
114
|
-
if (!o.value || !
|
|
113
|
+
async function K() {
|
|
114
|
+
if (!o.value || !W(o.value)) {
|
|
115
115
|
s.open({
|
|
116
116
|
message: e("report.messages.noPermissionDuplicateReport"),
|
|
117
117
|
type: "error"
|
|
118
118
|
});
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
|
-
if (!
|
|
122
|
-
let t = `Your current plan only support up to ${
|
|
123
|
-
|
|
121
|
+
if (!H.value) {
|
|
122
|
+
let t = `Your current plan only support up to ${I.value} custom reports.`;
|
|
123
|
+
I.value === 0 && (t = "Your current plan does not support custom report."), s.open({
|
|
124
124
|
message: t,
|
|
125
125
|
type: "error"
|
|
126
126
|
});
|
|
@@ -130,7 +130,7 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
130
130
|
s.open({ message: "No Widget", type: "error" });
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
|
-
if (await
|
|
133
|
+
if (await h({
|
|
134
134
|
title: `${e("report.messages.duplicateReport")}`,
|
|
135
135
|
message: e("report.messages.confirmAction", {
|
|
136
136
|
action: e("report.common.duplicate"),
|
|
@@ -140,12 +140,12 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
140
140
|
const t = JSON.parse(JSON.stringify(o.value));
|
|
141
141
|
t.editable = !0, t.id = "", t.name = `${t.name} duplicate`, t.isDefault = !1;
|
|
142
142
|
try {
|
|
143
|
-
await
|
|
143
|
+
await v(async () => {
|
|
144
144
|
const r = await u.createOrUpdateReport(t);
|
|
145
|
-
u.updateCurrentReportId(r.id),
|
|
145
|
+
u.updateCurrentReportId(r.id), g.push({
|
|
146
146
|
name: "reportView",
|
|
147
|
-
params:
|
|
148
|
-
query:
|
|
147
|
+
params: d.params,
|
|
148
|
+
query: d.query
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
} catch (r) {
|
|
@@ -153,7 +153,7 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
async function
|
|
156
|
+
async function $() {
|
|
157
157
|
var t;
|
|
158
158
|
if (!b.value) {
|
|
159
159
|
s.open({
|
|
@@ -166,7 +166,7 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
166
166
|
s.open({ message: "No Widget", type: "error" });
|
|
167
167
|
return;
|
|
168
168
|
}
|
|
169
|
-
if (await
|
|
169
|
+
if (await h({
|
|
170
170
|
title: `${e("report.common.copyToTemplate")}`,
|
|
171
171
|
message: e("report.messages.confirmAction", {
|
|
172
172
|
action: e("report.common.copyToTemplate"),
|
|
@@ -174,7 +174,7 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
174
174
|
})
|
|
175
175
|
}))
|
|
176
176
|
try {
|
|
177
|
-
await
|
|
177
|
+
await v(async () => {
|
|
178
178
|
var r;
|
|
179
179
|
await u.createReportTemplate(o.value), s.open({
|
|
180
180
|
message: e("report.messages.copyTemplateSuccess", { name: (r = o.value) == null ? void 0 : r.name }),
|
|
@@ -189,16 +189,16 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
function A() {
|
|
192
|
-
|
|
192
|
+
j.value = !0;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function X() {
|
|
195
195
|
o.value && (navigator.clipboard.writeText(c.value), s.open({ message: "Copied report ID to clipboard", type: "success" }));
|
|
196
196
|
}
|
|
197
|
-
async function
|
|
197
|
+
async function Z() {
|
|
198
198
|
if (o.value)
|
|
199
199
|
try {
|
|
200
|
-
await
|
|
201
|
-
await
|
|
200
|
+
await v(async () => {
|
|
201
|
+
await me(c.value, !F.value), await u.getReports();
|
|
202
202
|
});
|
|
203
203
|
} catch (a) {
|
|
204
204
|
console.log(a), s.open({
|
|
@@ -207,7 +207,7 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
const
|
|
210
|
+
const _ = p(() => o.value ? o.value.tiles : []), ee = p(() => ue(_.value)), oe = p(() => {
|
|
211
211
|
var r;
|
|
212
212
|
let t = [
|
|
213
213
|
// TODO: In future once decided to support report showing configuration for POS,
|
|
@@ -244,60 +244,60 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
244
244
|
value: "copy_to_template",
|
|
245
245
|
isPrimary: !1
|
|
246
246
|
}), !R.value && D.value && t.push({ label: e("report.common.accountingExport"), value: "export", isPrimary: !1 }), t = t.filter((m) => m.value !== "edit")), t;
|
|
247
|
-
}),
|
|
247
|
+
}), w = p(() => {
|
|
248
248
|
var a;
|
|
249
|
-
return
|
|
249
|
+
return De(e, q, (a = o == null ? void 0 : o.value) == null ? void 0 : a.name, "other");
|
|
250
250
|
});
|
|
251
251
|
return (a, t) => {
|
|
252
|
-
const r =
|
|
253
|
-
return
|
|
254
|
-
default:
|
|
255
|
-
var
|
|
252
|
+
const r = J("FmTooltip"), m = J("FmPageHead");
|
|
253
|
+
return S(), N(fe, null, {
|
|
254
|
+
default: x(() => {
|
|
255
|
+
var E;
|
|
256
256
|
return [
|
|
257
|
-
|
|
258
|
-
title:
|
|
257
|
+
f(m, {
|
|
258
|
+
title: w.value,
|
|
259
259
|
"back-button": !0,
|
|
260
|
-
actions:
|
|
261
|
-
|
|
262
|
-
"onClick:
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
260
|
+
actions: oe.value,
|
|
261
|
+
class: "remove-line-clamping",
|
|
262
|
+
"onClick:back": t[0] || (t[0] = (n) => l(g).push({ name: "reports", query: l(d).query })),
|
|
263
|
+
"onClick:action": t[1] || (t[1] = (n) => {
|
|
264
|
+
n === "show_in_pos" && Z(), n === "duplicate" && K(), n === "download" && (z.value = !0), n === "email" && (L.value = !0), n === "edit" && Q(), n === "schedule_email" && (T.value = !0), n === "content_copy" && X(), n === "copy_to_template" && $(), n === "export" && A(), n === "report_jobs" && O();
|
|
265
|
+
})
|
|
266
266
|
}, {
|
|
267
|
-
title:
|
|
268
|
-
|
|
269
|
-
content:
|
|
267
|
+
title: x(() => [
|
|
268
|
+
f(r, {
|
|
269
|
+
content: w.value,
|
|
270
270
|
placement: "bottom",
|
|
271
271
|
"z-index": 2e3,
|
|
272
272
|
class: "flex min-w-0 max-w-full justify-start"
|
|
273
273
|
}, {
|
|
274
|
-
default:
|
|
275
|
-
|
|
274
|
+
default: x(() => [
|
|
275
|
+
C("p", Ie, se(w.value), 1)
|
|
276
276
|
]),
|
|
277
277
|
_: 1
|
|
278
278
|
}, 8, ["content"])
|
|
279
279
|
]),
|
|
280
280
|
_: 1
|
|
281
281
|
}, 8, ["title", "actions"]),
|
|
282
|
-
|
|
283
|
-
class:
|
|
284
|
-
style:
|
|
282
|
+
C("div", {
|
|
283
|
+
class: B(`flex flex-col overflow-y-auto ${l(i).xs || l(i).sm ? "pb-20" : ""}`),
|
|
284
|
+
style: le({ height: `calc(100% - ${l(i).lg || l(i).md ? 72 : 64}px)` })
|
|
285
285
|
}, [
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
"model-value":
|
|
286
|
+
C("div", Oe, [
|
|
287
|
+
f(ie, {
|
|
288
|
+
"model-value": l(i).lg || l(i).md ? G.value : []
|
|
289
289
|
}, null, 8, ["model-value"])
|
|
290
290
|
]),
|
|
291
|
-
|
|
291
|
+
l(o) && ((E = _.value) == null ? void 0 : E.length) > 0 ? (S(), ne("div", {
|
|
292
292
|
key: 0,
|
|
293
|
-
class:
|
|
293
|
+
class: B(["grid grid-cols-12", l(i).sm || l(i).xs ? "px-3 gap-[16px]" : "px-24 gap-[24px]"])
|
|
294
294
|
}, [
|
|
295
|
-
(
|
|
296
|
-
|
|
297
|
-
"
|
|
298
|
-
index:
|
|
299
|
-
}, null, 8, ["
|
|
300
|
-
], 2)) : (
|
|
295
|
+
f(ce, {
|
|
296
|
+
tiles: _.value,
|
|
297
|
+
"report-id": l(c),
|
|
298
|
+
"leaf-index-by-id": ee.value
|
|
299
|
+
}, null, 8, ["tiles", "report-id", "leaf-index-by-id"])
|
|
300
|
+
], 2)) : (S(), N(we, { key: 1 }))
|
|
301
301
|
], 6)
|
|
302
302
|
];
|
|
303
303
|
}),
|
|
@@ -305,7 +305,7 @@ const $e = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
|
|
|
305
305
|
});
|
|
306
306
|
};
|
|
307
307
|
}
|
|
308
|
-
}),
|
|
308
|
+
}), Ye = /* @__PURE__ */ Se($e, [["__scopeId", "data-v-a22ca746"]]);
|
|
309
309
|
export {
|
|
310
|
-
|
|
310
|
+
Ye as default
|
|
311
311
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as B, ref as H, useModel as M, resolveComponent as h, createElementBlock as k, openBlock as x, createBlock as P, createElementVNode as t, resolveDynamicComponent as ne, unref as e, withCtx as y, createVNode as a, normalizeClass as O, toDisplayString as s, Fragment as
|
|
2
|
-
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { d as L, C as q, D as pe, a as ce } from "./app-
|
|
1
|
+
import { defineComponent as B, ref as H, useModel as M, resolveComponent as h, createElementBlock as k, openBlock as x, createBlock as P, createElementVNode as t, resolveDynamicComponent as ne, unref as e, withCtx as y, createVNode as a, normalizeClass as O, toDisplayString as s, Fragment as G, renderList as A, createTextVNode as ie, withDirectives as K, vShow as Q, watch as me, normalizeStyle as ue } from "vue";
|
|
2
|
+
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-e3pzzQh_.js";
|
|
3
|
+
import { d as L, C as q, D as pe, a as ce } from "./app-C3U4kkgS.js";
|
|
4
4
|
import { components as z, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as I } from "@feedmepos/ui-library";
|
|
5
|
-
import {
|
|
5
|
+
import { F as N, G as fe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BQ196li6.js";
|
|
6
6
|
import { u as ve } from "./message-dialog-UoMWOnil.js";
|
|
7
7
|
import { u as U } from "./vue-i18n-DVWuTfed.js";
|
|
8
8
|
import { detectLocale as F } from "@feedmepos/mf-common";
|
|
@@ -146,7 +146,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
146
146
|
t("p", Ce, s(e(u)("report.setting.reportHour.description")), 1)
|
|
147
147
|
]),
|
|
148
148
|
t("div", Ve, [
|
|
149
|
-
(x(!0), k(
|
|
149
|
+
(x(!0), k(G, null, A(m.value, (_, V) => (x(), P(re, {
|
|
150
150
|
key: `report_${V}`,
|
|
151
151
|
class: "flex p-4",
|
|
152
152
|
variant: "outlined"
|
|
@@ -302,7 +302,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
|
|
|
302
302
|
t("p", Ue, s(e(n)("report.setting.summary.title")), 1),
|
|
303
303
|
a(m),
|
|
304
304
|
t("p", Ee, s(e(n)("report.setting.summary.reportHour")), 1),
|
|
305
|
-
(x(!0), k(
|
|
305
|
+
(x(!0), k(G, null, A(e(l).timeOptions, (d, R) => (x(), k("div", { key: R }, [
|
|
306
306
|
t("p", Pe, s(d.name) + s(d.isDefault ? `(${e(n)("report.setting.reportHour.default")})` : "") + " " + s(e(N)(d.startTime, e(F)())) + " " + s(e(N)(d.endTime, e(F)())) + " " + s(e(fe)(d.startTime, d.endTime)), 1)
|
|
307
307
|
]))), 128)),
|
|
308
308
|
t("p", Me, s(e(n)("report.setting.summary.defaultDateRange")), 1),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as re, computed as p, resolveComponent as g, createElementBlock as H, openBlock as _, renderSlot as Te, createVNode as n, withCtx as s, createCommentVNode as ne, createElementVNode as m, toDisplayString as y, ref as b, h as v, onMounted as Ce, createBlock as z, unref as l, normalizeStyle as ke, normalizeClass as T, withDirectives as te, Fragment as Fe, renderList as Le, withModifiers as oe, vShow as le } from "vue";
|
|
2
2
|
import { a as Ve } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
|
|
3
3
|
import { u as se, a as $e } from "./vue-i18n-DVWuTfed.js";
|
|
4
|
-
import { _ as Se } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as Se } from "./Default.vue_vue_type_script_setup_true_lang-e3pzzQh_.js";
|
|
5
5
|
import { u as Re } from "./message-dialog-UoMWOnil.js";
|
|
6
|
-
import { u as Pe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { u as Pe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BQ196li6.js";
|
|
7
7
|
import { r as ae } from "./i18n-CI_sQ5d_.js";
|
|
8
8
|
import { useBreakpoints as ze, useSnackbar as De, components as Ie, FmButtonColorThemeVariant as Ne } from "@feedmepos/ui-library";
|
|
9
9
|
import { useRouter as Oe, useRoute as Be } from "vue-router";
|
|
10
10
|
import { storeToRefs as Ee } from "pinia";
|
|
11
|
-
import { g as Ke } from "./app-
|
|
11
|
+
import { g as Ke } from "./app-C3U4kkgS.js";
|
|
12
12
|
const Me = { class: "flex flex-col h-full" }, Ue = ["src"], je = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Ae = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, He = /* @__PURE__ */ re({
|
|
13
13
|
__name: "NoTemplate",
|
|
14
14
|
props: {
|