@dartech/arsenal-ui 1.3.59 → 1.3.60

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 +8 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -70,7 +70,6 @@ import StepLabel from '@mui/material/StepLabel';
70
70
  import StepContent from '@mui/material/StepContent';
71
71
  import StepConnector from '@mui/material/StepConnector';
72
72
  import Select from '@mui/material/Select';
73
- import CloseIcon from '@mui/icons-material/Close';
74
73
  import InputLabel from '@mui/material/InputLabel';
75
74
  import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
76
75
  import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
@@ -3846,7 +3845,7 @@ const usePropertyFiller = ({
3846
3845
  useExpression: _useExpression
3847
3846
  }), [_useExpression, _required, propertyType, _multipleOptions]);
3848
3847
  const defaultProperyValue = useMemo(() => {
3849
- if (property.isRequired) {
3848
+ if (property.isRequired || property.isMultiple) {
3850
3849
  switch (propertyType) {
3851
3850
  case PropertyType.STRING:
3852
3851
  case PropertyType.DATE:
@@ -4135,9 +4134,13 @@ const MultiplePropertyWidget = ({
4135
4134
  size: "small",
4136
4135
  onClick: () => handleDeleteValue(index)
4137
4136
  }, {
4138
- children: jsx(CloseIcon, {
4137
+ children: jsx(SvgIcon, Object.assign({
4139
4138
  fontSize: "small"
4140
- })
4139
+ }, {
4140
+ children: jsx("path", {
4141
+ d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
4142
+ })
4143
+ }))
4141
4144
  }))
4142
4145
  }))]
4143
4146
  }))
@@ -4215,6 +4218,7 @@ const MultiplePropertyFiller = ({
4215
4218
  } else if (selectedType === 'expression' || selectedType === 'json_valid' || selectedType === 'json_notvalid') {
4216
4219
  onChange('');
4217
4220
  } else if (selectedType === 'widget') {
4221
+ console.log('WiDGET??');
4218
4222
  onChange([]);
4219
4223
  }
4220
4224
  setFillOption(selectedType);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.3.59",
3
+ "version": "1.3.60",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"