@feedmepos/mf-menu 0.20.2 → 0.20.3
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.
- package/dist/App-DGK08eRV.js +18860 -0
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Ds2qfY_X.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DY5ZAvXD.js} +10 -10
- package/dist/{ApplyProducts.vue_vue_type_script_setup_true_lang-BRepaPR3.js → ApplyProducts.vue_vue_type_script_setup_true_lang-CTQXFXig.js} +2 -2
- package/dist/{Catalog-S5KDEWzG.js → Catalog-DDLkwHEl.js} +3 -3
- package/dist/{Category-DLaNEtA5.js → Category-Dvijo086.js} +6 -6
- package/dist/{CookingGuide-DSGZapxz.js → CookingGuide-CsE9_yha.js} +4 -4
- package/dist/{Group-CBMSkmwQ.js → Group-BIQU7w0g.js} +1 -1
- package/dist/{Group-B0VQ-64x.js → Group-CMMIHqaG.js} +6 -6
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DKzrhXtM.js → Group.vue_vue_type_script_setup_true_lang-BTL9j3_B.js} +70 -70
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BV-FC8tM.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-pogjGaYM.js} +23 -23
- package/dist/{Ingredient-CnPQ0kiR.js → Ingredient-m0hSAC1U.js} +16 -16
- package/dist/{LinkProductSideSheet-A26Otbdm.js → LinkProductSideSheet-DfZrxiHw.js} +30 -29
- package/dist/{PrintRoute-BlJMdPP0.js → PrintRoute-iSOdrR8L.js} +27 -27
- package/dist/{Product-BvD813LL.js → Product-LV9usgIQ.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-D_oKtXbh.js → Product.vue_vue_type_script_setup_true_lang-D2840VfX.js} +67 -67
- package/dist/{Products-B8Ok-bkN.js → Products-C3u76O52.js} +37 -37
- package/dist/{Publish-qBiJUQ4X.js → Publish-_OkfKSnM.js} +69 -69
- package/dist/{Recipe-CJxJJAUV.js → Recipe-CB_uktjY.js} +34 -34
- package/dist/{Scheduler-DfAMwXCu.js → Scheduler-DWIGrzZY.js} +2 -2
- package/dist/{SchedulerSelector.vue_vue_type_script_setup_true_lang-CArE_Hua.js → SchedulerSelector.vue_vue_type_script_setup_true_lang-BcruguLb.js} +1 -1
- package/dist/ServingSequence-Cq1ZZlrm.js +4 -0
- package/dist/{Setting-BbgJcWsN.js → Setting-N_eRQUsY.js} +1 -1
- package/dist/{Setting.vue_vue_type_script_setup_true_lang-BbVEzNve.js → Setting.vue_vue_type_script_setup_true_lang-WQ6hWgnm.js} +13 -13
- package/dist/{Takeaway-CMDFYeUw.js → Takeaway-DiOnksOz.js} +1 -1
- package/dist/{Takeaway-wAXsZQN2.js → Takeaway-NrqUpXFx.js} +9 -9
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DSphRs_i.js → Takeaway.vue_vue_type_script_setup_true_lang-CHAbaRBT.js} +9 -9
- package/dist/{TaxSetting-C1XOTv-9.js → TaxSetting-V0dnzYo3.js} +6 -6
- package/dist/{Unit-BW3iqgp8.js → Unit-DOsZE2qJ.js} +15 -15
- package/dist/{Variant-BJIxp9PJ.js → Variant-CYP1P6ns.js} +40 -40
- package/dist/{_id_-B25OxuPV.js → _id_-B6Hne1hp.js} +34 -34
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/app-D2FqvCaC.js +127479 -0
- package/dist/app.js +4 -4
- package/dist/assets/linked-status-B-90MiJw.js +24 -0
- package/dist/assets/validate-menu-C1LwcZzw.js +24 -0
- package/dist/{catalog-B-Z6lEFK.js → catalog-Bq6JWNgk.js} +1 -1
- package/dist/{catalog-Do7RfIKm.js → catalog-C8CFP-ny.js} +22549 -22547
- package/dist/{category-DEWEor3m.js → category-DJo3MbY6.js} +14 -14
- package/dist/{currency-33gUke3q.js → currency-Ccc8KrCJ.js} +1 -1
- package/dist/index-BS64cx1H.js +7392 -0
- package/dist/{index-BEdHzZvu.js → index-PJVryAUX.js} +14 -14
- package/dist/{item-BooojPpg.js → item-Dj35T3VU.js} +940 -938
- package/dist/{lodash-247YxYiQ.js → lodash-MHSu1pkA.js} +439 -439
- package/dist/{menu-DCnWrgH7.js → menu-CUXJ9cXY.js} +1 -1
- package/dist/{object-B2cP_UeG.js → object-BN9wCbKv.js} +19 -19
- package/dist/remy-BWBsUWuo.js +36 -0
- package/dist/{scheduler-0cChIv2I.js → scheduler-DZwOVztH.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/{takeaway-mwqVQ1ij.js → takeaway-PjB5BC80.js} +17 -17
- package/dist/{toExcel-Dha8Vf3u.js → toExcel-D9nGg3_g.js} +237 -237
- package/dist/{unit-BgfdgXAu.js → unit-97ZKmnbi.js} +12 -12
- package/dist/{vuedraggable-BEszc36M.js → vuedraggable-WU01qJgi.js} +110 -110
- package/package.json +1 -1
- package/dist/ServingSequence-DxDMeto7.js +0 -4
- package/dist/app-BFJlAowN.js +0 -135983
- package/dist/assets/linked-status-4i88AmvK.js +0 -24
- package/dist/assets/validate-menu-CTKwgXfw.js +0 -24
- package/dist/index-BXl09ebx.js +0 -21908
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as E, resolveComponent as p, openBlock as f, createBlock as u, Teleport as w, createVNode as _, Transition as P, withCtx as h, normalizeClass as m, normalizeStyle as S, withKeys as R, createElementVNode as d, toDisplayString as A, renderSlot as x, createElementBlock as F, Fragment as g, renderList as I, createCommentVNode as T, toRaw as U } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
2
|
+
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const v = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), N = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), $ = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), z = /[^\p{L}\d]+/giu, y = "$1\0$2", C = "";
|
|
4
4
|
function L(t) {
|
|
5
5
|
let e = t.trim();
|
|
6
|
-
e = e.replace(
|
|
6
|
+
e = e.replace(v, y).replace(N, y), e = e.replace(z, "\0");
|
|
7
7
|
let n = 0, l = e.length;
|
|
8
8
|
for (; e.charAt(n) === "\0"; )
|
|
9
9
|
n++;
|
|
@@ -25,8 +25,8 @@ function B(t) {
|
|
|
25
25
|
return e;
|
|
26
26
|
}
|
|
27
27
|
function W(t, e) {
|
|
28
|
-
const [n, l, c] = X(t, e), r = V(e == null ? void 0 : e.locale),
|
|
29
|
-
return n + l.map((
|
|
28
|
+
const [n, l, c] = X(t, e), r = V(e == null ? void 0 : e.locale), s = D(e == null ? void 0 : e.locale), o = O(r, s);
|
|
29
|
+
return n + l.map((a, i) => i === 0 ? o(a) : r(a)).join((e == null ? void 0 : e.delimiter) ?? " ") + c;
|
|
30
30
|
}
|
|
31
31
|
function V(t) {
|
|
32
32
|
return t === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(t);
|
|
@@ -39,23 +39,23 @@ function O(t, e) {
|
|
|
39
39
|
}
|
|
40
40
|
function X(t, e = {}) {
|
|
41
41
|
const n = e.split ?? (e.separateNumbers ? B : L), l = e.prefixCharacters ?? C, c = e.suffixCharacters ?? C;
|
|
42
|
-
let r = 0,
|
|
42
|
+
let r = 0, s = t.length;
|
|
43
43
|
for (; r < t.length; ) {
|
|
44
|
-
const
|
|
45
|
-
if (!l.includes(
|
|
44
|
+
const o = t.charAt(r);
|
|
45
|
+
if (!l.includes(o))
|
|
46
46
|
break;
|
|
47
47
|
r++;
|
|
48
48
|
}
|
|
49
|
-
for (;
|
|
50
|
-
const
|
|
51
|
-
if (!c.includes(
|
|
49
|
+
for (; s > r; ) {
|
|
50
|
+
const o = s - 1, a = t.charAt(o);
|
|
51
|
+
if (!c.includes(a))
|
|
52
52
|
break;
|
|
53
|
-
|
|
53
|
+
s = o;
|
|
54
54
|
}
|
|
55
55
|
return [
|
|
56
56
|
t.slice(0, r),
|
|
57
|
-
n(t.slice(r,
|
|
58
|
-
t.slice(
|
|
57
|
+
n(t.slice(r, s)),
|
|
58
|
+
t.slice(s)
|
|
59
59
|
];
|
|
60
60
|
}
|
|
61
61
|
const J = {
|
|
@@ -83,12 +83,12 @@ const J = {
|
|
|
83
83
|
}, c = () => {
|
|
84
84
|
n("onCancel");
|
|
85
85
|
};
|
|
86
|
-
return (r,
|
|
87
|
-
const
|
|
86
|
+
return (r, s) => {
|
|
87
|
+
const o = p("fm-button"), a = p("fm-form");
|
|
88
88
|
return f(), u(w, { to: "body" }, [
|
|
89
89
|
_(P, { name: "fade" }, {
|
|
90
90
|
default: h(() => [
|
|
91
|
-
r.show ? (f(), u(
|
|
91
|
+
r.show ? (f(), u(a, {
|
|
92
92
|
key: 0,
|
|
93
93
|
"blame-form-child-on-validation-failed": "",
|
|
94
94
|
class: m(["fixed inset-0", "flex flex-col", "w-screen h-dvh", "bg-fm-color-neutral-white"]),
|
|
@@ -101,12 +101,12 @@ const J = {
|
|
|
101
101
|
d("div", J, [
|
|
102
102
|
d("p", K, A(r.title), 1),
|
|
103
103
|
x(r.$slots, "append-title", {}, void 0, !0),
|
|
104
|
-
(f(!0), F(g, null, I(r.secondaryActions, (i) => (f(), u(
|
|
104
|
+
(f(!0), F(g, null, I(r.secondaryActions, (i) => (f(), u(o, {
|
|
105
105
|
label: i.label,
|
|
106
106
|
variant: "tertiary",
|
|
107
107
|
onClick: i.click
|
|
108
108
|
}, null, 8, ["label", "onClick"]))), 256)),
|
|
109
|
-
_(
|
|
109
|
+
_(o, {
|
|
110
110
|
label: r.primaryAction.label,
|
|
111
111
|
type: "submit",
|
|
112
112
|
variant: "primary"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { a as f, U as u } from "./app-D2FqvCaC.js";
|
|
2
|
+
import { computed as l, ref as m } from "vue";
|
|
3
|
+
var v = { mainBackend: "https://portal-v2-dev.feedmeapi.com", menuBackend: "https://menu-v4-dev.feedmeapi.com", remy: "https://remy-dev.feedmeapi.com/v1", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, gtm: { id: "GTM-P7Z9FMS6", serverUrl: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", env: "development", serverMeasurementId: "G-759WBZPF06", debug: !0 } };
|
|
4
|
+
let g;
|
|
5
|
+
function S(t) {
|
|
6
|
+
const p = f(), a = u(t), d = l(() => {
|
|
7
|
+
var e, r, i;
|
|
8
|
+
return ((i = (r = (e = p.publicSetting) == null ? void 0 : e.aiSettings) == null ? void 0 : r.remy) == null ? void 0 : i.enable) || !1;
|
|
9
|
+
}), n = m(!1);
|
|
10
|
+
function s(e) {
|
|
11
|
+
n.value = e;
|
|
12
|
+
}
|
|
13
|
+
const o = m(null);
|
|
14
|
+
function c(e) {
|
|
15
|
+
o.value = e;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
enable: d,
|
|
19
|
+
isDialogOpened: n,
|
|
20
|
+
toggleDialog: s,
|
|
21
|
+
registerOnSelect: c,
|
|
22
|
+
onSelect: o,
|
|
23
|
+
...a,
|
|
24
|
+
closeSession: (e) => (s(!1), a.closeSession(e))
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function I(t) {
|
|
28
|
+
g = S({
|
|
29
|
+
token: t,
|
|
30
|
+
url: v.remy || ""
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
export {
|
|
34
|
+
g as R,
|
|
35
|
+
I as i
|
|
36
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as oe, computed as O, resolveComponent as f, openBlock as u, createElementBlock as i, createVNode as l, unref as o, toDisplayString as Y, createCommentVNode as k, createElementVNode as y, withCtx as v, Fragment as C, renderList as L, createBlock as K, ref as T, Transition as ae, createTextVNode as de } from "vue";
|
|
2
2
|
import { components as re } from "@feedmepos/ui-library";
|
|
3
|
-
import {
|
|
4
|
-
import { _ as me } from "./ApplyProducts.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { h as E, f as r, u as ce, k as le } from "./app-D2FqvCaC.js";
|
|
4
|
+
import { _ as me } from "./ApplyProducts.vue_vue_type_script_setup_true_lang-CTQXFXig.js";
|
|
5
5
|
import { useI18n as ne } from "@feedmepos/mf-common";
|
|
6
|
-
import { u as pe } from "./menu-
|
|
6
|
+
import { u as pe } from "./menu-CUXJ9cXY.js";
|
|
7
7
|
import "vue-router";
|
|
8
8
|
import { _ as ee } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
|
|
9
9
|
import { _ as _e } from "./FormItem.vue_vue_type_script_setup_true_lang-DKsxEK-8.js";
|
|
10
|
-
import { u as ve, l as fe } from "./lodash-
|
|
10
|
+
import { u as ve, l as fe } from "./lodash-MHSu1pkA.js";
|
|
11
11
|
const ye = { class: "space-y-8" }, he = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "space-y-16"
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.chatbox[data-v-97b727dd]{padding:10px;display:flex;flex-direction:column;height:100%;width:100%;overflow-y:scroll;gap:4px}.chatbox .user-message[data-v-97b727dd]{align-self:end;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .remy-message[data-v-97b727dd]{align-self:start;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .user-name[data-v-97b727dd]{padding:4px 8px;font-size:12px;font-weight:700}.chatbox .selection-container[data-v-97b727dd]{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px}.chatbox .selection-container .selection[data-v-97b727dd]{cursor:pointer}.chatbox .message-bubble[data-v-97b727dd]{background:#f0f0f0;padding:4px 8px;border-radius:6px;line-height:20px;font-size:14px}.chatbox .select-label[data-v-97b727dd]{font-weight:700;font-size:12px;padding:4px 8px;align-self:center}.chatbox .message[data-v-97b727dd]{white-space:pre-wrap}.chatbox .spinner[data-v-97b727dd]{text-align:left}.chatbox .spinner>div[data-v-97b727dd]{width:4px;height:4px;margin:0 2px;background-color:#434343;border-radius:100%;display:inline-block;animation:sk-bouncedelay-97b727dd 1.4s infinite ease-in-out both}.chatbox .spinner .bounce1[data-v-97b727dd]{animation-delay:-.32s}.chatbox .spinner .bounce2[data-v-97b727dd]{animation-delay:-.16s}@keyframes sk-bouncedelay-97b727dd{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.
|
|
1
|
+
.chatbox[data-v-97b727dd]{padding:10px;display:flex;flex-direction:column;height:100%;width:100%;overflow-y:scroll;gap:4px}.chatbox .user-message[data-v-97b727dd]{align-self:end;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .remy-message[data-v-97b727dd]{align-self:start;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .user-name[data-v-97b727dd]{padding:4px 8px;font-size:12px;font-weight:700}.chatbox .selection-container[data-v-97b727dd]{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px}.chatbox .selection-container .selection[data-v-97b727dd]{cursor:pointer}.chatbox .message-bubble[data-v-97b727dd]{background:#f0f0f0;padding:4px 8px;border-radius:6px;line-height:20px;font-size:14px}.chatbox .select-label[data-v-97b727dd]{font-weight:700;font-size:12px;padding:4px 8px;align-self:center}.chatbox .message[data-v-97b727dd]{white-space:pre-wrap}.chatbox .spinner[data-v-97b727dd]{text-align:left}.chatbox .spinner>div[data-v-97b727dd]{width:4px;height:4px;margin:0 2px;background-color:#434343;border-radius:100%;display:inline-block;animation:sk-bouncedelay-97b727dd 1.4s infinite ease-in-out both}.chatbox .spinner .bounce1[data-v-97b727dd]{animation-delay:-.32s}.chatbox .spinner .bounce2[data-v-97b727dd]{animation-delay:-.16s}@keyframes sk-bouncedelay-97b727dd{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.expand-enter-from[data-v-c33d339f]{opacity:0;max-height:0}.expand-enter-to[data-v-c33d339f],.expand-leave-from[data-v-c33d339f]{opacity:1;max-height:1000px}.expand-leave-to[data-v-c33d339f]{opacity:0;max-height:0}.expand-enter-active[data-v-c33d339f],.expand-leave-active[data-v-c33d339f]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-from[data-v-5b5c7179]{opacity:0}.fade-enter-to[data-v-5b5c7179],.fade-leave-from[data-v-5b5c7179]{opacity:1}.fade-leave-to[data-v-5b5c7179]{opacity:0}.fade-enter-active[data-v-5b5c7179],.fade-leave-active[data-v-5b5c7179]{transition:opacity .5s ease}.vue-advanced-cropper{text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}.expand-enter-from[data-v-e920f110]{opacity:0;max-height:0}.expand-enter-to[data-v-e920f110],.expand-leave-from[data-v-e920f110]{opacity:1;max-height:1000px}.expand-leave-to[data-v-e920f110]{opacity:0;max-height:0}.expand-enter-active[data-v-e920f110],.expand-leave-active[data-v-e920f110]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.expand-enter-active,.expand-leave-active{transition:.3s}.expand-enter-from{opacity:0;max-height:0}.expand-enter-to,.expand-leave-from{opacity:1;max-height:1000px}.expand-leave-to{opacity:0;max-height:0}.app-container{background-color:#fff!important}.remy-dialog[data-v-cd495024]{position:fixed;z-index:9999;top:25%;right:30px;background:#fff;border:1px solid lightgrey;border-radius:4px;height:50%;width:400px;max-width:90%}.remy-dialog .header[data-v-cd495024]{background:#000;padding:0 12px;border-radius:4px 4px 0 0;height:40px}.remy-dialog .header .title[data-v-cd495024]{color:#fff}.remy-dialog .chatbox-container[data-v-cd495024]{height:calc(100% - 40px)}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as T, ref as f, computed as B, watch as L, onMounted as K, onBeforeUnmount as O, resolveComponent as F, openBlock as M, createBlock as N, withModifiers as D, withCtx as
|
|
2
|
-
import { components as
|
|
3
|
-
import {
|
|
1
|
+
import { defineComponent as T, ref as f, computed as B, watch as L, onMounted as K, onBeforeUnmount as O, resolveComponent as F, openBlock as M, createBlock as N, withModifiers as D, withCtx as g, renderSlot as U, createElementBlock as z, Fragment as A, createVNode as c, unref as i, createElementVNode as x, toDisplayString as R, createCommentVNode as j } from "vue";
|
|
2
|
+
import { components as P } from "@feedmepos/ui-library";
|
|
3
|
+
import { d as S, u as W, j as H, m as q, h as Y, f as Z } from "./app-D2FqvCaC.js";
|
|
4
4
|
import { c as G } from "./string-DpfFixWH.js";
|
|
5
5
|
import { useI18n as I } from "@feedmepos/mf-common";
|
|
6
|
-
import { f as J } from "./currency-
|
|
7
|
-
import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { f as J } from "./currency-Ccc8KrCJ.js";
|
|
7
|
+
import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DY5ZAvXD.js";
|
|
8
8
|
import { _ as X } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
|
|
9
|
-
import { u as ee, l as ae } from "./lodash-
|
|
9
|
+
import { u as ee, l as ae } from "./lodash-MHSu1pkA.js";
|
|
10
10
|
const te = /* @__PURE__ */ T({
|
|
11
11
|
__name: "CurrencyInput",
|
|
12
12
|
props: {
|
|
@@ -117,7 +117,7 @@ const te = /* @__PURE__ */ T({
|
|
|
117
117
|
onScroll: t[3] || (t[3] = D(() => {
|
|
118
118
|
}, ["prevent"]))
|
|
119
119
|
}, {
|
|
120
|
-
append:
|
|
120
|
+
append: g(() => [
|
|
121
121
|
U(e.$slots, "append")
|
|
122
122
|
]),
|
|
123
123
|
_: 3
|
|
@@ -135,7 +135,7 @@ const te = /* @__PURE__ */ T({
|
|
|
135
135
|
},
|
|
136
136
|
emits: ["update:takeaway"],
|
|
137
137
|
setup(y, { expose: m, emit: a }) {
|
|
138
|
-
const { t: o } = I(), d = y, v = a, r =
|
|
138
|
+
const { t: o } = I(), d = y, v = a, r = W(), C = B(() => r.rules.takeaway), V = f(!1), u = f(!1), b = (l) => {
|
|
139
139
|
H.isBoolean(l) ? u.value = l : u.value = !u.value;
|
|
140
140
|
};
|
|
141
141
|
function k() {
|
|
@@ -176,7 +176,7 @@ const te = /* @__PURE__ */ T({
|
|
|
176
176
|
id: "group-form",
|
|
177
177
|
modelValue: u.value,
|
|
178
178
|
"onUpdate:modelValue": n[4] || (n[4] = (p) => u.value = p),
|
|
179
|
-
"is-container": i(
|
|
179
|
+
"is-container": i(P).FmForm,
|
|
180
180
|
"is-container-props": {
|
|
181
181
|
onValidationSuccess: t,
|
|
182
182
|
blameFormChildOnValidationFailed: !0
|
|
@@ -185,10 +185,10 @@ const te = /* @__PURE__ */ T({
|
|
|
185
185
|
"z-index": 103,
|
|
186
186
|
"onOn:clickedAway": i(e)
|
|
187
187
|
}, {
|
|
188
|
-
"side-sheet-header":
|
|
188
|
+
"side-sheet-header": g(() => [
|
|
189
189
|
x("p", le, R(_.value), 1)
|
|
190
190
|
]),
|
|
191
|
-
"side-sheet-footer":
|
|
191
|
+
"side-sheet-footer": g(() => [
|
|
192
192
|
x("div", oe, [
|
|
193
193
|
c(w, {
|
|
194
194
|
label: i(G)(i(o)(`menu.common.actions.${l.action}`)),
|
|
@@ -205,18 +205,18 @@ const te = /* @__PURE__ */ T({
|
|
|
205
205
|
}, null, 8, ["label"])
|
|
206
206
|
])
|
|
207
207
|
]),
|
|
208
|
-
default:
|
|
208
|
+
default: g(() => [
|
|
209
209
|
x("div", ne, [
|
|
210
210
|
c(X, null, {
|
|
211
|
-
default:
|
|
211
|
+
default: g(() => {
|
|
212
212
|
var p;
|
|
213
213
|
return [
|
|
214
214
|
c(E, {
|
|
215
215
|
modelValue: s.value.name,
|
|
216
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
216
|
+
"onUpdate:modelValue": n[0] || (n[0] = (h) => s.value.name = h),
|
|
217
217
|
disabled: !C.value.name,
|
|
218
218
|
rules: [
|
|
219
|
-
(
|
|
219
|
+
(h) => !!h || i(o)("menu.common.validation.required", {
|
|
220
220
|
field: i(o)("menu.takeaway.columns.title").toLowerCase()
|
|
221
221
|
})
|
|
222
222
|
],
|
|
@@ -228,7 +228,7 @@ const te = /* @__PURE__ */ T({
|
|
|
228
228
|
}, null, 8, ["modelValue", "disabled", "rules", "label", "placeholder", "title"]),
|
|
229
229
|
c(te, {
|
|
230
230
|
modelValue: s.value.price,
|
|
231
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
231
|
+
"onUpdate:modelValue": n[1] || (n[1] = (h) => s.value.price = h),
|
|
232
232
|
min: 0,
|
|
233
233
|
nullable: !!l.fallback,
|
|
234
234
|
placeholder: (p = l.fallback) != null && p.price ? i(J)(l.fallback.price, !1) : void 0,
|
|
@@ -247,7 +247,7 @@ const te = /* @__PURE__ */ T({
|
|
|
247
247
|
"select-variant": l.bindToVariant,
|
|
248
248
|
editable: "",
|
|
249
249
|
title: i(o)("menu.common.labels.product")
|
|
250
|
-
}, null, 8, ["overrides", "select-variant", "title"])) :
|
|
250
|
+
}, null, 8, ["overrides", "select-variant", "title"])) : j("", !0)
|
|
251
251
|
])
|
|
252
252
|
]),
|
|
253
253
|
_: 1
|