@codex-app-sdk/vue 0.21.3 → 0.21.4
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/chat/ChatQueuedPrompt.vue.d.ts.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatQueuedPrompt.vue.d.ts","sourceRoot":"","sources":["../../src/chat/ChatQueuedPrompt.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatQueuedPrompt.vue.d.ts","sourceRoot":"","sources":["../../src/chat/ChatQueuedPrompt.vue"],"names":[],"mappings":"AAyHA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAKzD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,gBAAgB,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAyKF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
package/dist/index.js
CHANGED
|
@@ -5291,8 +5291,8 @@ var Ws = /*#__PURE__*/ $(Vs, [["render", Us], ["__scopeId", "data-v-65051749"]])
|
|
|
5291
5291
|
"steer"
|
|
5292
5292
|
],
|
|
5293
5293
|
setup(e, { emit: t }) {
|
|
5294
|
-
let n = t;
|
|
5295
|
-
return (t,
|
|
5294
|
+
let n = e, r = t, i = o(() => go(un(n.prompt.text, n.prompt.options?.content).map((e) => "displayName" in e ? e.displayName : e.type === "line-break" ? "\n" : e.text).join("")) || "Attached content");
|
|
5295
|
+
return (t, n) => (k(), s(Ys, {
|
|
5296
5296
|
class: "chat-queued-prompt",
|
|
5297
5297
|
"aria-label": "Queued prompt"
|
|
5298
5298
|
}, {
|
|
@@ -5307,29 +5307,29 @@ var Ws = /*#__PURE__*/ $(Vs, [["render", Us], ["__scopeId", "data-v-65051749"]])
|
|
|
5307
5307
|
"aria-label": "Steer queued prompt now",
|
|
5308
5308
|
title: "Steer now",
|
|
5309
5309
|
disabled: e.steerDisabled,
|
|
5310
|
-
onClick:
|
|
5311
|
-
}, [m(V($e), { "aria-hidden": "true" }),
|
|
5310
|
+
onClick: n[0] ||= (t) => r("steer", e.prompt.id)
|
|
5311
|
+
}, [m(V($e), { "aria-hidden": "true" }), n[3] ||= u("span", null, "Steer", -1)], 8, Qs),
|
|
5312
5312
|
u("button", {
|
|
5313
5313
|
class: "chat-queued-prompt__action",
|
|
5314
5314
|
type: "button",
|
|
5315
5315
|
"aria-label": "Edit queued prompt",
|
|
5316
5316
|
title: "Edit",
|
|
5317
5317
|
disabled: e.editDisabled,
|
|
5318
|
-
onClick:
|
|
5318
|
+
onClick: n[1] ||= (t) => r("edit", e.prompt.id)
|
|
5319
5319
|
}, [m(V(ze), { "aria-hidden": "true" })], 8, $s),
|
|
5320
5320
|
u("button", {
|
|
5321
5321
|
class: "chat-queued-prompt__action",
|
|
5322
5322
|
type: "button",
|
|
5323
5323
|
"aria-label": "Delete queued prompt",
|
|
5324
5324
|
title: "Delete",
|
|
5325
|
-
onClick:
|
|
5325
|
+
onClick: n[2] ||= (t) => r("delete", e.prompt.id)
|
|
5326
5326
|
}, [m(V(it), { "aria-hidden": "true" })])
|
|
5327
5327
|
])]),
|
|
5328
|
-
default: G(() => [u("span", Xs, z(
|
|
5328
|
+
default: G(() => [u("span", Xs, z(i.value), 1)]),
|
|
5329
5329
|
_: 1
|
|
5330
5330
|
}));
|
|
5331
5331
|
}
|
|
5332
|
-
}), [["__scopeId", "data-v-
|
|
5332
|
+
}), [["__scopeId", "data-v-6e2ac32b"]]), tc = /* @__PURE__ */ h({
|
|
5333
5333
|
__name: "ChatQueuedPrompts",
|
|
5334
5334
|
props: {
|
|
5335
5335
|
prompts: {},
|