@hiver/connector-agent 2.0.5-globalSearch-beta.3 → 2.0.5-globalSearch-beta.5
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/api/linkCard.d.ts +8 -2
- package/api/linkCard.d.ts.map +1 -1
- package/app/connector-cards.d.ts.map +1 -1
- package/components/ui/switch/index.d.ts +7 -2
- package/components/ui/switch/index.d.ts.map +1 -1
- package/features/global-search/api/getSearchResults.d.ts +2 -2
- package/features/global-search/api/getSearchResults.d.ts.map +1 -1
- package/features/global-search/components/index.d.ts +1 -1
- package/features/global-search/components/index.d.ts.map +1 -1
- package/features/global-search/components/preview-and-link/index.d.ts.map +1 -1
- package/features/global-search/components/search-form/SearchForm.d.ts.map +1 -1
- package/features/global-search/components/search-results/index.d.ts.map +1 -1
- package/index.es.js +5776 -5760
- package/index.umd.js +180 -180
- package/package.json +1 -1
- package/utils/validations.d.ts +1 -0
- package/utils/validations.d.ts.map +1 -1
package/api/linkCard.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface LinkCardProps {
|
|
2
|
+
id: string;
|
|
3
|
+
externalResourceId: string;
|
|
4
|
+
conversationId?: number;
|
|
5
|
+
channelType?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const useLinkCardMutation: ({ onSuccess }: {
|
|
2
8
|
onSuccess?: () => void;
|
|
3
|
-
}
|
|
9
|
+
}) => import('@tanstack/react-query').UseMutationResult<void, Error, LinkCardProps, unknown>;
|
|
4
10
|
//# sourceMappingURL=linkCard.d.ts.map
|
package/api/linkCard.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkCard.d.ts","sourceRoot":"","sources":["../../src/api/linkCard.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"linkCard.d.ts","sourceRoot":"","sources":["../../src/api/linkCard.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAkBD,eAAO,MAAM,mBAAmB,kBAAmB;IAAE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,2FAUzE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAgD,MAAM,OAAO,CAAC;AA6EzE,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAgD,MAAM,OAAO,CAAC;AA6EzE,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CA6SxC,CAAC"}
|
|
@@ -6,10 +6,15 @@ export declare const Switch: {
|
|
|
6
6
|
({ children }: SwitchProps): any;
|
|
7
7
|
Case: FC<CaseProps>;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type CaseProps = {
|
|
10
|
+
condition?: boolean;
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
fallback: true;
|
|
13
|
+
} | {
|
|
10
14
|
condition: boolean;
|
|
11
15
|
children: ReactNode;
|
|
12
16
|
fallback?: boolean;
|
|
13
|
-
}
|
|
17
|
+
};
|
|
18
|
+
export declare const Case: FC<CaseProps>;
|
|
14
19
|
export {};
|
|
15
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/switch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAgB,MAAM,OAAO,CAAC;AAEpD,UAAU,WAAW;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,MAAM;mBAAkB,WAAW;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/switch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAgB,MAAM,OAAO,CAAC;AAEpD,UAAU,WAAW;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,MAAM;mBAAkB,WAAW;;CAe/C,CAAC;AAEF,KAAK,SAAS,GACV;IACE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,IAAI,CAAC;CAChB,GACD;IACE,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEN,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAI9B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SearchResultsType } from '../types';
|
|
2
2
|
import { FormArgValue } from '../../../types/form';
|
|
3
|
-
export
|
|
3
|
+
export type SearchResultsProps = {
|
|
4
4
|
id: string | number;
|
|
5
5
|
searchString: string;
|
|
6
6
|
interfaceId: string;
|
|
7
7
|
args: Record<string, FormArgValue>;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
export declare const useSearchResultsMutation: () => import('@tanstack/react-query').UseMutationResult<SearchResultsType | undefined, Error, SearchResultsProps, unknown>;
|
|
10
10
|
//# sourceMappingURL=getSearchResults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSearchResults.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/api/getSearchResults.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAI7C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,
|
|
1
|
+
{"version":3,"file":"getSearchResults.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/api/getSearchResults.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAI7C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;CACpC,CAAC;AA0BF,eAAO,MAAM,wBAAwB,4HAIpC,CAAC"}
|
|
@@ -5,7 +5,7 @@ interface GlobalSearchProps {
|
|
|
5
5
|
selectedObject: SearchOptionType | null;
|
|
6
6
|
setSelectedObject: Dispatch<SetStateAction<SearchOptionType | null>>;
|
|
7
7
|
fetchSearchResults: (data: SearchResultsProps) => void;
|
|
8
|
-
|
|
8
|
+
onReset: () => void;
|
|
9
9
|
}
|
|
10
10
|
export declare const GlobalSearch: FC<GlobalSearchProps>;
|
|
11
11
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/components/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,UAAU,iBAAiB;IACzB,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC,iBAAiB,EAAE,QAAQ,CAAC,cAAc,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC,CAAC;IACrE,kBAAkB,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACvD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/components/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,UAAU,iBAAiB;IACzB,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC,iBAAiB,EAAE,QAAQ,CAAC,cAAc,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC,CAAC;IACrE,kBAAkB,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACvD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAyE9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/preview-and-link/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEhE,UAAU,MAAM;IACd,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,6DAA8D,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/preview-and-link/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEhE,UAAU,MAAM;IACd,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,6DAA8D,MAAM,4CAiD9F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchForm.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-form/SearchForm.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SearchForm.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-form/SearchForm.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAKzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,UAAU,eAAe;IACvB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACzD;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAyK1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-results/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGvE,UAAU,MAAM;IACd,aAAa,EAAE,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC;IAChD,cAAc,EAAE,gBAAgB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,2DAA4D,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-results/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGvE,UAAU,MAAM;IACd,aAAa,EAAE,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC;IAChD,cAAc,EAAE,gBAAgB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,2DAA4D,MAAM,4CAwD3F,CAAC"}
|