@feedmepos/mf-settings 0.0.62-prod → 0.0.63-prod

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.
@@ -1,7 +1,7 @@
1
1
  import { resolveComponent as oe, TransitionGroup as pn, defineComponent as et, h as Tt, nextTick as Yt, openBlock as U, createElementBlock as te, createElementVNode as O, toDisplayString as Q, createCommentVNode as _t, renderSlot as mt, ref as Ye, reactive as gn, computed as je, watch as jt, Fragment as Ut, normalizeProps as vn, guardReactiveProps as bn, createVNode as V, unref as x, withCtx as ie, normalizeClass as yn, createBlock as ht, createSlots as _n, getCurrentInstance as wn, renderList as En, withModifiers as Ct } from "vue";
2
- import { useI18n as Ht } from "@feedmepos/mf-common";
3
- import { useSnackbar as Dn, components as Sn, useBreakpoints as Tn, useDialog as Cn } from "@feedmepos/ui-library";
4
- import { _ as xn, a as In } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-08a69f88.js";
2
+ import { useI18n as Ht, RestaurantSelector as Dn } from "@feedmepos/mf-common";
3
+ import { useSnackbar as Sn, components as Tn, useBreakpoints as Cn, useDialog as xn } from "@feedmepos/ui-library";
4
+ import { _ as In } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8f929a2d.js";
5
5
  import { _ as On, c as xt } from "./createForm-d3b97d2e.js";
6
6
  import { _ as It, c as Fn } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
7
7
  import { u as An, r as Pn, s as Nn } from "./index-f1179ebc.js";
@@ -1779,7 +1779,7 @@ const Mo = { class: "fm-typo-en-title-md-600" }, $o = { class: "py-16 space-y-32
1779
1779
  },
1780
1780
  setup(t, { expose: e }) {
1781
1781
  var S, A, L, R;
1782
- const n = t, { t: o } = Ht(), r = Dn(), i = An(r), a = Ye(!1), l = () => {
1782
+ const n = t, { t: o } = Ht(), r = Sn(), i = An(r), a = Ye(!1), l = () => {
1783
1783
  var C;
1784
1784
  const p = (C = n.initialValue) != null && C.reasons ? [...n.initialValue.reasons] : [];
1785
1785
  return p.push(""), p.map((F, J) => ({
@@ -1862,7 +1862,7 @@ const Mo = { class: "fm-typo-en-title-md-600" }, $o = { class: "py-16 space-y-32
1862
1862
  modelValue: a.value,
1863
1863
  "onUpdate:modelValue": C[4] || (C[4] = ($) => a.value = $),
1864
1864
  "max-width": 560,
1865
- "is-container": x(Sn).FmForm,
1865
+ "is-container": x(Tn).FmForm,
1866
1866
  "is-container-props": {
1867
1867
  onValidationSuccess: w,
1868
1868
  blameFormChildOnValidationFailed: !0
@@ -2010,7 +2010,7 @@ const Mo = { class: "fm-typo-en-title-md-600" }, $o = { class: "py-16 space-y-32
2010
2010
  }, lr = { class: "flex flex-col items-center justify-center gap-16" }, cr = { class: "fm-typo-title-sm-700" }, ur = { class: "fm-typo-body-md-400 text-center text-gray-500" }, Er = /* @__PURE__ */ et({
2011
2011
  __name: "ReasonTemplate",
2012
2012
  setup(t) {
2013
- const { t: e } = Ht(), n = Tn(), o = Cn(), r = je(() => n.breakpoints.value.xs), i = wn(), a = Ye(void 0), l = Ye(null), s = Ye(!1), c = je(() => {
2013
+ const { t: e } = Ht(), n = Cn(), o = xn(), r = je(() => n.breakpoints.value.xs), i = wn(), a = Ye(void 0), l = Ye(null), s = Ye(!1), c = je(() => {
2014
2014
  var w;
2015
2015
  return (w = l.value) != null && w.reasonTemplates ? l.value.reasonTemplates.map((g, S) => ({
2016
2016
  ...g,
@@ -2156,7 +2156,7 @@ const Mo = { class: "fm-typo-en-title-md-600" }, $o = { class: "py-16 space-y-32
2156
2156
  label: x(e)("settings.reasonTemplate.addTemplate"),
2157
2157
  "prepend-icon": "add"
2158
2158
  }, null, 8, ["label"])
2159
- ])) : a.value ? (U(), ht(xn, {
2159
+ ])) : a.value ? (U(), ht(In, {
2160
2160
  key: 1,
2161
2161
  onClick: _,
2162
2162
  label: x(e)("settings.reasonTemplate.addTemplate"),
@@ -2168,12 +2168,13 @@ const Mo = { class: "fm-typo-en-title-md-600" }, $o = { class: "py-16 space-y-32
2168
2168
  O("div", Wo, [
2169
2169
  O("div", Go, [
2170
2170
  O("div", qo, [
2171
- V(In, {
2171
+ V(x(Dn), {
2172
2172
  modelValue: a.value,
2173
2173
  "onUpdate:modelValue": g[0] || (g[0] = (p) => a.value = p),
2174
2174
  "managable-only": !0,
2175
2175
  label: "Select Restaurant",
2176
- "auto-select-first": !0
2176
+ "auto-select-first": !0,
2177
+ variant: "dark"
2177
2178
  }, null, 8, ["modelValue"])
2178
2179
  ])
2179
2180
  ]),
@@ -0,0 +1,38 @@
1
+ import { defineComponent as p, computed as t, resolveComponent as c, openBlock as n, createBlock as m, normalizeProps as u, mergeProps as r, createElementBlock as v, createVNode as d } from "vue";
2
+ import { useBreakpoints as b } from "@feedmepos/ui-library";
3
+ const _ = {
4
+ key: 1,
5
+ class: "z-10 fixed bottom-72 right-16"
6
+ }, C = /* @__PURE__ */ p({
7
+ __name: "ResponsiveFabButton",
8
+ props: {
9
+ variant: {},
10
+ label: {},
11
+ icon: {},
12
+ size: {},
13
+ disabled: { type: Boolean },
14
+ iconColor: {},
15
+ borderColor: {},
16
+ textColor: {},
17
+ bgColor: {},
18
+ type: {},
19
+ iconPosition: {},
20
+ prependIcon: {},
21
+ appendIcon: {},
22
+ loading: { type: Boolean },
23
+ disableIconStatus: { type: Boolean },
24
+ overwriteIconOutline: {}
25
+ },
26
+ setup(a) {
27
+ const o = a, i = t(() => o.variant === "primary" || !o.variant ? "fab" : o.variant), s = b(), l = t(() => s.breakpoints.value.xs);
28
+ return (B, k) => {
29
+ const e = c("FmButton");
30
+ return l.value ? (n(), v("div", _, [
31
+ d(e, r(o, { variant: i.value }), null, 16, ["variant"])
32
+ ])) : (n(), m(e, u(r({ key: 0 }, o)), null, 16));
33
+ };
34
+ }
35
+ });
36
+ export {
37
+ C as _
38
+ };
@@ -2,7 +2,7 @@ import { defineComponent as Mr, h as xl, getCurrentInstance as Mi, inject as Bm,
2
2
  import "@vue/devtools-api";
3
3
  import { useI18n as Fl, useCoreStore as Ml } from "@feedmepos/mf-common";
4
4
  import { useDialog as Ul, useSnackbar as kl, components as Qm, useBreakpoints as zm, FmButtonVariant as jm } from "@feedmepos/ui-library";
5
- import { _ as eE } from "./app-9c271caa.js";
5
+ import { _ as eE } from "./app-06c20144.js";
6
6
  import { _ as nE, c as rl } from "./createForm-d3b97d2e.js";
7
7
  import { u as Wl } from "./index-f1179ebc.js";
8
8
  import { _ as il, c as tE } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
@@ -1673,7 +1673,7 @@ const N = /* @__PURE__ */ p({
1673
1673
  {
1674
1674
  path: "/business",
1675
1675
  name: "$settings-my-business",
1676
- component: t(() => import("./Business-4501d17b.js")),
1676
+ component: t(() => import("./Business-b4a5fe0c.js")),
1677
1677
  meta: {
1678
1678
  i18nKey: "settings.business.title"
1679
1679
  }
@@ -1689,7 +1689,7 @@ const N = /* @__PURE__ */ p({
1689
1689
  {
1690
1690
  path: "/foodcourt",
1691
1691
  name: "$settings-food-court",
1692
- component: t(() => import("./FoodCourt-681673e7.js")),
1692
+ component: t(() => import("./FoodCourt-2e122628.js")),
1693
1693
  meta: {
1694
1694
  i18nKey: "settings.food_court.list.title"
1695
1695
  }
@@ -1731,7 +1731,7 @@ const N = /* @__PURE__ */ p({
1731
1731
  {
1732
1732
  path: "/tagging",
1733
1733
  name: "$settings-tagging",
1734
- component: A(t(() => import("./Tagging-ec17ef77.js"))),
1734
+ component: A(t(() => import("./Tagging-2a5212f1.js"))),
1735
1735
  meta: {
1736
1736
  i18nKey: "settings.tagging.title",
1737
1737
  validationManifest: {
@@ -1743,13 +1743,13 @@ const N = /* @__PURE__ */ p({
1743
1743
  {
1744
1744
  path: "/reason-template",
1745
1745
  name: "$settings-reason-template",
1746
- component: t(() => import("./ReasonTemplate-6cc84a02.js")),
1746
+ component: t(() => import("./ReasonTemplate-06a053d7.js")),
1747
1747
  meta: {
1748
1748
  i18nKey: "settings.reasonTemplate.title",
1749
1749
  hideNavigation: !0
1750
1750
  }
1751
1751
  }
1752
- ], X = t(() => import("./App-f71c3ea4.js")), Z = {
1752
+ ], X = t(() => import("./App-2615cfbb.js")), Z = {
1753
1753
  "en-US": {
1754
1754
  ...F,
1755
1755
  ...s["en-US"]
@@ -1766,7 +1766,7 @@ const N = /* @__PURE__ */ p({
1766
1766
  ...z,
1767
1767
  ...s["zh-Hant"] || {}
1768
1768
  }
1769
- }, ee = t(() => import("./ReasonTemplate-6cc84a02.js"));
1769
+ }, ee = t(() => import("./ReasonTemplate-06a053d7.js"));
1770
1770
  export {
1771
1771
  X as F,
1772
1772
  ee as R,
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "@feedmepos/mf-mdm";
2
- import { F as a, R as n, i as F, r as R } from "./app-9c271caa.js";
2
+ import { F as a, R as n, i as F, r as R } from "./app-06c20144.js";
3
3
  import "vue";
4
4
  import "@feedmepos/ui-library";
5
5
  import "vue-router";