@feedmepos/mf-report 5.8.2 → 5.9.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-C6VF9T5V.js → App-CQsY_29Q.js} +35 -36
- package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-w7lSYFth.js +180 -0
- package/dist/{Default.vue_vue_type_script_setup_true_lang-B0_QlxYu.js → Default.vue_vue_type_script_setup_true_lang-DeKEY6-a.js} +2 -2
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-Dc0etyos.js +1447 -0
- package/dist/{InsightView-BQlzh0ue.js → InsightView-DmM_alRs.js} +7 -8
- package/dist/Integration-CAX-hbPd.js +5222 -0
- package/dist/Integrations-DRYSVJuG.js +338 -0
- package/dist/{Layout-RhBG3zKc.js → Layout-CDCrzjoH.js} +1 -1
- package/dist/MenuTab.vue_vue_type_script_setup_true_lang-DNxXgTX4.js +342 -0
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BdzurgE4.js → NavigationTab.vue_vue_type_script_setup_true_lang-DpFJ_jYh.js} +1078 -1080
- package/dist/NoData.vue_vue_type_script_setup_true_lang-DGTWa4E5.js +38 -0
- package/dist/{OverviewView-Boq9rgbj.js → OverviewView-DeGcbroH.js} +5 -5
- package/dist/{Report-C7GvAhoG.js → Report-Do9-H4EW.js} +4 -4
- package/dist/ReportEditor-D4bnl00E.js +968 -0
- package/dist/{ReportView-DMLyspIY.js → ReportView-Cz6U-DNK.js} +7 -7
- package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-Dq9vY9mj.js +110 -0
- package/dist/{Setting-CLBZdtvx.js → Setting-DIAFop5l.js} +26 -23
- package/dist/TileEditor-DGhgxgTD.js +3080 -0
- package/dist/{TransitionFade-D3megUTB.js → TransitionFade-DmQjTWuM.js} +207 -203
- package/dist/app.js +59 -19
- package/dist/helper-CPPrXQSs.js +75 -0
- package/dist/style.css +1 -1
- package/dist/{v4-Bi2F4URu.js → v4-ZW3e7y3R.js} +1955 -1844
- package/dist/{global-loader-CEOgl5uZ.js → vue-i18n-CbAseuRE.js} +2058 -1977
- package/package.json +1 -1
- package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-CpakO4U-.js +0 -162
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-BO_HTvjY.js +0 -1417
- package/dist/Integration-CB31rvSG.js +0 -4751
- package/dist/Integrations-DGlzyZMR.js +0 -334
- package/dist/MenuTab.vue_vue_type_script_setup_true_lang-DsY5W3k7.js +0 -101
- package/dist/NoData.vue_vue_type_script_setup_true_lang-DZJxcekm.js +0 -31
- package/dist/ReportEditor-CwzONBLC.js +0 -621
- package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-C23-eIYF.js +0 -104
- package/dist/TileEditor-CtVM3IbI.js +0 -3016
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/index-CH1WFv_s.js +0 -147
- package/dist/report-schema-C3sI223M.js +0 -31
package/package.json
CHANGED
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, resolveComponent as g, createBlock as p, openBlock as u, withCtx as v, createCommentVNode as y, createElementVNode as w, toDisplayString as M, renderSlot as P, mergeModels as T, useModel as f, ref as C, watch as I, createElementBlock as x, createVNode as D, unref as c } from "vue";
|
|
2
|
-
import { d as n, J as O, C as B } from "./global-loader-CEOgl5uZ.js";
|
|
3
|
-
import { b as V } from "./index-CH1WFv_s.js";
|
|
4
|
-
import { detectLocale as $ } from "@feedmepos/mf-common";
|
|
5
|
-
const Y = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, j = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, k = /* @__PURE__ */ F({
|
|
6
|
-
__name: "FilterChip",
|
|
7
|
-
props: {
|
|
8
|
-
label: {
|
|
9
|
-
type: String,
|
|
10
|
-
default: ""
|
|
11
|
-
},
|
|
12
|
-
leftIcon: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: ""
|
|
15
|
-
},
|
|
16
|
-
rightIcon: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: ""
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(a) {
|
|
22
|
-
const r = a;
|
|
23
|
-
return (d, l) => {
|
|
24
|
-
const e = g("FmIcon"), t = g("FmChip");
|
|
25
|
-
return u(), p(t, { class: "bg-fm-color-neutral-gray-100 text-fm-color-neutral-gray-400 max-w-fit" }, {
|
|
26
|
-
default: v(() => [
|
|
27
|
-
a.leftIcon ? (u(), p(e, {
|
|
28
|
-
key: 0,
|
|
29
|
-
name: r.leftIcon,
|
|
30
|
-
size: "sm",
|
|
31
|
-
outline: ""
|
|
32
|
-
}, null, 8, ["name"])) : y("", !0),
|
|
33
|
-
w("p", Y, M(r.label), 1),
|
|
34
|
-
a.rightIcon ? (u(), p(e, {
|
|
35
|
-
key: 1,
|
|
36
|
-
name: a.rightIcon,
|
|
37
|
-
size: "sm",
|
|
38
|
-
outline: ""
|
|
39
|
-
}, null, 8, ["name"])) : y("", !0),
|
|
40
|
-
w("div", j, [
|
|
41
|
-
P(d.$slots, "default")
|
|
42
|
-
])
|
|
43
|
-
]),
|
|
44
|
-
_: 3
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
}), N = { class: "flex gap-2 items-center" }, i = "YYYY-MM-DD", J = /* @__PURE__ */ F({
|
|
49
|
-
__name: "DateRangeSelect",
|
|
50
|
-
props: /* @__PURE__ */ T({
|
|
51
|
-
compare: {
|
|
52
|
-
type: Boolean,
|
|
53
|
-
default: !1
|
|
54
|
-
},
|
|
55
|
-
datePredefinedRanges: {
|
|
56
|
-
type: Array,
|
|
57
|
-
default: () => O
|
|
58
|
-
}
|
|
59
|
-
}, {
|
|
60
|
-
compareType: {
|
|
61
|
-
type: String,
|
|
62
|
-
default: B.PrecedingPeriod
|
|
63
|
-
},
|
|
64
|
-
compareTypeModifiers: {},
|
|
65
|
-
dateRange: {
|
|
66
|
-
type: Object,
|
|
67
|
-
default: () => ({
|
|
68
|
-
startDate: void 0,
|
|
69
|
-
endDate: void 0
|
|
70
|
-
})
|
|
71
|
-
},
|
|
72
|
-
dateRangeModifiers: {},
|
|
73
|
-
compareDateRange: {
|
|
74
|
-
type: Object,
|
|
75
|
-
default: () => ({
|
|
76
|
-
startDate: void 0,
|
|
77
|
-
endDate: void 0
|
|
78
|
-
})
|
|
79
|
-
},
|
|
80
|
-
compareDateRangeModifiers: {}
|
|
81
|
-
}),
|
|
82
|
-
emits: ["update:compareType", "update:dateRange", "update:compareDateRange"],
|
|
83
|
-
setup(a) {
|
|
84
|
-
var S, R, b;
|
|
85
|
-
const r = f(a, "compareType"), d = f(a, "dateRange"), l = f(a, "compareDateRange"), e = C({
|
|
86
|
-
startDate: (S = n(d.value.startDate)) == null ? void 0 : S.local().format(i),
|
|
87
|
-
endDate: (R = n(d.value.endDate)) == null ? void 0 : R.local().format(i)
|
|
88
|
-
}), t = C({
|
|
89
|
-
startDate: l.value.startDate ? (b = n(l.value.startDate)) == null ? void 0 : b.local().format(i) : void 0,
|
|
90
|
-
endDate: l.value.endDate ? n(l.value.endDate).local().format(i) : void 0
|
|
91
|
-
});
|
|
92
|
-
I(
|
|
93
|
-
[() => e.value],
|
|
94
|
-
() => {
|
|
95
|
-
e.value.endDate || (e.value.endDate = e.value.startDate), d.value = {
|
|
96
|
-
startDate: n(e.value.startDate).toISOString(),
|
|
97
|
-
endDate: n(e.value.endDate).toISOString()
|
|
98
|
-
};
|
|
99
|
-
},
|
|
100
|
-
{ deep: !0 }
|
|
101
|
-
), I([() => t.value], () => {
|
|
102
|
-
l.value = {
|
|
103
|
-
startDate: t.value.startDate ? n(t.value.startDate).toISOString() : void 0,
|
|
104
|
-
endDate: t.value.endDate ? n(t.value.endDate).toISOString() : void 0
|
|
105
|
-
};
|
|
106
|
-
});
|
|
107
|
-
function _(m) {
|
|
108
|
-
r.value = m;
|
|
109
|
-
}
|
|
110
|
-
return (m, s) => {
|
|
111
|
-
const h = g("FmSimpleDateRangePicker");
|
|
112
|
-
return u(), x("div", N, [
|
|
113
|
-
D(h, {
|
|
114
|
-
modelValue: e.value,
|
|
115
|
-
"onUpdate:modelValue": s[0] || (s[0] = (o) => e.value = o),
|
|
116
|
-
"show-predefined-range": "",
|
|
117
|
-
"predefined-range": a.datePredefinedRanges.map((o) => ({
|
|
118
|
-
...o,
|
|
119
|
-
label: m.$t(`report.date.${o.label}`)
|
|
120
|
-
})),
|
|
121
|
-
class: "w-2/6"
|
|
122
|
-
}, {
|
|
123
|
-
"trigger-button": v(() => [
|
|
124
|
-
D(k, {
|
|
125
|
-
"left-icon": "calendar_month",
|
|
126
|
-
label: `${c(V)({
|
|
127
|
-
startDate: e.value.startDate ?? "",
|
|
128
|
-
endDate: e.value.endDate ?? "",
|
|
129
|
-
locale: c($)()
|
|
130
|
-
})}`
|
|
131
|
-
}, null, 8, ["label"])
|
|
132
|
-
]),
|
|
133
|
-
_: 1
|
|
134
|
-
}, 8, ["modelValue", "predefined-range"]),
|
|
135
|
-
a.compare ? (u(), p(h, {
|
|
136
|
-
key: 0,
|
|
137
|
-
modelValue: t.value,
|
|
138
|
-
"onUpdate:modelValue": s[1] || (s[1] = (o) => t.value = o),
|
|
139
|
-
"show-predefined-range": "",
|
|
140
|
-
"compare-target": e.value,
|
|
141
|
-
"default-compare-type": r.value,
|
|
142
|
-
onSelectComparison: _
|
|
143
|
-
}, {
|
|
144
|
-
"trigger-button": v(() => [
|
|
145
|
-
D(k, {
|
|
146
|
-
label: `${m.$t("report.common.compare")}: ${c(V)({
|
|
147
|
-
startDate: t.value.startDate ?? null,
|
|
148
|
-
endDate: t.value.endDate ?? null,
|
|
149
|
-
locale: c($)()
|
|
150
|
-
})}`
|
|
151
|
-
}, null, 8, ["label"])
|
|
152
|
-
]),
|
|
153
|
-
_: 1
|
|
154
|
-
}, 8, ["modelValue", "compare-target", "default-compare-type"])) : y("", !0)
|
|
155
|
-
]);
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
export {
|
|
160
|
-
J as _,
|
|
161
|
-
k as a
|
|
162
|
-
};
|