@hiver/connector-agent 1.3.4-beta.0 → 1.3.4

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 (72) hide show
  1. package/features/connector-cards/components/card-list/index.d.ts.map +1 -1
  2. package/features/connector-cards/components/card-list/style.d.ts +0 -1
  3. package/features/connector-cards/components/card-list/style.d.ts.map +1 -1
  4. package/features/connector-cards/components/card-list/whats-new-card.d.ts.map +1 -1
  5. package/features/connector-cards/constants/card-content.d.ts +0 -2
  6. package/features/connector-cards/constants/card-content.d.ts.map +1 -1
  7. package/features/connector-cards/store/hooks.d.ts +7 -0
  8. package/features/connector-cards/store/hooks.d.ts.map +1 -0
  9. package/features/connector-cards/store/index.d.ts +25 -0
  10. package/features/connector-cards/store/index.d.ts.map +1 -0
  11. package/features/connector-cards/store/selectors.d.ts +1 -1
  12. package/features/connector-cards/store/selectors.d.ts.map +1 -1
  13. package/index.es.js +17268 -26689
  14. package/index.umd.js +165 -296
  15. package/package.json +1 -1
  16. package/testing/mocks/handlers.d.ts.map +1 -1
  17. package/testing/test-utils.d.ts +1 -1
  18. package/testing/test-utils.d.ts.map +1 -1
  19. package/utils.d.ts +1 -1
  20. package/utils.d.ts.map +1 -1
  21. package/components/ui/async-select/index.d.ts +0 -4
  22. package/components/ui/async-select/index.d.ts.map +0 -1
  23. package/components/ui/date-field/index.d.ts +0 -3
  24. package/components/ui/date-field/index.d.ts.map +0 -1
  25. package/components/ui/form/index.d.ts +0 -35
  26. package/components/ui/form/index.d.ts.map +0 -1
  27. package/components/ui/form/styles.d.ts +0 -4
  28. package/components/ui/form/styles.d.ts.map +0 -1
  29. package/components/ui/form-fields/index.d.ts +0 -21
  30. package/components/ui/form-fields/index.d.ts.map +0 -1
  31. package/components/ui/form-fields/styles.d.ts +0 -7
  32. package/components/ui/form-fields/styles.d.ts.map +0 -1
  33. package/components/ui/layover/index.d.ts +0 -9
  34. package/components/ui/layover/index.d.ts.map +0 -1
  35. package/components/ui/layover/styles.d.ts +0 -6
  36. package/components/ui/layover/styles.d.ts.map +0 -1
  37. package/components/ui/select/index.d.ts +0 -3
  38. package/components/ui/select/index.d.ts.map +0 -1
  39. package/components/ui/select/style.d.ts +0 -2
  40. package/components/ui/select/style.d.ts.map +0 -1
  41. package/constants/app-constants.d.ts +0 -4
  42. package/constants/app-constants.d.ts.map +0 -1
  43. package/features/write-form/api/index.d.ts +0 -5
  44. package/features/write-form/api/index.d.ts.map +0 -1
  45. package/features/write-form/components/write-form/index.d.ts +0 -3
  46. package/features/write-form/components/write-form/index.d.ts.map +0 -1
  47. package/features/write-form/components/write-form/reducer.d.ts +0 -12
  48. package/features/write-form/components/write-form/reducer.d.ts.map +0 -1
  49. package/features/write-form/components/write-form/styles.d.ts +0 -2
  50. package/features/write-form/components/write-form/styles.d.ts.map +0 -1
  51. package/features/write-form/constants/api.d.ts +0 -4
  52. package/features/write-form/constants/api.d.ts.map +0 -1
  53. package/features/write-form/constants/index.d.ts +0 -9
  54. package/features/write-form/constants/index.d.ts.map +0 -1
  55. package/features/write-form/store/initial-state.d.ts +0 -29
  56. package/features/write-form/store/initial-state.d.ts.map +0 -1
  57. package/features/write-form/store/selectors.d.ts +0 -11
  58. package/features/write-form/store/selectors.d.ts.map +0 -1
  59. package/features/write-form/store/slice.d.ts +0 -62
  60. package/features/write-form/store/slice.d.ts.map +0 -1
  61. package/features/write-form/types/form.d.ts +0 -80
  62. package/features/write-form/types/form.d.ts.map +0 -1
  63. package/features/write-form/utils/index.d.ts +0 -22
  64. package/features/write-form/utils/index.d.ts.map +0 -1
  65. package/store/hooks.d.ts +0 -9
  66. package/store/hooks.d.ts.map +0 -1
  67. package/store/index.d.ts +0 -31
  68. package/store/index.d.ts.map +0 -1
  69. package/testing/mocks/handlers/write-capability.d.ts +0 -2
  70. package/testing/mocks/handlers/write-capability.d.ts.map +0 -1
  71. package/types/form.d.ts +0 -62
  72. package/types/form.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiver/connector-agent",
3
- "version": "1.3.4-beta.0",
3
+ "version": "1.3.4",
4
4
  "main": "index.es.js",
5
5
  "module": "index.es.js",
6
6
  "types": "index.d.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/testing/mocks/handlers.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,6BAAiE,CAAC"}
1
+ {"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/testing/mocks/handlers.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,6BAA+C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { RootState, AppStore } from '../store';
1
+ import { RootState, AppStore } from '../features/connector-cards/store';
2
2
  import { render as rtlRender, RenderOptions } from '@testing-library/react';
3
3
  import { default as userEvent } from '@testing-library/user-event';
4
4
  interface ExtendedRenderOptions extends Omit<RenderOptions, 'queries'> {
@@ -1 +1 @@
1
- {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/testing/test-utils.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,MAAM,IAAI,SAAS,EAAqC,MAAM,wBAAwB,CAAC;AAChG,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAG5D,UAAU,qBAAsB,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC;IACpE,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACpC,KAAK,CAAC,EAAE,QAAQ,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,qBAG/B,CAAC;AAEL,eAAO,MAAM,SAAS,OAChB,KAAK,CAAC,YAAY,gDACyD,qBAAqB;;;uBAA3E,CAAC,yJAIT,CAAC,6BAEV,CAAR;yBAEY,SAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYnB,CAAC;AAGF,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/testing/test-utils.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EAAE,MAAM,IAAI,SAAS,EAAqC,MAAM,wBAAwB,CAAC;AAChG,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAG5D,UAAU,qBAAsB,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC;IACpE,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACpC,KAAK,CAAC,EAAE,QAAQ,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,qBAG/B,CAAC;AAEL,eAAO,MAAM,SAAS,OAChB,KAAK,CAAC,YAAY,gDACyD,qBAAqB;;;uBADnG,CAAC,yJAGY,CAAC,6BAEX,CAAF;yBAE2B,SAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaJ,CAAC;AAGF,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC"}
package/utils.d.ts CHANGED
@@ -43,7 +43,7 @@ export declare const getVersionData: (version: string) => string | number | ((in
43
43
  } | (() => string) | ((url: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((maxLength: number, fillString?: string) => string) | ((maxLength: number, fillString?: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((regexp: RegExp) => RegExpStringIterator<RegExpExecArray>) | (() => StringIterator<string>) | undefined;
44
44
  export declare const isLocalStorageVersionSame: (version: string) => boolean;
45
45
  export declare const isUserAlreadySeenWhatsNew: (version: string, userId?: string) => boolean;
46
- export declare const setLocalStorageData: (version: string, shouldReset?: boolean) => void;
46
+ export declare const setLocalStorageData: (version: string, shouldReset?: boolean, isExpand?: boolean) => void;
47
47
  /**
48
48
  * Function to check whether the specified feature(featureName) is availabe or not.
49
49
  * @param {Object} availableFeatures
package/utils.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAK1C,eAAO,MAAM,iBAAiB,SAAU,MAAM,GAAG,MAAM,WAGtD,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,MAAM;;+DAsD0r6M,eAAe;kCAAzo6M,eAAe,iBAAiB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA5BnI,eACjB;;;oBAOC,eAAc;;;;;;;+YA9BvB,CAAC;AAEF,eAAO,MAAM,yBAAyB,YAAa,MAAM,YAIxD,CAAC;AAIF,eAAO,MAAM,yBAAyB,YAAa,MAAM,WAAU,MAAM,YAIxE,CAAC;AAEF,eAAO,MAAM,mBAAmB,YAAa,MAAM,gBAAe,OAAO,SAwBxE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,sBAAuB,aAAa,2BAAoB,MAAM,YAE5F,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAK1C,eAAO,MAAM,iBAAiB,SAAU,MAAM,GAAG,MAAM,WAGtD,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,MAAM;;+DAyD425M,eAAe;kCANt65M,eAAe,iBAAiB,eACtB;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA1BT,eAAU;;;oBAMR,eAAe;;;;;;;+YA5BpB,CAAC;AAEF,eAAO,MAAM,yBAAyB,YAAa,MAAM,YAIxD,CAAC;AAIF,eAAO,MAAM,yBAAyB,YAAa,MAAM,WAAU,MAAM,YAIxE,CAAC;AAEF,eAAO,MAAM,mBAAmB,YAAa,MAAM,gBAAe,OAAO,aAAoB,OAAO,SA2BnG,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,sBAAuB,aAAa,2BAAoB,MAAM,YAE5F,CAAC"}
@@ -1,4 +0,0 @@
1
- import { GroupBase } from 'react-select';
2
- import { AsyncSelectFieldProps } from '../../../types/form';
3
- export declare function AsyncSelect<OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>>(props: AsyncSelectFieldProps<OptionType, IsMulti, GroupType>): import("react/jsx-runtime").JSX.Element;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/async-select/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAcrD,wBAAgB,WAAW,CACzB,UAAU,EACV,OAAO,SAAS,OAAO,GAAG,KAAK,EAC/B,SAAS,SAAS,SAAS,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,UAAU,CAAC,EAC/D,KAAK,EAAE,qBAAqB,CAAC,UAAU,EAAE,OAAO,EAAE,SAAS,CAAC,2CAiF7D"}
@@ -1,3 +0,0 @@
1
- import { DateFieldProps } from '../../../types/form';
2
- export declare function DateField(props: DateFieldProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/date-field/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAsD9C"}
@@ -1,35 +0,0 @@
1
- import { default as React } from 'react';
2
- import { FormValidation, IFormConfig, AsyncLoadOptions } from '../../../types/form';
3
- import { ActionMeta } from 'react-select';
4
- interface IForm {
5
- formConfig: IFormConfig[];
6
- predicates?: {
7
- [key: string]: boolean;
8
- };
9
- values?: {
10
- [key: string]: unknown;
11
- };
12
- inputChangeHandler?: (event: React.ChangeEvent<HTMLInputElement>) => void;
13
- selectChangeHandler?: (event: unknown, action: ActionMeta<unknown>) => void;
14
- dateChangeHandler?: (name: string, value: Date | null, keyboardInputValue?: string | undefined) => void;
15
- onValidationError?: (name: string, error: string | boolean) => void;
16
- validations?: FormValidation;
17
- icons?: {
18
- [key: string]: {
19
- icon: React.ReactNode;
20
- toolTipText: string;
21
- };
22
- };
23
- sectionSpacing?: number;
24
- fieldsSpacing?: number;
25
- labelSpacing?: number;
26
- fetchConfig?: {
27
- [key: string]: {
28
- loadOptions: AsyncLoadOptions<unknown>;
29
- key?: string;
30
- };
31
- } | null;
32
- }
33
- export declare const Form: ({ formConfig, icons, selectChangeHandler, inputChangeHandler, dateChangeHandler, predicates, values, validations, onValidationError, sectionSpacing, fieldsSpacing, labelSpacing, fetchConfig }: IForm) => import("react/jsx-runtime").JSX.Element;
34
- export {};
35
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/form/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,UAAU,KAAK;IACb,UAAU,EAAE,WAAW,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IACxC,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IACpC,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC1E,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAC5E,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,GAAG,IAAI,EAAE,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IACxG,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;IACpE,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,KAAK,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG;YAAE,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG;YAAE,WAAW,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;YAAC,GAAG,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,GAAG,IAAI,CAAC;CAClG;AAED,eAAO,MAAM,IAAI,oMAcd,KAAK,4CA2CP,CAAC"}
@@ -1,4 +0,0 @@
1
- import { StyledComponent } from '@emotion/styled';
2
- import { StackProps } from '@hiver/hiver-ui-kit';
3
- export declare const FormWrapper: StyledComponent<StackProps>;
4
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/form/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAKnD,CAAC"}
@@ -1,21 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ActionMeta } from 'react-select';
3
- import { FormFieldProps, ElementValidation, AsyncLoadOptions } from '../../../types/form';
4
- type FormField = FormFieldProps & {
5
- validation?: ElementValidation;
6
- validateOnBlur?: boolean;
7
- validateOnChange?: boolean;
8
- selectChangeHandler?: (event: unknown, action: ActionMeta<unknown>) => void;
9
- inputChangeHandler?: (event: React.ChangeEvent<HTMLInputElement>) => void;
10
- dateChangeHandler?: (name: string, value: Date | null, keyboardInputValue?: string | undefined) => void;
11
- onValidationError?: (name: string, error: string | boolean) => void;
12
- iconData?: {
13
- icon: React.ReactNode;
14
- toolTipText: string;
15
- };
16
- labelSpacing?: number;
17
- loadOptions?: AsyncLoadOptions<unknown>;
18
- };
19
- export declare const FormFields: (props: FormField) => import("react/jsx-runtime").JSX.Element;
20
- export {};
21
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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,gBAAgB,EAAmB,MAAM,cAAc,CAAC;AAIzG,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;IAC5E,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC1E,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,GAAG,IAAI,EAAE,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IACxG,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;IACpE,QAAQ,CAAC,EAAE;QAAE,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,UAAU,UAAW,SAAS,4CA4N1C,CAAC"}
@@ -1,7 +0,0 @@
1
- import { StyledComponent } from '@emotion/styled';
2
- import { BoxProps, OutlinedInputProps } from '@hiver/hiver-ui-kit';
3
- export declare const OutlinedInput: StyledComponent<OutlinedInputProps>;
4
- export declare const SelectWrapper: StyledComponent<BoxProps>;
5
- export declare const HelperText: StyledComponent<BoxProps>;
6
- export declare const InputWrapper: StyledComponent<BoxProps>;
7
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/form-fields/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAExE,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,kBAAkB,CAQ7D,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CA6DnD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAUhD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAclD,CAAC"}
@@ -1,9 +0,0 @@
1
- interface LayoverProps {
2
- children: React.ReactNode;
3
- isOpen: boolean;
4
- onClose: () => void;
5
- containerRef: React.RefObject<HTMLDivElement>;
6
- }
7
- declare const Layover: ({ children, isOpen, onClose, containerRef }: LayoverProps) => false | import('react').ReactPortal | null;
8
- export default Layover;
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/layover/index.tsx"],"names":[],"mappings":"AAOA,UAAU,YAAY;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CAC/C;AACD,QAAA,MAAM,OAAO,gDAAiD,YAAY,+CAmCzE,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,6 +0,0 @@
1
- import { StyledComponent } from '@emotion/styled';
2
- import { PaperProps, ButtonBaseProps, BoxProps } from '@hiver/hiver-ui-kit';
3
- export declare const LayoverWrapper: StyledComponent<PaperProps>;
4
- export declare const BackButton: StyledComponent<ButtonBaseProps>;
5
- export declare const ChildrenWrapper: StyledComponent<BoxProps>;
6
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/layover/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAStD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,eAAe,CAOvD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAErD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Props as SelectProps } from 'react-select';
2
- export declare const Select: (props: SelectProps) => import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/select/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,IAAI,WAAW,EAA0B,MAAM,cAAc,CAAC;AAUjF,eAAO,MAAM,MAAM,UAAW,WAAW,4CAExC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=style.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/select/style.tsx"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export declare const REQUIRED_FIELD = "Required Field";
2
- export declare const VALIDATION_FAILED = "Validation Failed";
3
- export declare const INVALID_DATE_VALUE = "Invalid date";
4
- //# sourceMappingURL=app-constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-constants.d.ts","sourceRoot":"","sources":["../../src/constants/app-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAGrD,eAAO,MAAM,kBAAkB,iBAAiB,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const fetchObjectListData: () => Promise<import('axios').AxiosResponse<any, any> | undefined>;
2
- export declare const fetchFieldData: (data: {
3
- [key: string]: string | number;
4
- }) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/api/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,mBAAmB,oEAK/B,CAAC;AAEF,eAAO,MAAM,cAAc,SAAU;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;CAAE,iEAMtE,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const WriteForm: () => import("react/jsx-runtime").JSX.Element;
2
- export default WriteForm;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/write-form/index.tsx"],"names":[],"mappings":"AAeA,QAAA,MAAM,SAAS,+CA4Kd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,12 +0,0 @@
1
- import { WriteFormState, FormActionValue } from '../../types/form';
2
- export declare const intialState: WriteFormState;
3
- export declare const ACTIONS: {
4
- SET_FIELD_VALUE: string;
5
- CLEAR_ERROR: string;
6
- SET_FIELD_ERROR: string;
7
- SET_FIELDS: string;
8
- CLEAR_FIELDS: string;
9
- RESET_STATE: string;
10
- };
11
- export declare const reducer: (state: WriteFormState, action: FormActionValue) => WriteFormState;
12
- //# sourceMappingURL=reducer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/write-form/reducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExE,eAAO,MAAM,WAAW,EAAE,cAGzB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;CAOnB,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,cAAc,UAAU,eAAe,KAAG,cAyDxE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/write-form/styles.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export declare const BASE_URL = "/v1/api";
2
- export declare const FETCH_OBJECT_LIST_API: string;
3
- export declare const FETCH_FIELD_DATA: string;
4
- //# sourceMappingURL=api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/constants/api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,qBAAqB,EAAE,MAAiC,CAAC;AACtE,eAAO,MAAM,gBAAgB,EAAE,MAAiD,CAAC"}
@@ -1,9 +0,0 @@
1
- export declare const INVALID_URL_MSG = "Please enter a valid URL";
2
- export declare const URL_MUST_START_WITH_HTTPS = "URL must start with https://";
3
- export declare const URL_SHOULD_NOT_END_WITH_SLASH = "URL should not end with a slash";
4
- export declare const INVALID_EMAIL = "Invalid email address";
5
- export declare const STRING_EMAIL = "Email must be a string";
6
- export declare const INVALID_DATE_MSG = "Invalid date";
7
- export declare const PAST_DISABLED_MSG = "Date cannot be in the past";
8
- export declare const FUTURE_DISABLED_MSG = "Date cannot be in the future";
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAC1D,eAAO,MAAM,yBAAyB,iCAAiC,CAAC;AACxE,eAAO,MAAM,6BAA6B,oCAAoC,CAAC;AAE/E,eAAO,MAAM,aAAa,0BAA0B,CAAC;AACrD,eAAO,MAAM,YAAY,2BAA2B,CAAC;AACrD,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,eAAO,MAAM,iBAAiB,+BAA+B,CAAC;AAC9D,eAAO,MAAM,mBAAmB,iCAAiC,CAAC"}
@@ -1,29 +0,0 @@
1
- import { LabelValueField, ObjectItem, WriteFormFields } from '../types/form';
2
- import { ApiStatus } from '../../../types/api';
3
- interface OptionsData {
4
- options: LabelValueField[];
5
- hasMore: boolean;
6
- currentPage: number;
7
- }
8
- export interface WriteCapabilityState {
9
- objectList: LabelValueField[];
10
- objectDict: {
11
- [key: string]: ObjectItem;
12
- } | null;
13
- formFields: {
14
- [key: string]: WriteFormFields[];
15
- } | null;
16
- objectListApiStatus: ApiStatus;
17
- optionsMap: {
18
- [key: string]: OptionsData;
19
- } | null;
20
- dependentFieldsMap: {
21
- [key: string]: {
22
- [key: string]: string[];
23
- };
24
- };
25
- dropdownOptionsApis: ApiStatus;
26
- }
27
- export declare const initialState: WriteCapabilityState;
28
- export {};
29
- //# sourceMappingURL=initial-state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,UAAU,WAAW;IACnB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AACD,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE,GAAG,IAAI,CAAC;IACjD,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,EAAE,CAAA;KAAE,GAAG,IAAI,CAAC;IACxD,mBAAmB,EAAE,SAAS,CAAC;IAC/B,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE,GAAG,IAAI,CAAC;IAClD,kBAAkB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;SAAE,CAAA;KAAE,CAAC;IACnE,mBAAmB,EAAE,SAAS,CAAC;CAChC;AAGD,eAAO,MAAM,YAAY,EAAE,oBAQ1B,CAAC"}
@@ -1,11 +0,0 @@
1
- import { RootState } from '../../../store';
2
- export declare const selectObjectList: (state: RootState) => import('../types/form').LabelValueField[];
3
- export declare const selectFormFields: (state: RootState) => {
4
- [key: string]: import('../types/form').WriteFormFields[];
5
- } | null;
6
- export declare const selectDependentFieldsMap: (state: RootState) => {
7
- [key: string]: {
8
- [key: string]: string[];
9
- };
10
- };
11
- //# sourceMappingURL=selectors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,eAAO,MAAM,gBAAgB,UAAW,SAAS,8CAA2B,CAAC;AAC7E,eAAO,MAAM,gBAAgB,UAAW,SAAS;;QAA2B,CAAC;AAC7E,eAAO,MAAM,wBAAwB,UAAW,SAAS;;;;CAAmC,CAAC"}
@@ -1,62 +0,0 @@
1
- import { LabelValueField, ObjectItem, WriteFormFields } from '../types/form';
2
- export declare const writeCapabilitySlice: import('@reduxjs/toolkit').Slice<import('./initial-state').WriteCapabilityState, {
3
- resetState: () => import('./initial-state').WriteCapabilityState;
4
- }, "writeCapability", "writeCapability", import('@reduxjs/toolkit').SliceSelectors<import('./initial-state').WriteCapabilityState>>;
5
- declare const fetchObjectList: import('@reduxjs/toolkit').AsyncThunk<{
6
- objectList: never[];
7
- formFields: null;
8
- objectDict: null;
9
- dependentFieldsMap: {};
10
- } | {
11
- objectList: LabelValueField[];
12
- formFields: {
13
- [key: string]: WriteFormFields[];
14
- };
15
- objectDict: {
16
- [key: string]: ObjectItem;
17
- };
18
- dependentFieldsMap: {
19
- [key: string]: {
20
- [key: string]: string[];
21
- };
22
- };
23
- }, void, {
24
- state?: unknown;
25
- dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
26
- extra?: unknown;
27
- rejectValue?: unknown;
28
- serializedErrorType?: unknown;
29
- pendingMeta?: unknown;
30
- fulfilledMeta?: unknown;
31
- rejectedMeta?: unknown;
32
- }>;
33
- declare const fetchDropDownOptions: import('@reduxjs/toolkit').AsyncThunk<{
34
- optionsList: any[];
35
- fieldName: string;
36
- formId: string;
37
- currentPage: number;
38
- hasMore: any;
39
- key: string;
40
- }, {
41
- fieldName: string;
42
- formId: string;
43
- callback?: (options: LabelValueField[]) => void;
44
- args?: {
45
- [key: string]: string | number | boolean;
46
- };
47
- isScrollToBottomEvent?: boolean;
48
- }, {
49
- state?: unknown;
50
- dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
51
- extra?: unknown;
52
- rejectValue?: unknown;
53
- serializedErrorType?: unknown;
54
- pendingMeta?: unknown;
55
- fulfilledMeta?: unknown;
56
- rejectedMeta?: unknown;
57
- }>;
58
- declare const resetState: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"writeCapability/resetState">;
59
- declare const _default: import('redux').Reducer<import('./initial-state').WriteCapabilityState>;
60
- export default _default;
61
- export { fetchObjectList, resetState, fetchDropDownOptions };
62
- //# sourceMappingURL=slice.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/store/slice.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAsB,eAAe,EAAE,MAAM,eAAe,CAAC;AAGtG,eAAO,MAAM,oBAAoB;;mIAyC/B,CAAC;AAEH,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyGnB,CAAC;AAEH,QAAA,MAAM,oBAAoB;;;;;;;;eAIT,MAAM;YACT,MAAM;eACH,CAAC,OAAO,EAAE,eAAe,EAAE,KAAK,IAAI;WACxC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;KAAE;4BAC3B,OAAO;;;;;;;;;;EAqEpC,CAAC;AAEF,QAAA,MAAQ,UAAU,sFAAiC,CAAC;;AACpD,wBAA4C;AAC5C,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1,80 +0,0 @@
1
- import { FIELD_TYPES } from '../../../types/form';
2
- export type LabelValueField = {
3
- label: string;
4
- value: string | number;
5
- };
6
- export type FieldValue = string | number | LabelValueField | boolean | Date;
7
- export type WriteFieldKeys = string;
8
- export interface WriteFormState {
9
- values: Partial<Record<WriteFieldKeys, FieldValue | undefined>>;
10
- errors: Partial<Record<WriteFieldKeys, string | boolean>>;
11
- }
12
- export interface AllValues {
13
- values: Partial<Record<WriteFieldKeys, FieldValue>>;
14
- }
15
- export interface Value {
16
- value?: FieldValue | boolean;
17
- name: string;
18
- }
19
- export interface FormActionValue {
20
- type: string;
21
- payload?: AllValues | Value;
22
- }
23
- export type ValidationObject = {
24
- msg: string;
25
- };
26
- export interface WriteValidations {
27
- isRequired?: boolean | ValidationObject;
28
- isUrl?: boolean | ValidationObject;
29
- isEmail?: boolean | ValidationObject;
30
- disableFuture?: boolean | ValidationObject;
31
- disablePast?: boolean | ValidationObject;
32
- maxWords?: number;
33
- maxRows?: number;
34
- range?: {
35
- min: number;
36
- max: number;
37
- };
38
- }
39
- export interface InterfaceDetails {
40
- id: string;
41
- args?: {
42
- [key: string]: string;
43
- };
44
- limit?: number;
45
- }
46
- export interface FieldListResponse {
47
- name: string;
48
- placeholder?: string;
49
- type: FIELD_TYPES | 'multi-select';
50
- label: string;
51
- value?: string | number;
52
- disabled?: boolean;
53
- disablePast?: boolean;
54
- disableFuture?: boolean;
55
- validations?: WriteValidations;
56
- defaultOptions?: boolean | LabelValueField[];
57
- interfaceDetails?: InterfaceDetails;
58
- isInfiniteScrollable?: boolean;
59
- isApiSearchEnabled?: boolean;
60
- min?: number;
61
- max?: number;
62
- }
63
- export interface WriteFormFields extends FieldListResponse {
64
- type: FIELD_TYPES;
65
- isMultiSelect?: boolean;
66
- loadOptionsOnFocus?: boolean;
67
- }
68
- export interface ObjectItem extends LabelValueField {
69
- id: string;
70
- name: string;
71
- interfaceDetails?: InterfaceDetails;
72
- type: 'create' | 'link';
73
- connectorId: string;
74
- cardId: string;
75
- }
76
- export interface ObjectResponseItem extends Omit<ObjectItem, 'label' | 'value'> {
77
- fieldList?: FieldListResponse[];
78
- }
79
- export type Predicates = Partial<Record<WriteFieldKeys, boolean>>;
80
- //# sourceMappingURL=form.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/types/form.ts"],"names":[],"mappings":"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"}
@@ -1,22 +0,0 @@
1
- import { FormValidation, IValidateConfig } from '../../../types/form';
2
- import { WriteFormFields, WriteFormState } from '../types/form';
3
- export declare const getAllCompletedArgs: (state: WriteFormState, args?: {
4
- [key: string]: string;
5
- }) => string[];
6
- export declare const getFormFieldKey: (name: string, state: WriteFormState, args?: string[]) => string;
7
- export declare const getArgsValueMap: (state: WriteFormState, args?: {
8
- [key: string]: string;
9
- }) => {
10
- [key: string]: string | number | boolean;
11
- };
12
- export declare const generateDropdownOptionKey: (args: {
13
- [key: string]: string | number | boolean;
14
- }, id: string, name: string) => string;
15
- export declare const validateUrl: (msg?: string) => (url: unknown) => string | boolean;
16
- export declare const validateEmail: (msg?: string) => (email: unknown) => string | boolean;
17
- export declare const validateIsRequired: (msg?: string) => (value: unknown) => string | boolean;
18
- export declare const validateDate: (msg?: string) => (date: unknown, appConfigs: IValidateConfig) => string | boolean;
19
- export declare const getFormFieldsValidations: ({ formFields }: {
20
- formFields: WriteFormFields[];
21
- }) => FormValidation;
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAW/D,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGhE,eAAO,MAAM,mBAAmB,UAAW,cAAc,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,KAAG,MAAM,EAMnG,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,MAAM,SAAS,cAAc,SAAS,MAAM,EAAE,WAWnF,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,cAAc,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE;;CA2BtF,CAAC;AAEF,eAAO,MAAM,yBAAyB,SAC9B;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;CAAE,MAC9C,MAAM,QACJ,MAAM,WAOb,CAAC;AAEF,eAAO,MAAM,WAAW,SACf,MAAM,WACP,OAAO,KAAG,MAAM,GAAG,OAyBxB,CAAC;AAEJ,eAAO,MAAM,aAAa,SACjB,MAAM,aACL,OAAO,KAAG,MAAM,GAAG,OAa1B,CAAC;AAEJ,eAAO,MAAM,kBAAkB,SACtB,MAAM,aACL,OAAO,KAAG,MAAM,GAAG,OAK1B,CAAC;AAEJ,eAAO,MAAM,YAAY,SAChB,MAAM,YACN,OAAO,cAAc,eAAe,KAAG,MAAM,GAAG,OAsBtD,CAAC;AAEJ,eAAO,MAAM,wBAAwB,mBAAoB;IAAE,UAAU,EAAE,eAAe,EAAE,CAAA;CAAE,KAAG,cA4B5F,CAAC"}
package/store/hooks.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export declare const useAppDispatch: import('react-redux').UseDispatch<import('redux-thunk').ThunkDispatch<{
2
- cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
3
- write: import('../features/write-form/store/initial-state').WriteCapabilityState;
4
- }, undefined, import('redux').UnknownAction> & import('redux').Dispatch<import('redux').UnknownAction>>;
5
- export declare const useAppSelector: import('react-redux').UseSelector<{
6
- cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
7
- write: import('../features/write-form/store/initial-state').WriteCapabilityState;
8
- }>;
9
- //# sourceMappingURL=hooks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/store/hooks.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc;;;uGAAuC,CAAC;AACnE,eAAO,MAAM,cAAc;;;EAAqC,CAAC"}
package/store/index.d.ts DELETED
@@ -1,31 +0,0 @@
1
- import { Action, ThunkAction } from '@reduxjs/toolkit';
2
- export declare const rootReducer: import('redux').Reducer<{
3
- cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
4
- write: import('../features/write-form/store/initial-state').WriteCapabilityState;
5
- }, import('redux').UnknownAction, Partial<{
6
- cardList: import('../features/connector-cards/store/initial-state').IConnectorState | undefined;
7
- write: import('../features/write-form/store/initial-state').WriteCapabilityState | undefined;
8
- }>>;
9
- export declare const store: import('@reduxjs/toolkit').EnhancedStore<{
10
- cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
11
- write: import('../features/write-form/store/initial-state').WriteCapabilityState;
12
- }, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
13
- dispatch: import('redux-thunk').ThunkDispatch<{
14
- cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
15
- write: import('../features/write-form/store/initial-state').WriteCapabilityState;
16
- }, undefined, import('redux').UnknownAction>;
17
- }>, import('redux').StoreEnhancer]>>;
18
- export declare const customStore: (preloadedState?: Partial<RootState>) => import('@reduxjs/toolkit').EnhancedStore<{
19
- cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
20
- write: import('../features/write-form/store/initial-state').WriteCapabilityState;
21
- }, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
22
- dispatch: import('redux-thunk').ThunkDispatch<{
23
- cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
24
- write: import('../features/write-form/store/initial-state').WriteCapabilityState;
25
- }, undefined, import('redux').UnknownAction>;
26
- }>, import('redux').StoreEnhancer]>>;
27
- export type AppStore = typeof store;
28
- export type RootState = ReturnType<AppStore['getState']>;
29
- export type AppDispatch = AppStore['dispatch'];
30
- export type AppThunk<ThunkReturnType = void> = ThunkAction<ThunkReturnType, RootState, unknown, Action>;
31
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE5D,eAAO,MAAM,WAAW;;;;;;GAGtB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;oCAGhB,CAAC;AAEH,eAAO,MAAM,WAAW,oBAAqB,OAAO,CAAC,SAAS,CAAC;;;;;;;;oCAM9D,CAAC;AAGF,MAAM,MAAM,QAAQ,GAAG,OAAO,KAAK,CAAC;AACpC,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;AAE/C,MAAM,MAAM,QAAQ,CAAC,eAAe,GAAG,IAAI,IAAI,WAAW,CAAC,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const handlers: import('msw').HttpHandler[];
2
- //# sourceMappingURL=write-capability.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"write-capability.d.ts","sourceRoot":"","sources":["../../../../src/testing/mocks/handlers/write-capability.ts"],"names":[],"mappings":"AA+KA,eAAO,MAAM,QAAQ,6BAAkC,CAAC"}