@dartech/arsenal-ui 1.3.97 → 1.3.98

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 (2) hide show
  1. package/index.js +25 -21
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -69,10 +69,10 @@ import Step from '@mui/material/Step';
69
69
  import StepLabel from '@mui/material/StepLabel';
70
70
  import StepContent from '@mui/material/StepContent';
71
71
  import StepConnector from '@mui/material/StepConnector';
72
- import Select from '@mui/material/Select';
73
- import InputLabel from '@mui/material/InputLabel';
74
72
  import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
75
73
  import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
74
+ import Select from '@mui/material/Select';
75
+ import InputLabel from '@mui/material/InputLabel';
76
76
  import classnames from 'classnames';
77
77
  import { toast } from 'react-toastify';
78
78
  import CssBaseline from '@mui/material/CssBaseline';
@@ -4564,25 +4564,29 @@ const PropertyValueField = ({
4564
4564
  }, [propertyType, format, restrictedValues, isMultiple, _label,
4565
4565
  // key,
4566
4566
  isRequired, properties, required]);
4567
- return isMultiple ? jsx(ControlMultiplePropertyFiller, {
4568
- control: control,
4569
- name: name,
4570
- property: fillerProperty,
4571
- title: _label,
4572
- required: required,
4573
- entityReferenceDefinitionSources: entityReferenceDefinitionSources,
4574
- entityReferenceValueComponent: entityReferenceValueComponent,
4575
- fileReferenceValueComponent: fileReferenceValueComponent
4576
- }) : jsx(ControlPropertyFiller, {
4577
- control: control,
4578
- name: name,
4579
- property: fillerProperty,
4580
- title: _label,
4581
- required: required,
4582
- entityReferenceDefinitionSources: entityReferenceDefinitionSources,
4583
- entityReferenceValueComponent: entityReferenceValueComponent,
4584
- fileReferenceValueComponent: fileReferenceValueComponent
4585
- });
4567
+ return jsx(LocalizationProvider, Object.assign({
4568
+ dateAdapter: AdapterDateFns
4569
+ }, {
4570
+ children: isMultiple ? jsx(ControlMultiplePropertyFiller, {
4571
+ control: control,
4572
+ name: name,
4573
+ property: fillerProperty,
4574
+ title: _label,
4575
+ required: required,
4576
+ entityReferenceDefinitionSources: entityReferenceDefinitionSources,
4577
+ entityReferenceValueComponent: entityReferenceValueComponent,
4578
+ fileReferenceValueComponent: fileReferenceValueComponent
4579
+ }) : jsx(ControlPropertyFiller, {
4580
+ control: control,
4581
+ name: name,
4582
+ property: fillerProperty,
4583
+ title: _label,
4584
+ required: required,
4585
+ entityReferenceDefinitionSources: entityReferenceDefinitionSources,
4586
+ entityReferenceValueComponent: entityReferenceValueComponent,
4587
+ fileReferenceValueComponent: fileReferenceValueComponent
4588
+ })
4589
+ }));
4586
4590
  };
4587
4591
 
4588
4592
  const NodesList = ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.3.97",
3
+ "version": "1.3.98",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"