@piedata/pieui 1.1.5 → 1.1.7
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/components/Agents/OpenAIVoiceAgentCard/index.d.ts +2 -0
- package/dist/components/Agents/OpenAIVoiceAgentCard/index.d.ts.map +1 -0
- package/dist/components/Agents/OpenAIVoiceAgentCard/types/index.d.ts +31 -0
- package/dist/components/Agents/OpenAIVoiceAgentCard/types/index.d.ts.map +1 -0
- package/dist/components/Agents/OpenAIVoiceAgentCard/ui/OpenAIVoiceAgentCard.d.ts +4 -0
- package/dist/components/Agents/OpenAIVoiceAgentCard/ui/OpenAIVoiceAgentCard.d.ts.map +1 -0
- package/dist/components/Common/AutoRedirectCard/index.d.ts +2 -0
- package/dist/components/Common/AutoRedirectCard/index.d.ts.map +1 -0
- package/dist/components/Common/AutoRedirectCard/types/index.d.ts +7 -0
- package/dist/components/Common/AutoRedirectCard/types/index.d.ts.map +1 -0
- package/dist/components/Common/AutoRedirectCard/ui/AutoRedirectCard.d.ts +4 -0
- package/dist/components/Common/AutoRedirectCard/ui/AutoRedirectCard.d.ts.map +1 -0
- package/dist/components/Common/HTMLEmbedCard/index.d.ts +2 -0
- package/dist/components/Common/HTMLEmbedCard/index.d.ts.map +1 -0
- package/dist/components/Common/HTMLEmbedCard/types/index.d.ts +14 -0
- package/dist/components/Common/HTMLEmbedCard/types/index.d.ts.map +1 -0
- package/dist/components/Common/HTMLEmbedCard/ui/HTMLEmbedCard.d.ts +4 -0
- package/dist/components/Common/HTMLEmbedCard/ui/HTMLEmbedCard.d.ts.map +1 -0
- package/dist/components/Common/HiddenCard/index.d.ts +2 -0
- package/dist/components/Common/HiddenCard/index.d.ts.map +1 -0
- package/dist/components/Common/HiddenCard/types/index.d.ts +12 -0
- package/dist/components/Common/HiddenCard/types/index.d.ts.map +1 -0
- package/dist/components/Common/HiddenCard/ui/HiddenCard.d.ts +4 -0
- package/dist/components/Common/HiddenCard/ui/HiddenCard.d.ts.map +1 -0
- package/dist/components/PieRoot/index.d.ts.map +1 -1
- package/dist/components/PieRoot/types/index.d.ts +1 -0
- package/dist/components/PieRoot/types/index.d.ts.map +1 -1
- package/dist/components/PieTelegramRoot/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.esm.js +68 -15
- package/dist/components/index.js +81 -23
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +21 -20
- package/dist/index.js +30 -30
- package/dist/pieui.components.json +85 -0
- package/dist/util/initializeComponents.d.ts.map +1 -1
- package/dist/util/navigate.d.ts +4 -0
- package/dist/util/navigate.d.ts.map +1 -0
- package/package.json +6 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Agents/OpenAIVoiceAgentCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { PieComplexComponentProps } from "../../../../types";
|
|
3
|
+
export interface VoiceAgentTool {
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
params: any;
|
|
7
|
+
pathname: string;
|
|
8
|
+
depsNames: Array<string>;
|
|
9
|
+
kwargs: Record<string, any>;
|
|
10
|
+
}
|
|
11
|
+
export interface OpenAIVoiceAgentCardData {
|
|
12
|
+
name: string;
|
|
13
|
+
titles: Record<'enabled' | 'disabled', string>;
|
|
14
|
+
instructions: string;
|
|
15
|
+
tools: Array<VoiceAgentTool>;
|
|
16
|
+
token: string | null;
|
|
17
|
+
autoStart: boolean;
|
|
18
|
+
language: string | null;
|
|
19
|
+
muted: boolean;
|
|
20
|
+
outputModalities?: ('text' | 'audio')[];
|
|
21
|
+
iconUrl?: string;
|
|
22
|
+
iconPosition?: 'start' | 'end';
|
|
23
|
+
sxMap: Record<'enabled' | 'disabled', CSSProperties>;
|
|
24
|
+
useSocketioSupport?: boolean;
|
|
25
|
+
useCentrifugeSupport?: boolean;
|
|
26
|
+
useMittSupport?: boolean;
|
|
27
|
+
centrifugeChannel?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface OpenAIVoiceAgentCardProps extends PieComplexComponentProps<OpenAIVoiceAgentCardData> {
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Agents/OpenAIVoiceAgentCard/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AACrC,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAG7D,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IAEnB,MAAM,EAAE,GAAG,CAAA;IAEX,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACxB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC9B;AAGD,MAAM,WAAW,wBAAwB;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAC,SAAS,GAAG,UAAU,EAAE,MAAM,CAAC,CAAA;IAE9C,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,SAAS,EAAE,OAAO,CAAA;IAElB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,KAAK,EAAE,OAAO,CAAA;IACd,gBAAgB,CAAC,EAAE,CAAC,MAAM,GAAG,OAAO,CAAC,EAAE,CAAC;IAExC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IAC9B,KAAK,EAAE,MAAM,CAAC,SAAS,GAAG,UAAU,EAAE,aAAa,CAAC,CAAA;IAEpD,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC7B;AAED,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB,CAAC,wBAAwB,CAAC;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OpenAIVoiceAgentCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Agents/OpenAIVoiceAgentCard/ui/OpenAIVoiceAgentCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;2DAaY,yBAAyB;AAoOzF,wBAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/AutoRedirectCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Common/AutoRedirectCard/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AAG1D,MAAM,WAAW,oBAAoB;IACjC,GAAG,EAAE,MAAM,CAAA;CACd;AAGD,MAAM,WAAW,qBAAsB,SAAQ,uBAAuB,CAAC,oBAAoB,CAAC;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoRedirectCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Common/AutoRedirectCard/ui/AutoRedirectCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,UAAU,CAAA;AAK9C,QAAA,MAAM,gBAAgB,GAAI,UAAU,qBAAqB,4CAcxD,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/HTMLEmbedCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { PieSimpleComponentProps } from "../../../../types";
|
|
3
|
+
export interface HTMLEmbedCardData {
|
|
4
|
+
name: string;
|
|
5
|
+
html: string;
|
|
6
|
+
sx: CSSProperties;
|
|
7
|
+
useSocketioSupport?: boolean;
|
|
8
|
+
useCentrifugeSupport?: boolean;
|
|
9
|
+
useMittSupport?: boolean;
|
|
10
|
+
centrifugeChannel?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface HTMLEmbedCardProps extends PieSimpleComponentProps<HTMLEmbedCardData> {
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Common/HTMLEmbedCard/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AACrC,OAAO,EAAC,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AAG1D,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,aAAa,CAAA;IAEjB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC7B;AAED,MAAM,WAAW,kBAAmB,SAAQ,uBAAuB,CAAC,iBAAiB,CAAC;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HTMLEmbedCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Common/HTMLEmbedCard/ui/HTMLEmbedCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,kBAAkB,EAAC,MAAM,UAAU,CAAA;mCAKV,kBAAkB;AAgEnD,wBAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/HiddenCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PieSimpleComponentProps } from "../../../../types";
|
|
2
|
+
export interface HiddenCardData {
|
|
3
|
+
name: string;
|
|
4
|
+
value: string;
|
|
5
|
+
useSocketioSupport?: boolean;
|
|
6
|
+
useCentrifugeSupport?: boolean;
|
|
7
|
+
useMittSupport?: boolean;
|
|
8
|
+
centrifugeChannel?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface HiddenCardProps extends PieSimpleComponentProps<HiddenCardData> {
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Common/HiddenCard/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AAE1D,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IAEb,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC7B;AAGD,MAAM,WAAW,eAAgB,SAAQ,uBAAuB,CAAC,cAAc,CAAC;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HiddenCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Common/HiddenCard/ui/HiddenCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAA;AAIxC,QAAA,MAAM,UAAU,GAAI,UAAU,eAAe,4CAgC5C,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PieRoot/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PieRoot/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAA;AAyIpC,QAAA,MAAM,OAAO,GAAI,OAAO,YAAY,4CAWnC,CAAA;AAGD,eAAe,OAAO,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/PieRoot/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAGzC,MAAM,WAAW,YAAY;IACzB,QAAQ,EAAE;QACN,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,MAAM,EAAE,SAAS,CAAA;IACjB,aAAa,EAAE,MAAM,IAAI,CAAA;CAC5B"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/PieRoot/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAGzC,MAAM,WAAW,YAAY;IACzB,QAAQ,EAAE;QACN,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,MAAM,EAAE,SAAS,CAAA;IACjB,aAAa,EAAE,MAAM,IAAI,CAAA;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PieTelegramRoot/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAI/C,OAAO,EAAC,YAAY,EAAC,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PieTelegramRoot/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAI/C,OAAO,EAAC,YAAY,EAAC,MAAM,kBAAkB,CAAA;AAiJ7C,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAW3C,CAAA;AAGD,eAAe,eAAe,CAAA"}
|
|
@@ -4,4 +4,8 @@ export { default as ChatCard } from './Chats/ChatCard';
|
|
|
4
4
|
export { default as AjaxButtonCard } from './Buttons/AjaxButtonCard';
|
|
5
5
|
export { default as SequenceCard } from './Containers/SequenceCard';
|
|
6
6
|
export { default as UnionCard } from './Containers/UnionCard';
|
|
7
|
+
export { default as HTMLEmbedCard } from './Common/HTMLEmbedCard';
|
|
8
|
+
export { default as OpenAIVoiceAgentCard } from './Agents/OpenAIVoiceAgentCard';
|
|
9
|
+
export { default as HiddenCard } from './Common/HiddenCard';
|
|
10
|
+
export { default as AutoRedirectCard } from './Common/AutoRedirectCard';
|
|
7
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,EAAE,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,EAAE,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AAC/E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAA"}
|