@piedata/pieui 1.1.5 → 1.1.6

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.
Files changed (29) hide show
  1. package/dist/components/Agents/OpenAIVoiceAgentCard/index.d.ts +2 -0
  2. package/dist/components/Agents/OpenAIVoiceAgentCard/index.d.ts.map +1 -0
  3. package/dist/components/Agents/OpenAIVoiceAgentCard/types/index.d.ts +31 -0
  4. package/dist/components/Agents/OpenAIVoiceAgentCard/types/index.d.ts.map +1 -0
  5. package/dist/components/Agents/OpenAIVoiceAgentCard/ui/OpenAIVoiceAgentCard.d.ts +4 -0
  6. package/dist/components/Agents/OpenAIVoiceAgentCard/ui/OpenAIVoiceAgentCard.d.ts.map +1 -0
  7. package/dist/components/Common/AutoRedirectCard/index.d.ts +2 -0
  8. package/dist/components/Common/AutoRedirectCard/index.d.ts.map +1 -0
  9. package/dist/components/Common/AutoRedirectCard/types/index.d.ts +7 -0
  10. package/dist/components/Common/AutoRedirectCard/types/index.d.ts.map +1 -0
  11. package/dist/components/Common/AutoRedirectCard/ui/AutoRedirectCard.d.ts +4 -0
  12. package/dist/components/Common/AutoRedirectCard/ui/AutoRedirectCard.d.ts.map +1 -0
  13. package/dist/components/Common/HTMLEmbedCard/index.d.ts +2 -0
  14. package/dist/components/Common/HTMLEmbedCard/index.d.ts.map +1 -0
  15. package/dist/components/Common/HTMLEmbedCard/types/index.d.ts +14 -0
  16. package/dist/components/Common/HTMLEmbedCard/types/index.d.ts.map +1 -0
  17. package/dist/components/Common/HTMLEmbedCard/ui/HTMLEmbedCard.d.ts +4 -0
  18. package/dist/components/Common/HTMLEmbedCard/ui/HTMLEmbedCard.d.ts.map +1 -0
  19. package/dist/components/PieRoot/types/index.d.ts +1 -0
  20. package/dist/components/PieRoot/types/index.d.ts.map +1 -1
  21. package/dist/components/index.d.ts +2 -0
  22. package/dist/components/index.d.ts.map +1 -1
  23. package/dist/components/index.esm.js +67 -15
  24. package/dist/components/index.js +81 -23
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.esm.js +16 -16
  28. package/dist/index.js +23 -23
  29. package/package.json +6 -3
@@ -0,0 +1,2 @@
1
+ export { default } from './ui/OpenAIVoiceAgentCard';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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,4 @@
1
+ import { OpenAIVoiceAgentCardProps } from '../types';
2
+ declare const _default: ({ data, setUiAjaxConfiguration }: OpenAIVoiceAgentCardProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default _default;
4
+ //# sourceMappingURL=OpenAIVoiceAgentCard.d.ts.map
@@ -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,2 @@
1
+ export { default } from './ui/AutoRedirectCard';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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,7 @@
1
+ import { PieSimpleComponentProps } from "../../../../types";
2
+ export interface AutoRedirectCardData {
3
+ url: string;
4
+ }
5
+ export interface AutoRedirectCardProps extends PieSimpleComponentProps<AutoRedirectCardData> {
6
+ }
7
+ //# sourceMappingURL=index.d.ts.map
@@ -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,4 @@
1
+ import { AutoRedirectCardProps } from '../types';
2
+ declare const AutoRedirectCard: ({ data }: AutoRedirectCardProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default AutoRedirectCard;
4
+ //# sourceMappingURL=AutoRedirectCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutoRedirectCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Common/AutoRedirectCard/ui/AutoRedirectCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,qBAAqB,EAAC,MAAM,UAAU,CAAA;AAG9C,QAAA,MAAM,gBAAgB,GAAI,UAAU,qBAAqB,4CAaxD,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { default } from './ui/HTMLEmbedCard';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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,4 @@
1
+ import { HTMLEmbedCardProps } from '../types';
2
+ declare const _default: ({ data }: HTMLEmbedCardProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default _default;
4
+ //# sourceMappingURL=HTMLEmbedCard.d.ts.map
@@ -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"}
@@ -7,6 +7,7 @@ export interface PieRootProps {
7
7
  };
8
8
  fallback?: ReactNode;
9
9
  onError?: () => void;
10
+ onNavigate?: (url: string) => void;
10
11
  config: PieConfig;
11
12
  initializePie: () => void;
12
13
  }
@@ -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"}
@@ -4,4 +4,6 @@ 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';
7
9
  //# 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"}