@feedmepos/mf-report 5.27.13 → 5.27.14-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 (30) hide show
  1. package/dist/{App-BlHs_KyM.js → App-CcdMlfSd.js} +96 -95
  2. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-OQRT1HAp.js +389 -0
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-CxR3luuJ.js → Default.vue_vue_type_script_setup_true_lang-BoZCI7kN.js} +1 -1
  4. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-DJTZFtNV.js +5079 -0
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-oCAIT-ax.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-faQ1wSGW.js} +5193 -4810
  6. package/dist/{InsightView-N5Lzz_b4.js → InsightView-B7hXryQe.js} +4 -4
  7. package/dist/{Integration-BotRTI4i.js → Integration-Cm0DNd94.js} +3 -3
  8. package/dist/{Integrations-B26o5QXd.js → Integrations-s2XnL_lQ.js} +2 -2
  9. package/dist/{Layout-6NKUqxol.js → Layout-BaxsdPkO.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BijCez3Y.js → MenuTab.vue_vue_type_script_setup_true_lang-D-uVoZ83.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CA9MugVT.js → NavigationTab.vue_vue_type_script_setup_true_lang-40Mxqpsi.js} +2795 -2779
  12. package/dist/{OverviewView-vdfq-4MN.js → OverviewView-YYCDda7Z.js} +4 -4
  13. package/dist/{Report-Dz8mKOpQ.js → Report-fQv1rMXB.js} +3 -3
  14. package/dist/ReportEditor-BQi5vZ5G.js +1828 -0
  15. package/dist/{ReportView-DHNMt0BV.js → ReportView-CePzSNVf.js} +6 -6
  16. package/dist/{Setting-Cpy5DtfI.js → Setting-DA1IUerO.js} +14 -14
  17. package/dist/{Template-6U_iB8qy.js → Template-BNwoCMjJ.js} +3 -3
  18. package/dist/TileEditor-EBbG7Odu.js +4064 -0
  19. package/dist/TileGrid.vue_vue_type_script_setup_true_lang-BseyYYvj.js +154 -0
  20. package/dist/{TransitionFade-C7B6bWjS.js → TransitionFade-vNYa-qkr.js} +760 -828
  21. package/dist/{app-Dz4qiCQj.js → app-D2QVuN8P.js} +388 -291
  22. package/dist/app.js +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useRestaurantPermission-DDTn3OLP.js → useRestaurantPermission-qFfSh5xv.js} +1 -1
  25. package/package.json +1 -1
  26. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-B9yWyW2A.js +0 -383
  27. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-BZdgw5zR.js +0 -4922
  28. package/dist/ReportEditor-CSq4R2KR.js +0 -1826
  29. package/dist/TileEditor-REt2Wbx9.js +0 -4036
  30. package/dist/TileGrid.vue_vue_type_script_setup_true_lang-D0rrgUXG.js +0 -152
@@ -1,16 +1,16 @@
1
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-BijCez3Y.js";
3
- import { _ as ce } from "./TileGrid.vue_vue_type_script_setup_true_lang-D0rrgUXG.js";
4
- import { u as pe, l as ue, s as me } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-oCAIT-ax.js";
2
+ import { _ as ie } from "./MenuTab.vue_vue_type_script_setup_true_lang-D-uVoZ83.js";
3
+ import { _ as ce } from "./TileGrid.vue_vue_type_script_setup_true_lang-BseyYYvj.js";
4
+ import { u as pe, l as ue, s as me } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-faQ1wSGW.js";
5
5
  import { useRouter as de, useRoute as ve } from "vue-router";
6
- import { _ as fe } from "./Default.vue_vue_type_script_setup_true_lang-CxR3luuJ.js";
6
+ import { _ as fe } from "./Default.vue_vue_type_script_setup_true_lang-BoZCI7kN.js";
7
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-CA9MugVT.js";
8
+ import { b as ye, c as ge, u as be, g as _e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-40Mxqpsi.js";
9
9
  import { _ as we } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
10
10
  import { useSnackbar as Se, useBreakpoints as xe } from "@feedmepos/ui-library";
11
11
  import { u as Ce, a as he, _ as ke } from "./_plugin-vue_export-helper-onplcgja.js";
12
12
  import { u as Te } from "./message-dialog-UoMWOnil.js";
13
- import { e as Re, g as Pe } from "./app-Dz4qiCQj.js";
13
+ import { e as Re, g as Pe } from "./app-D2QVuN8P.js";
14
14
  import { r as De } from "./i18n-CI_sQ5d_.js";
15
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",
@@ -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 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-CxR3luuJ.js";
3
- import { d as L, C as q, D as pe, a as ce } from "./app-Dz4qiCQj.js";
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 A, renderList as G, 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-BoZCI7kN.js";
3
+ import { d as L, C as q, D as pe, a as ce } from "./app-D2QVuN8P.js";
4
4
  import { components as z, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as I } from "@feedmepos/ui-library";
5
- import { F as N, G as fe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-oCAIT-ax.js";
5
+ import { H as N, J as fe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-faQ1wSGW.js";
6
6
  import { u as ve } from "./message-dialog-UoMWOnil.js";
7
7
  import { u as U } from "./_plugin-vue_export-helper-onplcgja.js";
8
8
  import { detectLocale as F } from "@feedmepos/mf-common";
@@ -29,7 +29,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
29
29
  }, R = () => {
30
30
  var v;
31
31
  (v = n.value) == null || v.validateInputs();
32
- }, j = () => {
32
+ }, J = () => {
33
33
  o.value = !1, r.value = l;
34
34
  }, Z = (v) => {
35
35
  p.value = v, r.value = JSON.parse(JSON.stringify(m.value[p.value])), o.value = !0;
@@ -83,7 +83,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
83
83
  a(f, {
84
84
  label: "Cancel",
85
85
  variant: "tertiary",
86
- onClick: j
86
+ onClick: J
87
87
  })
88
88
  ])
89
89
  ]),
@@ -97,7 +97,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
97
97
  a(f, {
98
98
  label: "Cancel",
99
99
  variant: "tertiary",
100
- onClick: j
100
+ onClick: J
101
101
  })
102
102
  ])
103
103
  ]),
@@ -109,7 +109,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
109
109
  onValidationSuccess: d
110
110
  }, {
111
111
  default: y(() => {
112
- var _, V, S, J;
112
+ var _, V, S, j;
113
113
  return [
114
114
  a($, {
115
115
  modelValue: r.value.name,
@@ -127,7 +127,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
127
127
  })
128
128
  }, null, 8, ["model-value", "label"]),
129
129
  a(C, {
130
- "model-value": e(L)().hour(((S = r.value.endTime) == null ? void 0 : S.hour) ?? 0).minute(((J = r.value.endTime) == null ? void 0 : J.minute) ?? 0).format("HH:mm"),
130
+ "model-value": e(L)().hour(((S = r.value.endTime) == null ? void 0 : S.hour) ?? 0).minute(((j = r.value.endTime) == null ? void 0 : j.minute) ?? 0).format("HH:mm"),
131
131
  class: "grow",
132
132
  label: e(u)("report.setting.reportHour.closeTime"),
133
133
  "onUpdate:modelValue": i[2] || (i[2] = (g) => {
@@ -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(G, null, A(m.value, (_, V) => (x(), P(re, {
149
+ (x(!0), k(A, null, G(m.value, (_, V) => (x(), P(re, {
150
150
  key: `report_${V}`,
151
151
  class: "flex p-4",
152
152
  variant: "outlined"
@@ -252,7 +252,7 @@ const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex p
252
252
  }, null, 8, ["modelValue", "label", "items"])
253
253
  ]));
254
254
  }
255
- }), Be = { class: "w-2/4" }, Ue = { class: "fm-typo-en-title-sm-600" }, Ee = { class: "text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-lg-600" }, Me = { class: "text-fm-color-typo-secondary" }, je = { class: "fm-typo-en-body-lg-600" }, Je = { class: "text-fm-color-typo-secondary" }, Le = { class: "fm-typo-en-body-lg-600" }, Ze = /* @__PURE__ */ B({
255
+ }), Be = { class: "w-2/4" }, Ue = { class: "fm-typo-en-title-sm-600" }, Ee = { class: "text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-lg-600" }, Me = { class: "text-fm-color-typo-secondary" }, Je = { class: "fm-typo-en-body-lg-600" }, je = { class: "text-fm-color-typo-secondary" }, Le = { class: "fm-typo-en-body-lg-600" }, Ze = /* @__PURE__ */ B({
256
256
  __name: "Setting",
257
257
  setup(D) {
258
258
  const { breakpoints: o } = X(), p = ce(), { defaultDateSetting: l } = _e(p), c = W(), { t: n } = U();
@@ -302,12 +302,12 @@ 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(G, null, A(e(l).timeOptions, (d, R) => (x(), k("div", { key: R }, [
305
+ (x(!0), k(A, null, G(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),
309
- t("p", je, s(e(n)(`report.date.${e(l).defaultDateRange}`)), 1),
310
- t("p", Je, s(e(n)("report.setting.summary.comparisonDateRange")), 1),
309
+ t("p", Je, s(e(n)(`report.date.${e(l).defaultDateRange}`)), 1),
310
+ t("p", je, s(e(n)("report.setting.summary.comparisonDateRange")), 1),
311
311
  t("p", Le, s(e(n)(`report.compare.${e(l).defaultCompareType}`)), 1)
312
312
  ]),
313
313
  _: 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-CGbb3b5G.js";
3
3
  import { u as se, a as $e } from "./_plugin-vue_export-helper-onplcgja.js";
4
- import { _ as Se } from "./Default.vue_vue_type_script_setup_true_lang-CxR3luuJ.js";
4
+ import { _ as Se } from "./Default.vue_vue_type_script_setup_true_lang-BoZCI7kN.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-oCAIT-ax.js";
6
+ import { u as Pe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-faQ1wSGW.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-Dz4qiCQj.js";
11
+ import { g as Ke } from "./app-D2QVuN8P.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: {