@dartech/arsenal-ui 1.4.52 → 1.4.54
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/index.js +2 -1
- package/package.json +1 -1
- package/src/lib/Forms/ControlAutocomplete/ControlQueryAutocomplete.d.ts +3 -1
- package/src/lib/Property/UpsertProperty/PropertyValueField/BooleanValueField.d.ts +1 -0
- package/src/lib/Property/UpsertProperty/PropertyValueField/DateTimeValueField.d.ts +1 -0
- package/src/lib/Property/UpsertProperty/PropertyValueField/DateValueField.d.ts +1 -0
- package/src/lib/Property/UpsertProperty/PropertyValueField/JsonValueField.d.ts +1 -0
- package/src/lib/Property/UpsertProperty/PropertyValueField/TimeValueField.d.ts +1 -0
- package/src/lib/Property/ViewProperty/PropertyItem.d.ts +1 -0
package/index.js
CHANGED
@@ -5962,7 +5962,8 @@ const CreatePropertyFormFields = /*#__PURE__*/memo(({
|
|
5962
5962
|
control: control,
|
5963
5963
|
name: `${propertyFieldName}.uiSettings`,
|
5964
5964
|
label: "UI Settings",
|
5965
|
-
validateJson: true
|
5965
|
+
validateJson: true,
|
5966
|
+
parseValue: true
|
5966
5967
|
})
|
5967
5968
|
}), jsxs(Grid, {
|
5968
5969
|
children: [jsx(ControlCheckbox, {
|
package/package.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
|
+
import { AutocompleteProps } from '@mui/material/Autocomplete';
|
2
3
|
import { ControlAutocompleteProps } from './ControlAutocomplete';
|
3
4
|
import { PaginateData } from '../../../interfaces';
|
4
5
|
type PaginateParams = {
|
@@ -13,6 +14,7 @@ type ControlQueryAutocompleteProps<T> = Omit<ControlAutocompleteProps, 'options'
|
|
13
14
|
queryFunction: (params: PaginateParams) => Promise<PaginateData<T>>;
|
14
15
|
itemQueryFunction?: (valueKey: string) => Promise<T>;
|
15
16
|
requiredErrorText?: string;
|
17
|
+
renderInput?: AutocompleteProps<unknown, boolean, boolean, boolean, React.ElementType<any>>['renderInput'];
|
16
18
|
};
|
17
19
|
export declare function ControlQueryAutocomplete<T>({ name, label, control, required, searchBy, labelKey, multiple, mongoQueryJson, disabled, valueKey, sortBy, hideErrorMessage, disableCloseOnSelect, textFieldProps, onChange, queryFunction, validate, itemQueryFunction, requiredErrorText, ...autocompleteProps }: ControlQueryAutocompleteProps<T>): JSX.Element;
|
18
20
|
export default ControlQueryAutocomplete;
|