@aleph-alpha/chat-kit 6.2.0 → 6.4.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-B0WUzTHa.js} +351 -164
- package/dist/chat-kit.css +111 -28
- package/dist/code-palette-DH_G7mZ5.js +21599 -0
- package/dist/components/base/CkCodeEditor/CkCodeEditor.stories.d.ts +49 -0
- package/dist/components/base/CkCodeEditor/CkCodeEditor.stories.d.ts.map +1 -0
- package/dist/components/base/CkCodeEditor/CkCodeEditor.vue.d.ts +40 -0
- package/dist/components/base/CkCodeEditor/CkCodeEditor.vue.d.ts.map +1 -0
- package/dist/components/base/CkCodeEditor/badgeDecoration.d.ts +47 -0
- package/dist/components/base/CkCodeEditor/badgeDecoration.d.ts.map +1 -0
- package/dist/components/base/CkCodeEditor/createCodeMirror.d.ts +48 -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 +149 -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-5iswYetS.js +169 -0
- package/dist/{createCrepeEditor-C9seqnzm.js → createCrepeEditor-C-AQ1w_e.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-DO8xk00f.js → index-ABUMl7H3.js} +3 -3
- package/dist/{index-DfvAv_Y2.js → index-BlIc9r0r.js} +3 -2
- package/dist/{index-VbqLf82s.js → index-BqWO6mvz.js} +4 -4
- package/dist/{index-Bxg0Q_mk.js → index-CFGO7LRz.js} +2 -2
- package/dist/index-CG8e3146.js +1825 -0
- package/dist/{index-C90_LSx6.js → index-CIF4qQzR.js} +4 -4
- package/dist/{index-DXTRMb09.js → index-CR2kGrpY.js} +3 -3
- package/dist/{index-B0nlcqqF.js → index-CWp_t8Wl.js} +2 -2
- package/dist/{index-CHtY7ztn.js → index-D0IZW-Up.js} +2 -2
- package/dist/{index-By7WdPbk.js → index-DKwEe_Tu.js} +4 -4
- package/dist/{index-DINJn4Mn.js → index-DLjsqQHx.js} +3 -3
- package/dist/{index-eZunhxNH.js → index-DPgw0Cf_.js} +2 -2
- package/dist/{index-D85elIIr.js → index-Db5-PJG-.js} +2 -2
- package/dist/{index-CFdcEeXx.js → index-Dbi75pKH.js} +3 -2
- package/dist/{index-8mYiDHFC.js → index-DfLCrnVq.js} +2 -2
- package/dist/{index-6PiPEjJd.js → index-GpSpJ3ti.js} +3 -2
- package/dist/{index-reQfKGuJ.js → index-Mh3WUU-6.js} +1 -1
- package/dist/{index-DLZcs4H8.js → index-QAs789O5.js} +2 -2
- package/dist/{index-DzpUblMx.js → index-S4ylc8JK.js} +3 -3
- package/dist/{index-DbVRgXxM.js → index-XZeturb3.js} +3 -3
- package/dist/{index-U4LYutvz.js → index-g2X42srv.js} +3 -2
- package/dist/{index-DNxEOsDD.js → index-hEJ_Bavx.js} +2 -2
- package/dist/{index-C5UC1wP7.js → index-hbS5PDHj.js} +3 -2
- 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 +4 -2
- package/src/components/base/CkCodeEditor/CkCodeEditor.spec.ts +284 -0
- package/src/components/base/CkCodeEditor/CkCodeEditor.stories.ts +405 -0
- package/src/components/base/CkCodeEditor/CkCodeEditor.vue +244 -0
- package/src/components/base/CkCodeEditor/badgeDecoration.ts +173 -0
- package/src/components/base/CkCodeEditor/createCodeMirror.ts +197 -0
- package/src/components/base/CkCodeEditor/index.ts +2 -0
- package/src/components/base/CkCodeEditor/types.ts +154 -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,C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OAAO,CAAC,aAAa,CAAC,CAAC;AAE5C,yFAAyF;AACzF,KAAK,cAAc,GACf,GAAG,CAAC,aAAa,CAAC,GAClB,WAAW,CAAC,aAAa,CAAC,GAC1B,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 { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-
|
|
2
|
-
import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, f as foldNodeProp,
|
|
3
|
-
import { defineCSSCompletionSource } from "./index-
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-Mh3WUU-6.js";
|
|
2
|
+
import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, f as foldNodeProp, g as foldInside, i as indentNodeProp, c as continuedIndent } from "./code-palette-DH_G7mZ5.js";
|
|
3
|
+
import { defineCSSCompletionSource } from "./index-DfLCrnVq.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,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-
|
|
2
|
-
import { s as styleTags, t as tags, E as EditorView,
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-Mh3WUU-6.js";
|
|
2
|
+
import { s as styleTags, t as tags, E as EditorView, b as syntaxTree, d as EditorSelection, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, a6 as flatIndent, c as continuedIndent, e as delimitedIndent, f as foldNodeProp, g as foldInside, ah as sublanguageProp, ac as defineLanguageFacet, a7 as NodeWeakMap, I as IterMode } from "./code-palette-DH_G7mZ5.js";
|
|
3
|
+
import { i as ifNotIn, c as completeFromList, s as snippetCompletion } from "./index-CG8e3146.js";
|
|
3
4
|
const noSemi = 316, noSemiType = 317, incdec = 1, incdecPrefix = 2, questionDot = 3, JSXStartTag = 4, insertSemi = 318, spaces = 320, newline = 321, LineComment = 5, BlockComment = 6, Dialect_jsx = 0;
|
|
4
5
|
const space = [
|
|
5
6
|
9,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-
|
|
2
|
-
import { p as parseMixed, s as styleTags, t as tags, E as EditorView,
|
|
3
|
-
import { cssLanguage, css } from "./index-
|
|
4
|
-
import { typescriptLanguage, jsxLanguage, tsxLanguage, javascriptLanguage, javascript } from "./index-
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-Mh3WUU-6.js";
|
|
2
|
+
import { p as parseMixed, s as styleTags, t as tags, E as EditorView, b as syntaxTree, d as EditorSelection, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, f as foldNodeProp, ag as bracketMatchingHandle } from "./code-palette-DH_G7mZ5.js";
|
|
3
|
+
import { cssLanguage, css } from "./index-DfLCrnVq.js";
|
|
4
|
+
import { typescriptLanguage, jsxLanguage, tsxLanguage, javascriptLanguage, javascript } from "./index-BlIc9r0r.js";
|
|
5
5
|
const scriptText = 55, StartCloseScriptTag = 1, styleText = 56, StartCloseStyleTag = 2, textareaText = 57, StartCloseTextareaTag = 3, EndTag = 4, SelfClosingEndTag = 5, StartTag = 6, StartScriptTag = 7, StartStyleTag = 8, StartTextareaTag = 9, StartSelfClosingTag = 10, StartCloseTag = 11, NoMatchStartCloseTag = 12, MismatchedStartCloseTag = 13, missingCloseTag = 58, IncompleteTag = 14, IncompleteCloseTag = 15, commentContent$1 = 59, Element = 21, TagName = 23, Attribute = 24, AttributeName = 25, AttributeValue = 27, UnquotedAttributeValue = 28, ScriptText = 29, StyleText = 32, TextareaText = 35, OpenTag = 37, CloseTag = 38, Dialect_noMatch = 0, Dialect_selfClosing = 1;
|
|
6
6
|
const selfClosers$1 = {
|
|
7
7
|
area: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer } from "./index-
|
|
2
|
-
import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp,
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer } from "./index-Mh3WUU-6.js";
|
|
2
|
+
import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, g as foldInside } from "./code-palette-DH_G7mZ5.js";
|
|
3
3
|
const closureParamDelim = 1, tpOpen = 2, tpClose = 3, RawString = 4, Float = 5;
|
|
4
4
|
const _b = 98, _e = 101, _f = 102, _r = 114, _E = 69, Zero = 48, Dot = 46, Plus = 43, Minus = 45, Hash = 35, Quote = 34, Pipe = 124, LessThan = 60, GreaterThan = 62;
|
|
5
5
|
function isNum(ch) {
|