@aleph-alpha/chat-kit 6.2.0 → 6.3.0
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/{CkHistory.vue_vue_type_script_setup_true_lang-DPCpIxWc.js → CkHistory.vue_vue_type_script_setup_true_lang-gV-lp0ZB.js} +345 -164
- package/dist/chat-kit.css +111 -28
- package/dist/code-palette-DAJUTnR-.js +21598 -0
- package/dist/components/base/CkCodeEditor/CkCodeEditor.stories.d.ts +43 -0
- package/dist/components/base/CkCodeEditor/CkCodeEditor.stories.d.ts.map +1 -0
- package/dist/components/base/CkCodeEditor/CkCodeEditor.vue.d.ts +39 -0
- package/dist/components/base/CkCodeEditor/CkCodeEditor.vue.d.ts.map +1 -0
- package/dist/components/base/CkCodeEditor/createCodeMirror.d.ts +44 -0
- package/dist/components/base/CkCodeEditor/createCodeMirror.d.ts.map +1 -0
- package/dist/components/base/CkCodeEditor/index.d.ts +3 -0
- package/dist/components/base/CkCodeEditor/index.d.ts.map +1 -0
- package/dist/components/base/CkCodeEditor/types.d.ts +129 -0
- package/dist/components/base/CkCodeEditor/types.d.ts.map +1 -0
- package/dist/components/base/CkMilkdownEditor/CkMilkdownEditor.stories.d.ts +6 -0
- package/dist/components/base/CkMilkdownEditor/CkMilkdownEditor.stories.d.ts.map +1 -1
- package/dist/components/base/CkMilkdownEditor/CkMilkdownEditor.vue.d.ts +1 -0
- package/dist/components/base/CkMilkdownEditor/CkMilkdownEditor.vue.d.ts.map +1 -1
- package/dist/components/base/CkMilkdownEditor/createCrepeEditor.d.ts +1 -0
- package/dist/components/base/CkMilkdownEditor/createCrepeEditor.d.ts.map +1 -1
- package/dist/components/base/CkMilkdownEditor/types.d.ts +8 -0
- package/dist/components/base/CkMilkdownEditor/types.d.ts.map +1 -1
- package/dist/components/base/index.d.ts +2 -0
- package/dist/components/base/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +27 -26
- package/dist/createCodeMirror-BkV6FEPn.js +101 -0
- package/dist/{createCrepeEditor-C9seqnzm.js → createCrepeEditor-Ci5FHHIV.js} +1433 -24739
- package/dist/handlers/index.js +1 -1
- package/dist/handlers/useChatKitLabels.d.ts +6 -0
- package/dist/handlers/useChatKitLabels.d.ts.map +1 -1
- package/dist/{components/base/CkMilkdownEditor/codeMirrorTheme.d.ts → helpers/codemirror/theme.d.ts} +1 -1
- package/dist/helpers/codemirror/theme.d.ts.map +1 -0
- package/dist/{index-DzpUblMx.js → index-B2tew8uf.js} +3 -3
- package/dist/{index-DLZcs4H8.js → index-BLVAx_f8.js} +2 -2
- package/dist/{index-CHtY7ztn.js → index-BUCqcTPA.js} +2 -2
- package/dist/{index-8mYiDHFC.js → index-BhvbqYsK.js} +2 -2
- package/dist/{index-B0nlcqqF.js → index-BoUJGvvQ.js} +2 -2
- package/dist/{index-U4LYutvz.js → index-BtY1uxn6.js} +3 -2
- package/dist/{index-C5UC1wP7.js → index-BvG6l44n.js} +3 -2
- package/dist/{index-D85elIIr.js → index-CB6xZVsf.js} +2 -2
- package/dist/{index-DbVRgXxM.js → index-CIF93PZF.js} +3 -3
- package/dist/{index-reQfKGuJ.js → index-CN8d3yl1.js} +1 -1
- package/dist/{index-By7WdPbk.js → index-CYk7AB8M.js} +4 -4
- package/dist/{index-DO8xk00f.js → index-Cxs6kPho.js} +3 -3
- package/dist/index-D6ftdiLa.js +1825 -0
- package/dist/{index-DXTRMb09.js → index-DgCcFC3N.js} +3 -3
- package/dist/{index-Bxg0Q_mk.js → index-DhwsowEf.js} +2 -2
- package/dist/{index-C90_LSx6.js → index-Dl24CCB3.js} +4 -4
- package/dist/{index-eZunhxNH.js → index-DqGDenO9.js} +2 -2
- package/dist/{index-DfvAv_Y2.js → index-DufAP1JF.js} +3 -2
- package/dist/{index-VbqLf82s.js → index-DxTzaHLr.js} +4 -4
- package/dist/{index-CFdcEeXx.js → index-MfXW4ZyN.js} +3 -2
- package/dist/{index-6PiPEjJd.js → index-ZHg2R9iD.js} +3 -2
- package/dist/{index-DNxEOsDD.js → index-gYt3E3Cp.js} +2 -2
- package/dist/{index-DINJn4Mn.js → index-w2yzH7vs.js} +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +29 -28
- package/dist/{useChatKitLabels-Bz58tas9.js → useChatKitLabels-CatQSpfL.js} +2 -0
- package/package.json +5 -3
- package/src/components/base/CkCodeEditor/CkCodeEditor.spec.ts +223 -0
- package/src/components/base/CkCodeEditor/CkCodeEditor.stories.ts +311 -0
- package/src/components/base/CkCodeEditor/CkCodeEditor.vue +238 -0
- package/src/components/base/CkCodeEditor/createCodeMirror.ts +188 -0
- package/src/components/base/CkCodeEditor/index.ts +2 -0
- package/src/components/base/CkCodeEditor/types.ts +128 -0
- package/src/components/base/CkMilkdownEditor/CkMilkdownEditor.spec.ts +13 -0
- package/src/components/base/CkMilkdownEditor/CkMilkdownEditor.stories.ts +34 -0
- package/src/components/base/CkMilkdownEditor/CkMilkdownEditor.vue +3 -1
- package/src/components/base/CkMilkdownEditor/createCrepeEditor.ts +2 -1
- package/src/components/base/CkMilkdownEditor/milkdown-theme.css +39 -26
- package/src/components/base/CkMilkdownEditor/types.ts +8 -0
- package/src/components/base/index.ts +6 -0
- package/src/components/index.ts +4 -0
- package/src/handlers/useChatKitLabels.ts +6 -0
- package/src/helpers/codemirror/code-palette.css +49 -0
- package/src/{components/base/CkMilkdownEditor/codeMirrorTheme.ts → helpers/codemirror/theme.ts} +23 -12
- package/src/index.ts +4 -0
- package/dist/components/base/CkMilkdownEditor/codeMirrorTheme.d.ts.map +0 -1
package/dist/handlers/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u } from "../useMessageHandler-nnsort0-.js";
|
|
2
|
-
import { C, d, n, p, r, a, u as u2, b } from "../useChatKitLabels-
|
|
2
|
+
import { C, d, n, p, r, a, u as u2, b } from "../useChatKitLabels-CatQSpfL.js";
|
|
3
3
|
export {
|
|
4
4
|
C as CHAT_KIT_LABELS,
|
|
5
5
|
d as defaultChatKitLabels,
|
|
@@ -109,6 +109,10 @@ export type ChatKitLabels = {
|
|
|
109
109
|
* set and more conversations exist than the limit.
|
|
110
110
|
*/
|
|
111
111
|
historyShowAll?: string;
|
|
112
|
+
/** Accessible name of the copy button in the `CkCodeEditor` header. */
|
|
113
|
+
codeEditorCopy?: string;
|
|
114
|
+
/** Accessible name of the `CkCodeEditor` copy button just after a copy. */
|
|
115
|
+
codeEditorCopied?: string;
|
|
112
116
|
/** Accessible name of the "Bold" button in the `CkMilkdownEditor` toolbar. */
|
|
113
117
|
markdownEditorBold?: string;
|
|
114
118
|
/** Accessible name of the "Italic" button in the `CkMilkdownEditor` toolbar. */
|
|
@@ -163,6 +167,8 @@ export declare const defaultChatKitLabels: {
|
|
|
163
167
|
historyItemEditAction: string;
|
|
164
168
|
historyItemDeleteAction: string;
|
|
165
169
|
historyShowAll: string;
|
|
170
|
+
codeEditorCopy: string;
|
|
171
|
+
codeEditorCopied: string;
|
|
166
172
|
markdownEditorBold: string;
|
|
167
173
|
markdownEditorItalic: string;
|
|
168
174
|
markdownEditorStrikethrough: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChatKitLabels.d.ts","sourceRoot":"","sources":["../../src/handlers/useChatKitLabels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG1D;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,0CAA0C;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,qBAAqB,EAAE,MAAM,CAAC;IAC9B,gDAAgD;IAChD,gBAAgB,EAAE,MAAM,CAAC;IACzB,sFAAsF;IACtF,iBAAiB,EAAE,MAAM,CAAC;IAC1B,4FAA4F;IAC5F,uBAAuB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CAAC,MAAM,aAAa,CAAC,CAAC;AAE1B;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,CAKjE;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,IAAI,WAAW,CAAC,aAAa,CAAC,CAK7D"}
|
package/dist/{components/base/CkMilkdownEditor/codeMirrorTheme.d.ts → helpers/codemirror/theme.d.ts}
RENAMED
|
@@ -17,4 +17,4 @@ export declare const ckHighlightStyle: HighlightStyle;
|
|
|
17
17
|
* {@link ckHighlightStyle}. Pass it as the Crepe `CodeMirror` feature `theme`.
|
|
18
18
|
*/
|
|
19
19
|
export declare const ckCodeMirrorTheme: Extension;
|
|
20
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/helpers/codemirror/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAsB,MAAM,sBAAsB,CAAC;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAInD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,2FAC6D,CAAC;AAO3F;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,gBAiE3B,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,SAgD/B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as EditorView,
|
|
2
|
-
import { html } from "./index-
|
|
3
|
-
import { L as LRParser, E as ExternalTokenizer } from "./index-
|
|
1
|
+
import { E as EditorView, x as EditorSelection, q as LanguageSupport, y as parseMixed, w as syntaxTree, L as LRLanguage, u as styleTags, v as tags, r as indentNodeProp, z as delimitedIndent, t as foldNodeProp } from "./code-palette-DAJUTnR-.js";
|
|
2
|
+
import { html } from "./index-DxTzaHLr.js";
|
|
3
|
+
import { L as LRParser, E as ExternalTokenizer } from "./index-CN8d3yl1.js";
|
|
4
4
|
const interpolationStart = 1, tagStart = 2, endTagStart = 3, text = 180, endrawTagStart = 4, rawText = 181, endcommentTagStart = 5, commentText = 182, InlineComment = 6;
|
|
5
5
|
function wordChar(code) {
|
|
6
6
|
return code >= 65 && code <= 90 || code >= 97 && code <= 122;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as LRParser } from "./index-
|
|
1
|
+
import { q as LanguageSupport, L as LRLanguage, r as indentNodeProp, z as delimitedIndent, t as foldNodeProp, A as foldInside, u as styleTags, v as tags } from "./code-palette-DAJUTnR-.js";
|
|
2
|
+
import { L as LRParser } from "./index-CN8d3yl1.js";
|
|
3
3
|
const spec_Keyword = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 };
|
|
4
4
|
const parser = /* @__PURE__ */ LRParser.deserialize({
|
|
5
5
|
version: 14,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-CN8d3yl1.js";
|
|
2
|
+
import { u as styleTags, v as tags, E as EditorView, w as syntaxTree, x as EditorSelection, q as LanguageSupport, L as LRLanguage, r as indentNodeProp, t as foldNodeProp, af as bracketMatchingHandle } from "./code-palette-DAJUTnR-.js";
|
|
3
3
|
const StartTag = 1, StartCloseTag = 2, MissingCloseTag = 3, mismatchedStartCloseTag = 4, incompleteStartCloseTag = 5, commentContent$1 = 36, piContent$1 = 37, cdataContent$1 = 38, Element$1 = 11, OpenTag = 13;
|
|
4
4
|
function nameChar(ch) {
|
|
5
5
|
return ch == 45 || ch == 46 || ch == 58 || ch >= 65 && ch <= 90 || ch == 95 || ch >= 97 && ch <= 122 || ch >= 161;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-CN8d3yl1.js";
|
|
2
|
+
import { u as styleTags, v as tags$1, q as LanguageSupport, L as LRLanguage, r as indentNodeProp, s as continuedIndent, t as foldNodeProp, A as foldInside, w as syntaxTree, a6 as NodeWeakMap, a4 as IterMode } from "./code-palette-DAJUTnR-.js";
|
|
3
3
|
const descendantOp = 148, Unit = 1, identifier$1 = 149, callee = 150, VariableName = 2, queryIdentifier = 151, queryVariableName = 3, QueryCallee = 4;
|
|
4
4
|
const space = [
|
|
5
5
|
9,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-CN8d3yl1.js";
|
|
2
|
+
import { u as styleTags, v as tags, q as LanguageSupport, L as LRLanguage, r as indentNodeProp, a5 as flatIndent, s as continuedIndent, z as delimitedIndent, t as foldNodeProp, A as foldInside } from "./code-palette-DAJUTnR-.js";
|
|
3
3
|
const RawString = 1, templateArgsEndFallback = 2, MacroName = 3;
|
|
4
4
|
const R = 82, L = 76, u = 117, U = 85, a = 97, z = 122, A = 65, Z = 90, Underscore = 95, Zero = 48, Quote = 34, ParenL = 40, ParenR = 41, Space = 32, GreaterThan = 62;
|
|
5
5
|
const rawString = new ExternalTokenizer((input) => {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-CN8d3yl1.js";
|
|
2
|
+
import { u as styleTags, v as tags, q as LanguageSupport, L as LRLanguage, r as indentNodeProp, a5 as flatIndent, s as continuedIndent, z as delimitedIndent, t as foldNodeProp, A as foldInside, w as syntaxTree, a6 as NodeWeakMap, a4 as IterMode } from "./code-palette-DAJUTnR-.js";
|
|
3
|
+
import { i as ifNotIn, c as completeFromList, s as snippetCompletion } from "./index-D6ftdiLa.js";
|
|
3
4
|
const insertedSemi = 177, space$1 = 179, identifier = 184, String = 12, closeParen$1 = 13, Number = 17, Rune = 20, closeBrace$1 = 25, closeBracket = 53, IncDecOp = 95, _return = 142, _break = 144, _continue = 145, fallthrough = 148;
|
|
4
5
|
const newline = 10, carriageReturn = 13, space = 32, tab = 9, slash = 47, closeParen = 41, closeBrace = 125;
|
|
5
6
|
const semicolon = new ExternalTokenizer((input, stack) => {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { _ as Parser, a0 as NodeType, a2 as NodeProp, a7 as Tag, $ as NodeSet, u as styleTags, a3 as Tree, y as parseMixed, v as tags, w as syntaxTree, x as EditorSelection, a8 as countColumn, q as LanguageSupport, P as Prec, k as keymap, E as EditorView, a9 as Language, j as indentUnit, aa as foldService, ab as defineLanguageFacet, a as EditorState, t as foldNodeProp, r as indentNodeProp, ac as languageDataProp, ad as LanguageDescription, ae as ParseContext } from "./code-palette-DAJUTnR-.js";
|
|
2
|
+
import { C as CompletionContext } from "./index-D6ftdiLa.js";
|
|
3
|
+
import { html, htmlCompletionSource } from "./index-DxTzaHLr.js";
|
|
3
4
|
class CompositeBlock {
|
|
4
5
|
static create(type, value, from, parentHash, end) {
|
|
5
6
|
let hash = parentHash + (parentHash << 8) + type + (value << 4) | 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LRParser } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { L as LRParser } from "./index-CN8d3yl1.js";
|
|
2
|
+
import { u as styleTags, v as tags, q as LanguageSupport, L as LRLanguage, r as indentNodeProp, s as continuedIndent, t as foldNodeProp, A as foldInside } from "./code-palette-DAJUTnR-.js";
|
|
3
3
|
const jsonHighlighting = styleTags({
|
|
4
4
|
String: tags.string,
|
|
5
5
|
Number: tags.number,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineCSSCompletionSource } from "./index-
|
|
3
|
-
import { L as LRParser, E as ExternalTokenizer } from "./index-
|
|
1
|
+
import { q as LanguageSupport, L as LRLanguage, r as indentNodeProp, s as continuedIndent, t as foldNodeProp, A as foldInside, u as styleTags, v as tags } from "./code-palette-DAJUTnR-.js";
|
|
2
|
+
import { defineCSSCompletionSource } from "./index-BhvbqYsK.js";
|
|
3
|
+
import { L as LRParser, E as ExternalTokenizer } from "./index-CN8d3yl1.js";
|
|
4
4
|
const descendantOp = 110, Unit = 1, openArgList = 2;
|
|
5
5
|
const space = [
|
|
6
6
|
9,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as Parser, $ as NodeSet, a0 as NodeType, a1 as DefaultBufferLength, a2 as NodeProp, a3 as Tree, a4 as IterMode } from "./code-palette-DAJUTnR-.js";
|
|
2
2
|
class Stack {
|
|
3
3
|
/**
|
|
4
4
|
@internal
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { L as LRLanguage,
|
|
2
|
-
import { html } from "./index-
|
|
3
|
-
import { javascriptLanguage } from "./index-
|
|
4
|
-
import { L as LRParser, E as ExternalTokenizer } from "./index-
|
|
1
|
+
import { L as LRLanguage, q as LanguageSupport, y as parseMixed, u as styleTags, v as tags } from "./code-palette-DAJUTnR-.js";
|
|
2
|
+
import { html } from "./index-DxTzaHLr.js";
|
|
3
|
+
import { javascriptLanguage } from "./index-DufAP1JF.js";
|
|
4
|
+
import { L as LRParser, E as ExternalTokenizer } from "./index-CN8d3yl1.js";
|
|
5
5
|
const Text = 1, attributeContentSingle = 33, attributeContentDouble = 34, scriptAttributeContentSingle = 35, scriptAttributeContentDouble = 36;
|
|
6
6
|
const text = /* @__PURE__ */ new ExternalTokenizer((input) => {
|
|
7
7
|
let start = input.pos;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
import { defineCSSCompletionSource } from "./index-
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-CN8d3yl1.js";
|
|
2
|
+
import { u as styleTags, v as tags, q as LanguageSupport, L as LRLanguage, t as foldNodeProp, A as foldInside, r as indentNodeProp, s as continuedIndent } from "./code-palette-DAJUTnR-.js";
|
|
3
|
+
import { defineCSSCompletionSource } from "./index-BhvbqYsK.js";
|
|
4
4
|
const indent = 168, dedent = 169, descendantOp = 170, InterpolationEnd = 1, InterpolationContinue = 2, Unit = 3, callee = 171, identifier = 172, VariableName = 4, queryIdentifier = 173, InterpolationStart = 5, newline = 174, blankLineStart = 175, eof = 176, whitespace = 177, LineComment = 6, Comment = 7, IndentedMixin = 8, IndentedInclude = 9, Dialect_indented = 0;
|
|
5
5
|
const space = [
|
|
6
6
|
9,
|