@hiver/connector-agent 2.0.5-globalSearch-beta.4 → 2.0.5-globalSearch-beta.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 (24) hide show
  1. package/api/linkCard.d.ts +8 -2
  2. package/api/linkCard.d.ts.map +1 -1
  3. package/app/connector-cards.d.ts.map +1 -1
  4. package/components/ui/loader/skeleton.d.ts +6 -0
  5. package/components/ui/loader/skeleton.d.ts.map +1 -0
  6. package/features/global-search/api/getSearchResults.d.ts +2 -2
  7. package/features/global-search/api/getSearchResults.d.ts.map +1 -1
  8. package/features/global-search/components/index.d.ts +1 -1
  9. package/features/global-search/components/index.d.ts.map +1 -1
  10. package/features/global-search/components/preview-and-link/index.d.ts.map +1 -1
  11. package/features/global-search/components/search-form/SearchForm.d.ts.map +1 -1
  12. package/features/global-search/components/search-results/components/no-search-results.d.ts +2 -0
  13. package/features/global-search/components/search-results/components/no-search-results.d.ts.map +1 -0
  14. package/features/global-search/components/search-results/components/search-results-loading.d.ts +2 -0
  15. package/features/global-search/components/search-results/components/search-results-loading.d.ts.map +1 -0
  16. package/features/global-search/components/search-results/index.d.ts.map +1 -1
  17. package/index.es.js +7730 -7712
  18. package/index.umd.js +199 -196
  19. package/package.json +1 -1
  20. package/testing/test-utils.d.ts.map +1 -1
  21. package/utils/validations.d.ts +1 -0
  22. package/utils/validations.d.ts.map +1 -1
  23. package/features/global-search/components/search-results/components/index.d.ts +0 -3
  24. package/features/global-search/components/search-results/components/index.d.ts.map +0 -1
package/api/linkCard.d.ts CHANGED
@@ -1,4 +1,10 @@
1
- export declare const useLinkCard: (id: string, externalResourceId: string, conversationId?: number, callbacks?: {
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
- }, channelType?: string) => import('@tanstack/react-query').UseMutationResult<void, Error, void, unknown>;
9
+ }) => import('@tanstack/react-query').UseMutationResult<void, Error, LinkCardProps, unknown>;
4
10
  //# sourceMappingURL=linkCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"linkCard.d.ts","sourceRoot":"","sources":["../../src/api/linkCard.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,WAAW,OAClB,MAAM,sBACU,MAAM,mBACT,MAAM,cACX;IACV,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,gBACY,MAAM,kFAWjB,CAAC"}
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,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAgBD,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,CAwSxC,CAAC"}
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"}
@@ -0,0 +1,6 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { SkeletonProps } from '@hiver/hiver-ui-kit';
3
+ export declare const SkeletonLoader: StyledComponent<SkeletonProps & {
4
+ margin?: string;
5
+ }>;
6
+ //# sourceMappingURL=skeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/loader/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAY,aAAa,EAAU,MAAM,qBAAqB,CAAC;AAEtE,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,aAAa,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAG/E,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { SearchResultsType } from '../types';
2
2
  import { FormArgValue } from '../../../types/form';
3
- export interface SearchResultsProps {
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,WAAW,kBAAkB;IACjC,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;AA0BD,eAAO,MAAM,wBAAwB,4HAIpC,CAAC"}
1
+ {"version":3,"file":"getSearchResults.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/api/getSearchResults.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,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
- resetSearchResults: () => void;
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,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8E9C,CAAC"}
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,4CA+C9F,CAAC"}
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":"AASA,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,CAkK1C,CAAC"}
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"}
@@ -0,0 +1,2 @@
1
+ export declare const NoSearchResults: () => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=no-search-results.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-search-results.d.ts","sourceRoot":"","sources":["../../../../../../src/features/global-search/components/search-results/components/no-search-results.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,+CAS3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const SearchResultsLoading: () => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=search-results-loading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-results-loading.d.ts","sourceRoot":"","sources":["../../../../../../src/features/global-search/components/search-results/components/search-results-loading.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,+CAYhC,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,4CAuD3F,CAAC"}
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"}