@feedmepos/mf-report 5.27.5 → 5.27.6

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 (29) hide show
  1. package/dist/{App-DJWMqt7f.js → App-BWU-8sIB.js} +5 -5
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-BMKUeE9w.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DO6_l1xS.js} +2 -2
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-CLSO7arU.js → Default.vue_vue_type_script_setup_true_lang-goan1e68.js} +2 -2
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-gXdLQZ0D.js → DynamicWidget.vue_vue_type_script_setup_true_lang-CYP0Wttg.js} +5 -5
  5. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfUSF_R.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.js} +4 -4
  6. package/dist/{InsightView-tDYTkUBy.js → InsightView-DquTdoPz.js} +6 -6
  7. package/dist/Integration-8lUFztLw.js +7760 -0
  8. package/dist/{Integrations-COJFJ3II.js → Integrations-BlpISWx3.js} +6 -6
  9. package/dist/{Layout-DIrgp3nZ.js → Layout-B6s59x5r.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-Bbob__gU.js → MenuTab.vue_vue_type_script_setup_true_lang-iTVb0ilS.js} +4 -4
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-D5fefUpx.js → NavigationTab.vue_vue_type_script_setup_true_lang-tVEdFcI7.js} +5 -5
  12. package/dist/{OverviewView-CgOJpxko.js → OverviewView-CB40VGmB.js} +5 -5
  13. package/dist/{Report-CE1sKMhv.js → Report-BD78fghf.js} +5 -5
  14. package/dist/{ReportEditor-B-In0uhN.js → ReportEditor-kyddZIao.js} +7 -7
  15. package/dist/{ReportView-s_nX6HmE.js → ReportView-BAjSkJd0.js} +11 -11
  16. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js +137 -0
  17. package/dist/{Setting-B30AzHh1.js → Setting-CWTM0eta.js} +5 -5
  18. package/dist/{Template-xIeLPbgo.js → Template-Zlmz7-IE.js} +5 -5
  19. package/dist/{TileEditor-CWMVvY6U.js → TileEditor-Cds-X8PY.js} +11 -11
  20. package/dist/{TileGrid.vue_vue_type_script_setup_true_lang-DHpiRHwF.js → TileGrid.vue_vue_type_script_setup_true_lang-C-8ll21c.js} +1 -1
  21. package/dist/{TransitionFade-ClsjeQVn.js → TransitionFade-BUQphuy0.js} +6 -6
  22. package/dist/{vue-i18n-DVWuTfed.js → _plugin-vue_export-helper-onplcgja.js} +239 -232
  23. package/dist/{app-AmhS6tIU.js → app-Bvc2Y3Ap.js} +32 -12
  24. package/dist/app.js +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/{useRestaurantPermission-DMuk_sW7.js → useRestaurantPermission-CcgwNQbG.js} +2 -2
  27. package/package.json +1 -1
  28. package/dist/Integration-D4JjtxJJ.js +0 -7657
  29. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js +0 -143
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, resolveComponent as t, createBlock as r, openBlock as n, withCtx as _, createVNode as c } from "vue";
2
- import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-CLSO7arU.js";
2
+ import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-goan1e68.js";
3
3
  const f = /* @__PURE__ */ o({
4
4
  __name: "Layout",
5
5
  setup(m) {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as R, computed as V, createElementBlock as x, openBlock as a, createElementVNode as y, createVNode as p, unref as e, isRef as i, withCtx as _, createBlock as g, createCommentVNode as k, useModel as $, resolveComponent as f, normalizeClass as C, Fragment as w, renderList as M, toDisplayString as T } from "vue";
2
- import { a as B } from "./app-AmhS6tIU.js";
2
+ import { a as B } from "./app-Bvc2Y3Ap.js";
3
3
  import { storeToRefs as D } from "pinia";
4
- import { a as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-D5fefUpx.js";
5
- import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BMKUeE9w.js";
6
- import { _ as N, b as S } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfUSF_R.js";
4
+ import { a as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-tVEdFcI7.js";
5
+ import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DO6_l1xS.js";
6
+ import { _ as N, b as S } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.js";
7
7
  import { useRoute as z } from "vue-router";
8
8
  import { useBreakpoints as E } from "@feedmepos/ui-library";
9
9
  const L = { class: "flex flex-col gap-2 overflow-x-auto overflow-y-hidden scrollbar-hide" }, O = { class: "flex flex-col gap-2 py-2" }, q = /* @__PURE__ */ R({
@@ -4,12 +4,12 @@ var Dl = (e, r, t) => I5(e, typeof r != "symbol" ? r + "" : r, t);
4
4
  import { defineComponent as tr, computed as Ge, useModel as Sn, ref as Fe, watch as Nr, resolveComponent as me, createBlock as Ke, unref as V, openBlock as re, withCtx as je, createElementVNode as Q, createVNode as _, toDisplayString as Ne, withDirectives as Ii, createElementBlock as Pe, Fragment as gt, renderList as Xt, vShow as Gs, createTextVNode as _r, mergeModels as fi, createCommentVNode as at, normalizeClass as ci, onMounted as o0, withKeys as zh, withModifiers as ii, isRef as wa, vModelText as Xh, normalizeStyle as ac, renderSlot as Hh, mergeProps as F5, nextTick as V5, resolveDynamicComponent as Hu, createSlots as L5 } from "vue";
5
5
  import { useRouter as qh, useRoute as Wh } from "vue-router";
6
6
  import { storeToRefs as Lr, defineStore as f0 } from "pinia";
7
- import { u as ol, H as kd, J as N5, z as ai, R as Wa, E as Qs, K as Gl, _ as c0, q as M5, x as R5, j as B5, L as z5, b as jh, A as X5, N as H5, O as wn, T as q5 } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfUSF_R.js";
7
+ import { u as ol, H as kd, J as N5, z as ai, R as Wa, E as Qs, K as Gl, _ as c0, q as M5, x as R5, j as B5, L as z5, b as jh, A as X5, N as H5, O as wn, T as q5 } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.js";
8
8
  import { useBreakpoints as ko, components as Fi, useSnackbar as Xi, useDialog as W5, useDialogChild as j5, FmButtonVariant as xd } from "@feedmepos/ui-library";
9
- import { u as ha } from "./vue-i18n-DVWuTfed.js";
10
- import { a as Td, b as Uh } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
11
- import { C as hr, g as U5, b as ti, e as Zh, f as Z5, _ as Yh, p as Y5 } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BMKUeE9w.js";
12
- import { u as Za, F as Ya, h as fl, a as Hi, d as Ot, q as xo, j as Gh, k as G5, l as Q5, e as K5, m as Il, r as Qh, c as J5, n as _5 } from "./app-AmhS6tIU.js";
9
+ import { u as ha, _ as Uh } from "./_plugin-vue_export-helper-onplcgja.js";
10
+ import { a as Td } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
11
+ import { C as hr, g as U5, b as ti, e as Zh, f as Z5, _ as Yh, p as Y5 } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DO6_l1xS.js";
12
+ import { u as Za, F as Ya, h as fl, a as Hi, d as Ot, q as xo, j as Gh, k as G5, l as Q5, e as K5, m as Il, r as Qh, c as J5, n as _5 } from "./app-Bvc2Y3Ap.js";
13
13
  import { detectLocale as $5, useCoreStore as e8 } from "@feedmepos/mf-common";
14
14
  const t8 = { class: "flex flex-col" }, r8 = { class: "fm-typo-en-title-sm-600" }, a8 = { class: "grow" }, n8 = { class: "flex flex-col gap-8" }, i8 = { class: "flex flex-col w-full" }, s8 = { class: "flex flex-col gap-5 p-6" }, l8 = { class: "flex" }, Cd = {
15
15
  // sales: [
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as g, computed as l, resolveComponent as w, createBlock as p, openBlock as n, withCtx as k, createVNode as s, createElementVNode as y, unref as e, normalizeStyle as b, normalizeClass as c, createElementBlock as I } from "vue";
2
- import { _ as $ } from "./TileGrid.vue_vue_type_script_setup_true_lang-DHpiRHwF.js";
3
- import { u as h, l as B } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfUSF_R.js";
4
- import { _ as C } from "./Default.vue_vue_type_script_setup_true_lang-CLSO7arU.js";
2
+ import { _ as $ } from "./TileGrid.vue_vue_type_script_setup_true_lang-C-8ll21c.js";
3
+ import { u as h, l as B } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.js";
4
+ import { _ as C } from "./Default.vue_vue_type_script_setup_true_lang-goan1e68.js";
5
5
  import { storeToRefs as P } from "pinia";
6
- import { _ as R } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
6
+ import { _ as R } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
7
7
  import { useBreakpoints as S } from "@feedmepos/ui-library";
8
- import { _ as V } from "./MenuTab.vue_vue_type_script_setup_true_lang-Bbob__gU.js";
8
+ import { _ as V } from "./MenuTab.vue_vue_type_script_setup_true_lang-iTVb0ilS.js";
9
9
  import { useI18n as z } from "@feedmepos/mf-common";
10
10
  import { r as D } from "./i18n-CI_sQ5d_.js";
11
11
  const K = /* @__PURE__ */ g({
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as $e, ref as j, watch as pe, computed as b, h as p, withModifiers as De, resolveComponent as S, createBlock as G, openBlock as A, withCtx as m, createVNode as c, createElementVNode as w, unref as e, normalizeStyle as Ie, normalizeClass as k, withDirectives as H, createElementBlock as Fe, Fragment as Oe, renderList as Le, toDisplayString as J, createTextVNode as Pe, vShow as Q } from "vue";
2
2
  import { storeToRefs as de } from "pinia";
3
- import { u as Ne } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfUSF_R.js";
4
- import { _ as Ve } from "./Default.vue_vue_type_script_setup_true_lang-CLSO7arU.js";
3
+ import { u as Ne } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.js";
4
+ import { _ as Ve } from "./Default.vue_vue_type_script_setup_true_lang-goan1e68.js";
5
5
  import { u as Ae } from "./message-dialog-UoMWOnil.js";
6
- import { a as Je } from "./vue-i18n-DVWuTfed.js";
6
+ import { a as Je } from "./_plugin-vue_export-helper-onplcgja.js";
7
7
  import { useSnackbar as ze, useBreakpoints as Be, components as Te, FmButtonColorThemeVariant as Ue } from "@feedmepos/ui-library";
8
- import { _ as Ee } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
9
- import { c as Ke, a as fe, g as Me } from "./app-AmhS6tIU.js";
8
+ import { _ as Ee } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
9
+ import { c as Ke, a as fe, g as Me } from "./app-Bvc2Y3Ap.js";
10
10
  import { useRouter as Ye, useRoute as qe, onBeforeRouteLeave as je } from "vue-router";
11
11
  import { useI18n as Ge } from "@feedmepos/mf-common";
12
12
  import { r as W } from "./i18n-CI_sQ5d_.js";
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as Ce, mergeModels as Ne, useModel as Re, ref as z, computed as v, resolveComponent as F, createBlock as k, openBlock as u, withCtx as y, createElementVNode as b, createVNode as r, unref as l, normalizeClass as Pe, createTextVNode as Ae, toDisplayString as L, createElementBlock as N, Fragment as xe, renderSlot as pt, createCommentVNode as M, watch as he, renderList as Ee, onMounted as vt, onUnmounted as Tt, resolveDynamicComponent as $t, isRef as ft, normalizeStyle as lt } from "vue";
2
- import { W as St, g as Dt, _ as Ot, a as It, e as Ue, d as gt, b as bt, i as Nt, S as We, T as Rt, c as Ut } from "./TransitionFade-ClsjeQVn.js";
3
- import { C as Oe, D as fe, c as qe, g as Bt, u as at, M as yt, r as Mt, d as st, n as qt, e as Et, f as Pt, h as zt, i as Lt, a as At, j as Ye, k as Xe, m as Gt, Q as He, o as Wt, l as Ht, b as ut, p as jt } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfUSF_R.js";
2
+ import { W as St, g as Dt, _ as Ot, a as It, e as Ue, d as gt, b as bt, i as Nt, S as We, T as Rt, c as Ut } from "./TransitionFade-BUQphuy0.js";
3
+ import { C as Oe, D as fe, c as qe, g as Bt, u as at, M as yt, r as Mt, d as st, n as qt, e as Et, f as Pt, h as zt, i as Lt, a as At, j as Ye, k as Xe, m as Gt, Q as He, o as Wt, l as Ht, b as ut, p as jt } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.js";
4
4
  import { storeToRefs as Be } from "pinia";
5
5
  import { useRouter as nt, useRoute as rt } from "vue-router";
6
6
  import { useBreakpoints as je, useSnackbar as ht, FmButtonColorThemeVariant as Ie } from "@feedmepos/ui-library";
7
7
  import { u as it } from "./message-dialog-UoMWOnil.js";
8
- import { u as ze, a as Jt } from "./vue-i18n-DVWuTfed.js";
8
+ import { u as ze, a as Jt } from "./_plugin-vue_export-helper-onplcgja.js";
9
9
  import { r as Ge } from "./i18n-CI_sQ5d_.js";
10
- import { _ as Ze } from "./TileGrid.vue_vue_type_script_setup_true_lang-DHpiRHwF.js";
11
- import { a as et, _ as tt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
10
+ import { _ as Ze } from "./TileGrid.vue_vue_type_script_setup_true_lang-C-8ll21c.js";
11
+ import { a as et, _ as tt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
12
12
  import { useCoreStore as Kt } from "@feedmepos/mf-common";
13
- import { u as Qt, a as Yt } from "./app-AmhS6tIU.js";
14
- import { d as Xt } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BMKUeE9w.js";
13
+ import { u as Qt, a as Yt } from "./app-Bvc2Y3Ap.js";
14
+ import { d as Xt } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DO6_l1xS.js";
15
15
  const Zt = /* @__PURE__ */ Ce({
16
16
  __name: "WidgetDialog",
17
17
  props: /* @__PURE__ */ Ne({
@@ -1,21 +1,21 @@
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-Bbob__gU.js";
3
- import { _ as ce } from "./TileGrid.vue_vue_type_script_setup_true_lang-DHpiRHwF.js";
4
- import { u as pe, l as ue, s as me } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfUSF_R.js";
2
+ import { _ as ie } from "./MenuTab.vue_vue_type_script_setup_true_lang-iTVb0ilS.js";
3
+ import { _ as ce } from "./TileGrid.vue_vue_type_script_setup_true_lang-C-8ll21c.js";
4
+ import { u as pe, l as ue, s as me } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.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-CLSO7arU.js";
6
+ import { _ as fe } from "./Default.vue_vue_type_script_setup_true_lang-goan1e68.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-D5fefUpx.js";
9
- import { _ as we, b as Se } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
10
- import { useSnackbar as xe, useBreakpoints as Ce } from "@feedmepos/ui-library";
11
- import { u as he, a as ke } from "./vue-i18n-DVWuTfed.js";
8
+ import { b as ye, c as ge, u as be, g as _e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-tVEdFcI7.js";
9
+ import { _ as we } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
10
+ import { useSnackbar as Se, useBreakpoints as xe } from "@feedmepos/ui-library";
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-AmhS6tIU.js";
13
+ import { e as Re, g as Pe } from "./app-Bvc2Y3Ap.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",
17
17
  setup(Ae) {
18
- const { t: e, te: q } = he(), g = de(), d = ve(), s = xe(), { promptMessage: h } = Te(), u = pe(), k = ye(), { promptLoader: v } = ke(), { breakpoints: i } = Ce(), { isOpenAccountingDialog: j } = y(ge()), { isOpenScheduleDialog: T } = y(be()), { disabled: R } = y(Re()), P = ae(null), D = p(
18
+ const { t: e, te: q } = Ce(), g = de(), d = ve(), s = Se(), { promptMessage: h } = Te(), u = pe(), k = ye(), { promptLoader: v } = he(), { breakpoints: i } = xe(), { isOpenAccountingDialog: j } = y(ge()), { isOpenScheduleDialog: T } = y(be()), { disabled: R } = y(Re()), P = ae(null), D = p(
19
19
  () => {
20
20
  var a;
21
21
  return ((a = P.value) == null ? void 0 : a.reportId) === c.value;
@@ -305,7 +305,7 @@ const Ie = { class: "fm-typo-en-title-md-600 block min-w-0 max-w-full overflow-h
305
305
  });
306
306
  };
307
307
  }
308
- }), Ye = /* @__PURE__ */ Se($e, [["__scopeId", "data-v-a22ca746"]]);
308
+ }), Ye = /* @__PURE__ */ ke($e, [["__scopeId", "data-v-a22ca746"]]);
309
309
  export {
310
310
  Ye as default
311
311
  };
@@ -0,0 +1,137 @@
1
+ import { defineComponent as S, computed as d, resolveComponent as s, createElementBlock as y, openBlock as i, renderSlot as N, createVNode as m, withCtx as c, createCommentVNode as j, createElementVNode as r, toDisplayString as v, mergeModels as A, useModel as B, ref as F, createBlock as x, normalizeStyle as O, withDirectives as P, unref as z, vShow as L, Fragment as R, renderList as U, normalizeClass as E } from "vue";
2
+ import { u as w } from "./_plugin-vue_export-helper-onplcgja.js";
3
+ const H = { class: "flex flex-col h-full" }, q = ["src"], G = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, J = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, Z = /* @__PURE__ */ S({
4
+ __name: "NoData",
5
+ props: {
6
+ title: { default: "report.messages.noData" },
7
+ subTitle: { default: "report.messages.adjustFiltersOrSelectADifferentTimeRange" },
8
+ svgPath: { default: "" }
9
+ },
10
+ setup(p) {
11
+ const { t: u } = w(), l = p, a = d(() => l.title === "report.messages.noData" ? u("report.messages.noData") : l.title), _ = d(() => l.subTitle === "report.messages.adjustFiltersOrSelectADifferentTimeRange" ? u("report.messages.adjustFiltersOrSelectADifferentTimeRange") : l.subTitle);
12
+ return (e, f) => {
13
+ const h = s("FmCard");
14
+ return i(), y("div", H, [
15
+ N(e.$slots, "menu"),
16
+ m(h, {
17
+ class: "p-24 h-full flex flex-col gap-2 items-center justify-center",
18
+ variant: "flat"
19
+ }, {
20
+ default: c(() => [
21
+ e.svgPath ? (i(), y("img", {
22
+ key: 0,
23
+ src: e.svgPath,
24
+ alt: "No data illustration",
25
+ class: "mb-4 w-80 h-80"
26
+ }, null, 8, q)) : j("", !0),
27
+ r("p", G, v(a.value), 1),
28
+ r("p", J, v(_.value), 1)
29
+ ]),
30
+ _: 1
31
+ })
32
+ ]);
33
+ };
34
+ }
35
+ }), K = { class: "fm-typo-en-body-lg-400 flex gap-4 text-fm-color-typo-primary" }, Q = { class: "fm-typo-en-body-lg-400 line-clamp-1" }, W = { class: "sticky top-0" }, ee = /* @__PURE__ */ S({
36
+ __name: "SelectComponent",
37
+ props: /* @__PURE__ */ A({
38
+ items: {
39
+ type: Array,
40
+ default: () => []
41
+ },
42
+ placeHolder: {
43
+ type: String,
44
+ default: ""
45
+ },
46
+ label: {
47
+ type: String,
48
+ default: ""
49
+ },
50
+ disableSearch: {
51
+ type: Boolean,
52
+ default: !1
53
+ }
54
+ }, {
55
+ modelValue: { required: !0 },
56
+ modelModifiers: {}
57
+ }),
58
+ emits: ["update:modelValue"],
59
+ setup(p) {
60
+ const { t: u } = w(), l = B(p, "modelValue"), a = p, _ = (t) => {
61
+ l.value = t.value, setTimeout(() => {
62
+ e.value = !1;
63
+ }, 0);
64
+ }, e = F(!1), f = F(""), h = d(
65
+ () => a.items.filter(
66
+ (t) => t.label.toLowerCase().indexOf(f.value.toLowerCase()) !== -1
67
+ )
68
+ ), C = d(
69
+ () => {
70
+ var t;
71
+ return ((t = a.items.find((n) => n.value === l.value)) == null ? void 0 : t.label) ?? u("report.common.select");
72
+ }
73
+ ), V = d(() => a.items.filter((t) => t.value === l.value));
74
+ return (t, n) => {
75
+ const D = s("FmIcon"), M = s("FmField"), T = s("FmSearch"), k = s("FmMenuDivider"), I = s("FmMenuItem"), $ = s("FmMenu");
76
+ return i(), x($, {
77
+ trigger: "click",
78
+ shift: !0,
79
+ "max-height": 300,
80
+ width: 200,
81
+ onMenuChanged: n[1] || (n[1] = (g) => {
82
+ e.value = g;
83
+ })
84
+ }, {
85
+ "menu-button": c(() => [
86
+ r("p", K, v(a.label), 1),
87
+ m(M, {
88
+ class: E(["cursor-pointer", `${e.value ? "border-fm-color-primary" : ""}`]),
89
+ focused: e.value
90
+ }, {
91
+ append: c(() => [
92
+ m(D, {
93
+ color: "black",
94
+ name: e.value ? "expand_less" : "expand_more",
95
+ size: "md"
96
+ }, null, 8, ["name"])
97
+ ]),
98
+ default: c(() => [
99
+ r("div", Q, v(C.value), 1)
100
+ ]),
101
+ _: 1
102
+ }, 8, ["class", "focused"])
103
+ ]),
104
+ "menu-wrapper": c(({ maxHeight: g }) => [
105
+ r("div", {
106
+ style: O({ maxHeight: `${g}px` }),
107
+ class: "bg-fm-color-neutral-white overflow-y-auto overflow-x-hidden rounded-md shadow-light-300 w-[250px]"
108
+ }, [
109
+ P(r("div", W, [
110
+ m(T, {
111
+ modelValue: f.value,
112
+ "onUpdate:modelValue": n[0] || (n[0] = (o) => f.value = o),
113
+ placeholder: z(u)("report.select.filterPlaceholder")
114
+ }, null, 8, ["modelValue", "placeholder"]),
115
+ m(k)
116
+ ], 512), [
117
+ [L, !a.disableSearch]
118
+ ]),
119
+ (i(!0), y(R, null, U(h.value, (o) => (i(), x(I, {
120
+ key: o.value,
121
+ label: o.label,
122
+ sublabel: o.sublabel,
123
+ "model-value": V.value.some((b) => b.value === o.value),
124
+ value: o.value,
125
+ "onUpdate:modelValue": (b) => _(o)
126
+ }, null, 8, ["label", "sublabel", "model-value", "value", "onUpdate:modelValue"]))), 128))
127
+ ], 4)
128
+ ]),
129
+ _: 1
130
+ });
131
+ };
132
+ }
133
+ });
134
+ export {
135
+ Z as _,
136
+ ee as a
137
+ };
@@ -1,12 +1,12 @@
1
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-CLSO7arU.js";
3
- import { d as L, C as q, D as pe, a as ce } from "./app-AmhS6tIU.js";
2
+ import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-goan1e68.js";
3
+ import { d as L, C as q, D as pe, a as ce } from "./app-Bvc2Y3Ap.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-CXfUSF_R.js";
5
+ import { F as N, G as fe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.js";
6
6
  import { u as ve } from "./message-dialog-UoMWOnil.js";
7
- import { u as U } from "./vue-i18n-DVWuTfed.js";
7
+ import { u as U } from "./_plugin-vue_export-helper-onplcgja.js";
8
8
  import { detectLocale as F } from "@feedmepos/mf-common";
9
- import { a as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
9
+ import { a as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
10
10
  import { storeToRefs as _e } from "pinia";
11
11
  const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex px-5 gap-2" }, xe = { class: "flex flex-col gap-2" }, be = { class: "fm-typo-en-title-sm-600" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ve = { class: "w-full gap-[24px] flex flex-col pt-2" }, De = { class: "flex items-center w-full gap-3" }, Te = { class: "text-fm-color-typo-primary" }, $e = { class: "text-fm-color-typo-secondary" }, Se = { class: "flex items-center gap-2" }, ke = /* @__PURE__ */ B({
12
12
  __name: "ReportHour",
@@ -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
- import { a as Ve } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
3
- import { u as se, a as $e } from "./vue-i18n-DVWuTfed.js";
4
- import { _ as Se } from "./Default.vue_vue_type_script_setup_true_lang-CLSO7arU.js";
2
+ import { a as Ve } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
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-goan1e68.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-CXfUSF_R.js";
6
+ import { u as Pe } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.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-AmhS6tIU.js";
11
+ import { g as Ke } from "./app-Bvc2Y3Ap.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: {
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as re, mergeModels as ce, useModel as ge, computed as k, ref as le, resolveComponent as M, createElementBlock as E, openBlock as g, createVNode as p, createElementVNode as h, unref as l, withCtx as Q, toDisplayString as G, Fragment as de, renderList as ke, withModifiers as he, createTextVNode as ze, watch as xe, createCommentVNode as z, createBlock as j, renderSlot as Cl, onBeforeUnmount as il, resolveDynamicComponent as wl, normalizeClass as Te, withDirectives as Fe, vShow as _e, onMounted as xl, withKeys as cl, vModelText as zl, normalizeStyle as tl, isRef as Il } from "vue";
2
2
  import { useRoute as Pl, useRouter as El } from "vue-router";
3
- import { h as Wl, u as sl, f as rl, j as Re, F as Oe, d as Je, S as ol, a as Xl, W as Hl, k as ql, T as Gl, c as Yl, b as pl } from "./TransitionFade-ClsjeQVn.js";
4
- import { W as q, a as Fl, q as Ie, D as Jl, S as vl, C as Kl, u as kl, P as fl, j as Ql, b as Zl, h as et } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfUSF_R.js";
3
+ import { h as Wl, u as sl, f as rl, j as Re, F as Oe, d as Je, S as ol, a as Xl, W as Hl, k as ql, T as Gl, c as Yl, b as pl } from "./TransitionFade-BUQphuy0.js";
4
+ import { W as q, a as Fl, q as Ie, D as Jl, S as vl, C as Kl, u as kl, P as fl, j as Ql, b as Zl, h as et } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.js";
5
5
  import { storeToRefs as Ne } from "pinia";
6
6
  import { u as Vl } from "./message-dialog-UoMWOnil.js";
7
7
  import { useSnackbar as lt, useBreakpoints as Sl, FmButtonColorThemeVariant as Le } from "@feedmepos/ui-library";
8
- import { a as ye, b as _l, _ as Tl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
9
- import { u as ve } from "./vue-i18n-DVWuTfed.js";
8
+ import { a as ye, _ as _l } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
9
+ import { u as ve, _ as Tl } from "./_plugin-vue_export-helper-onplcgja.js";
10
10
  import { r as se } from "./i18n-CI_sQ5d_.js";
11
- import { g as $e, R as gl, L as Ue, d as Ze, S as ne, e as pe, f as el, h as yl, _ as $l } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-gXdLQZ0D.js";
12
- import { a as Me, d as qe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BMKUeE9w.js";
13
- import { a as tt, d as He } from "./app-AmhS6tIU.js";
11
+ import { g as $e, R as gl, L as Ue, d as Ze, S as ne, e as pe, f as el, h as yl, _ as $l } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CYP0Wttg.js";
12
+ import { a as Me, d as qe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DO6_l1xS.js";
13
+ import { a as tt, d as He } from "./app-Bvc2Y3Ap.js";
14
14
  const Ke = [
15
15
  {
16
16
  type: q.Circular,
@@ -2708,7 +2708,7 @@ const Ot = { class: "flex flex-col gap-5" }, Nt = { class: "fm-typo-en-body-lg-6
2708
2708
  ]);
2709
2709
  };
2710
2710
  }
2711
- }), go = /* @__PURE__ */ _l(fo, [["__scopeId", "data-v-0e072961"]]), yo = { class: "flex flex-col gap-8" }, bo = { class: "flex flex-col sm:flex-row items-center" }, ho = { class: "flex flex-col gap-8" }, Co = { class: "flex w-full gap-8 text-fm-color-system-info-300" }, wo = {
2711
+ }), go = /* @__PURE__ */ Tl(fo, [["__scopeId", "data-v-0e072961"]]), yo = { class: "flex flex-col gap-8" }, bo = { class: "flex flex-col sm:flex-row items-center" }, ho = { class: "flex flex-col gap-8" }, Co = { class: "flex w-full gap-8 text-fm-color-system-info-300" }, wo = {
2712
2712
  key: 1,
2713
2713
  class: "grid grid-cols-1 gap-8 sm:grid-cols-2"
2714
2714
  }, xo = ["title"], Fo = ["aria-label"], ko = { class: "min-w-0 truncate text-[12px] uppercase leading-none tracking-[0.02em] text-[#6b6b6b]" }, Vo = ["value", "onInput", "onChange"], So = {
@@ -3446,7 +3446,7 @@ const Ot = { class: "flex flex-col gap-5" }, Nt = { class: "fm-typo-en-body-lg-6
3446
3446
  ]);
3447
3447
  };
3448
3448
  }
3449
- }), Ho = /* @__PURE__ */ _l(Xo, [["__scopeId", "data-v-f1c35513"]]), qo = { class: "flex flex-col gap-16" }, Go = {
3449
+ }), Ho = /* @__PURE__ */ Tl(Xo, [["__scopeId", "data-v-f1c35513"]]), qo = { class: "flex flex-col gap-16" }, Go = {
3450
3450
  key: 1,
3451
3451
  class: "h-px w-full bg-fm-color-neutral-gray-100"
3452
3452
  }, Yo = { class: "flex flex-col gap-8" }, Jo = { class: "fm-typo-en-body-lg-600" }, Ko = { class: "flex flex-col gap-8" }, Qo = /* @__PURE__ */ re({
@@ -3873,7 +3873,7 @@ const Ot = { class: "flex flex-col gap-5" }, Nt = { class: "fm-typo-en-body-lg-6
3873
3873
  "hide-export": !0,
3874
3874
  "is-editing-style": A.value,
3875
3875
  "onUpdate:tableResponse": c[4] || (c[4] = (f) => a.value = f)
3876
- }, null, 8, ["model-value", "index", "is-editing-style"])) : (g(), j(Tl, { key: 1 }))
3876
+ }, null, 8, ["model-value", "index", "is-editing-style"])) : (g(), j(_l, { key: 1 }))
3877
3877
  ])
3878
3878
  ]),
3879
3879
  _.value ? (g(), j(fa, {
@@ -3920,7 +3920,7 @@ const Ot = { class: "flex flex-col gap-5" }, Nt = { class: "fm-typo-en-body-lg-6
3920
3920
  "model-value": e.value,
3921
3921
  index: o.index,
3922
3922
  "hide-export": !0
3923
- }, null, 8, ["model-value", "index"])) : (g(), j(Tl, { key: 1 }))
3923
+ }, null, 8, ["model-value", "index"])) : (g(), j(_l, { key: 1 }))
3924
3924
  ]),
3925
3925
  p(Ul, {
3926
3926
  modelValue: e.value,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as U, reactive as E, resolveComponent as b, createElementBlock as d, openBlock as i, Fragment as h, renderList as W, createBlock as g, createCommentVNode as F, normalizeStyle as I, normalizeClass as f, withCtx as V, createVNode as c, createElementVNode as z, withDirectives as H, vShow as K } from "vue";
2
- import { _ as D, c as P, a as j, b as q, t as A } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-gXdLQZ0D.js";
2
+ import { _ as D, c as P, a as j, b as q, t as A } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CYP0Wttg.js";
3
3
  import { useBreakpoints as J } from "@feedmepos/ui-library";
4
4
  const O = { class: "flex-1 min-h-0 overflow-y-auto" }, Q = {
5
5
  key: 0,
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as We, onBeforeMount as ro, onBeforeUnmount as ao, resolveComponent as j, createElementBlock as k, openBlock as D, normalizeStyle as Qt, unref as M, renderSlot as pt, createVNode as G, createElementVNode as A, toDisplayString as q, TransitionGroup as io, nextTick as rn, h as cn, mergeModels as kt, useModel as tt, computed as C, Fragment as Ae, renderList as It, createBlock as Ee, normalizeClass as Ot, withCtx as de, Transition as Zt, createCommentVNode as U, ref as Q, withDirectives as lo, withKeys as so, withModifiers as Ct, vModelText as uo, watch as je, createTextVNode as co } from "vue";
2
- import { u as Lt, a as fo } from "./vue-i18n-DVWuTfed.js";
2
+ import { u as Lt, a as fo, _ as an } from "./_plugin-vue_export-helper-onplcgja.js";
3
3
  import { useCoreStore as po } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as In } from "pinia";
5
5
  import { useRoute as mo } from "vue-router";
6
- import { W as z, Q as ho, I as rt, t as On, v as Cn, c as Ge, g as go, q as vo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CXfUSF_R.js";
7
- import { p as bo, d as Sn, a as Rn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BMKUeE9w.js";
8
- import { b as an, a as dn } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BL1jpiXN.js";
9
- import { R as yo, g as gt } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-gXdLQZ0D.js";
10
- import { u as Eo, F as _o, r as To, d as Ut } from "./app-AmhS6tIU.js";
6
+ import { W as z, Q as ho, I as rt, t as On, v as Cn, c as Ge, g as go, q as vo } from "./GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DKIQUEmI.js";
7
+ import { p as bo, d as Sn, a as Rn } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DO6_l1xS.js";
8
+ import { R as yo, g as gt } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-CYP0Wttg.js";
9
+ import { u as Eo, F as _o, r as To, d as Ut } from "./app-Bvc2Y3Ap.js";
10
+ import { a as dn } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js";
11
11
  import { r as fn } from "./i18n-CI_sQ5d_.js";
12
12
  import { useSnackbar as wo } from "@feedmepos/ui-library";
13
13
  const xo = {