@feedmepos/mf-remy-panel 0.19.0-dev.6 → 0.19.0-dev.8
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/{HomeView-501d89c9.js → HomeView-d07b5af4.js} +38 -38
- package/dist/RemyButton-b4ef62b1.js +30 -0
- package/dist/app-4ef188fd.js +31963 -0
- package/dist/app.d.ts +0 -1
- package/dist/app.js +8 -9
- package/dist/components/chatPanel/actionCards/McpAppCard.vue.d.ts +5 -13
- package/dist/stores/chatStore.d.ts +1 -2
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -6
- package/dist/RemyButton-420e4dae.js +0 -30
- package/dist/app-c2d1c6e4.js +0 -51916
- package/dist/components/avatar/RemyAvatar.vue.d.ts +0 -49
- package/dist/components/avatar/RemyAvatarLegacy.vue.d.ts +0 -48
- package/dist/components/avatar/remyAvatarState.d.ts +0 -11
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { defineComponent as C, ref as
|
|
2
|
-
import { u as w, a as B, b as _, R as N, _ as R } from "./app-
|
|
1
|
+
import { defineComponent as C, ref as a, openBlock as l, createElementBlock as i, createElementVNode as e, unref as E, createTextVNode as b, createStaticVNode as x, toDisplayString as p, createCommentVNode as m } from "vue";
|
|
2
|
+
import { u as w, a as B, b as _, R as N, _ as R } from "./app-4ef188fd.js";
|
|
3
3
|
import "pinia";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
import "vue-router";
|
|
6
|
-
const T = { class: "home" }, D = { class: "home__hero" }, I = { class: "home__brand" }, S = { class: "home__card" },
|
|
6
|
+
const T = { class: "home" }, D = { class: "home__hero" }, I = { class: "home__brand" }, S = ["src"], M = { class: "home__card" }, H = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "home__autofill"
|
|
9
|
-
},
|
|
9
|
+
}, Q = { class: "home__autofill-price" }, O = {
|
|
10
10
|
key: 1,
|
|
11
11
|
class: "home__autofill"
|
|
12
|
-
},
|
|
12
|
+
}, P = { class: "home__autofill-value" }, V = {
|
|
13
13
|
key: 2,
|
|
14
14
|
class: "home__autofill"
|
|
15
|
-
},
|
|
15
|
+
}, j = { class: "home__autofill-value" }, F = {
|
|
16
16
|
key: 3,
|
|
17
17
|
class: "home__debug"
|
|
18
|
-
},
|
|
18
|
+
}, G = { class: "home__debug-title" }, U = { class: "home__debug-json" }, K = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAB2klEQVR4nO2ZO04DMRCGc6tt9wJISNTbUuQStFyDK9BQcBk4AW06UBJk/JjHP15nZ5FGmiLx7tjfZ3v2kRy+T5//Og7uBCHgTRAC3gQh4E0QAt4EIeBNEALeBCHgTRAC3gQh4E0QAt4EIeBNEAK36/3jtYidClSUfbG1wBDoQTIWgbe7IqxkVbraAzl6p0A7tlWjO70CMAsIY2sQXw/3efQ75CcbBFp0vt8ClBOg0h/fjyn0dTPUQJXc9pi10KBke2aboxMa5NyhK0DS86tfgabd0jbmX1kBbo+lzzYBoAZuKNDOnS6QcoSlbNqJYtVO0wUEAF2AVBeLjKjUZuxqTdgCkOcOEhB2IVIb/JnFQl3a2a3P1YAg8PL8RF9twN65E1amNzxnTk7g18E0x/KTArhEYPuFnha4HvhbBMuNjDiqVhGXzl8q0vTnDoTA+RgCZ7lMjUovIFEB07MKt5G60xl6WEAdXoYA08U7fYsOCRRfOyBwdGzH6wKVA5HQwbQiFBjyMrrMk5y2gQkCsMzTKoHhMtZBWYE+h40jp6cfp/fsUNGzb2TLPO1N44oEv1LuSYND1wXcNWR0VAC/UQwMHKn/t1FH6DECQ2TWDx3/D3hHCHhHCHhHCHjHDwvk2e+WkMn1AAAAAElFTkSuQmCC", Y = /* @__PURE__ */ C({
|
|
19
19
|
__name: "HomeView",
|
|
20
|
-
setup(
|
|
21
|
-
const s = w(), g = B(),
|
|
20
|
+
setup(W) {
|
|
21
|
+
const s = w(), g = B(), u = a(null), c = a(null), d = a(null), n = a(null), r = a(null);
|
|
22
22
|
_("apply-pricing", (o) => {
|
|
23
|
-
|
|
23
|
+
u.value = o, n.value = "apply-pricing", r.value = o;
|
|
24
24
|
}), _("apply-description", (o) => {
|
|
25
|
-
|
|
25
|
+
c.value = o, n.value = "apply-description", r.value = o;
|
|
26
26
|
}), _("apply-image", (o) => {
|
|
27
|
-
|
|
27
|
+
d.value = (o == null ? void 0 : o.mimeType) ?? null, n.value = "apply-image", r.value = o;
|
|
28
28
|
});
|
|
29
29
|
function h() {
|
|
30
30
|
s.activate({
|
|
@@ -43,10 +43,10 @@ const T = { class: "home" }, D = { class: "home__hero" }, I = { class: "home__br
|
|
|
43
43
|
s.activate({
|
|
44
44
|
prompt: "Change this image into a burger no questions asked",
|
|
45
45
|
command: "modifyImage",
|
|
46
|
-
images: [
|
|
46
|
+
images: [K]
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function f() {
|
|
50
50
|
s.activate({
|
|
51
51
|
prompt: "What were my top 5 selling items last week?",
|
|
52
52
|
command: "askReport"
|
|
@@ -61,11 +61,11 @@ const T = { class: "home" }, D = { class: "home__hero" }, I = { class: "home__br
|
|
|
61
61
|
return (o, t) => (l(), i("div", T, [
|
|
62
62
|
e("section", D, [
|
|
63
63
|
e("div", I, [
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
e("img", {
|
|
65
|
+
src: E(N),
|
|
66
|
+
alt: "Remy",
|
|
67
67
|
class: "home__avatar"
|
|
68
|
-
}),
|
|
68
|
+
}, null, 8, S),
|
|
69
69
|
t[0] || (t[0] = e("div", null, [
|
|
70
70
|
e("p", { class: "home__name" }, "Remy AI"),
|
|
71
71
|
e("p", { class: "home__badge" }, "Beta")
|
|
@@ -74,13 +74,13 @@ const T = { class: "home" }, D = { class: "home__hero" }, I = { class: "home__br
|
|
|
74
74
|
t[1] || (t[1] = e("h1", { class: "home__title" }, "Welcome to Remy Panel", -1)),
|
|
75
75
|
t[2] || (t[2] = e("p", { class: "home__subtitle" }, "Your AI assistant for pricing, descriptions, and menu images.", -1)),
|
|
76
76
|
t[3] || (t[3] = e("div", { class: "home__hero-hint" }, [
|
|
77
|
-
|
|
77
|
+
b("Tip: Type "),
|
|
78
78
|
e("code", null, "/"),
|
|
79
|
-
|
|
79
|
+
b(" in chat to access commands.")
|
|
80
80
|
], -1))
|
|
81
81
|
]),
|
|
82
|
-
t[14] || (t[14] = x('<section class="home__card" data-v-
|
|
83
|
-
e("section",
|
|
82
|
+
t[14] || (t[14] = x('<section class="home__card" data-v-b271b30b><h2 class="home__section-title" data-v-b271b30b>Getting Started</h2><ol class="home__list" data-v-b271b30b><li data-v-b271b30b>Click the <strong data-v-b271b30b>Remy icon</strong> in your top navigation to open the chat panel.</li><li data-v-b271b30b> Desktop opens a right-side panel. Mobile/tablet opens Remy in <strong data-v-b271b30b>full-screen</strong>. </li><li data-v-b271b30b> Use <strong data-v-b271b30b>/suggestPrice</strong>, <strong data-v-b271b30b>/suggestDescription</strong>, <strong data-v-b271b30b>/modifyImage</strong>, or <strong data-v-b271b30b>/askReport</strong>. </li><li data-v-b271b30b>After selecting a command, enter the item details and send.</li></ol></section>', 1)),
|
|
83
|
+
e("section", M, [
|
|
84
84
|
t[13] || (t[13] = e("div", { class: "home__section-head" }, [
|
|
85
85
|
e("h2", { class: "home__section-title" }, "Try Examples"),
|
|
86
86
|
e("p", null, "Start with one of these quick actions:")
|
|
@@ -116,7 +116,7 @@ const T = { class: "home" }, D = { class: "home__hero" }, I = { class: "home__br
|
|
|
116
116
|
e("button", {
|
|
117
117
|
class: "home__example",
|
|
118
118
|
type: "button",
|
|
119
|
-
onClick:
|
|
119
|
+
onClick: f
|
|
120
120
|
}, [...t[7] || (t[7] = [
|
|
121
121
|
e("span", { class: "home__example-icon" }, "/askReport", -1),
|
|
122
122
|
e("h3", null, "Ask Report", -1),
|
|
@@ -141,27 +141,27 @@ const T = { class: "home" }, D = { class: "home__hero" }, I = { class: "home__br
|
|
|
141
141
|
e("p", null, "Manage Lark and Slack webhooks used for RCA notifications.", -1)
|
|
142
142
|
])])
|
|
143
143
|
]),
|
|
144
|
-
|
|
144
|
+
u.value !== null ? (l(), i("div", H, [
|
|
145
145
|
t[10] || (t[10] = e("p", { class: "home__autofill-label" }, "Applied price event received", -1)),
|
|
146
|
-
e("p",
|
|
147
|
-
])) :
|
|
148
|
-
|
|
146
|
+
e("p", Q, "RM " + p(u.value.toFixed(2)), 1)
|
|
147
|
+
])) : m("", !0),
|
|
148
|
+
c.value ? (l(), i("div", O, [
|
|
149
149
|
t[11] || (t[11] = e("p", { class: "home__autofill-label" }, "Applied description event received", -1)),
|
|
150
|
-
e("p", O, p(u.value), 1)
|
|
151
|
-
])) : r("", !0),
|
|
152
|
-
c.value ? (l(), i("div", V, [
|
|
153
|
-
t[12] || (t[12] = e("p", { class: "home__autofill-label" }, "Applied image event received", -1)),
|
|
154
150
|
e("p", P, p(c.value), 1)
|
|
155
|
-
])) :
|
|
156
|
-
|
|
157
|
-
e("p",
|
|
158
|
-
e("
|
|
159
|
-
])) :
|
|
151
|
+
])) : m("", !0),
|
|
152
|
+
d.value ? (l(), i("div", V, [
|
|
153
|
+
t[12] || (t[12] = e("p", { class: "home__autofill-label" }, "Applied image event received", -1)),
|
|
154
|
+
e("p", j, p(d.value), 1)
|
|
155
|
+
])) : m("", !0),
|
|
156
|
+
n.value ? (l(), i("div", F, [
|
|
157
|
+
e("p", G, "Last Apply Event: " + p(n.value), 1),
|
|
158
|
+
e("pre", U, p(JSON.stringify(r.value, null, 2)), 1)
|
|
159
|
+
])) : m("", !0)
|
|
160
160
|
])
|
|
161
161
|
]));
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
|
-
const
|
|
164
|
+
const X = /* @__PURE__ */ R(Y, [["__scopeId", "data-v-b271b30b"]]);
|
|
165
165
|
export {
|
|
166
|
-
|
|
166
|
+
X as default
|
|
167
167
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent as s, computed as o, openBlock as i, createElementBlock as l, normalizeClass as t, createElementVNode as p, unref as u, createCommentVNode as d } from "vue";
|
|
2
|
+
import { u as y, R as _ } from "./app-4ef188fd.js";
|
|
3
|
+
import "pinia";
|
|
4
|
+
import "@feedmepos/mf-common";
|
|
5
|
+
import "vue-router";
|
|
6
|
+
const f = ["src"], v = /* @__PURE__ */ s({
|
|
7
|
+
__name: "RemyButton",
|
|
8
|
+
emits: ["click"],
|
|
9
|
+
setup(g, { emit: n }) {
|
|
10
|
+
const r = n, e = y(), c = o(() => e.showRemy), m = o(() => e.dialogShowing);
|
|
11
|
+
function a() {
|
|
12
|
+
r("click");
|
|
13
|
+
}
|
|
14
|
+
return (h, k) => c.value ? (i(), l("button", {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: t(["bg-fm-color-neutral-gray-100 rounded-lg p-[6px]"]),
|
|
17
|
+
type: "button",
|
|
18
|
+
onClick: a
|
|
19
|
+
}, [
|
|
20
|
+
p("img", {
|
|
21
|
+
src: u(_),
|
|
22
|
+
alt: "Remy",
|
|
23
|
+
class: t(["h-6 w-6 rounded", { "opacity-80": m.value }])
|
|
24
|
+
}, null, 10, f)
|
|
25
|
+
])) : d("", !0);
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
v as default
|
|
30
|
+
};
|