@m4l/components 9.80.0 → 9.80.1-beta-docs-autocomplete-async-with-add-mf-sync.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 (98) hide show
  1. package/components/MFLoader/MFLoader.d.ts.map +1 -1
  2. package/components/MFLoader/MFLoader.js +124 -112
  3. package/components/MFLoader/hooks/useMFCallbackLifecycle.d.ts +6 -0
  4. package/components/MFLoader/hooks/useMFCallbackLifecycle.d.ts.map +1 -0
  5. package/components/MFLoader/hooks/useMFCallbackLifecycle.js +25 -0
  6. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.d.ts.map +1 -1
  7. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.js +49 -47
  8. package/components/areas/components/AreasViewer/test/popupAuthenticationConstants.d.ts +4 -0
  9. package/components/areas/components/AreasViewer/test/popupAuthenticationConstants.d.ts.map +1 -0
  10. package/components/areas/contexts/AreasContext/index.d.ts.map +1 -1
  11. package/components/areas/contexts/AreasContext/index.js +29 -28
  12. package/components/areas/contexts/AreasContext/tests/mfActionSupport.d.ts +22 -0
  13. package/components/areas/contexts/AreasContext/tests/mfActionSupport.d.ts.map +1 -0
  14. package/components/areas/contexts/AreasContext/useMFActionLifecycle.d.ts +4 -0
  15. package/components/areas/contexts/AreasContext/useMFActionLifecycle.d.ts.map +1 -0
  16. package/components/areas/contexts/AreasContext/useMFActionLifecycle.js +49 -0
  17. package/components/extended/mui/Autocomplete/Autocomplete.d.ts.map +1 -1
  18. package/components/extended/mui/Autocomplete/Autocomplete.js +55 -54
  19. package/components/extended/mui/Autocomplete/hooks/useAutocomplete/useAutocomplete.d.ts.map +1 -1
  20. package/components/extended/mui/Autocomplete/hooks/useAutocomplete/useAutocomplete.js +81 -72
  21. package/components/extended/mui/Autocomplete/types.d.ts +1 -1
  22. package/components/extended/mui/Autocomplete/types.d.ts.map +1 -1
  23. package/components/extended/mui/AutocompleteAsync/AutocompleteAddButton.d.ts +4 -0
  24. package/components/extended/mui/AutocompleteAsync/AutocompleteAddButton.d.ts.map +1 -0
  25. package/components/extended/mui/AutocompleteAsync/AutocompleteAddButton.js +23 -0
  26. package/components/extended/mui/AutocompleteAsync/AutocompleteAsync.d.ts +5 -9
  27. package/components/extended/mui/AutocompleteAsync/AutocompleteAsync.d.ts.map +1 -1
  28. package/components/extended/mui/AutocompleteAsync/AutocompleteAsync.js +87 -56
  29. package/components/extended/mui/AutocompleteAsync/constants.d.ts +4 -1
  30. package/components/extended/mui/AutocompleteAsync/constants.d.ts.map +1 -1
  31. package/components/extended/mui/AutocompleteAsync/constants.js +24 -12
  32. package/components/extended/mui/AutocompleteAsync/hooks/useAutocompleteAdd.d.ts +9 -0
  33. package/components/extended/mui/AutocompleteAsync/hooks/useAutocompleteAdd.d.ts.map +1 -0
  34. package/components/extended/mui/AutocompleteAsync/hooks/useAutocompleteAdd.js +97 -0
  35. package/components/extended/mui/AutocompleteAsync/hooks/useFetchOptions.d.ts.map +1 -1
  36. package/components/extended/mui/AutocompleteAsync/hooks/useFetchOptions.js +47 -46
  37. package/components/extended/mui/AutocompleteAsync/index.d.ts +1 -1
  38. package/components/extended/mui/AutocompleteAsync/index.d.ts.map +1 -1
  39. package/components/extended/mui/AutocompleteAsync/reducer/AutocompleteAsyncReducer.d.ts.map +1 -1
  40. package/components/extended/mui/AutocompleteAsync/reducer/AutocompleteAsyncReducer.js +50 -28
  41. package/components/extended/mui/AutocompleteAsync/slots/addStyled.d.ts +6 -0
  42. package/components/extended/mui/AutocompleteAsync/slots/addStyled.d.ts.map +1 -0
  43. package/components/extended/mui/AutocompleteAsync/slots/addStyled.js +19 -0
  44. package/components/extended/mui/AutocompleteAsync/tests/add/constants.d.ts +5 -0
  45. package/components/extended/mui/AutocompleteAsync/tests/add/constants.d.ts.map +1 -0
  46. package/components/extended/mui/AutocompleteAsync/tests/add/helpers.d.ts +8 -0
  47. package/components/extended/mui/AutocompleteAsync/tests/add/helpers.d.ts.map +1 -0
  48. package/components/extended/mui/AutocompleteAsync/tests/add/types.d.ts +20 -0
  49. package/components/extended/mui/AutocompleteAsync/tests/add/types.d.ts.map +1 -0
  50. package/components/extended/mui/AutocompleteAsync/tests/support/ControlledAsyncField.d.ts +4 -0
  51. package/components/extended/mui/AutocompleteAsync/tests/support/ControlledAsyncField.d.ts.map +1 -0
  52. package/components/extended/mui/AutocompleteAsync/tests/support/constants.d.ts +8 -0
  53. package/components/extended/mui/AutocompleteAsync/tests/support/constants.d.ts.map +1 -0
  54. package/components/extended/mui/AutocompleteAsync/tests/support/createDeferred.d.ts +4 -0
  55. package/components/extended/mui/AutocompleteAsync/tests/support/createDeferred.d.ts.map +1 -0
  56. package/components/extended/mui/AutocompleteAsync/tests/support/mockAutocompleteAnchor.d.ts +3 -0
  57. package/components/extended/mui/AutocompleteAsync/tests/support/mockAutocompleteAnchor.d.ts.map +1 -0
  58. package/components/extended/mui/AutocompleteAsync/tests/support/types.d.ts +21 -0
  59. package/components/extended/mui/AutocompleteAsync/tests/support/types.d.ts.map +1 -0
  60. package/components/extended/mui/AutocompleteAsync/types.d.ts +47 -0
  61. package/components/extended/mui/AutocompleteAsync/types.d.ts.map +1 -1
  62. package/components/extended/mui/AutocompleteAsync/types.js +4 -2
  63. package/components/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.d.ts +1 -1
  64. package/components/hook-form/RHFAutocompleteAsync/index.d.ts +1 -0
  65. package/components/hook-form/RHFAutocompleteAsync/index.d.ts.map +1 -1
  66. package/components/hook-form/RHFAutocompleteAsync/tests/addConstants.d.ts +3 -0
  67. package/components/hook-form/RHFAutocompleteAsync/tests/addConstants.d.ts.map +1 -0
  68. package/components/hook-form/RHFAutocompleteAsync/tests/addHelpers.d.ts +4 -0
  69. package/components/hook-form/RHFAutocompleteAsync/tests/addHelpers.d.ts.map +1 -0
  70. package/components/hook-form/RHFAutocompleteAsync/tests/addTypes.d.ts +12 -0
  71. package/components/hook-form/RHFAutocompleteAsync/tests/addTypes.d.ts.map +1 -0
  72. package/components/hook-form/index.d.ts +1 -0
  73. package/components/hook-form/index.d.ts.map +1 -1
  74. package/index.d.ts +1 -0
  75. package/index.d.ts.map +1 -1
  76. package/index.js +235 -222
  77. package/package.json +5 -5
  78. package/utils/mfActions/constants.d.ts +6 -0
  79. package/utils/mfActions/constants.d.ts.map +1 -0
  80. package/utils/mfActions/constants.js +8 -0
  81. package/utils/mfActions/index.d.ts +5 -0
  82. package/utils/mfActions/index.d.ts.map +1 -0
  83. package/utils/mfActions/mfActions.d.ts +10 -0
  84. package/utils/mfActions/mfActions.d.ts.map +1 -0
  85. package/utils/mfActions/mfActions.js +47 -0
  86. package/utils/mfActions/openMFCallbackAction.d.ts +4 -0
  87. package/utils/mfActions/openMFCallbackAction.d.ts.map +1 -0
  88. package/utils/mfActions/openMFCallbackAction.js +36 -0
  89. package/utils/mfActions/tests/callbackHelpers.d.ts +9 -0
  90. package/utils/mfActions/tests/callbackHelpers.d.ts.map +1 -0
  91. package/utils/mfActions/tests/constants.d.ts +6 -0
  92. package/utils/mfActions/tests/constants.d.ts.map +1 -0
  93. package/utils/mfActions/tests/helpers.d.ts +4 -0
  94. package/utils/mfActions/tests/helpers.d.ts.map +1 -0
  95. package/utils/mfActions/tests/types.d.ts +8 -0
  96. package/utils/mfActions/tests/types.d.ts.map +1 -0
  97. package/utils/mfActions/types.d.ts +47 -0
  98. package/utils/mfActions/types.d.ts.map +1 -0
@@ -0,0 +1,5 @@
1
+ /** Distinct resource commits exceeding the documented bounded coalescing history. */
2
+ export declare const OPERATION_HISTORY: string[];
3
+ export declare const INITIAL_TEST_SCOPE = "initial-scope";
4
+ export declare const NEXT_TEST_SCOPE = "next-scope";
5
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/extended/mui/AutocompleteAsync/tests/add/constants.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,eAAO,MAAM,iBAAiB,UAAiE,CAAC;AAEhG,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAClD,eAAO,MAAM,eAAe,eAAe,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ControlledAddFieldProps, ScopeTransitionFieldProps, SuspenseScopeGate } from './types';
2
+ /** Reflect the real controlled selection contract without mocking the autocomplete. */
3
+ export declare function ControlledAddField({ initialValue, componentProps }: ControlledAddFieldProps): import("@emotion/react/jsx-runtime").JSX.Element;
4
+ /** Represent a real suspended data dependency without controlling React's lifecycle or private state. */
5
+ export declare function createSuspenseScopeGate(): SuspenseScopeGate;
6
+ /** Keep the committed field visible while React prepares a scope with a pending data dependency. */
7
+ export declare function ScopeTransitionField({ componentProps, gate }: ScopeTransitionFieldProps): import("@emotion/react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/extended/mui/AutocompleteAsync/tests/add/helpers.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAwB,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE3H,uFAAuF;AACvF,wBAAgB,kBAAkB,CAAC,EAAE,YAAY,EAAE,cAAc,EAAE,EAAE,uBAAuB,oDAW3F;AAED,yGAAyG;AACzG,wBAAgB,uBAAuB,IAAI,iBAAiB,CAY3D;AAQD,oGAAoG;AACpG,wBAAgB,oBAAoB,CAAC,EAAE,cAAc,EAAE,IAAI,EAAE,EAAE,yBAAyB,oDAYvF"}
@@ -0,0 +1,20 @@
1
+ import { AutocompleteAsyncProps } from '../../types';
2
+ import { AsyncTestOption } from '../support/types';
3
+ export interface ControlledAddFieldProps {
4
+ initialValue: AsyncTestOption | AsyncTestOption[] | null;
5
+ componentProps: Omit<AutocompleteAsyncProps<AsyncTestOption>, 'value' | 'onChange'>;
6
+ }
7
+ /** A pending data dependency keeps a scope transition from committing until released. */
8
+ export interface SuspenseScopeGate {
9
+ read: () => void;
10
+ release: () => void;
11
+ }
12
+ export interface ScopeCommitGateProps {
13
+ scope: string;
14
+ gate: SuspenseScopeGate;
15
+ }
16
+ export interface ScopeTransitionFieldProps {
17
+ componentProps: Omit<AutocompleteAsyncProps<AsyncTestOption>, 'resetKey'>;
18
+ gate: SuspenseScopeGate;
19
+ }
20
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/extended/mui/AutocompleteAsync/tests/add/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,eAAe,GAAG,eAAe,EAAE,GAAG,IAAI,CAAC;IACzD,cAAc,EAAE,IAAI,CAAC,sBAAsB,CAAC,eAAe,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;CACrF;AAED,yFAAyF;AACzF,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,iBAAiB,CAAC;CACzB;AAED,MAAM,WAAW,yBAAyB;IACxC,cAAc,EAAE,IAAI,CAAC,sBAAsB,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC,CAAC;IAC1E,IAAI,EAAE,iBAAiB,CAAC;CACzB"}
@@ -0,0 +1,4 @@
1
+ import { ControlledAsyncFieldProps } from './types';
2
+ /** Exercise manual async selection with the same controlled value updates as a consuming form. */
3
+ export declare function ControlledAsyncField({ initialValue, componentProps, onChange }: ControlledAsyncFieldProps): import("@emotion/react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=ControlledAsyncField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ControlledAsyncField.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/extended/mui/AutocompleteAsync/tests/support/ControlledAsyncField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEzD,kGAAkG;AAClG,wBAAgB,oBAAoB,CAAC,EAAE,YAAY,EAAE,cAAc,EAAE,QAAQ,EAAE,EAAE,yBAAyB,oDAkBzG"}
@@ -0,0 +1,8 @@
1
+ import { AutocompleteAsyncProps } from '../../types';
2
+ import { AsyncTestOption } from './types';
3
+ export declare const EXISTING_PERSON: AsyncTestOption;
4
+ export declare const OTHER_PERSON: AsyncTestOption;
5
+ export declare const CREATED_PERSON: AsyncTestOption;
6
+ export declare const ASYNC_TEST_OPTIONS: AsyncTestOption[];
7
+ export declare const ASYNC_TEST_PROPS: Omit<AutocompleteAsyncProps<AsyncTestOption>, 'value' | 'onChange'>;
8
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/extended/mui/AutocompleteAsync/tests/support/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,eAAe,EAAE,eAAmD,CAAC;AAClF,eAAO,MAAM,YAAY,EAAE,eAAgD,CAAC;AAC5E,eAAO,MAAM,cAAc,EAAE,eAAkD,CAAC;AAChF,eAAO,MAAM,kBAAkB,mBAAkD,CAAC;AAElF,eAAO,MAAM,gBAAgB,EAAE,IAAI,CAAC,sBAAsB,CAAC,eAAe,CAAC,EAAE,OAAO,GAAG,UAAU,CAIhG,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { DeferredPromise } from './types';
2
+ /** Control completion order without sleeping or replacing the native abort implementation. */
3
+ export declare function createDeferred<T>(): DeferredPromise<T>;
4
+ //# sourceMappingURL=createDeferred.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDeferred.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/extended/mui/AutocompleteAsync/tests/support/createDeferred.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,8FAA8F;AAC9F,wBAAgB,cAAc,CAAC,CAAC,KAAK,eAAe,CAAC,CAAC,CAAC,CAStD"}
@@ -0,0 +1,3 @@
1
+ /** Supply the input wrapper's layout box because happy-dom returns an empty rectangle for every element. */
2
+ export declare function mockAutocompleteAnchor(input: HTMLElement): void;
3
+ //# sourceMappingURL=mockAutocompleteAnchor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mockAutocompleteAnchor.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/extended/mui/AutocompleteAsync/tests/support/mockAutocompleteAnchor.ts"],"names":[],"mappings":"AAEA,4GAA4G;AAC5G,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,WAAW,QAIxD"}
@@ -0,0 +1,21 @@
1
+ import { AutocompleteAsyncProps } from '../../types';
2
+ import { AutocompleteProps } from '../../../Autocomplete/types';
3
+ export interface AsyncTestOption {
4
+ id: number;
5
+ name: string;
6
+ }
7
+ export interface DeferredPromise<T> {
8
+ promise: Promise<T>;
9
+ resolve: (value: T) => void;
10
+ reject: (reason: unknown) => void;
11
+ }
12
+ export interface AsyncOptionsResponse {
13
+ data: AsyncTestOption[];
14
+ }
15
+ export interface ControlledAsyncFieldProps {
16
+ initialValue: AsyncTestOption | AsyncTestOption[] | null;
17
+ componentProps: Omit<AutocompleteAsyncProps<AsyncTestOption>, 'value' | 'onChange'>;
18
+ onChange?: AutocompleteAsyncProps<AsyncTestOption>['onChange'];
19
+ }
20
+ export type AsyncOptionsProbeProps = Pick<AutocompleteProps<AsyncTestOption, boolean | undefined>, 'options' | 'onOpen'>;
21
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/extended/mui/AutocompleteAsync/tests/support/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAErE,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACpB,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5B,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CACnC;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,eAAe,EAAE,CAAC;CACzB;AACD,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,eAAe,GAAG,eAAe,EAAE,GAAG,IAAI,CAAC;IACzD,cAAc,EAAE,IAAI,CAAC,sBAAsB,CAAC,eAAe,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;IACpF,QAAQ,CAAC,EAAE,sBAAsB,CAAC,eAAe,CAAC,CAAC,UAAU,CAAC,CAAC;CAChE;AAED,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,iBAAiB,CAAC,eAAe,EAAE,OAAO,GAAG,SAAS,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { Ref } from 'react';
2
+ import { IconButtonProps } from '../IconButton/types';
1
3
  import { AutocompleteProps } from '../Autocomplete/types';
2
4
  import { Theme } from '@mui/material';
3
5
  import { M4LOverridesStyleRules } from '../../../../@types/augmentations';
@@ -9,8 +11,16 @@ export type OnChangeFilterParms = (newValue: string) => Record<string, any>;
9
11
  * Manages options via fetch; value/onChange are passed by parent or by withRHFController.
10
12
  */
11
13
  export interface AutocompleteAsyncProps<T = unknown> extends Omit<AutocompleteProps<T, boolean | undefined>, 'options' | 'onOpen' | 'onClose' | 'open'> {
14
+ /** Optional correlated creation action rendered as a trailing contained primary Add icon button. */
15
+ add?: AutocompleteAddAction<T>;
12
16
  /** Optional text label for the field (when used without RHF wrappers). */
13
17
  label?: string;
18
+ /** Invalidate cached options when a committed operation changes this key. */
19
+ refreshKey?: string;
20
+ /** Discard options and pending reads when the owning data/form scope changes. */
21
+ resetKey?: string;
22
+ /** Retain controlled selections outside nonempty server results. Defaults to true with add, otherwise legacy replacement behavior. */
23
+ retainSelectedOptions?: boolean;
14
24
  /** URL to fetch data from */
15
25
  endPoint: string;
16
26
  /** Whether the response should be converted to camel case */
@@ -48,6 +58,8 @@ export type AutocompleteAsyncStyles = M4LOverridesStyleRules<AutocompleteAsyncSl
48
58
  /** Reducer action types for AutocompleteAsync */
49
59
  export declare const actionsType: {
50
60
  readonly REFRESH: "REFRESH";
61
+ readonly INVALIDATE: "INVALIDATE";
62
+ readonly RESET: "RESET";
51
63
  readonly SET_PARAMS: "SET_PARAMS";
52
64
  readonly SET_QUERY_PARAMS: "SET_QUERY_PARAMS";
53
65
  readonly OPEN: "OPEN";
@@ -57,6 +69,13 @@ export declare const actionsType: {
57
69
  };
58
70
  export type AutocompleteAsyncAction<T> = {
59
71
  type: typeof actionsType.REFRESH;
72
+ } | {
73
+ type: typeof actionsType.INVALIDATE;
74
+ noFetch?: boolean;
75
+ } | {
76
+ type: typeof actionsType.RESET;
77
+ noFetch?: boolean;
78
+ queryParams?: Record<string, any>;
60
79
  } | {
61
80
  type: typeof actionsType.SET_QUERY_PARAMS;
62
81
  payload: Record<string, any>;
@@ -87,4 +106,32 @@ export interface UseFetchOptionsProps<T> extends Pick<AutocompleteAsyncProps<T>,
87
106
  state: AutocompleteAsyncState<T>;
88
107
  dispatch: (value: AutocompleteAsyncAction<T>) => void;
89
108
  }
109
+ export interface AutocompleteAddButtonProps extends IconButtonProps {
110
+ buttonRef: Ref<HTMLButtonElement>;
111
+ }
112
+ export interface AutocompleteAddContext {
113
+ requestId: string;
114
+ signal: AbortSignal;
115
+ }
116
+ export type AutocompleteAddResult<T> = {
117
+ status: 'cancelled';
118
+ } | {
119
+ status: 'created';
120
+ operationId: string;
121
+ option: T | null;
122
+ };
123
+ export type AutocompleteAddStatus = 'pending' | 'created' | 'cancelled' | 'unavailable' | 'error';
124
+ export interface AutocompleteAddAction<T> {
125
+ label: string;
126
+ action: (context: AutocompleteAddContext) => Promise<AutocompleteAddResult<T>>;
127
+ disabled?: boolean;
128
+ selectCreated?: boolean;
129
+ onError?: (error: unknown) => void;
130
+ messages?: Partial<Record<AutocompleteAddStatus, string>>;
131
+ }
132
+ export interface PendingAutocompleteAdd {
133
+ controller: AbortController;
134
+ selectionVersion: number;
135
+ resetKey?: string;
136
+ }
90
137
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/AutocompleteAsync/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,gCAAgC,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,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AC,CAAC,CAAC;IACjC,QAAQ,EAAE,CAAC,KAAK,EAAE,uBAAuB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CACvD"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/AutocompleteAsync/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,gCAAgC,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,sBAAsB,CAAC,CAAC,GAAG,OAAO,CACjD,SAAQ,IAAI,CACV,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC,EACzC,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAC1C;IACD,oGAAoG;IACpG,GAAG,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAC/B,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iFAAiF;IACjF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sIAAsI;IACtI,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,6DAA6D;IAC7D,mB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EN: "OPEN",
@@ -8,5 +10,5 @@ const S = {
8
10
  FINISH_LOAD_OPTIONS: "FINISH_LOAD_OPTIONS"
9
11
  };
10
12
  export {
11
- S as actionsType
13
+ E as actionsType
12
14
  };
@@ -2,7 +2,7 @@ import { Ref } from 'react';
2
2
  import { RHFAutocompleteAsyncProps } from './types';
3
3
  /**
4
4
  * RHFAutocompleteAsync: async autocomplete integrated with react-hook-form.
5
- * Uses AutocompleteAsync (fetch logic) wrapped with withRHFController for form state, label, and errors.
5
+ * Uses AutocompleteAsync (fetch logic and optional add workflow) wrapped with withRHFController for form state, label, and errors.
6
6
  * Generic T is the option type (e.g. OperandSelectAsync).
7
7
  * @example
8
8
  * ```tsx
@@ -1,2 +1,3 @@
1
1
  export { RHFAutocompleteAsync } from './RHFAutocompleteAsync';
2
+ export type { RHFAutocompleteAsyncProps } from './types';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFAutocompleteAsync/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFAutocompleteAsync/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AddFieldFormValues } from './addTypes';
2
+ export declare const ADD_FIELD_FORM_DEFAULTS: AddFieldFormValues;
3
+ //# sourceMappingURL=addConstants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addConstants.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFAutocompleteAsync/tests/addConstants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,eAAO,MAAM,uBAAuB,EAAE,kBAGrC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { AddFieldFormProps } from './addTypes';
2
+ /** Exercise the production controller together with sibling fields and real form state. */
3
+ export declare function AddFieldForm({ add, onSubmit }: AddFieldFormProps): import("@emotion/react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=addHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addHelpers.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFAutocompleteAsync/tests/addHelpers.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAsB,MAAM,YAAY,CAAC;AAExE,2FAA2F;AAC3F,wBAAgB,YAAY,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,iBAAiB,oDA4BhE"}
@@ -0,0 +1,12 @@
1
+ import { SubmitHandler } from 'react-hook-form';
2
+ import { AutocompleteAddAction } from '../../../extended/mui/AutocompleteAsync/types';
3
+ import { AsyncTestOption } from '../../../extended/mui/AutocompleteAsync/tests/support/types';
4
+ export interface AddFieldFormValues {
5
+ person: AsyncTestOption | null;
6
+ schedule: string;
7
+ }
8
+ export interface AddFieldFormProps {
9
+ add?: AutocompleteAddAction<AsyncTestOption>;
10
+ onSubmit: SubmitHandler<AddFieldFormValues>;
11
+ }
12
+ //# sourceMappingURL=addTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addTypes.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFAutocompleteAsync/tests/addTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAC3F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6DAA6D,CAAC;AAEnG,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,EAAE,qBAAqB,CAAC,eAAe,CAAC,CAAC;IAC7C,QAAQ,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;CAC7C"}
@@ -3,6 +3,7 @@ export * from './RHFColorPicker';
3
3
  export * from './RHFCodeEditor';
4
4
  export { getRHFAutocompleteComponentsDictionary } from './RHFAutocomplete/dictionary';
5
5
  export { RHFAutocompleteAsync } from './RHFAutocompleteAsync/RHFAutocompleteAsync';
6
+ export type { RHFAutocompleteAsyncProps } from './RHFAutocompleteAsync/types';
6
7
  export * from './RHFImageSelector';
7
8
  export { getRHFAutocompleteAsyncComponentsDictionary } from './RHFAutocompleteAsync/dictionary';
8
9
  export * from './RHFCheckbox/RHFCheckbox';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/hook-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mCAAmC,CAAC;AAChG,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/hook-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,YAAY,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAC9E,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mCAAmC,CAAC;AAChG,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
package/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export * from './contexts/form';
9
9
  export * from './hooks';
10
10
  export * from './hocs';
11
11
  export * from './utils';
12
+ export * from './utils/mfActions';
12
13
  export { getCookie, setCookie } from './helpers/cookies';
13
14
  export type { CookieParams, CookiesGetProps, CookiesPutProps } from './helpers/cookies/types';
14
15
  export * from './@types/types.d';
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/components/src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,YAAY,EACV,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC9F,cAAc,kBAAkB,CAAC;AACjC,YAAY,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/components/src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,YAAY,EACV,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC9F,cAAc,kBAAkB,CAAC;AACjC,YAAY,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC"}