@feedmepos/mf-report 5.5.13-beta.0 → 5.5.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.
@@ -96,7 +96,7 @@ const he = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
96
96
  }), M(() => {
97
97
  u(de);
98
98
  }), z(() => {
99
- console.log("5.5.13-beta.0", !0), window.addEventListener("message", E), window.addEventListener("message", L);
99
+ console.log("5.5.14-beta.0", !0), window.addEventListener("message", E), window.addEventListener("message", L);
100
100
  });
101
101
  const R = ce(), N = ve();
102
102
  ee(() => {
@@ -696,7 +696,7 @@ const Yt = /* @__PURE__ */ Pt(Ut, [["render", Xt]]), qt = { class: "my-4" }, jt
696
696
  datalabels: o(x),
697
697
  "maintain-aspect-ratio": !1,
698
698
  style: O({
699
- "--chart-width": o(g) !== void 0 ? o(g) + "px" : "100%",
699
+ "--chart-width": o(g) !== void 0 ? o(g) + "px" : "97%",
700
700
  "--chart-height": o(C) !== void 0 ? o(C) + "px" : "calc(100% - 36px)"
701
701
  })
702
702
  }, null, 8, ["datasets", "x-axis", "x-cfg", "y-cfg", "transpose", "legend", "datalabels", "style"])
@@ -1,5 +1,5 @@
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-BdzViho5.js";
2
+ import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BLmgj9pB.js";
3
3
  import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-BPyDSlSv.js";
4
4
  import { a as P } from "./v4-CKZZ3hoL.js";
5
5
  import { storeToRefs as R } from "pinia";
@@ -1,11 +1,11 @@
1
- import { defineComponent as S, mergeModels as $, useModel as M, ref as N, computed as P, resolveComponent as c, createBlock as C, openBlock as s, withCtx as m, createElementVNode as y, createVNode as a, unref as e, normalizeClass as E, createTextVNode as ge, toDisplayString as O, createElementBlock as h, Fragment as q, renderSlot as Q, createCommentVNode as U, watch as _e, resolveDynamicComponent as X, isRef as Y, renderList as H, onMounted as ye, normalizeStyle as Ce } from "vue";
2
- import { W as be, i as Ve, S as ke, d as Fe, T as xe, _ as he } from "./TransitionFade-B04L5pm3.js";
1
+ import { defineComponent as S, mergeModels as $, useModel as M, ref as N, computed as P, resolveComponent as p, createBlock as C, openBlock as s, withCtx as m, createElementVNode as y, createVNode as a, unref as e, normalizeClass as E, createTextVNode as ge, toDisplayString as O, createElementBlock as h, Fragment as q, renderSlot as Q, createCommentVNode as U, watch as _e, resolveDynamicComponent as X, isRef as Y, renderList as H, onMounted as ye, normalizeStyle as Ce } from "vue";
2
+ import { W as be, i as Ve, S as ke, d as Fe, T as xe, _ as he } from "./TransitionFade-CQfGcjzn.js";
3
3
  import { a as Z, v as ee } from "./v4-CKZZ3hoL.js";
4
4
  import { storeToRefs as oe } from "pinia";
5
5
  import { useRouter as te, useRoute as le } from "vue-router";
6
6
  import { useBreakpoints as A, FmButtonColorThemeVariant as I, useSnackbar as we } from "@feedmepos/ui-library";
7
7
  import { u as re } from "./message-dialog-UoMWOnil.js";
8
- import { _ as ne } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BdzViho5.js";
8
+ import { _ as ne } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BLmgj9pB.js";
9
9
  import { _ as ae } from "./NoData.vue_vue_type_script_setup_true_lang-Ds28wS8h.js";
10
10
  import { u as L, f as $e } from "./global-loader-DfQXrz7M.js";
11
11
  import { r as K } from "./i18n-Cif1I9J2.js";
@@ -18,8 +18,8 @@ const Se = /* @__PURE__ */ S({
18
18
  modelModifiers: {}
19
19
  }),
20
20
  emits: /* @__PURE__ */ $(["isOpen"], ["update:modelValue"]),
21
- setup(p, { emit: u }) {
22
- const { t: o } = L(), { breakpoints: l } = A(), g = M(p, "modelValue"), i = p, r = u;
21
+ setup(c, { emit: u }) {
22
+ const { t: o } = L(), { breakpoints: l } = A(), g = M(c, "modelValue"), i = c, r = u;
23
23
  function n() {
24
24
  r("isOpen", !1);
25
25
  }
@@ -28,7 +28,7 @@ const Se = /* @__PURE__ */ S({
28
28
  }
29
29
  const t = N(), k = P(() => !t.value);
30
30
  return (B, w) => {
31
- const R = c("FmButton"), T = c("FmDialog");
31
+ const R = p("FmButton"), T = p("FmDialog");
32
32
  return s(), C(T, {
33
33
  "model-value": i.isOpen
34
34
  }, {
@@ -72,10 +72,10 @@ const Se = /* @__PURE__ */ S({
72
72
  modelModifiers: {}
73
73
  }),
74
74
  emits: ["update:modelValue"],
75
- setup(p) {
76
- const { t: u } = L(), o = M(p, "modelValue"), l = p;
75
+ setup(c) {
76
+ const { t: u } = L(), o = M(c, "modelValue"), l = c;
77
77
  return (g, i) => {
78
- const r = c("FmIcon");
78
+ const r = p("FmIcon");
79
79
  return s(), h("div", {
80
80
  class: "px-6 py-16 flex items-center gap-2 bg-fm-color-neutral-white border cursor-pointer",
81
81
  onClick: i[0] || (i[0] = (n) => o.value = !o.value)
@@ -95,8 +95,8 @@ const Se = /* @__PURE__ */ S({
95
95
  modelModifiers: {}
96
96
  },
97
97
  emits: ["update:modelValue"],
98
- setup(p) {
99
- const u = M(p, "modelValue");
98
+ setup(c) {
99
+ const u = M(c, "modelValue");
100
100
  return (o, l) => (s(), h(q, null, [
101
101
  a(z, {
102
102
  modelValue: u.value,
@@ -113,10 +113,10 @@ const Se = /* @__PURE__ */ S({
113
113
  modelModifiers: {}
114
114
  },
115
115
  emits: ["update:modelValue"],
116
- setup(p) {
117
- const u = M(p, "modelValue");
116
+ setup(c) {
117
+ const u = M(c, "modelValue");
118
118
  return (o, l) => {
119
- const g = c("FmTopSheet"), i = c("FmCard");
119
+ const g = p("FmTopSheet"), i = p("FmCard");
120
120
  return s(), C(i, { class: "fixed bottom-0 w-full" }, {
121
121
  default: m(() => [
122
122
  a(z, {
@@ -144,7 +144,7 @@ const Se = /* @__PURE__ */ S({
144
144
  });
145
145
  };
146
146
  }
147
- }), Be = { class: "flex flex-col gap-24 top-0 bg-fm-color-neutral-white z-10" }, Oe = { class: "flex flex-col gap-24" }, qe = { class: "line-clamp-2 overflow-hidden max-w-[195px]" }, ie = /* @__PURE__ */ S({
147
+ }), Be = { class: "flex flex-col gap-24 top-0 bg-fm-color-neutral-white z-10" }, Oe = { class: "flex flex-col gap-24" }, qe = { class: "line-clamp-2 overflow-hidden max-w-[195px] w-[195px]" }, ie = /* @__PURE__ */ S({
148
148
  __name: "ReportEditorTab",
149
149
  props: /* @__PURE__ */ $({
150
150
  hideConfiguration: {
@@ -156,8 +156,8 @@ const Se = /* @__PURE__ */ S({
156
156
  modelModifiers: {}
157
157
  }),
158
158
  emits: /* @__PURE__ */ $(["hideConfiguration"], ["update:modelValue"]),
159
- setup(p, { emit: u }) {
160
- const o = M(p, "modelValue"), { breakpoints: l } = A(), g = p, i = u, r = te(), n = le(), v = N(), { currentSelectWidgetType: t, categories: k, editingTile: B, editingIndex: w } = oe(Z()), { promptMessage: R } = re(), T = N(!1), { t: f, te: b } = L();
159
+ setup(c, { emit: u }) {
160
+ const o = M(c, "modelValue"), { breakpoints: l } = A(), g = c, i = u, r = te(), n = le(), v = N(), { currentSelectWidgetType: t, categories: k, editingTile: B, editingIndex: w } = oe(Z()), { promptMessage: R } = re(), T = N(!1), { t: f, te: b } = L();
161
161
  _e(
162
162
  () => t.value,
163
163
  () => {
@@ -206,7 +206,7 @@ const Se = /* @__PURE__ */ S({
206
206
  value: V.id
207
207
  })));
208
208
  return (V, d) => {
209
- const G = c("FmTextField"), W = c("FmSelect"), j = c("FmButton"), se = c("FmIcon"), ue = c("FmTooltip"), de = c("FmMenuItem"), me = c("FmMenu"), ce = c("FmListItem"), pe = c("FmList"), fe = c("FmForm");
209
+ const G = p("FmTextField"), W = p("FmSelect"), j = p("FmButton"), se = p("FmIcon"), ue = p("FmTooltip"), de = p("FmMenuItem"), me = p("FmMenu"), pe = p("FmListItem"), ce = p("FmList"), fe = p("FmForm");
210
210
  return s(), C(X(e(l).lg || e(l).md ? Te : Me), {
211
211
  "model-value": g.hideConfiguration,
212
212
  "onUpdate:modelValue": d[5] || (d[5] = (_) => i("hideConfiguration", _))
@@ -257,7 +257,7 @@ const Se = /* @__PURE__ */ S({
257
257
  "text-color": e(I).ColorPrimary,
258
258
  onClick: d[4] || (d[4] = (_) => T.value = !0)
259
259
  }, null, 8, ["label", "border-color", "text-color"]),
260
- a(pe, null, {
260
+ a(ce, null, {
261
261
  default: m(() => [
262
262
  a(e(Fe), {
263
263
  list: o.value.tiles,
@@ -266,7 +266,7 @@ const Se = /* @__PURE__ */ S({
266
266
  handle: ".handle"
267
267
  }, {
268
268
  item: m(({ element: _, index: D }) => [
269
- a(ce, { class: "!cursor-grab border rounded-md border-neutral-300" }, {
269
+ a(pe, { class: "!cursor-grab border rounded-md border-neutral-300" }, {
270
270
  default: m(() => [
271
271
  a(se, {
272
272
  name: "drag_handle",
@@ -342,10 +342,10 @@ const Se = /* @__PURE__ */ S({
342
342
  modelModifiers: {}
343
343
  }),
344
344
  emits: /* @__PURE__ */ $(["hideConfiguration"], ["update:modelValue"]),
345
- setup(p, { emit: u }) {
346
- const o = M(p, "modelValue"), l = p, g = u;
345
+ setup(c, { emit: u }) {
346
+ const o = M(c, "modelValue"), l = c, g = u;
347
347
  return (i, r) => {
348
- const n = c("FmCircularProgress"), v = c("FmButton");
348
+ const n = p("FmCircularProgress"), v = p("FmButton");
349
349
  return s(), h("div", null, [
350
350
  o.value ? (s(), h(q, { key: 1 }, [
351
351
  a(xe, {
@@ -406,10 +406,10 @@ const Se = /* @__PURE__ */ S({
406
406
  modelModifiers: {}
407
407
  }),
408
408
  emits: /* @__PURE__ */ $(["hideConfiguration"], ["update:modelValue"]),
409
- setup(p, { emit: u }) {
410
- const o = M(p, "modelValue"), l = p, g = u;
409
+ setup(c, { emit: u }) {
410
+ const o = M(c, "modelValue"), l = c, g = u;
411
411
  return (i, r) => {
412
- const n = c("FmCircularProgress"), v = c("FmCard");
412
+ const n = p("FmCircularProgress"), v = p("FmCard");
413
413
  return s(), h("div", null, [
414
414
  o.value ? (s(), h(q, { key: 1 }, [
415
415
  a(v, { class: "px-5 pb-28" }, {
@@ -440,7 +440,7 @@ const Se = /* @__PURE__ */ S({
440
440
  }
441
441
  }), eo = /* @__PURE__ */ S({
442
442
  __name: "ReportEditor",
443
- setup(p) {
443
+ setup(c) {
444
444
  const u = te(), o = le(), l = Z(), { promptLoader: g } = $e(), { t: i } = L(), { currentReport: r, editingReport: n } = oe(l), { breakpoints: v } = A(), t = P(() => {
445
445
  var b;
446
446
  return !((b = n.value) != null && b.editable);
@@ -488,7 +488,7 @@ const Se = /* @__PURE__ */ S({
488
488
  return ye(() => {
489
489
  n.value || u.push({ name: "reports" });
490
490
  }), (b, F) => {
491
- const x = c("FmChip"), V = c("FmPageHead");
491
+ const x = p("FmChip"), V = p("FmPageHead");
492
492
  return s(), C(he, null, {
493
493
  default: m(() => [
494
494
  a(V, {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as V, computed as v, resolveComponent as z, createBlock as g, openBlock as u, withCtx as H, createVNode as h, createElementVNode as M, unref as o, normalizeStyle as Y, normalizeClass as D, createElementBlock as R, Fragment as G, renderList as Q } from "vue";
2
2
  import { _ as U } from "./MenuTab.vue_vue_type_script_setup_true_lang-C27xOs2V.js";
3
- import { _ as W } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BdzViho5.js";
3
+ import { _ as W } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BLmgj9pB.js";
4
4
  import { useRouter as K, useRoute as X } from "vue-router";
5
5
  import { _ as Z } from "./Default.vue_vue_type_script_setup_true_lang-BPyDSlSv.js";
6
6
  import { a as ee } from "./v4-CKZZ3hoL.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as q, mergeModels as X, useModel as le, computed as T, ref as E, resolveComponent as h, createElementBlock as $, openBlock as y, createVNode as d, createElementVNode as C, unref as a, withCtx as S, toDisplayString as I, Fragment as H, renderList as de, withModifiers as te, createTextVNode as se, watch as ce, createCommentVNode as x, createBlock as k, renderSlot as Ue, resolveDynamicComponent as Ne, normalizeClass as De, onMounted as je, normalizeStyle as Ae, isRef as Ee } from "vue";
2
2
  import { useRoute as Pe, useRouter as ze } from "vue-router";
3
- import { h as qe, d as be, S as Fe, W as He, a as Ye, T as Ge, _ as We } from "./TransitionFade-B04L5pm3.js";
3
+ import { h as qe, d as be, S as Fe, W as He, a as Ye, T as Ge, _ as We } from "./TransitionFade-CQfGcjzn.js";
4
4
  import { W as D, a as Xe } from "./v4-CKZZ3hoL.js";
5
5
  import { storeToRefs as ke } from "pinia";
6
6
  import { u as $e } from "./message-dialog-UoMWOnil.js";
@@ -11,7 +11,7 @@ import { _ as re } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGK
11
11
  import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-8tR4yk5A.js";
12
12
  import { u as Z, d as ge } from "./global-loader-DfQXrz7M.js";
13
13
  import { r as Q } from "./i18n-Cif1I9J2.js";
14
- import { g as fe, L as ne, a as pe, _ as Be } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BdzViho5.js";
14
+ import { g as fe, L as ne, a as pe, _ as Be } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BLmgj9pB.js";
15
15
  import { _ as Re } from "./NoData.vue_vue_type_script_setup_true_lang-Ds28wS8h.js";
16
16
  var ue = /* @__PURE__ */ ((m) => (m.DateTime = "DATE_TIME", m.Hour = "HOUR", m.Day = "DAY", m.Week = "WEEK", m.Month = "MONTH", m.TimeOfDay = "TIME_OF_DAY", m.HourOfDay = "HOUR_OF_DAY", m.DayOfWeek = "DAY_OF_WEEK", m.DayOfMonth = "DAY_OF_MONTH", m.MonthOfYear = "MONTH_OF_YEAR", m.Year = "YEAR", m))(ue || {}), he = /* @__PURE__ */ ((m) => (m.Asc = "ASC", m.Desc = "DESC", m))(he || {}), ae = /* @__PURE__ */ ((m) => (m.Equal = "EQUAL", m.NotEqual = "NOT_EQUAL", m.GreaterThan = "GREATER_THAN", m.LessThan = "LESS_THAN", m.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", m.LessThanOrEqual = "LESS_THAN_OR_EQUAL", m.Between = "BETWEEN", m.Like = "LIKE", m.NotLike = "NOT_LIKE", m.And = "AND", m.Or = "OR", m))(ae || {}), ie = /* @__PURE__ */ ((m) => (m.String = "STRING", m.Timestamp = "TIMESTAMP", m.Bool = "BOOL", m.Numeric = "NUMERIC", m))(ie || {});
17
17
  const _e = [
@@ -6,7 +6,7 @@ import { useRoute as Dn } from "vue-router";
6
6
  import { W as x } from "./v4-CKZZ3hoL.js";
7
7
  import { p as Cn } from "./index-OX-gt0RL.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-BdzViho5.js";
9
+ import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-BLmgj9pB.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
@@ -3019,7 +3019,7 @@ const m = {
3019
3019
  path: "/overview",
3020
3020
  alias: ["/"],
3021
3021
  name: "overview",
3022
- component: () => import("./OverviewView-Bw5iTk3_.js")
3022
+ component: () => import("./OverviewView-C9xnNMRn.js")
3023
3023
  },
3024
3024
  {
3025
3025
  path: "/report",
@@ -3034,17 +3034,17 @@ const m = {
3034
3034
  {
3035
3035
  path: "/report-view",
3036
3036
  name: "reportView",
3037
- component: () => import("./ReportView-Cxp3H0_E.js")
3037
+ component: () => import("./ReportView-DgYlVDaO.js")
3038
3038
  },
3039
3039
  {
3040
3040
  path: "/report-editor",
3041
3041
  name: "reportEditor",
3042
- component: () => import("./ReportEditor-DwJoE0yD.js")
3042
+ component: () => import("./ReportEditor-4BlCIApQ.js")
3043
3043
  },
3044
3044
  {
3045
3045
  path: "/report-editor/tile-editor",
3046
3046
  name: "tileEditor",
3047
- component: () => import("./TileEditor-cPwOTLfC.js")
3047
+ component: () => import("./TileEditor-BPYpu6C1.js")
3048
3048
  },
3049
3049
  {
3050
3050
  path: "/setting",
@@ -3086,7 +3086,7 @@ const y = {
3086
3086
  "en-US": t,
3087
3087
  "zh-CN": a,
3088
3088
  "th-TH": i
3089
- }, l = e(() => import("./App-BS0-_AhY.js"));
3089
+ }, l = e(() => import("./App-BNhjVQSG.js"));
3090
3090
  export {
3091
3091
  l as FmApp,
3092
3092
  y as i18nMessages,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-report",
3
- "version": "5.5.13-beta.0",
3
+ "version": "5.5.14-beta.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],