@availity/mui-controlled-form 1.4.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.4.2](https://github.com/Availity/element/compare/@availity/mui-controlled-form@1.4.1...@availity/mui-controlled-form@1.4.2) (2025-10-09)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `mui-autocomplete` updated to version `1.4.1`
|
|
10
|
+
* `@availity/mock` updated to version `1.4.1`
|
|
11
|
+
## [1.4.1](https://github.com/Availity/element/compare/@availity/mui-controlled-form@1.4.0...@availity/mui-controlled-form@1.4.1) (2025-07-17)
|
|
12
|
+
|
|
13
|
+
### Dependency Updates
|
|
14
|
+
|
|
15
|
+
* `mui-autocomplete` updated to version `1.4.0`
|
|
5
16
|
## [1.4.0](https://github.com/Availity/element/compare/@availity/mui-controlled-form@1.3.10...@availity/mui-controlled-form@1.4.0) (2025-06-23)
|
|
6
17
|
|
|
7
18
|
### Dependency Updates
|
package/dist/index.js
CHANGED
|
@@ -147,7 +147,7 @@ var ControlledAsyncAutocomplete = (_a) => {
|
|
|
147
147
|
},
|
|
148
148
|
onBlur: onBlur2,
|
|
149
149
|
value: (_c = (_b2 = (_a2 = transform == null ? void 0 : transform.input) == null ? void 0 : _a2.call(transform, value2)) != null ? _b2 : value2) != null ? _c : null,
|
|
150
|
-
loadOptions: (offset, limit, inputValue) => __async(
|
|
150
|
+
loadOptions: (offset, limit, inputValue) => __async(null, null, function* () {
|
|
151
151
|
const { options, hasMore, offset: returnedOffsetValue } = yield rest.loadOptions(offset, limit, inputValue);
|
|
152
152
|
if (defaultToFirstOption && offset === 0) {
|
|
153
153
|
setValue(name, rest.multiple ? [options[0]] : options[0]);
|
|
@@ -309,7 +309,7 @@ var ControlledCodesAutocomplete = (_a) => {
|
|
|
309
309
|
"list",
|
|
310
310
|
"watchParams"
|
|
311
311
|
]);
|
|
312
|
-
const handleLoadOptions = (offset, limit, inputValue) => __async(
|
|
312
|
+
const handleLoadOptions = (offset, limit, inputValue) => __async(null, null, function* () {
|
|
313
313
|
const resp = yield (0, import_mui_autocomplete3.fetchCodes)(__spreadProps(__spreadValues({}, apiConfig), {
|
|
314
314
|
params: __spreadProps(__spreadValues({}, apiConfig.params), { list, offset, limit, q: inputValue })
|
|
315
315
|
}));
|
|
@@ -467,7 +467,7 @@ var ControlledOrganizationAutocomplete = (_a) => {
|
|
|
467
467
|
"queryKey",
|
|
468
468
|
"apiConfig"
|
|
469
469
|
]);
|
|
470
|
-
const handleLoadOptions = (offset, limit) => __async(
|
|
470
|
+
const handleLoadOptions = (offset, limit) => __async(null, null, function* () {
|
|
471
471
|
const resp = yield (0, import_mui_autocomplete4.fetchOrgs)(__spreadProps(__spreadValues({}, apiConfig), { params: __spreadProps(__spreadValues({ dropdown: true }, apiConfig.params), { offset, limit }) }));
|
|
472
472
|
return resp;
|
|
473
473
|
});
|
|
@@ -495,7 +495,7 @@ var ControlledProviderAutocomplete = (_a) => {
|
|
|
495
495
|
"customerId",
|
|
496
496
|
"queryKey"
|
|
497
497
|
]);
|
|
498
|
-
const handleLoadOptions = (offset, limit, inputValue) => __async(
|
|
498
|
+
const handleLoadOptions = (offset, limit, inputValue) => __async(null, null, function* () {
|
|
499
499
|
const resp = yield (0, import_mui_autocomplete5.fetchProviders)(customerId, __spreadProps(__spreadValues({}, apiConfig), {
|
|
500
500
|
params: __spreadProps(__spreadValues({}, apiConfig.params), { offset, limit, q: inputValue })
|
|
501
501
|
}));
|
package/dist/index.mjs
CHANGED
|
@@ -111,7 +111,7 @@ var ControlledAsyncAutocomplete = (_a) => {
|
|
|
111
111
|
},
|
|
112
112
|
onBlur: onBlur2,
|
|
113
113
|
value: (_c = (_b2 = (_a2 = transform == null ? void 0 : transform.input) == null ? void 0 : _a2.call(transform, value2)) != null ? _b2 : value2) != null ? _c : null,
|
|
114
|
-
loadOptions: (offset, limit, inputValue) => __async(
|
|
114
|
+
loadOptions: (offset, limit, inputValue) => __async(null, null, function* () {
|
|
115
115
|
const { options, hasMore, offset: returnedOffsetValue } = yield rest.loadOptions(offset, limit, inputValue);
|
|
116
116
|
if (defaultToFirstOption && offset === 0) {
|
|
117
117
|
setValue(name, rest.multiple ? [options[0]] : options[0]);
|
|
@@ -273,7 +273,7 @@ var ControlledCodesAutocomplete = (_a) => {
|
|
|
273
273
|
"list",
|
|
274
274
|
"watchParams"
|
|
275
275
|
]);
|
|
276
|
-
const handleLoadOptions = (offset, limit, inputValue) => __async(
|
|
276
|
+
const handleLoadOptions = (offset, limit, inputValue) => __async(null, null, function* () {
|
|
277
277
|
const resp = yield fetchCodes(__spreadProps(__spreadValues({}, apiConfig), {
|
|
278
278
|
params: __spreadProps(__spreadValues({}, apiConfig.params), { list, offset, limit, q: inputValue })
|
|
279
279
|
}));
|
|
@@ -431,7 +431,7 @@ var ControlledOrganizationAutocomplete = (_a) => {
|
|
|
431
431
|
"queryKey",
|
|
432
432
|
"apiConfig"
|
|
433
433
|
]);
|
|
434
|
-
const handleLoadOptions = (offset, limit) => __async(
|
|
434
|
+
const handleLoadOptions = (offset, limit) => __async(null, null, function* () {
|
|
435
435
|
const resp = yield fetchOrgs(__spreadProps(__spreadValues({}, apiConfig), { params: __spreadProps(__spreadValues({ dropdown: true }, apiConfig.params), { offset, limit }) }));
|
|
436
436
|
return resp;
|
|
437
437
|
});
|
|
@@ -459,7 +459,7 @@ var ControlledProviderAutocomplete = (_a) => {
|
|
|
459
459
|
"customerId",
|
|
460
460
|
"queryKey"
|
|
461
461
|
]);
|
|
462
|
-
const handleLoadOptions = (offset, limit, inputValue) => __async(
|
|
462
|
+
const handleLoadOptions = (offset, limit, inputValue) => __async(null, null, function* () {
|
|
463
463
|
const resp = yield fetchProviders(customerId, __spreadProps(__spreadValues({}, apiConfig), {
|
|
464
464
|
params: __spreadProps(__spreadValues({}, apiConfig.params), { offset, limit, q: inputValue })
|
|
465
465
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-controlled-form",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "Availity MUI/react-hook-form controlled form components - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"publish:canary": "yarn npm publish --access public --tag canary"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@availity/mui-autocomplete": "^1.2.
|
|
43
|
+
"@availity/mui-autocomplete": "^1.2.6",
|
|
44
44
|
"@availity/mui-checkbox": "^1.0.3",
|
|
45
45
|
"@availity/mui-datepicker": "^1.2.0",
|
|
46
46
|
"@availity/mui-form-utils": "^1.3.2",
|