@feedmepos/mf-miniprogram-v2 0.1.0-dev.4 → 0.1.0-dev.5
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.
|
@@ -6509,12 +6509,12 @@ const ml = { class: "min-w-0 flex-1 truncate text-[11px] leading-[16px] text-fm-
|
|
|
6509
6509
|
}
|
|
6510
6510
|
}), $l = { class: "flex h-full min-w-0 flex-col bg-fm-color-neutral-white" }, Dl = { class: "flex shrink-0 items-center gap-8 border-b border-fm-color-neutral-gray-100 px-12 py-8 max-[900px]:flex-wrap" }, zl = ["href"], Bl = {
|
|
6511
6511
|
key: 0,
|
|
6512
|
-
class: "
|
|
6513
|
-
}, Ul = { class: "flex items-center justify-between gap-12
|
|
6514
|
-
key:
|
|
6512
|
+
class: "preview__annotation-panel flex flex-col overflow-hidden rounded-lg border border-fm-color-neutral-gray-200 bg-fm-color-neutral-white shadow-lg"
|
|
6513
|
+
}, Ul = { class: "flex items-center justify-between gap-12 border-b border-fm-color-neutral-gray-100 px-12 py-8" }, Fl = { class: "min-w-0 truncate fm-typo-en-body-sm-600 text-fm-color-typo-primary" }, jl = { class: "flex shrink-0 items-center gap-6" }, Hl = { class: "flex min-h-0 flex-col gap-8 overflow-y-auto p-12" }, Gl = { class: "flex min-w-0 items-center gap-6" }, Wl = { class: "shrink-0 rounded-full bg-fm-color-neutral-gray-100 px-8 py-2 fm-typo-en-body-xs-600 text-fm-color-typo-secondary" }, ql = { class: "min-w-0 flex-1 truncate fm-typo-en-body-sm-400 text-fm-color-typo-primary" }, Zl = ["onUpdate:modelValue"], Kl = {
|
|
6514
|
+
key: 1,
|
|
6515
6515
|
class: "preview__device-wrap"
|
|
6516
6516
|
}, Vl = { class: "preview__device" }, Yl = ["src"], Xl = {
|
|
6517
|
-
key:
|
|
6517
|
+
key: 2,
|
|
6518
6518
|
class: "preview__placeholder"
|
|
6519
6519
|
}, sn = 20, Ql = 0.35, Jl = /* @__PURE__ */ Ot({
|
|
6520
6520
|
__name: "PreviewPanel",
|
|
@@ -6753,62 +6753,62 @@ Use these preview annotations to make the requested UI changes. The hidden comme
|
|
|
6753
6753
|
}, null, 8, ["color"])
|
|
6754
6754
|
], 10, zl)
|
|
6755
6755
|
]),
|
|
6756
|
-
i.value.length ? (C(), H("section", Bl, [
|
|
6757
|
-
_("div", Ul, [
|
|
6758
|
-
_("span", Fl, Z(i.value.length) + " annotation" + Z(i.value.length === 1 ? "" : "s"), 1),
|
|
6759
|
-
_("div", jl, [
|
|
6760
|
-
oe(X, {
|
|
6761
|
-
size: "md",
|
|
6762
|
-
variant: "tertiary",
|
|
6763
|
-
label: "Clear",
|
|
6764
|
-
onClick: B
|
|
6765
|
-
}),
|
|
6766
|
-
oe(X, {
|
|
6767
|
-
size: "md",
|
|
6768
|
-
label: "Send to Agent",
|
|
6769
|
-
disabled: !L.value,
|
|
6770
|
-
loading: t.chat.sending,
|
|
6771
|
-
onClick: v
|
|
6772
|
-
}, null, 8, ["disabled", "loading"])
|
|
6773
|
-
])
|
|
6774
|
-
]),
|
|
6775
|
-
_("div", Hl, [
|
|
6776
|
-
(C(!0), H(Ke, null, it(i.value, (re) => {
|
|
6777
|
-
var Fe;
|
|
6778
|
-
return C(), H("div", {
|
|
6779
|
-
key: re.id,
|
|
6780
|
-
class: "flex min-w-0 flex-col gap-6 rounded-lg border border-fm-color-neutral-gray-200 bg-fm-color-neutral-white p-8"
|
|
6781
|
-
}, [
|
|
6782
|
-
_("div", Gl, [
|
|
6783
|
-
_("span", Wl, "#" + Z(re.id), 1),
|
|
6784
|
-
_("span", ql, Z(S(((Fe = re.payload) == null ? void 0 : Fe.element) ?? null)), 1),
|
|
6785
|
-
_("span", {
|
|
6786
|
-
class: Te(["shrink-0 rounded-full px-8 py-2 fm-typo-en-body-xs-600", J(re.status)])
|
|
6787
|
-
}, Z(re.status), 3),
|
|
6788
|
-
oe(X, {
|
|
6789
|
-
size: "md",
|
|
6790
|
-
variant: "tertiary",
|
|
6791
|
-
label: "Remove",
|
|
6792
|
-
onClick: (Ue) => k(re.id)
|
|
6793
|
-
}, null, 8, ["onClick"])
|
|
6794
|
-
]),
|
|
6795
|
-
ps(_("textarea", {
|
|
6796
|
-
"onUpdate:modelValue": (Ue) => re.feedback = Ue,
|
|
6797
|
-
rows: "2",
|
|
6798
|
-
placeholder: "Describe what should change here…",
|
|
6799
|
-
class: "min-h-[40px] max-h-[96px] w-full resize-y rounded-lg border border-fm-color-neutral-gray-200 bg-fm-color-neutral-white px-10 py-8 fm-typo-en-body-sm-400 text-fm-color-typo-primary outline-none transition placeholder:text-fm-color-typo-tertiary focus:border-fm-color-primary"
|
|
6800
|
-
}, null, 8, Zl), [
|
|
6801
|
-
[fs, re.feedback]
|
|
6802
|
-
])
|
|
6803
|
-
]);
|
|
6804
|
-
}), 128))
|
|
6805
|
-
])
|
|
6806
|
-
])) : de("", !0),
|
|
6807
6756
|
_("div", {
|
|
6808
6757
|
ref_key: "previewBodyEl",
|
|
6809
6758
|
ref: l,
|
|
6810
6759
|
class: "preview__body"
|
|
6811
6760
|
}, [
|
|
6761
|
+
i.value.length ? (C(), H("section", Bl, [
|
|
6762
|
+
_("div", Ul, [
|
|
6763
|
+
_("span", Fl, Z(i.value.length) + " annotation" + Z(i.value.length === 1 ? "" : "s"), 1),
|
|
6764
|
+
_("div", jl, [
|
|
6765
|
+
oe(X, {
|
|
6766
|
+
size: "md",
|
|
6767
|
+
variant: "tertiary",
|
|
6768
|
+
label: "Clear",
|
|
6769
|
+
onClick: B
|
|
6770
|
+
}),
|
|
6771
|
+
oe(X, {
|
|
6772
|
+
size: "md",
|
|
6773
|
+
label: "Send to Agent",
|
|
6774
|
+
disabled: !L.value,
|
|
6775
|
+
loading: t.chat.sending,
|
|
6776
|
+
onClick: v
|
|
6777
|
+
}, null, 8, ["disabled", "loading"])
|
|
6778
|
+
])
|
|
6779
|
+
]),
|
|
6780
|
+
_("div", Hl, [
|
|
6781
|
+
(C(!0), H(Ke, null, it(i.value, (re) => {
|
|
6782
|
+
var Fe;
|
|
6783
|
+
return C(), H("div", {
|
|
6784
|
+
key: re.id,
|
|
6785
|
+
class: "flex min-w-0 flex-col gap-6 rounded-lg border border-fm-color-neutral-gray-200 bg-fm-color-neutral-white p-8"
|
|
6786
|
+
}, [
|
|
6787
|
+
_("div", Gl, [
|
|
6788
|
+
_("span", Wl, "#" + Z(re.id), 1),
|
|
6789
|
+
_("span", ql, Z(S(((Fe = re.payload) == null ? void 0 : Fe.element) ?? null)), 1),
|
|
6790
|
+
_("span", {
|
|
6791
|
+
class: Te(["shrink-0 rounded-full px-8 py-2 fm-typo-en-body-xs-600", J(re.status)])
|
|
6792
|
+
}, Z(re.status), 3),
|
|
6793
|
+
oe(X, {
|
|
6794
|
+
size: "md",
|
|
6795
|
+
variant: "tertiary",
|
|
6796
|
+
label: "Remove",
|
|
6797
|
+
onClick: (Ue) => k(re.id)
|
|
6798
|
+
}, null, 8, ["onClick"])
|
|
6799
|
+
]),
|
|
6800
|
+
ps(_("textarea", {
|
|
6801
|
+
"onUpdate:modelValue": (Ue) => re.feedback = Ue,
|
|
6802
|
+
rows: "2",
|
|
6803
|
+
placeholder: "Describe what should change here…",
|
|
6804
|
+
class: "min-h-[40px] max-h-[96px] w-full resize-y rounded-lg border border-fm-color-neutral-gray-200 bg-fm-color-neutral-white px-10 py-8 fm-typo-en-body-sm-400 text-fm-color-typo-primary outline-none transition placeholder:text-fm-color-typo-tertiary focus:border-fm-color-primary"
|
|
6805
|
+
}, null, 8, Zl), [
|
|
6806
|
+
[fs, re.feedback]
|
|
6807
|
+
])
|
|
6808
|
+
]);
|
|
6809
|
+
}), 128))
|
|
6810
|
+
])
|
|
6811
|
+
])) : de("", !0),
|
|
6812
6812
|
e.chat.previewUrl ? (C(), H("div", Kl, [
|
|
6813
6813
|
_("div", {
|
|
6814
6814
|
class: "preview__device-stage",
|
|
@@ -6858,7 +6858,7 @@ Use these preview annotations to make the requested UI changes. The hidden comme
|
|
|
6858
6858
|
]);
|
|
6859
6859
|
};
|
|
6860
6860
|
}
|
|
6861
|
-
}), ec = /* @__PURE__ */ Kn(Jl, [["__scopeId", "data-v-
|
|
6861
|
+
}), ec = /* @__PURE__ */ Kn(Jl, [["__scopeId", "data-v-214960ee"]]), tc = { class: "flex justify-end gap-8" }, nc = /* @__PURE__ */ Ot({
|
|
6862
6862
|
__name: "RenameSessionDialog",
|
|
6863
6863
|
props: {
|
|
6864
6864
|
initialTitle: {}
|
package/dist/app.js
CHANGED