@dartech/arsenal-ui 1.3.24 → 1.3.26

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
@@ -13,7 +13,7 @@ import { useController, useWatch, useFormContext, useFieldArray } from 'react-ho
13
13
  import TextField from '@mui/material/TextField';
14
14
  import React, { useRef, useEffect, useState, useCallback, useMemo, createElement, forwardRef, createContext, useContext, memo, Suspense } from 'react';
15
15
  import MenuItem from '@mui/material/MenuItem';
16
- import ClearIcon from '@mui/icons-material/Clear';
16
+ import SvgIcon from '@mui/material/SvgIcon';
17
17
  import IconButton from '@mui/material/IconButton';
18
18
  import InputAdornment from '@mui/material/InputAdornment';
19
19
  import FormControl from '@mui/material/FormControl';
@@ -27,7 +27,6 @@ import Autocomplete from '@mui/material/Autocomplete';
27
27
  import { useQuery } from '@tanstack/react-query';
28
28
  import qs from 'qs';
29
29
  import Tooltip from '@mui/material/Tooltip';
30
- import SvgIcon from '@mui/material/SvgIcon';
31
30
  import { useNavigate, useLocation, Link, useSearchParams, Outlet } from 'react-router-dom';
32
31
  import CodeMirror from '@uiw/react-codemirror';
33
32
  import { langs } from '@uiw/codemirror-extensions-langs';
@@ -463,9 +462,13 @@ const ControlSelect = _a => {
463
462
  onClick: handleClear,
464
463
  size: "small"
465
464
  }, {
466
- children: jsx(ClearIcon, {
465
+ children: jsx(SvgIcon, Object.assign({
467
466
  fontSize: "small"
468
- })
467
+ }, {
468
+ children: jsx("path", {
469
+ 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"
470
+ })
471
+ }))
469
472
  }))
470
473
  })) : null
471
474
  }, textFieldProps === null || textFieldProps === void 0 ? void 0 : textFieldProps.InputProps)
@@ -1510,6 +1513,9 @@ const propertiesArrayToObject = (properties, isGlobalParameter) => {
1510
1513
  name,
1511
1514
  isRequired,
1512
1515
  isMultiple,
1516
+ isVisible,
1517
+ isFillable,
1518
+ isEditable,
1513
1519
  sortOrder,
1514
1520
  isEnabled,
1515
1521
  uiSettings,
@@ -1528,6 +1534,9 @@ const propertiesArrayToObject = (properties, isGlobalParameter) => {
1528
1534
  }, getPropertyValue(Object.assign(Object.assign({}, property), {
1529
1535
  propertyType
1530
1536
  }), isGlobalParameter));
1537
+ if (isVisible !== undefined) resultProperty.isVisible = isVisible;
1538
+ if (isFillable !== undefined) resultProperty.isFillable = isFillable;
1539
+ if (isEditable !== undefined) resultProperty.isEditable = isEditable;
1531
1540
  if ('isViewableInList' in property) {
1532
1541
  resultProperty['isViewableInList'] = property.isViewableInList;
1533
1542
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.3.24",
3
+ "version": "1.3.26",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,9 +27,7 @@
27
27
  "classnames": "^2.3.1",
28
28
  "@tanstack/react-query": "^4.24.10",
29
29
  "@rollup/plugin-node-resolve": "13.3.0",
30
- "@uiw/codemirror-theme-material": "4.21.3",
31
- "qs": "6.11.0",
32
- "react-ace": "10.1.0"
30
+ "qs": "6.11.0"
33
31
  },
34
32
  "module": "./index.js",
35
33
  "main": "./index.js",
@@ -41,6 +41,9 @@ export interface Property {
41
41
  isMultiple: boolean;
42
42
  sortOrder: number;
43
43
  isEnabled: boolean;
44
+ isVisible?: boolean;
45
+ isFillable?: boolean;
46
+ isEditable?: boolean;
44
47
  uiSettings: unknown;
45
48
  validationNode: unknown;
46
49
  key?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  name: string;
4
3
  label?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  name: string;
4
3
  label?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  name: string;
4
3
  format: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  name: string;
4
3
  label?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  name: string;
4
3
  label?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PropertyUnion } from '../../../interfaces';
3
2
  type PropertyItemProps = {
4
3
  property: PropertyUnion;