@hiver/connector-admin 1.0.1 → 1.1.1-beta.0

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 (48) hide show
  1. package/components/ui/form-fields/index.d.ts.map +1 -1
  2. package/features/auth/components/auth-form/index.d.ts.map +1 -1
  3. package/features/auth/constants/form-config.d.ts +1 -0
  4. package/features/auth/constants/form-config.d.ts.map +1 -1
  5. package/features/auth/types/request.d.ts +4 -0
  6. package/features/auth/types/request.d.ts.map +1 -1
  7. package/features/auth/utils/index.d.ts +5 -0
  8. package/features/auth/utils/index.d.ts.map +1 -1
  9. package/features/connector-library/components/connector-info-card/index.d.ts +7 -0
  10. package/features/connector-library/components/connector-info-card/index.d.ts.map +1 -0
  11. package/features/connector-library/components/connector-info-card/styles.d.ts +7 -0
  12. package/features/connector-library/components/connector-info-card/styles.d.ts.map +1 -0
  13. package/features/connector-library/components/connector-info-card-list/index.d.ts +7 -0
  14. package/features/connector-library/components/connector-info-card-list/index.d.ts.map +1 -0
  15. package/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -1
  16. package/features/connector-library/components/custom-connector-card-item/styles.d.ts +1 -0
  17. package/features/connector-library/components/custom-connector-card-item/styles.d.ts.map +1 -1
  18. package/features/connector-library/components/custom-connector-card-list/index.d.ts.map +1 -1
  19. package/features/connector-library/components/singleton-popover-tooltip/index.d.ts +7 -0
  20. package/features/connector-library/components/singleton-popover-tooltip/index.d.ts.map +1 -0
  21. package/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts +2 -0
  22. package/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts.map +1 -0
  23. package/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts +7 -0
  24. package/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts.map +1 -0
  25. package/features/connector-library/components/singleton-popover-tooltip/styles.d.ts +6 -0
  26. package/features/connector-library/components/singleton-popover-tooltip/styles.d.ts.map +1 -0
  27. package/features/connector-library/constants/index.d.ts +7 -0
  28. package/features/connector-library/constants/index.d.ts.map +1 -0
  29. package/features/connector-library/context/singleton-context/hooks.d.ts +5 -0
  30. package/features/connector-library/context/singleton-context/hooks.d.ts.map +1 -0
  31. package/features/connector-library/context/singleton-context/index.d.ts +9 -0
  32. package/features/connector-library/context/singleton-context/index.d.ts.map +1 -0
  33. package/features/connector-library/store/initial-state.d.ts +1 -1
  34. package/features/connector-library/store/initial-state.d.ts.map +1 -1
  35. package/features/connector-library/store/selectors.d.ts +1 -1
  36. package/index.es.js +10023 -9970
  37. package/index.umd.js +284 -317
  38. package/mainUtils.d.ts +4 -0
  39. package/mainUtils.d.ts.map +1 -0
  40. package/package.json +1 -1
  41. package/testing/mocks/handlers/connector-template.d.ts +13 -0
  42. package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
  43. package/types/connector.d.ts +12 -3
  44. package/types/connector.d.ts.map +1 -1
  45. package/types/form.d.ts +4 -1
  46. package/types/form.d.ts.map +1 -1
  47. package/features/connector-library/components/custom-connector-card-list/style.d.ts +0 -10
  48. package/features/connector-library/components/custom-connector-card-list/style.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/form-fields/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtE,KAAK,SAAS,GAAG,cAAc,GAAG;IAChC,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;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AO,MAAM,UAAU,UAAW,SAAS,4CA2I1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/auth-form/index.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAOxD,UAAU,SAAS;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACzC,UAAU,EAAE,YAAY,CAAC;CAC1B;AAED,eAAO,MAAM,QAAQ,kEAAmF,SAAS,4CAoMhH,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/auth-form/index.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQxD,UAAU,SAAS;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACzC,UAAU,EAAE,YAAY,CAAC;CAC1B;AAED,eAAO,MAAM,QAAQ,kEAAmF,SAAS,4CAsNhH,CAAC"}
@@ -60,6 +60,7 @@ export declare const ADD_TO_OPTIONS: {
60
60
  readonly value: "queryParam";
61
61
  };
62
62
  };
63
+ export declare const DYNAMIC_AUTH_FORM: IFormConfig;
63
64
  export declare const BASE_AUTH_FORM: IFormConfig[];
64
65
  export declare const API_KEY_AUTH_FORM: IFormConfig[];
65
66
  export declare const OAUTH_FORM: IFormConfig[];
@@ -1 +1 @@
1
- {"version":3,"file":"form-config.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/constants/form-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAI/D,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;CAM5B,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;CAUrB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;CAIpB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;CAGpB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;CAGjB,CAAC;AAEX,eAAO,MAAM,cAAc,EAAE,WAAW,EAuBvC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,WAAW,EA+C1C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,WAAW,EAmFnC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cA6CzB,CAAC;AAEF,MAAM,MAAM,eAAe,GACvB,MAAM,IAAI,CAAC,OAAO,kBAAkB,EAAE,SAAS,CAAC,GAChD,MAAM,IAAI,CAAC,OAAO,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,YAAY,CAU1E,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,OAAO,kBAAkB,EAAE,SAAS,CAAC,GAAG,MAAM,OAAO,yBAAyB,CAAC;AAEtH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,aAAa,CAOjE,CAAC"}
1
+ {"version":3,"file":"form-config.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/constants/form-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAI/D,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;CAM5B,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;CAUrB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;CAIpB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;CAGpB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;CAGjB,CAAC;AAEX,eAAO,MAAM,iBAAiB,EAAE,WAG/B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,WAAW,EAcvC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,WAAW,EA+C1C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,WAAW,EAmFnC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cA6CzB,CAAC;AAEF,MAAM,MAAM,eAAe,GACvB,MAAM,IAAI,CAAC,OAAO,kBAAkB,EAAE,SAAS,CAAC,GAChD,MAAM,IAAI,CAAC,OAAO,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,YAAY,CAU1E,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,OAAO,kBAAkB,EAAE,SAAS,CAAC,GAAG,MAAM,OAAO,yBAAyB,CAAC;AAEtH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,aAAa,CAOjE,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { JSONValue } from '../../../types/json';
2
+ import { FieldValue } from './form';
2
3
  export type AuthType = 'Oauth2' | 'ApiKey';
3
4
  export interface oAuthRequest {
4
5
  clientId: string;
@@ -22,6 +23,9 @@ export interface ApiKeyRequest {
22
23
  export interface EditAuthRequest {
23
24
  authDetails: oAuthRequest | ApiKeyRequest;
24
25
  baseUrl?: string;
26
+ variables?: {
27
+ [key: string]: FieldValue;
28
+ };
25
29
  }
26
30
  export interface AuthRequest extends EditAuthRequest {
27
31
  templateId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/types/request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,YAAY,GAAG,aAAa,CAAC;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAA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AAE,SAAS,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,YAAY,GACpB,MAAM,GACN,SAAS,GACT,cAAc,GACd,eAAe,GACf,YAAY,GACZ,aAAa,GACb,gBAAgB,CAAC"}
@@ -10,5 +10,10 @@ export declare const getAuthRequestBody: ({ isEdit, templateId, values, formFiel
10
10
  predicates: Predicates;
11
11
  }) => AuthRequest | EditAuthRequest;
12
12
  export declare function mapAuthApiDataToStateData(authData: IAuthDetails): Partial<Record<AuthFieldKeys, FieldValue>>;
13
+ export declare const getVariablesRequestData: (variablesConfig: FormFieldProps[], values: {
14
+ [key: string]: FieldValue;
15
+ }) => {
16
+ [key: string]: FieldValue;
17
+ };
13
18
  export declare const validateUrl: (url: unknown) => string | boolean;
14
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAa9C,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC1F,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAA+B,MAAM,kBAAkB,CAAC;AAElG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,2DAM5B;IACD,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC,CAAC;IAC3D,UAAU,EAAE,UAAU,CAAC;CACxB,KAAG,WAAW,GAAG,eAkDjB,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC,CA+B5G;AAED,eAAO,MAAM,WAAW,QAAS,OAAO,KAAG,MAAM,GAAG,OAMnD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAa9C,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC1F,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAA+B,MAAM,kBAAkB,CAAC;AAElG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,2DAM5B;IACD,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC,CAAC;IAC3D,UAAU,EAAE,UAAU,CAAC;CACxB,KAAG,WAAW,GAAG,eA6CjB,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC,CA+B5G;AAED,eAAO,MAAM,uBAAuB,oBAAqB,cAAc,EAAE,UAAU;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;CAAE;;CAQ/G,CAAC;AAEF,eAAO,MAAM,WAAW,QAAS,OAAO,KAAG,MAAM,GAAG,OAMnD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { InfoCard } from '../../../../types/connector';
2
+ interface ConnectorInfoCard {
3
+ infoCard: InfoCard;
4
+ }
5
+ export declare const ConnectorInfoCard: ({ infoCard }: ConnectorInfoCard) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/connector-info-card/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,UAAU,iBAAiB;IACzB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,iBAAkB,iBAAiB,4CAoChE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { TypographyProps, StackProps, BoxProps } from '@hiver/hiver-ui-kit';
3
+ export declare const CardWrapper: StyledComponent<BoxProps>;
4
+ export declare const ConnectorText: StyledComponent<TypographyProps>;
5
+ export declare const RightWrapper: StyledComponent<StackProps>;
6
+ export declare const ToolTipChildren: StyledComponent<BoxProps>;
7
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/connector-info-card/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAmCjD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,eAAe,CAI1D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,UAAU,CAGpD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAErD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { InfoCard } from '../../../../types/connector';
2
+ interface ConnectorInfoCardListProps {
3
+ infoCards: InfoCard[];
4
+ }
5
+ export declare const ConnectorInfoCardList: ({ infoCards }: ConnectorInfoCardListProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/connector-info-card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGlD,UAAU,0BAA0B;IAClC,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB;AACD,eAAO,MAAM,qBAAqB,kBAAmB,0BAA0B,4CAQ9E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/custom-connector-card-item/index.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAatD,UAAU,wBAAwB;IAChC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,uBAAuB,iEAKjC,wBAAwB,4CA4H1B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/custom-connector-card-item/index.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAatD,UAAU,wBAAwB;IAChC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,uBAAuB,iEAKjC,wBAAwB,4CAgI1B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { StyledComponent } from '@emotion/styled';
2
2
  import { TypographyProps, StackProps, SwitchProps, BoxProps, ButtonProps, AlertProps } from '@hiver/hiver-ui-kit';
3
3
  export declare const CardWrapper: StyledComponent<BoxProps>;
4
+ export declare const CardDataWrapper: StyledComponent<BoxProps>;
4
5
  export declare const ConnectorText: StyledComponent<TypographyProps>;
5
6
  export declare const ActionsWrapper: StyledComponent<StackProps>;
6
7
  export declare const SwitchButton: StyledComponent<SwitchProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/custom-connector-card-item/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEvH,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CA+CjD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,eAAe,CAI1D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAGtD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,WAAW,CAErD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAQrD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CA0BhD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,WAAW,CAIxD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,CASlD,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/custom-connector-card-item/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEvH,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAKjD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CA4CrD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,eAAe,CAI1D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAGtD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,WAAW,CAErD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAQrD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CA0BhD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,WAAW,CAIxD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,CASlD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/custom-connector-card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAS3B,eAAO,MAAM,uBAAuB,EAAE,EAqBrC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/custom-connector-card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAW3B,eAAO,MAAM,uBAAuB,EAAE,EAqBrC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ interface ISingletonPopoverTooltipProps {
3
+ children: React.ReactElement;
4
+ }
5
+ export declare const SingletonPopoverTooltip: ({ children }: ISingletonPopoverTooltipProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/singleton-popover-tooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAK/D,UAAU,6BAA6B;IACrC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B;AACD,eAAO,MAAM,uBAAuB,iBAAkB,6BAA6B,4CAelF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const PopoverTitle: () => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=popover-title.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover-title.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/singleton-popover-tooltip/popover-title.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,+CAYxB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ReactElement } from 'react';
2
+ interface IPopoverTooltipProps {
3
+ children: ReactElement;
4
+ }
5
+ export declare const PopoverTooltip: (props: IPopoverTooltipProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=popover-tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover-tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAkB1C,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,UAAW,oBAAoB,4CAkDzD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { TypographyProps, BoxProps, StackProps } from '@hiver/hiver-ui-kit';
3
+ export declare const PopoverWrapper: StyledComponent<BoxProps>;
4
+ export declare const PopoverImgWrapper: StyledComponent<StackProps>;
5
+ export declare const PopoverBody: StyledComponent<TypographyProps>;
6
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/singleton-popover-tooltip/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAMpD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAAC,UAAU,CAMzD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAGxD,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const VISIBILTY_OFF_MSG = "Visibility not set";
2
+ export declare const VISIBILITY_SETTINGS_MSG = "Configure visibility settings";
3
+ export declare const AVAILABILITY_POPUP_TITLE = "Configure Visibility";
4
+ export declare const AVAILABILITY_POPUP_DESC = "Set card visibility across shared mailboxes and roles to enable the connector";
5
+ export declare const VISIBILITY_POPOVER_STORAGE_KEY = "conn_visibility_popover";
6
+ export declare const SINGLETON_CONTEXT_ERROR_MSG = "useSingletonContext must be used within a SingletonProvider";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,uBAAuB,CAAC;AACtD,eAAO,MAAM,uBAAuB,kCAAkC,CAAC;AACvE,eAAO,MAAM,wBAAwB,yBAAyB,CAAC;AAC/D,eAAO,MAAM,uBAAuB,kFAAkF,CAAC;AACvH,eAAO,MAAM,8BAA8B,4BAA4B,CAAC;AACxE,eAAO,MAAM,2BAA2B,gEAAgE,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare function useSingletonContext(): {
2
+ hasRendered: boolean;
3
+ setHasRendered: (value: boolean) => void;
4
+ };
5
+ //# sourceMappingURL=hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/context/singleton-context/hooks.ts"],"names":[],"mappings":"AAIA,wBAAgB,mBAAmB;;;EAMlC"}
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ export declare const SingletonContext: React.Context<{
3
+ hasRendered: boolean;
4
+ setHasRendered: (value: boolean) => void;
5
+ }>;
6
+ export declare const SingletonProvider: React.MemoExoticComponent<({ children }: {
7
+ children: React.ReactNode;
8
+ }) => import("react/jsx-runtime").JSX.Element>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/context/singleton-context/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAEhE,eAAO,MAAM,gBAAgB;iBACd,OAAO;oBACJ,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI;EACU,CAAC;AAErD,eAAO,MAAM,iBAAiB,2CAA6B;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,6CAItF,CAAC"}
@@ -2,7 +2,7 @@ import { ApiStatus } from '../../../types/api';
2
2
  import { ConnectorId, IConnectorDetails } from '../../../types/connector';
3
3
  export interface ConnectorState {
4
4
  connectors: {
5
- [ke: ConnectorId]: IConnectorDetails;
5
+ [x: ConnectorId]: IConnectorDetails;
6
6
  } | null;
7
7
  connectorList: ConnectorId[];
8
8
  connectorsApiStatus: ApiStatus;
@@ -1 +1 @@
1
- {"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KA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,iBAAiB,GAAG,IAAI,CAAC;CAC5C;AAGD,eAAO,MAAM,YAAY,EAAE,cAQ1B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { RootState } from '../../../store';
2
2
  export declare const selectConnectorList: (state: RootState) => string[];
3
3
  export declare const selectConnectors: (state: RootState) => {
4
- [ke: string]: import('../../../types/connector').IConnectorDetails;
4
+ [x: string]: import('../../../types/connector').IConnectorDetails;
5
5
  } | null;
6
6
  export declare const selectConnectorListApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
7
7
  export declare const selectCurrentConnector: (state: RootState) => string | null | undefined;