@blueking/ai-blueking 0.4.3 → 0.4.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/ai-blueking-new.vue.d.ts +65 -0
- package/dist/components-new/ai-cite.vue.d.ts +21 -0
- package/dist/components-new/ai-header.vue.d.ts +21 -0
- package/dist/components-new/ai-selected-box.vue.d.ts +22 -0
- package/dist/components-new/bar-button.vue.d.ts +23 -0
- package/dist/components-new/chat-input-box.vue.d.ts +32 -0
- package/dist/components-new/delete-confirm.vue.d.ts +21 -0
- package/dist/components-new/prompt-list.vue.d.ts +29 -0
- package/dist/components-new/render-message.vue.d.ts +49 -0
- package/dist/components-new/render-popup.vue.d.ts +21 -0
- package/dist/components-new/shortcuts-bar.vue.d.ts +20 -0
- package/dist/components-new/text-editor.vue.d.ts +57 -0
- package/dist/composables/use-input-interaction.d.ts +29 -0
- package/dist/composables/use-main-container.d.ts +12 -0
- package/dist/composables/use-nimbus.d.ts +21 -0
- package/dist/composables/use-resizable-container.d.ts +35 -0
- package/dist/composables/use-textarea-height.d.ts +20 -0
- package/dist/composables/use-tippy.d.ts +25 -0
- package/dist/utils/delete-confirm.d.ts +20 -0
- package/dist/utils/index.d.ts +43 -0
- package/dist/views/nimbus.vue.d.ts +21 -0
- package/dist/vue2/index.es.min.js +1138 -1441
- package/dist/vue2/index.iife.min.js +70 -70
- package/dist/vue2/index.umd.min.js +26 -26
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/index.es.min.js +5 -7
- package/dist/vue3/index.iife.min.js +44 -44
- package/dist/vue3/index.umd.min.js +2 -2
- package/dist/vue3/style.css +1 -1
- package/package.json +1 -1
- package/dist/composables/use-bk-ai.d.ts +0 -22
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var Re = Object.defineProperty;
|
|
2
2
|
var Ae = (o, l, e) => l in o ? Re(o, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[l] = e;
|
|
3
|
-
var X = (o, l, e) =>
|
|
4
|
-
import { Popover as De, Input as ke,
|
|
5
|
-
import { inject as Ue, ref as Y, onMounted as ae, onBeforeUnmount as ce, defineComponent as F, withDirectives as j,
|
|
3
|
+
var X = (o, l, e) => Ae(o, typeof l != "symbol" ? l + "" : l, e);
|
|
4
|
+
import { Popover as De, Input as ke, bkTooltips as me, Exception as Ie, clickoutside as Ye, Tag as Xe, Alert as ye, Button as qe, Message as we, Select as Me, provideGlobalConfig as Fe } from "bkui-vue";
|
|
5
|
+
import { inject as Ue, ref as Y, onMounted as ae, onBeforeUnmount as ce, defineComponent as F, withDirectives as j, createElementBlock as f, openBlock as p, createElementVNode as h, createCommentVNode as P, toDisplayString as A, unref as u, vShow as Se, createTextVNode as te, pushScopeId as re, popScopeId as de, computed as Q, normalizeStyle as Z, normalizeClass as _, createVNode as I, Fragment as U, watch as xe, createBlock as K, withCtx as $, renderList as oe, nextTick as Ce, mergeProps as ze, normalizeProps as Ke, withModifiers as q, onBeforeMount as We, renderSlot as je, provide as Qe } from "vue";
|
|
6
6
|
import se from "dayjs";
|
|
7
7
|
import Le from "highlight.js";
|
|
8
8
|
import Ge from "markdown-it";
|
|
@@ -1069,8 +1069,7 @@ const pt = /* @__PURE__ */ F({
|
|
|
1069
1069
|
const { top: R, bottom: N, left: G, right: O } = c.value;
|
|
1070
1070
|
(i.width - G - O < e.sizeLimit.width || G < e.positionLimit.left || O < e.positionLimit.right) && (["move", "leftDrag", "topLeftDrag", "bottomLeftDrag"].includes(t.type) && (c.value.left -= d), ["move", "rightDrag", "topRightDrag", "bottomRightDrag"].includes(t.type) && (c.value.right += d)), (i.height - R - N < e.sizeLimit.height || R < e.positionLimit.top || N < e.positionLimit.bottom) && (["move", "topDrag", "topRightDrag", "topLeftDrag"].includes(t.type) && (c.value.top -= x), ["move", "bottomDrag", "bottomLeftDrag", "bottomRightDrag"].includes(t.type) && (c.value.bottom += x));
|
|
1071
1071
|
}, b = (d) => {
|
|
1072
|
-
if (!t.isMove)
|
|
1073
|
-
return;
|
|
1072
|
+
if (!t.isMove) return;
|
|
1074
1073
|
d.preventDefault();
|
|
1075
1074
|
const x = d.clientX - t.clientX, R = d.clientY - t.clientY;
|
|
1076
1075
|
v(x, R), w(x, R), t.clientX = d.clientX, t.clientY = d.clientY;
|
|
@@ -1452,8 +1451,7 @@ const pt = /* @__PURE__ */ F({
|
|
|
1452
1451
|
}, S = (r, k) => {
|
|
1453
1452
|
n("stop"), n("update:isShow", !0);
|
|
1454
1453
|
const a = ie.find((B) => B.key === r);
|
|
1455
|
-
if (!a)
|
|
1456
|
-
return;
|
|
1454
|
+
if (!a) return;
|
|
1457
1455
|
const v = a.prompt, w = a.label, b = fe(v, k);
|
|
1458
1456
|
b && n("send", {
|
|
1459
1457
|
cite: k,
|