@feedmepos/mf-report 5.5.5-beta.0 → 5.5.6-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 (19) hide show
  1. package/dist/{App-laIzQPol.js → App-CEMNQKsC.js} +2 -2
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-Xex8S8XX.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CN3UKRaQ.js} +1 -1
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js → Default.vue_vue_type_script_setup_true_lang-BNGueyI8.js} +1 -1
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BhCy_dPD.js → DynamicWidget.vue_vue_type_script_setup_true_lang-BMVvOG58.js} +1 -1
  5. package/dist/{InsightView-DE5yiW3O.js → InsightView-DJZj9vWz.js} +4 -4
  6. package/dist/{Integration-bg1bO0u3.js → Integration-ChsMMBar.js} +2 -2
  7. package/dist/{Layout-Dz8vZscf.js → Layout-Bra0ChUZ.js} +1 -1
  8. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-By8VPadv.js → MenuTab.vue_vue_type_script_setup_true_lang-EbDD9iZa.js} +2 -2
  9. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BdqkXGVB.js → NavigationTab.vue_vue_type_script_setup_true_lang-5gZGsYcT.js} +472 -472
  10. package/dist/{OverviewView-DcmexD2P.js → OverviewView-YSiRJaU2.js} +3 -3
  11. package/dist/{Report-DefWkKB4.js → Report-CQqFopAq.js} +1 -1
  12. package/dist/{ReportEditor-CSX3OM-E.js → ReportEditor-B1cBILMI.js} +2 -2
  13. package/dist/{ReportView-DiEO22Wv.js → ReportView-BJqSw7o7.js} +4 -4
  14. package/dist/{Setting-bT2va3qo.js → Setting-Di8mnN1M.js} +2 -2
  15. package/dist/{TileEditor-BzSgNgxy.js → TileEditor-COvHgZsL.js} +3 -3
  16. package/dist/{TransitionFade-C-IUfE93.js → TransitionFade-C1e0GfbE.js} +2 -2
  17. package/dist/app.js +28 -10
  18. package/dist/{index-Cmh079Bh.js → index-DqqTHE7n.js} +18 -18
  19. package/package.json +1 -1
@@ -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-BhCy_dPD.js";
3
- import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js";
2
+ import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BMVvOG58.js";
3
+ import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-BNGueyI8.js";
4
4
  import { a as P } from "./v4-Dzkr7vpG.js";
5
5
  import { storeToRefs as R } from "pinia";
6
6
  import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
7
7
  import { useBreakpoints as V } from "@feedmepos/ui-library";
8
- import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-By8VPadv.js";
8
+ import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-EbDD9iZa.js";
9
9
  import { useI18n as D } from "@feedmepos/mf-common";
10
10
  const G = /* @__PURE__ */ g({
11
11
  __name: "OverviewView",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ce, ref as O, watch as Q, computed as w, h as f, withModifiers as ie, resolveComponent as C, createBlock as T, openBlock as F, withCtx as i, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as me, normalizeClass as _, withDirectives as B, createElementBlock as ue, Fragment as pe, renderList as de, toDisplayString as R, createTextVNode as fe, vShow as D } from "vue";
2
2
  import { storeToRefs as W } from "pinia";
3
3
  import { a as ve } from "./v4-Dzkr7vpG.js";
4
- import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js";
4
+ import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-BNGueyI8.js";
5
5
  import { u as ge } from "./message-dialog-UoMWOnil.js";
6
6
  import { b as be, f as xe } from "./global-loader-BqFQzk46.js";
7
7
  import { useSnackbar as Ce, useBreakpoints as _e, components as he, FmButtonColorThemeVariant as ke } from "@feedmepos/ui-library";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as S, mergeModels as $, useModel as M, ref as N, computed as P, resolveComponent as c, createBlock as b, openBlock as s, withCtx as m, createElementVNode as C, createVNode as a, unref as o, normalizeClass as E, createTextVNode as fe, toDisplayString as O, createElementBlock as x, Fragment as q, renderSlot as j, createCommentVNode as U, watch as ve, resolveDynamicComponent as K, isRef as Q, renderList as H, onMounted as ge, normalizeStyle as _e } from "vue";
2
- import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-C-IUfE93.js";
2
+ import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-C1e0GfbE.js";
3
3
  import { a as X, v as Y } from "./v4-Dzkr7vpG.js";
4
4
  import { storeToRefs as Z } from "pinia";
5
5
  import { useRouter as ee, useRoute as oe } from "vue-router";
6
6
  import { useBreakpoints as A, FmButtonColorThemeVariant as W, useSnackbar as xe } from "@feedmepos/ui-library";
7
7
  import { u as te } from "./message-dialog-UoMWOnil.js";
8
- import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BhCy_dPD.js";
8
+ import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BMVvOG58.js";
9
9
  import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
10
10
  import { u as I, f as he } from "./global-loader-BqFQzk46.js";
11
11
  const we = /* @__PURE__ */ S({
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as L, computed as v, resolveComponent as V, createBlock as g, openBlock as u, withCtx as z, createVNode as D, createElementVNode as H, unref as t, normalizeStyle as M, normalizeClass as R, createElementBlock as $, Fragment as Y, renderList as G } from "vue";
2
- import { _ as Q } from "./MenuTab.vue_vue_type_script_setup_true_lang-By8VPadv.js";
3
- import { _ as U } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BhCy_dPD.js";
2
+ import { _ as Q } from "./MenuTab.vue_vue_type_script_setup_true_lang-EbDD9iZa.js";
3
+ import { _ as U } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BMVvOG58.js";
4
4
  import { useRouter as W, useRoute as K } from "vue-router";
5
- import { _ as X } from "./Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js";
5
+ import { _ as X } from "./Default.vue_vue_type_script_setup_true_lang-BNGueyI8.js";
6
6
  import { a as Z } from "./v4-Dzkr7vpG.js";
7
7
  import { storeToRefs as p } from "pinia";
8
- import { b as ee, c as oe, u as te } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BdqkXGVB.js";
8
+ import { b as ee, c as oe, u as te } from "./NavigationTab.vue_vue_type_script_setup_true_lang-5gZGsYcT.js";
9
9
  import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
10
10
  import { useSnackbar as ae, useBreakpoints as le } from "@feedmepos/ui-library";
11
11
  import { u as ne, f as ie, e as se } from "./global-loader-BqFQzk46.js";
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as B, ref as H, useModel as J, resolveComponent as h, createElementBlock as k, openBlock as x, createBlock as M, createElementVNode as t, resolveDynamicComponent as ne, unref as e, withCtx as y, createVNode as a, normalizeClass as O, toDisplayString as s, Fragment as K, renderList as Q, withDirectives as E, createTextVNode as ie, vShow as j, watch as me, normalizeStyle as ue } from "vue";
2
- import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js";
2
+ import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-BNGueyI8.js";
3
3
  import { u as U, d as z, C as A, D as pe, b as ce } from "./global-loader-BqFQzk46.js";
4
4
  import { components as I, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as G } from "@feedmepos/ui-library";
5
- import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BdqkXGVB.js";
5
+ import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-5gZGsYcT.js";
6
6
  import { u as ve } from "./message-dialog-UoMWOnil.js";
7
7
  import { detectLocale as F } from "@feedmepos/mf-common";
8
8
  import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BVs1C4af.js";
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as W, mergeModels as z, useModel as Y, computed as N, ref as A, resolveComponent as y, createElementBlock as L, openBlock as p, createVNode as d, createElementVNode as x, unref as i, withCtx as C, toDisplayString as I, Fragment as Q, renderList as se, withModifiers as ee, createTextVNode as ne, watch as re, createCommentVNode as T, createBlock as k, renderSlot as Ce, resolveDynamicComponent as _e, normalizeClass as Te, onMounted as Le, normalizeStyle as Be, isRef as Me } from "vue";
2
2
  import { useRoute as Re, useRouter as je } from "vue-router";
3
- import { h as Ee, d as ce, S as fe, W as Ae, a as qe, T as Pe, _ as He } from "./TransitionFade-C-IUfE93.js";
3
+ import { h as Ee, d as ce, S as fe, W as Ae, a as qe, T as Pe, _ as He } from "./TransitionFade-C1e0GfbE.js";
4
4
  import { W as S, a as Je } from "./v4-Dzkr7vpG.js";
5
5
  import { storeToRefs as Ve } from "pinia";
6
6
  import { u as Se } from "./message-dialog-UoMWOnil.js";
7
- import { c as he, d as De, p as ze } from "./index-Cmh079Bh.js";
7
+ import { c as he, d as De, p as ze } from "./index-DqqTHE7n.js";
8
8
  import { useSnackbar as Ge, useBreakpoints as Ne, FmButtonColorThemeVariant as me } from "@feedmepos/ui-library";
9
9
  import { u as Ue } from "./report-schema-OJAFh4P6.js";
10
10
  import { _ as ie } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
11
11
  import { _ as H } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BVs1C4af.js";
12
12
  import { u as le, d as pe } from "./global-loader-BqFQzk46.js";
13
- import { g as de, _ as $e } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BhCy_dPD.js";
13
+ import { g as de, _ as $e } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BMVvOG58.js";
14
14
  import { _ as Oe } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
15
15
  var oe = /* @__PURE__ */ ((s) => (s.DateTime = "DATE_TIME", s.Hour = "HOUR", s.Day = "DAY", s.Week = "WEEK", s.Month = "MONTH", s.TimeOfDay = "TIME_OF_DAY", s.HourOfDay = "HOUR_OF_DAY", s.DayOfWeek = "DAY_OF_WEEK", s.DayOfMonth = "DAY_OF_MONTH", s.MonthOfYear = "MONTH_OF_YEAR", s.Year = "YEAR", s))(oe || {}), ge = /* @__PURE__ */ ((s) => (s.Asc = "ASC", s.Desc = "DESC", s))(ge || {}), Z = /* @__PURE__ */ ((s) => (s.Equal = "EQUAL", s.NotEqual = "NOT_EQUAL", s.GreaterThan = "GREATER_THAN", s.LessThan = "LESS_THAN", s.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", s.LessThanOrEqual = "LESS_THAN_OR_EQUAL", s.Between = "BETWEEN", s.Like = "LIKE", s.NotLike = "NOT_LIKE", s.And = "AND", s.Or = "OR", s))(Z || {}), te = /* @__PURE__ */ ((s) => (s.String = "STRING", s.Timestamp = "TIMESTAMP", s.Bool = "BOOL", s.Numeric = "NUMERIC", s))(te || {});
16
16
  const we = [
@@ -4,9 +4,9 @@ import { useCoreStore as En } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as Sn } from "pinia";
5
5
  import { useRoute as Dn } from "vue-router";
6
6
  import { W as x } from "./v4-Dzkr7vpG.js";
7
- import { p as Cn } from "./index-Cmh079Bh.js";
7
+ import { p as Cn } from "./index-DqqTHE7n.js";
8
8
  import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BhCy_dPD.js";
9
+ import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BMVvOG58.js";
10
10
  const xn = {
11
11
  key: 0,
12
12
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
package/dist/app.js CHANGED
@@ -133,6 +133,12 @@ const r = {
133
133
  sendEmail: "@:report.common.send @:report.common.email",
134
134
  deleteSchedule: "Delete schedule"
135
135
  },
136
+ cycle: {
137
+ Year: "Year",
138
+ Month: "Month",
139
+ Week: "Week",
140
+ Day: "Day"
141
+ },
136
142
  days: {
137
143
  sunday: "Sunday",
138
144
  monday: "Monday",
@@ -579,6 +585,12 @@ const r = {
579
585
  sendEmail: "@:report.common.send@:report.common.email",
580
586
  deleteSchedule: "删除计划"
581
587
  },
588
+ cycle: {
589
+ Year: "年",
590
+ Month: "月",
591
+ Week: "周",
592
+ Day: "日"
593
+ },
582
594
  days: {
583
595
  sunday: "周日",
584
596
  monday: "周一",
@@ -1027,6 +1039,12 @@ const r = {
1027
1039
  sendEmail: "@:report.common.send @:report.common.email",
1028
1040
  deleteSchedule: "ลบตารางเวลา"
1029
1041
  },
1042
+ cycle: {
1043
+ Year: "ปี",
1044
+ Month: "เดือน",
1045
+ Week: "สัปดาห์",
1046
+ Day: "วัน"
1047
+ },
1030
1048
  days: {
1031
1049
  sunday: "วันอาทิตย์",
1032
1050
  monday: "วันจันทร์",
@@ -1345,41 +1363,41 @@ const r = {
1345
1363
  path: "/overview",
1346
1364
  alias: ["/"],
1347
1365
  name: "overview",
1348
- component: () => import("./OverviewView-DcmexD2P.js")
1366
+ component: () => import("./OverviewView-YSiRJaU2.js")
1349
1367
  },
1350
1368
  {
1351
1369
  path: "/report",
1352
1370
  name: "reports",
1353
- component: () => import("./Report-DefWkKB4.js")
1371
+ component: () => import("./Report-CQqFopAq.js")
1354
1372
  },
1355
1373
  {
1356
1374
  path: "/insights",
1357
1375
  name: "insights",
1358
- component: () => import("./InsightView-DE5yiW3O.js")
1376
+ component: () => import("./InsightView-DJZj9vWz.js")
1359
1377
  },
1360
1378
  {
1361
1379
  path: "/report-view",
1362
1380
  name: "reportView",
1363
- component: () => import("./ReportView-DiEO22Wv.js")
1381
+ component: () => import("./ReportView-BJqSw7o7.js")
1364
1382
  },
1365
1383
  {
1366
1384
  path: "/report-editor",
1367
1385
  name: "reportEditor",
1368
- component: () => import("./ReportEditor-CSX3OM-E.js")
1386
+ component: () => import("./ReportEditor-B1cBILMI.js")
1369
1387
  },
1370
1388
  {
1371
1389
  path: "/report-editor/tile-editor",
1372
1390
  name: "tileEditor",
1373
- component: () => import("./TileEditor-BzSgNgxy.js")
1391
+ component: () => import("./TileEditor-COvHgZsL.js")
1374
1392
  },
1375
1393
  {
1376
1394
  path: "/setting",
1377
1395
  name: "setting",
1378
- component: () => import("./Setting-bT2va3qo.js")
1396
+ component: () => import("./Setting-Di8mnN1M.js")
1379
1397
  },
1380
1398
  {
1381
1399
  path: "/integration",
1382
- component: () => import("./Layout-Dz8vZscf.js"),
1400
+ component: () => import("./Layout-Bra0ChUZ.js"),
1383
1401
  children: [
1384
1402
  {
1385
1403
  name: "integrations",
@@ -1389,7 +1407,7 @@ const r = {
1389
1407
  {
1390
1408
  name: "integration",
1391
1409
  path: "/integration/:id",
1392
- component: () => import("./Integration-bg1bO0u3.js")
1410
+ component: () => import("./Integration-ChsMMBar.js")
1393
1411
  }
1394
1412
  ]
1395
1413
  },
@@ -1412,7 +1430,7 @@ const p = {
1412
1430
  "en-US": a,
1413
1431
  "zh-CN": i,
1414
1432
  "th-TH": c
1415
- }, u = e(() => import("./App-laIzQPol.js"));
1433
+ }, u = e(() => import("./App-CEMNQKsC.js"));
1416
1434
  export {
1417
1435
  u as FmApp,
1418
1436
  p as i18nMessages,
@@ -20,7 +20,7 @@ function w(r, e, t = "") {
20
20
  case f.Day:
21
21
  return e("report.schedule.everyDay");
22
22
  case f.Week: {
23
- let a = e("report.schedule.everyWeek");
23
+ let a = `${e("report.schedule.everyWeek")} `;
24
24
  const l = [
25
25
  e("report.days.sunday"),
26
26
  e("report.days.monday"),
@@ -36,13 +36,13 @@ function w(r, e, t = "") {
36
36
  return a;
37
37
  }
38
38
  case f.Month: {
39
- let a = e("report.schedule.everyMonth");
39
+ let a = `${e("report.schedule.everyMonth")} `;
40
40
  return r.days && (a = a + r.days.join(",")), a;
41
41
  }
42
42
  case f.Year: {
43
43
  if (!r.months && !r.days)
44
- return e("report.common.customDate");
45
- let a = e("report.schedule.everyYear");
44
+ return e("report.schedule.customDate");
45
+ let a = `${e("report.schedule.everyYear")} `;
46
46
  if (r.months) {
47
47
  const l = M();
48
48
  a = a + r.months.map((c) => l[c - 1]).join(",");
@@ -53,7 +53,7 @@ function w(r, e, t = "") {
53
53
  return t;
54
54
  }
55
55
  }
56
- function S(r = {
56
+ function $(r = {
57
57
  startDate: null,
58
58
  endDate: null,
59
59
  locale: "en-US"
@@ -87,25 +87,25 @@ function R(r) {
87
87
  }
88
88
  return e;
89
89
  }
90
- function U(r, e) {
91
- const [t, a, l] = i(r, e), c = y(e == null ? void 0 : e.locale), s = m(e == null ? void 0 : e.locale), u = e != null && e.mergeAmbiguousCharacters ? h(c, s) : g(c, s);
90
+ function S(r, e) {
91
+ const [t, a, l] = i(r, e), c = y(e == null ? void 0 : e.locale), s = h(e == null ? void 0 : e.locale), u = e != null && e.mergeAmbiguousCharacters ? m(c, s) : g(c, s);
92
92
  return t + a.map(u).join((e == null ? void 0 : e.delimiter) ?? "") + l;
93
93
  }
94
- function F(r, e) {
95
- const [t, a, l] = i(r, e), c = y(e == null ? void 0 : e.locale), s = m(e == null ? void 0 : e.locale);
96
- return t + a.map(h(c, s)).join((e == null ? void 0 : e.delimiter) ?? " ") + l;
94
+ function U(r, e) {
95
+ const [t, a, l] = i(r, e), c = y(e == null ? void 0 : e.locale), s = h(e == null ? void 0 : e.locale);
96
+ return t + a.map(m(c, s)).join((e == null ? void 0 : e.delimiter) ?? " ") + l;
97
97
  }
98
- function I(r, e) {
99
- const [t, a, l] = i(r, e), c = y(e == null ? void 0 : e.locale), s = m(e == null ? void 0 : e.locale), u = h(c, s);
98
+ function F(r, e) {
99
+ const [t, a, l] = i(r, e), c = y(e == null ? void 0 : e.locale), s = h(e == null ? void 0 : e.locale), u = m(c, s);
100
100
  return t + a.map((d, L) => L === 0 ? u(d) : c(d)).join((e == null ? void 0 : e.delimiter) ?? " ") + l;
101
101
  }
102
102
  function y(r) {
103
103
  return r === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(r);
104
104
  }
105
- function m(r) {
105
+ function h(r) {
106
106
  return r === !1 ? (e) => e.toUpperCase() : (e) => e.toLocaleUpperCase(r);
107
107
  }
108
- function h(r, e) {
108
+ function m(r, e) {
109
109
  return (t) => `${e(t[0])}${r(t.slice(1))}`;
110
110
  }
111
111
  function g(r, e) {
@@ -138,10 +138,10 @@ function i(r, e = {}) {
138
138
  export {
139
139
  f as C,
140
140
  w as a,
141
- S as b,
142
- F as c,
141
+ $ as b,
142
+ U as c,
143
143
  T as d,
144
144
  M as g,
145
- U as p,
146
- I as s
145
+ S as p,
146
+ F as s
147
147
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-report",
3
- "version": "5.5.5-beta.0",
3
+ "version": "5.5.6-beta.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],