@feedmepos/mf-report 5.4.8 → 5.4.9
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-kcBxi_q1.js +133 -0
- package/dist/BaseDialog.vue_vue_type_script_setup_true_lang-MQNSV-xg.js +59 -0
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-UFE8dqQT.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-pLx3gB7Y.js} +47 -45
- package/dist/{Default.vue_vue_type_script_setup_true_lang-2KbsvIja.js → Default.vue_vue_type_script_setup_true_lang-1lLJDGcu.js} +9 -8
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-qHXYaBLd.js → DynamicWidget.vue_vue_type_script_setup_true_lang-yMu4zk2g.js} +11 -8
- package/dist/{InsightView-m2mp2Vwn.js → InsightView-GIj2fwLa.js} +9 -8
- package/dist/{Integration-v7Vx19wK.js → Integration-YTGIj4Ae.js} +31 -29
- package/dist/{Integrations-5bMwLGDG.js → Integrations-drS5pVEz.js} +27 -25
- package/dist/{Layout-OsxZkd-c.js → Layout-G0qypnQY.js} +1 -1
- package/dist/LocationSelect.vue_vue_type_script_setup_true_lang-PJJaEOeS.js +7994 -0
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-rG63dKPQ.js → MenuTab.vue_vue_type_script_setup_true_lang-UHwO2Vm5.js} +39 -35
- package/dist/NavigationTab.vue_vue_type_script_setup_true_lang-LsUKLCAW.js +26885 -0
- package/dist/{OverviewView-bcZDNzyp.js → OverviewView-1MQAX-5G.js} +4 -4
- package/dist/{Report-QoZGgCFl.js → Report-WYkPEjUh.js} +47 -45
- package/dist/{ReportEditor-4XSyHMDr.js → ReportEditor-6EAPap-S.js} +17 -15
- package/dist/{ReportView-sA3IRxvk.js → ReportView-aky03f2y.js} +36 -33
- package/dist/{Setting-ciEdGVzI.js → Setting-IV26Ng45.js} +36 -34
- package/dist/{TileEditor-oIzGozIp.js → TileEditor-Qn4ZRR39.js} +20 -15
- package/dist/{TransitionFade-u0ffhMND.js → TransitionFade-_dSKw899.js} +65 -62
- package/dist/_plugin-vue_export-helper-hUChTQA_.js +9 -0
- package/dist/app.js +85 -3
- package/dist/global-loader-hSpvBPX1.js +3265 -0
- package/dist/index-JAqUtp7I.js +143 -0
- package/dist/message-dialog-yXvmoAPz.js +20 -0
- package/dist/report-schema-IBXDBT4U.js +31 -0
- package/dist/{timeFormat-KhCrm7K_.js → timeFormat-yx3JOmGm.js} +1 -1
- package/dist/v4-Ihuna0O0.js +17578 -0
- package/package.json +6 -4
- package/dist/LocationSelect.vue_vue_type_script_setup_true_lang-CXdNe2NF.js +0 -84
- package/dist/app-hTKIk5PV.js +0 -48128
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { defineComponent as $, ref as F, useModel as P, resolveComponent as C, openBlock as y, createElementBlock as S, createBlock as U, resolveDynamicComponent as ne, unref as e, withCtx as v, createElementVNode as l, createVNode as n, normalizeClass as h, Fragment as L, renderList as Y, createTextVNode as G, toDisplayString as g, withDirectives as B, vShow as M, watch as re, normalizeStyle as ie } from "vue";
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ as
|
|
4
|
-
import {
|
|
5
|
-
import { useSnackbar as
|
|
6
|
-
import { t as w, s as
|
|
2
|
+
import { _ as me } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
3
|
+
import { _ as ue } from "./Default.vue_vue_type_script_setup_true_lang-1lLJDGcu.js";
|
|
4
|
+
import { f as H, C as J, D as de, a as pe } from "./global-loader-hSpvBPX1.js";
|
|
5
|
+
import { useSnackbar as I, useBreakpoints as K, FmButtonColorThemeVariant as q, components as z } from "@feedmepos/ui-library";
|
|
6
|
+
import { t as w, s as fe } from "./timeFormat-yx3JOmGm.js";
|
|
7
|
+
import { u as ce } from "./message-dialog-yXvmoAPz.js";
|
|
8
|
+
import { c as Q } from "./index-JAqUtp7I.js";
|
|
7
9
|
import { _ as W } from "./SelectComponent.vue_vue_type_script_setup_true_lang-6i3u0Axg.js";
|
|
8
10
|
import { storeToRefs as ve } from "pinia";
|
|
9
11
|
const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "w-full gap-[24px] flex flex-col pt-2" }, xe = { class: "flex items-center w-full gap-3" }, Ce = { class: "text-fm-color-typo-primary" }, Ve = { class: "text-fm-color-typo-secondary" }, be = { class: "flex items-center gap-2" }, De = /* @__PURE__ */ $({
|
|
@@ -22,7 +24,7 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
22
24
|
isDefault: !1,
|
|
23
25
|
startTime: { hour: 0, minute: 0 },
|
|
24
26
|
endTime: { hour: 0, minute: 0 }
|
|
25
|
-
}, { FmForm:
|
|
27
|
+
}, { FmForm: m } = z, V = F(), { promptMessage: i } = ce(), R = I(), r = F(JSON.parse(JSON.stringify(t))), o = P(b, "modelValue"), O = () => {
|
|
26
28
|
a.value = !1, r.value && d.value === void 0 ? o.value.push(r.value) : o.value[d.value] = r.value;
|
|
27
29
|
}, A = () => {
|
|
28
30
|
var p;
|
|
@@ -34,7 +36,7 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
34
36
|
}, Z = () => {
|
|
35
37
|
r.value = t, a.value = !0;
|
|
36
38
|
}, ee = async (p) => {
|
|
37
|
-
const s = o.value.find((_,
|
|
39
|
+
const s = o.value.find((_, u) => u === p);
|
|
38
40
|
if (!s) {
|
|
39
41
|
R.open({ message: `index ${p} cannot be found`, type: "error" });
|
|
40
42
|
return;
|
|
@@ -42,7 +44,7 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
42
44
|
await i({
|
|
43
45
|
title: "Delete time setting",
|
|
44
46
|
message: `Are You sure you want to delete ${s.name}?`
|
|
45
|
-
}) && (o.value = o.value.filter((
|
|
47
|
+
}) && (o.value = o.value.filter((u, N) => N !== p), o.value.find((u) => u.isDefault) || (o.value[0].isDefault = !0), r.value = t);
|
|
46
48
|
}, te = (p, s) => {
|
|
47
49
|
p ? o.value = o.value.map((D, _) => ({
|
|
48
50
|
...D,
|
|
@@ -51,9 +53,9 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
51
53
|
...D,
|
|
52
54
|
isDefault: _ === 0
|
|
53
55
|
}));
|
|
54
|
-
}, { breakpoints: k } =
|
|
56
|
+
}, { breakpoints: k } = K(), { FmSideSheet: le, FmTopSheet: oe } = z;
|
|
55
57
|
return (p, s) => {
|
|
56
|
-
const D = C("FmTextField"), _ = C("FmTimePicker"),
|
|
58
|
+
const D = C("FmTextField"), _ = C("FmTimePicker"), u = C("FmButton"), N = C("FmSwitch"), ae = C("FmChip"), se = C("FmCard");
|
|
57
59
|
return y(), S("div", null, [
|
|
58
60
|
(y(), U(ne(e(k).lg || e(k).md ? e(le) : e(oe)), {
|
|
59
61
|
modelValue: a.value,
|
|
@@ -71,12 +73,12 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
71
73
|
])),
|
|
72
74
|
"side-sheet-footer": v(() => [
|
|
73
75
|
l("div", ge, [
|
|
74
|
-
n(
|
|
76
|
+
n(u, {
|
|
75
77
|
label: "Save",
|
|
76
78
|
variant: "primary",
|
|
77
79
|
onClick: A
|
|
78
80
|
}),
|
|
79
|
-
n(
|
|
81
|
+
n(u, {
|
|
80
82
|
label: "Cancel",
|
|
81
83
|
variant: "tertiary",
|
|
82
84
|
onClick: j
|
|
@@ -85,12 +87,12 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
85
87
|
]),
|
|
86
88
|
"top-sheet-footer": v(() => [
|
|
87
89
|
l("div", ye, [
|
|
88
|
-
n(
|
|
90
|
+
n(u, {
|
|
89
91
|
label: "Save",
|
|
90
92
|
variant: "primary",
|
|
91
93
|
onClick: A
|
|
92
94
|
}),
|
|
93
|
-
n(
|
|
95
|
+
n(u, {
|
|
94
96
|
label: "Cancel",
|
|
95
97
|
variant: "tertiary",
|
|
96
98
|
onClick: j
|
|
@@ -98,7 +100,7 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
98
100
|
])
|
|
99
101
|
]),
|
|
100
102
|
default: v(() => [
|
|
101
|
-
n(e(
|
|
103
|
+
n(e(m), {
|
|
102
104
|
ref_key: "form",
|
|
103
105
|
ref: V,
|
|
104
106
|
class: h(["flex flex-col gap-2", `${e(k).sm || e(k).xs ? "px-24" : ""}`]),
|
|
@@ -168,12 +170,12 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
168
170
|
]),
|
|
169
171
|
s[6] || (s[6] = l("div", { class: "grow" }, null, -1)),
|
|
170
172
|
B(l("div", be, [
|
|
171
|
-
n(
|
|
173
|
+
n(u, {
|
|
172
174
|
icon: "edit",
|
|
173
175
|
variant: "tertiary",
|
|
174
176
|
onClick: (T) => X(x)
|
|
175
177
|
}, null, 8, ["onClick"]),
|
|
176
|
-
n(
|
|
178
|
+
n(u, {
|
|
177
179
|
icon: "delete",
|
|
178
180
|
variant: "tertiary",
|
|
179
181
|
onClick: (T) => ee(x)
|
|
@@ -186,7 +188,7 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
186
188
|
_: 2
|
|
187
189
|
}, 1024))), 128)),
|
|
188
190
|
l("div", null, [
|
|
189
|
-
n(
|
|
191
|
+
n(u, {
|
|
190
192
|
label: "Add reporting hour",
|
|
191
193
|
variant: "secondary",
|
|
192
194
|
icon: "add",
|
|
@@ -209,14 +211,14 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
209
211
|
emits: ["update:modelValue"],
|
|
210
212
|
setup(b) {
|
|
211
213
|
const a = P(b, "modelValue"), d = Object.values(J).map((t) => ({
|
|
212
|
-
label:
|
|
214
|
+
label: Q(t),
|
|
213
215
|
value: t
|
|
214
216
|
})).slice(0, -1);
|
|
215
|
-
return (t,
|
|
216
|
-
|
|
217
|
+
return (t, m) => (y(), S("div", Te, [
|
|
218
|
+
m[1] || (m[1] = l("p", { class: "fm-typo-en-title-sm-600" }, "Date Range Comparison", -1)),
|
|
217
219
|
n(W, {
|
|
218
220
|
modelValue: a.value,
|
|
219
|
-
"onUpdate:modelValue":
|
|
221
|
+
"onUpdate:modelValue": m[0] || (m[0] = (V) => a.value = V),
|
|
220
222
|
label: "Default comparison date range",
|
|
221
223
|
items: e(d),
|
|
222
224
|
"disable-search": !0
|
|
@@ -231,25 +233,25 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
231
233
|
},
|
|
232
234
|
emits: ["update:modelValue"],
|
|
233
235
|
setup(b) {
|
|
234
|
-
const a = P(b, "modelValue"), d = Object.values(
|
|
236
|
+
const a = P(b, "modelValue"), d = Object.values(de).filter((t) => !["This month", "Last month"].includes(t)).map((t) => ({
|
|
235
237
|
label: t,
|
|
236
238
|
value: t
|
|
237
239
|
}));
|
|
238
|
-
return (t,
|
|
239
|
-
|
|
240
|
+
return (t, m) => (y(), S("div", ke, [
|
|
241
|
+
m[1] || (m[1] = l("p", { class: "fm-typo-en-title-sm-600" }, "Date range", -1)),
|
|
240
242
|
n(W, {
|
|
241
243
|
modelValue: a.value,
|
|
242
|
-
"onUpdate:modelValue":
|
|
244
|
+
"onUpdate:modelValue": m[0] || (m[0] = (V) => a.value = V),
|
|
243
245
|
label: "Default date range",
|
|
244
246
|
items: e(d),
|
|
245
247
|
"disable-search": !0
|
|
246
248
|
}, null, 8, ["modelValue", "items"])
|
|
247
249
|
]));
|
|
248
250
|
}
|
|
249
|
-
}), he = { class: "w-2/4" }, we = { class: "fm-typo-en-body-lg-600" }, $e = { class: "fm-typo-en-body-lg-600" }, Re = { class: "fm-typo-en-body-lg-600" },
|
|
251
|
+
}), he = { class: "w-2/4" }, we = { class: "fm-typo-en-body-lg-600" }, $e = { class: "fm-typo-en-body-lg-600" }, Re = { class: "fm-typo-en-body-lg-600" }, Je = /* @__PURE__ */ $({
|
|
250
252
|
__name: "Setting",
|
|
251
253
|
setup(b) {
|
|
252
|
-
const { breakpoints: a } =
|
|
254
|
+
const { breakpoints: a } = K(), d = pe(), { defaultDateSetting: t } = ve(d), m = I();
|
|
253
255
|
return re(
|
|
254
256
|
[
|
|
255
257
|
() => t.value.defaultCompareType,
|
|
@@ -257,14 +259,14 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
257
259
|
() => t.value.timeOptions
|
|
258
260
|
],
|
|
259
261
|
() => {
|
|
260
|
-
t.value.timeOptions.length === 0 ?
|
|
262
|
+
t.value.timeOptions.length === 0 ? m.open({ message: "Report hour cannot be empty", type: "error" }) : d.createOrUpdateBusinessSetting(t.value);
|
|
261
263
|
},
|
|
262
264
|
{ deep: !0 }
|
|
263
265
|
), (V, i) => {
|
|
264
266
|
const R = C("FmMenuDivider"), r = C("FmCard");
|
|
265
|
-
return y(), U(
|
|
267
|
+
return y(), U(ue, null, {
|
|
266
268
|
default: v(() => [
|
|
267
|
-
n(
|
|
269
|
+
n(me, null, {
|
|
268
270
|
title: v(() => i[3] || (i[3] = [
|
|
269
271
|
G(" Settings ")
|
|
270
272
|
])),
|
|
@@ -300,12 +302,12 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
300
302
|
n(R),
|
|
301
303
|
i[5] || (i[5] = l("p", { class: "text-fm-color-typo-secondary" }, "Reporting hour", -1)),
|
|
302
304
|
(y(!0), S(L, null, Y(e(t).timeOptions, (o, O) => (y(), S("div", { key: O }, [
|
|
303
|
-
l("p", we, g(o.name) + " " + g(o.isDefault ? "(default)" : "") + " " + g(e(w)(o.startTime)) + " " + g(e(w)(o.endTime)) + " " + g(e(
|
|
305
|
+
l("p", we, g(o.name) + " " + g(o.isDefault ? "(default)" : "") + " " + g(e(w)(o.startTime)) + " " + g(e(w)(o.endTime)) + " " + g(e(fe)(o.startTime, o.endTime)), 1)
|
|
304
306
|
]))), 128)),
|
|
305
307
|
i[6] || (i[6] = l("p", { class: "text-fm-color-typo-secondary" }, "Default date range", -1)),
|
|
306
308
|
l("p", $e, g(e(t).defaultDateRange), 1),
|
|
307
309
|
i[7] || (i[7] = l("p", { class: "text-fm-color-typo-secondary" }, "Comparison date range", -1)),
|
|
308
|
-
l("p", Re, g(e(
|
|
310
|
+
l("p", Re, g(e(Q)(e(t).defaultCompareType ?? "")), 1)
|
|
309
311
|
]),
|
|
310
312
|
_: 1
|
|
311
313
|
}, 8, ["class"])
|
|
@@ -320,5 +322,5 @@ const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "
|
|
|
320
322
|
}
|
|
321
323
|
});
|
|
322
324
|
export {
|
|
323
|
-
|
|
325
|
+
Je as default
|
|
324
326
|
};
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { defineComponent as P, mergeModels as H, useModel as z, computed as N, ref as j, resolveComponent as f, openBlock as d, createElementBlock as $, createVNode as s, withCtx as w, createElementVNode as F, Fragment as G, renderList as ue, toDisplayString as X, withModifiers as Z, unref as T, createTextVNode as oe, watch as ie, createBlock as V, createCommentVNode as x, renderSlot as we, resolveDynamicComponent as xe, normalizeClass as Ce, onMounted as Oe, isRef as $e, normalizeStyle as Ie } from "vue";
|
|
2
2
|
import { useRoute as Le, useRouter as Me } from "vue-router";
|
|
3
|
-
import { h as Be, D as re, S as ve, W as Re, a as Ae, T as je, _ as Ee } from "./TransitionFade-
|
|
3
|
+
import { h as Be, D as re, S as ve, W as Re, a as Ae, T as je, _ as Ee } from "./TransitionFade-_dSKw899.js";
|
|
4
4
|
import { _ as qe } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
5
|
-
import { W as C,
|
|
6
|
-
import { storeToRefs as
|
|
7
|
-
import {
|
|
5
|
+
import { W as C, a as Je } from "./v4-Ihuna0O0.js";
|
|
6
|
+
import { storeToRefs as ye } from "pinia";
|
|
7
|
+
import { u as he } from "./message-dialog-yXvmoAPz.js";
|
|
8
|
+
import { c as Fe, d as Te, p as He } from "./index-JAqUtp7I.js";
|
|
9
|
+
import { useSnackbar as Pe, useBreakpoints as Se, FmButtonColorThemeVariant as se } from "@feedmepos/ui-library";
|
|
10
|
+
import { u as _e } from "./report-schema-IBXDBT4U.js";
|
|
11
|
+
import { _ as te } from "./BaseDialog.vue_vue_type_script_setup_true_lang-MQNSV-xg.js";
|
|
8
12
|
import { _ as q } from "./SelectComponent.vue_vue_type_script_setup_true_lang-6i3u0Axg.js";
|
|
9
|
-
import { g as me, _ as De } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { g as me, _ as De } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-yMu4zk2g.js";
|
|
14
|
+
import { f as de } from "./global-loader-hSpvBPX1.js";
|
|
10
15
|
import { _ as Ne } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
11
16
|
var le = /* @__PURE__ */ ((u) => (u.DateTime = "DATE_TIME", u.Hour = "HOUR", u.Day = "DAY", u.Week = "WEEK", u.Month = "MONTH", u.TimeOfDay = "TIME_OF_DAY", u.HourOfDay = "HOUR_OF_DAY", u.DayOfWeek = "DAY_OF_WEEK", u.DayOfMonth = "DAY_OF_MONTH", u.MonthOfYear = "MONTH_OF_YEAR", u.Year = "YEAR", u))(le || {}), pe = /* @__PURE__ */ ((u) => (u.Asc = "ASC", u.Desc = "DESC", u))(pe || {}), Q = /* @__PURE__ */ ((u) => (u.Equal = "EQUAL", u.NotEqual = "NOT_EQUAL", u.GreaterThan = "GREATER_THAN", u.LessThan = "LESS_THAN", u.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", u.LessThanOrEqual = "LESS_THAN_OR_EQUAL", u.Between = "BETWEEN", u.Like = "LIKE", u.NotLike = "NOT_LIKE", u.And = "AND", u.Or = "OR", u))(Q || {}), ae = /* @__PURE__ */ ((u) => (u.String = "STRING", u.Timestamp = "TIMESTAMP", u.Bool = "BOOL", u.Numeric = "NUMERIC", u))(ae || {});
|
|
12
17
|
const Ve = [
|
|
@@ -123,7 +128,7 @@ const Ve = [
|
|
|
123
128
|
}),
|
|
124
129
|
emits: ["update:modelValue"],
|
|
125
130
|
setup(u) {
|
|
126
|
-
const r = z(u, "modelValue"), t = u, { schemas: m } =
|
|
131
|
+
const r = z(u, "modelValue"), t = u, { schemas: m } = ye(_e()), v = N(
|
|
127
132
|
() => m.value.map((k) => ({
|
|
128
133
|
labels: [k.label],
|
|
129
134
|
value: k.name,
|
|
@@ -1122,7 +1127,7 @@ const il = { class: "grow" }, sl = {
|
|
|
1122
1127
|
}, {
|
|
1123
1128
|
default: w(() => [
|
|
1124
1129
|
s(E, { name: "drag_handle" }),
|
|
1125
|
-
F("p", cl, X(T(
|
|
1130
|
+
F("p", cl, X(T(Fe)(B.name)), 1),
|
|
1126
1131
|
e[8] || (e[8] = F("div", { class: "grow" }, null, -1)),
|
|
1127
1132
|
s(W, {
|
|
1128
1133
|
icon: "close",
|
|
@@ -1301,7 +1306,7 @@ const il = { class: "grow" }, sl = {
|
|
|
1301
1306
|
}, {
|
|
1302
1307
|
default: w(() => [
|
|
1303
1308
|
s(g, { name: "drag_handle" }),
|
|
1304
|
-
F("p", fl, X(T(
|
|
1309
|
+
F("p", fl, X(T(Fe)(_.name)), 1),
|
|
1305
1310
|
c[8] || (c[8] = F("div", { class: "grow" }, null, -1)),
|
|
1306
1311
|
s(M, {
|
|
1307
1312
|
icon: "close",
|
|
@@ -1563,7 +1568,7 @@ const il = { class: "grow" }, sl = {
|
|
|
1563
1568
|
default: w(() => {
|
|
1564
1569
|
var B, J;
|
|
1565
1570
|
return [
|
|
1566
|
-
F("p", Fl, X(T(
|
|
1571
|
+
F("p", Fl, X(T(He)(((B = _.joinDimension) == null ? void 0 : B.schemaName) ?? "")) + " " + X((J = _.joinDimension) == null ? void 0 : J.label), 1),
|
|
1567
1572
|
e[4] || (e[4] = F("div", { class: "grow" }, null, -1)),
|
|
1568
1573
|
s(M, {
|
|
1569
1574
|
icon: "close",
|
|
@@ -1630,7 +1635,7 @@ const il = { class: "grow" }, sl = {
|
|
|
1630
1635
|
},
|
|
1631
1636
|
{ deep: !0 }
|
|
1632
1637
|
);
|
|
1633
|
-
const m = u, v = r, { schemas: y } =
|
|
1638
|
+
const m = u, v = r, { schemas: y } = ye(_e()), p = N(() => !m.mainDatasourceConfig), a = N(
|
|
1634
1639
|
() => [C.BarChart, C.LineChart, C.Scorecard].includes(m.config.type)
|
|
1635
1640
|
), i = N(() => {
|
|
1636
1641
|
const k = [...t.value.dimensions].filter((n) => !n.hide);
|
|
@@ -1903,7 +1908,7 @@ const il = { class: "grow" }, sl = {
|
|
|
1903
1908
|
}),
|
|
1904
1909
|
emits: /* @__PURE__ */ H(["hideConfiguration"], ["update:modelValue"]),
|
|
1905
1910
|
setup(u, { emit: r }) {
|
|
1906
|
-
const t = z(u, "modelValue"), { breakpoints: m } =
|
|
1911
|
+
const t = z(u, "modelValue"), { breakpoints: m } = Se(), v = u, { promptMessage: y } = he(), p = r;
|
|
1907
1912
|
function a(l) {
|
|
1908
1913
|
t.value = ll(l);
|
|
1909
1914
|
}
|
|
@@ -2230,10 +2235,10 @@ const il = { class: "grow" }, sl = {
|
|
|
2230
2235
|
]);
|
|
2231
2236
|
};
|
|
2232
2237
|
}
|
|
2233
|
-
}), $l = { key: 0 },
|
|
2238
|
+
}), $l = { key: 0 }, Yl = /* @__PURE__ */ P({
|
|
2234
2239
|
__name: "TileEditor",
|
|
2235
2240
|
setup(u) {
|
|
2236
|
-
const r = Le(), t = Me(), m =
|
|
2241
|
+
const r = Le(), t = Me(), m = Je(), { currentSelectWidgetType: v, editingReport: y, editingTile: p, editingIndex: a } = ye(m), { breakpoints: i } = Se(), { promptMessage: b } = he(), h = j(!1);
|
|
2237
2242
|
async function U() {
|
|
2238
2243
|
var n;
|
|
2239
2244
|
if (!y.value)
|
|
@@ -2262,7 +2267,7 @@ const il = { class: "grow" }, sl = {
|
|
|
2262
2267
|
title: w(() => {
|
|
2263
2268
|
var l;
|
|
2264
2269
|
return [
|
|
2265
|
-
T(i).lg || T(i).md ? (d(), $("p", $l, X(T(
|
|
2270
|
+
T(i).lg || T(i).md ? (d(), $("p", $l, X(T(Fe)(((l = T(p)) == null ? void 0 : l.widget.type) ?? "New report")), 1)) : x("", !0)
|
|
2266
2271
|
];
|
|
2267
2272
|
}),
|
|
2268
2273
|
button: w(() => [
|
|
@@ -2296,5 +2301,5 @@ const il = { class: "grow" }, sl = {
|
|
|
2296
2301
|
}
|
|
2297
2302
|
});
|
|
2298
2303
|
export {
|
|
2299
|
-
|
|
2304
|
+
Yl as default
|
|
2300
2305
|
};
|