@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 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.4.52",
3
+ "version": "1.4.54",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -1,4 +1,5 @@
1
- /// <reference types="react" />
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;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Control } from 'react-hook-form';
2
3
  type Props = {
3
4
  control: Control<any>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = {
2
3
  name: string;
3
4
  label?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = {
2
3
  name: string;
3
4
  format: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = {
2
3
  name: string;
3
4
  label?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type Props = {
2
3
  name: string;
3
4
  label?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PropertyUnion } from '../../../interfaces';
2
3
  type PropertyItemProps = {
3
4
  property: PropertyUnion;