@inploi/plugin-kin 2.7.1 → 2.7.2
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/cdn/index.js +68 -68
- package/dist/components/messages.d.ts +55 -0
- package/dist/components/overlay.d.ts +5 -0
- package/dist/components/status-label.d.ts +10 -0
- package/dist/components/widget.d.ts +114 -0
- package/dist/{highlighted-body-B3W2YXNL-0de86b49.js → highlighted-body-B3W2YXNL-4deb2d62.js} +1 -1
- package/dist/{highlighted-body-B3W2YXNL-809b0e90.cjs → highlighted-body-B3W2YXNL-e2d81b28.cjs} +1 -1
- package/dist/index-3564005b.cjs +129 -0
- package/dist/{index-320440ab.js → index-e6af1f01.js} +5268 -5025
- package/dist/kin.client.d.ts +5 -1
- package/dist/kin.state.d.ts +13 -0
- package/dist/{mermaid-3ZIDBTTL-17d174dc.cjs → mermaid-3ZIDBTTL-654d3db2.cjs} +1 -1
- package/dist/{mermaid-3ZIDBTTL-bfc2bb8d.js → mermaid-3ZIDBTTL-f26a293c.js} +1 -1
- package/dist/plugin-kin.cjs +1 -1
- package/dist/plugin-kin.js +1 -1
- package/package.json +1 -1
- package/dist/index-94feb989.cjs +0 -129
|
@@ -1 +1,56 @@
|
|
|
1
|
+
export declare const scrollableContainerClass: (props?: ({
|
|
2
|
+
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
} | null | undefined)[] | {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
} | null | undefined)[] | {
|
|
7
|
+
[x: string]: any;
|
|
8
|
+
} | null | undefined)[] | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
} | null | undefined)[] | {
|
|
11
|
+
[x: string]: any;
|
|
12
|
+
} | null | undefined)[] | {
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
} | null | undefined)[] | {
|
|
15
|
+
[x: string]: any;
|
|
16
|
+
} | null | undefined)[] | {
|
|
17
|
+
[x: string]: any;
|
|
18
|
+
} | null | undefined)[] | {
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
} | null | undefined)[] | {
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
} | null | undefined)[] | {
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
} | null | undefined)[] | {
|
|
25
|
+
[x: string]: any;
|
|
26
|
+
} | null | undefined;
|
|
27
|
+
className?: never;
|
|
28
|
+
} | {
|
|
29
|
+
class?: never;
|
|
30
|
+
className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
31
|
+
[x: string]: any;
|
|
32
|
+
} | null | undefined)[] | {
|
|
33
|
+
[x: string]: any;
|
|
34
|
+
} | null | undefined)[] | {
|
|
35
|
+
[x: string]: any;
|
|
36
|
+
} | null | undefined)[] | {
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
} | null | undefined)[] | {
|
|
39
|
+
[x: string]: any;
|
|
40
|
+
} | null | undefined)[] | {
|
|
41
|
+
[x: string]: any;
|
|
42
|
+
} | null | undefined)[] | {
|
|
43
|
+
[x: string]: any;
|
|
44
|
+
} | null | undefined)[] | {
|
|
45
|
+
[x: string]: any;
|
|
46
|
+
} | null | undefined)[] | {
|
|
47
|
+
[x: string]: any;
|
|
48
|
+
} | null | undefined)[] | {
|
|
49
|
+
[x: string]: any;
|
|
50
|
+
} | null | undefined)[] | {
|
|
51
|
+
[x: string]: any;
|
|
52
|
+
} | null | undefined)[] | {
|
|
53
|
+
[x: string]: any;
|
|
54
|
+
} | null | undefined;
|
|
55
|
+
}) | undefined) => string;
|
|
1
56
|
export declare function Messages(): import("preact").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentType } from 'preact';
|
|
2
|
+
|
|
3
|
+
export type StatusLabelIcon = ComponentType<{
|
|
4
|
+
class?: string;
|
|
5
|
+
}>;
|
|
6
|
+
export type StatusLabelMeta = {
|
|
7
|
+
text: string;
|
|
8
|
+
icon?: StatusLabelIcon;
|
|
9
|
+
};
|
|
10
|
+
export declare function StatusLabel({ text, icon: Icon }: StatusLabelMeta): import("preact").JSX.Element;
|
|
@@ -1,5 +1,119 @@
|
|
|
1
1
|
import { KinPlacement, StarterPrompt } from '../kin';
|
|
2
2
|
|
|
3
|
+
export declare const shellClass: (props?: ({
|
|
4
|
+
layout?: "embedded" | "closed" | "open" | undefined;
|
|
5
|
+
} & ({
|
|
6
|
+
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
7
|
+
[x: string]: any;
|
|
8
|
+
} | null | undefined)[] | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
} | null | undefined)[] | {
|
|
11
|
+
[x: string]: any;
|
|
12
|
+
} | null | undefined)[] | {
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
} | null | undefined)[] | {
|
|
15
|
+
[x: string]: any;
|
|
16
|
+
} | null | undefined)[] | {
|
|
17
|
+
[x: string]: any;
|
|
18
|
+
} | null | undefined)[] | {
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
} | null | undefined)[] | {
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
} | null | undefined)[] | {
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
} | null | undefined)[] | {
|
|
25
|
+
[x: string]: any;
|
|
26
|
+
} | null | undefined)[] | {
|
|
27
|
+
[x: string]: any;
|
|
28
|
+
} | null | undefined)[] | {
|
|
29
|
+
[x: string]: any;
|
|
30
|
+
} | null | undefined;
|
|
31
|
+
className?: never;
|
|
32
|
+
} | {
|
|
33
|
+
class?: never;
|
|
34
|
+
className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
35
|
+
[x: string]: any;
|
|
36
|
+
} | null | undefined)[] | {
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
} | null | undefined)[] | {
|
|
39
|
+
[x: string]: any;
|
|
40
|
+
} | null | undefined)[] | {
|
|
41
|
+
[x: string]: any;
|
|
42
|
+
} | null | undefined)[] | {
|
|
43
|
+
[x: string]: any;
|
|
44
|
+
} | null | undefined)[] | {
|
|
45
|
+
[x: string]: any;
|
|
46
|
+
} | null | undefined)[] | {
|
|
47
|
+
[x: string]: any;
|
|
48
|
+
} | null | undefined)[] | {
|
|
49
|
+
[x: string]: any;
|
|
50
|
+
} | null | undefined)[] | {
|
|
51
|
+
[x: string]: any;
|
|
52
|
+
} | null | undefined)[] | {
|
|
53
|
+
[x: string]: any;
|
|
54
|
+
} | null | undefined)[] | {
|
|
55
|
+
[x: string]: any;
|
|
56
|
+
} | null | undefined)[] | {
|
|
57
|
+
[x: string]: any;
|
|
58
|
+
} | null | undefined;
|
|
59
|
+
})) | undefined) => string;
|
|
60
|
+
export declare const backdropClass: (props?: ({
|
|
61
|
+
visible?: boolean | undefined;
|
|
62
|
+
} & ({
|
|
63
|
+
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
64
|
+
[x: string]: any;
|
|
65
|
+
} | null | undefined)[] | {
|
|
66
|
+
[x: string]: any;
|
|
67
|
+
} | null | undefined)[] | {
|
|
68
|
+
[x: string]: any;
|
|
69
|
+
} | null | undefined)[] | {
|
|
70
|
+
[x: string]: any;
|
|
71
|
+
} | null | undefined)[] | {
|
|
72
|
+
[x: string]: any;
|
|
73
|
+
} | null | undefined)[] | {
|
|
74
|
+
[x: string]: any;
|
|
75
|
+
} | null | undefined)[] | {
|
|
76
|
+
[x: string]: any;
|
|
77
|
+
} | null | undefined)[] | {
|
|
78
|
+
[x: string]: any;
|
|
79
|
+
} | null | undefined)[] | {
|
|
80
|
+
[x: string]: any;
|
|
81
|
+
} | null | undefined)[] | {
|
|
82
|
+
[x: string]: any;
|
|
83
|
+
} | null | undefined)[] | {
|
|
84
|
+
[x: string]: any;
|
|
85
|
+
} | null | undefined)[] | {
|
|
86
|
+
[x: string]: any;
|
|
87
|
+
} | null | undefined;
|
|
88
|
+
className?: never;
|
|
89
|
+
} | {
|
|
90
|
+
class?: never;
|
|
91
|
+
className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
92
|
+
[x: string]: any;
|
|
93
|
+
} | null | undefined)[] | {
|
|
94
|
+
[x: string]: any;
|
|
95
|
+
} | null | undefined)[] | {
|
|
96
|
+
[x: string]: any;
|
|
97
|
+
} | null | undefined)[] | {
|
|
98
|
+
[x: string]: any;
|
|
99
|
+
} | null | undefined)[] | {
|
|
100
|
+
[x: string]: any;
|
|
101
|
+
} | null | undefined)[] | {
|
|
102
|
+
[x: string]: any;
|
|
103
|
+
} | null | undefined)[] | {
|
|
104
|
+
[x: string]: any;
|
|
105
|
+
} | null | undefined)[] | {
|
|
106
|
+
[x: string]: any;
|
|
107
|
+
} | null | undefined)[] | {
|
|
108
|
+
[x: string]: any;
|
|
109
|
+
} | null | undefined)[] | {
|
|
110
|
+
[x: string]: any;
|
|
111
|
+
} | null | undefined)[] | {
|
|
112
|
+
[x: string]: any;
|
|
113
|
+
} | null | undefined)[] | {
|
|
114
|
+
[x: string]: any;
|
|
115
|
+
} | null | undefined;
|
|
116
|
+
})) | undefined) => string;
|
|
3
117
|
export declare function Widget({ starterPrompts, onSendMessage, onOpen, onClose, onConnect, onClearData, onUploadFile, placement, }: {
|
|
4
118
|
starterPrompts: StarterPrompt[];
|
|
5
119
|
onSendMessage: (content: string) => void;
|
package/dist/{highlighted-body-B3W2YXNL-0de86b49.js → highlighted-body-B3W2YXNL-4deb2d62.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as u, R as c, K as d, h as n, p, o as f, Q as k } from "./index-
|
|
1
|
+
import { q as u, R as c, K as d, h as n, p, o as f, Q as k } from "./index-e6af1f01.js";
|
|
2
2
|
import "@inploi/sdk";
|
|
3
3
|
var N = ({ code: o, language: e, raw: a, className: s, ...h }) => {
|
|
4
4
|
let { shikiTheme: r } = u(c), l = d(), [t, g] = n(a);
|
package/dist/{highlighted-body-B3W2YXNL-809b0e90.cjs → highlighted-body-B3W2YXNL-e2d81b28.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-3564005b.cjs");require("@inploi/sdk");var c=({code:g,language:l,raw:r,className:u,...s})=>{let{shikiTheme:t}=e.q(e.R),a=e.Ks(),[h,i]=e.h(r);return e.p(()=>{if(!a){i(r);return}let o=a.highlight({code:g,language:l,themes:t},n=>{i(n)});o&&i(o)},[g,l,t,a,r]),e.o(e.Qe,{className:u,language:l,result:h,...s})};exports.HighlightedCodeBlockBody=c;
|