@cludosearch/cludo-search-components 1.0.108 → 1.0.110
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/ai/ai-mode/ai-mode-container.d.ts +7 -0
- package/dist/components/ai/ai-mode/ai-mode-container.d.ts.map +1 -1
- package/dist/components/ai/ai-mode/ai-mode-conversation.d.ts +3 -0
- package/dist/components/ai/ai-mode/ai-mode-conversation.d.ts.map +1 -1
- package/dist/components/ai/ai-mode/ai-mode-form.d.ts +4 -0
- package/dist/components/ai/ai-mode/ai-mode-form.d.ts.map +1 -1
- package/dist/components/ai/ai-mode/ai-mode-translations.d.ts +12 -0
- package/dist/components/ai/ai-mode/ai-mode-translations.d.ts.map +1 -0
- package/dist/components/ai/ai-mode/ai-mode.d.ts +5 -0
- package/dist/components/ai/ai-mode/ai-mode.d.ts.map +1 -1
- package/dist/components/ai/ai-mode/slide-out/slide-out.d.ts +2 -0
- package/dist/components/ai/ai-mode/slide-out/slide-out.d.ts.map +1 -1
- package/dist/components/forms/cludo-autocomplete-container.d.ts.map +1 -1
- package/dist/components/forms/cludo-search-input.d.ts.map +1 -1
- package/dist/csr/main.csr.js +1 -1
- package/dist/csr/main.csr.js.map +1 -1
- package/dist/csr/service-worker.js +1 -1
- package/dist/csr/service-worker.js.map +1 -1
- package/dist/ssr/main.ssr.js +1 -1
- package/dist/ssr/main.ssr.js.map +1 -1
- package/dist/ssr/service-worker.js +1 -1
- package/dist/ssr/service-worker.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AiModeDispatchers } from "../../../hooks/use-ai-mode";
|
|
3
3
|
import { AiChatState } from "../../../types/ai-chat-types";
|
|
4
|
+
import { AiModeStrings } from "./ai-mode-translations";
|
|
4
5
|
interface AiModeContainerProps {
|
|
5
6
|
aiModeState: AiChatState;
|
|
6
7
|
aiModeDispatchers: AiModeDispatchers;
|
|
7
8
|
disableTheme?: boolean;
|
|
9
|
+
titleText?: string;
|
|
10
|
+
introText?: string;
|
|
11
|
+
disclaimerText?: string;
|
|
12
|
+
inputPlaceholder?: string;
|
|
13
|
+
inputPlaceholderFollowUp?: string;
|
|
14
|
+
strings: AiModeStrings;
|
|
8
15
|
}
|
|
9
16
|
export default function AiModeContainer(props: AiModeContainerProps): JSX.Element;
|
|
10
17
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-mode-container.d.ts","sourceRoot":"","sources":["../../../../src/components/ai/ai-mode/ai-mode-container.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"ai-mode-container.d.ts","sourceRoot":"","sources":["../../../../src/components/ai/ai-mode/ai-mode-container.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,UAAU,oBAAoB;IAC7B,WAAW,EAAE,WAAW,CAAC;IACzB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,OAAO,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,oBAAoB,eAuClE"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AiChatExchange } from "../../../types/ai-chat-types";
|
|
3
|
+
import { AiModeStrings } from "./ai-mode-translations";
|
|
3
4
|
export default function AiModeConversation(props: {
|
|
4
5
|
exchanges: AiChatExchange[];
|
|
5
6
|
disableTheme?: boolean;
|
|
7
|
+
introText?: string;
|
|
8
|
+
strings: AiModeStrings;
|
|
6
9
|
}): JSX.Element;
|
|
7
10
|
//# sourceMappingURL=ai-mode-conversation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-mode-conversation.d.ts","sourceRoot":"","sources":["../../../../src/components/ai/ai-mode/ai-mode-conversation.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"ai-mode-conversation.d.ts","sourceRoot":"","sources":["../../../../src/components/ai/ai-mode/ai-mode-conversation.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,KAAK,EAAE;IAAE,SAAS,EAAE,cAAc,EAAE,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,aAAa,CAAA;CAAE,eAoGpJ"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AiChatExchange } from "../../../types/ai-chat-types";
|
|
3
|
+
import { AiModeStrings } from "./ai-mode-translations";
|
|
3
4
|
export interface AiModeFormProps {
|
|
4
5
|
onSubmit: (query: string) => void;
|
|
5
6
|
disabled: boolean;
|
|
6
7
|
exchanges: AiChatExchange[];
|
|
7
8
|
disableTheme?: boolean;
|
|
9
|
+
inputPlaceholder?: string;
|
|
10
|
+
inputPlaceholderFollowUp?: string;
|
|
11
|
+
strings: AiModeStrings;
|
|
8
12
|
}
|
|
9
13
|
export default function AiModeForm(props: AiModeFormProps): JSX.Element;
|
|
10
14
|
//# sourceMappingURL=ai-mode-form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-mode-form.d.ts","sourceRoot":"","sources":["../../../../src/components/ai/ai-mode/ai-mode-form.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"ai-mode-form.d.ts","sourceRoot":"","sources":["../../../../src/components/ai/ai-mode/ai-mode-form.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,OAAO,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,eAAe,eA2DxD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SupportedLanguage } from "../../../types/translation-types";
|
|
2
|
+
export interface AiModeStrings {
|
|
3
|
+
title: string;
|
|
4
|
+
inputPlaceholder: string;
|
|
5
|
+
inputPlaceholderFollowUp: string;
|
|
6
|
+
noAnswerError: string;
|
|
7
|
+
clearConversation: string;
|
|
8
|
+
closeModal: string;
|
|
9
|
+
disclaimer: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function getAiModeStrings(language: SupportedLanguage): AiModeStrings;
|
|
12
|
+
//# sourceMappingURL=ai-mode-translations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-mode-translations.d.ts","sourceRoot":"","sources":["../../../../src/components/ai/ai-mode/ai-mode-translations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,MAAM,WAAW,aAAa;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IACzB,wBAAwB,EAAE,MAAM,CAAC;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACnB;AA0CD,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,aAAa,CAE3E"}
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
import { ThemeBaseProps } from "../../types/types";
|
|
3
3
|
interface AiModeBaseProps extends ThemeBaseProps {
|
|
4
4
|
buttonText?: string;
|
|
5
|
+
titleText?: string;
|
|
6
|
+
introText?: string;
|
|
7
|
+
disclaimerText?: string;
|
|
8
|
+
inputPlaceholder?: string;
|
|
9
|
+
inputPlaceholderFollowUp?: string;
|
|
5
10
|
customPrompt?: string;
|
|
6
11
|
language?: string;
|
|
7
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-mode.d.ts","sourceRoot":"","sources":["../../../../src/components/ai/ai-mode/ai-mode.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ai-mode.d.ts","sourceRoot":"","sources":["../../../../src/components/ai/ai-mode/ai-mode.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOnD,UAAU,eAAgB,SAAQ,cAAc;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD,UAAU,qBAAsB,SAAQ,eAAe;IACtD,mBAAmB,CAAC,EAAE,KAAK,CAAC;CAC5B;AAGD,UAAU,oBAAqB,SAAQ,eAAe;IACrD,mBAAmB,EAAE,IAAI,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACjE;AAGD,MAAM,MAAM,WAAW,GAAG,qBAAqB,GAAG,oBAAoB,CAAC;AAEvE,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,eA4DxC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AiChatState } from "../../../../types/ai-chat-types";
|
|
3
|
+
import { AiModeStrings } from "../ai-mode-translations";
|
|
3
4
|
export interface SlideOutProps {
|
|
4
5
|
buttonText?: string;
|
|
5
6
|
aiModeState: AiChatState;
|
|
@@ -8,6 +9,7 @@ export interface SlideOutProps {
|
|
|
8
9
|
renderFromAISummary?: boolean;
|
|
9
10
|
/** When set with renderFromAISummary, the panel is rendered via portal into this element (e.g. a div at body bottom) */
|
|
10
11
|
panelPortalElement?: HTMLElement | null;
|
|
12
|
+
strings: AiModeStrings;
|
|
11
13
|
onConversationClear: () => void;
|
|
12
14
|
onOpen?: () => void;
|
|
13
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slide-out.d.ts","sourceRoot":"","sources":["../../../../../src/components/ai/ai-mode/slide-out/slide-out.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"slide-out.d.ts","sourceRoot":"","sources":["../../../../../src/components/ai/ai-mode/slide-out/slide-out.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,MAAM,WAAW,aAAa;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,wHAAwH;IACxH,kBAAkB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACxC,OAAO,EAAE,aAAa,CAAC;IAEvB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE,aAAa,eA6FpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cludo-autocomplete-container.d.ts","sourceRoot":"","sources":["../../../src/components/forms/cludo-autocomplete-container.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"cludo-autocomplete-container.d.ts","sourceRoot":"","sources":["../../../src/components/forms/cludo-autocomplete-container.tsx"],"names":[],"mappings":";AAEA,wBAAgB,0BAA0B,gBAWzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cludo-search-input.d.ts","sourceRoot":"","sources":["../../../src/components/forms/cludo-search-input.tsx"],"names":[],"mappings":";AAGA,wBAAgB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"cludo-search-input.d.ts","sourceRoot":"","sources":["../../../src/components/forms/cludo-search-input.tsx"],"names":[],"mappings":";AAGA,wBAAgB,gBAAgB,gBA6B/B"}
|