@myunisoft/design-system 1.2.1 → 1.2.2-myun36212.2

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 (44) hide show
  1. package/dist/components/Autocomplete/Autocomplete/index.d.ts +2 -1
  2. package/dist/components/VirtualTable/cells/AmountCell/Mode/edit.d.ts +1 -2
  3. package/dist/components/VirtualTable/cells/AmountCell/Mode/view.d.ts +1 -2
  4. package/dist/components/VirtualTable/cells/AmountCell/index.d.ts +1 -2
  5. package/dist/components/VirtualTable/cells/AttachmentCell/index.d.ts +1 -2
  6. package/dist/components/VirtualTable/cells/AutocompleteCell/Mode/edit.d.ts +1 -2
  7. package/dist/components/VirtualTable/cells/AutocompleteCell/Mode/view.d.ts +1 -2
  8. package/dist/components/VirtualTable/cells/AutocompleteCell/index.d.ts +1 -2
  9. package/dist/components/VirtualTable/cells/CheckBoxCell/Mode/view.d.ts +1 -2
  10. package/dist/components/VirtualTable/cells/ChipCell/Mode/edit.d.ts +1 -2
  11. package/dist/components/VirtualTable/cells/ChipCell/Mode/view.d.ts +1 -2
  12. package/dist/components/VirtualTable/cells/ChipCell/index.d.ts +1 -2
  13. package/dist/components/VirtualTable/cells/DateCell/index.d.ts +1 -2
  14. package/dist/components/VirtualTable/cells/NumberCell/Mode/edit.d.ts +1 -2
  15. package/dist/components/VirtualTable/cells/NumberCell/index.d.ts +1 -2
  16. package/dist/components/VirtualTable/cells/SelectCell/Mode/view.d.ts +2 -2
  17. package/dist/components/VirtualTable/cells/SelectCell/index.d.ts +1 -2
  18. package/dist/components/VirtualTable/cells/StatusCell/Mode/view.d.ts +1 -2
  19. package/dist/components/VirtualTable/cells/StatusCell/index.d.ts +1 -2
  20. package/dist/components/VirtualTable/cells/ThumbnailCell/index.d.ts +1 -2
  21. package/dist/components/VirtualTable/components/Body/Cell/index.d.ts +1 -2
  22. package/dist/components/VirtualTable/components/Buttons/Button/index.d.ts +2 -2
  23. package/dist/components/VirtualTable/components/SearchBar/component/FilterChip/index.d.ts +12 -1
  24. package/dist/components/VirtualTable/components/Toolbar/SettingsIcon.d.ts +1 -2
  25. package/dist/index.js +3 -3
  26. package/package.json +117 -117
  27. package/dist/components/DataGrid/DataGrid.d.ts +0 -3
  28. package/dist/components/DataGrid/hooks/useSizing.d.ts +0 -5
  29. package/dist/components/DataGrid/hooks/useSizing.test.d.ts +0 -1
  30. package/dist/components/DocumentComposer/EmptySummary/index.d.ts +0 -4
  31. package/dist/components/DocumentComposer/Treeview/CustomTreeItem.d.ts +0 -8
  32. package/dist/components/DocumentComposer/Treeview/hooks/useTreeItemMenu.d.ts +0 -12
  33. package/dist/components/DocumentComposer/Treeview/icons/index.d.ts +0 -1
  34. package/dist/components/DocumentComposer/Treeview/index.d.ts +0 -3
  35. package/dist/components/DocumentComposer/Treeview/slots/IconContainerSlot.d.ts +0 -14
  36. package/dist/components/DocumentComposer/Treeview/slots/LabelInputSlot.d.ts +0 -6
  37. package/dist/components/DocumentComposer/Treeview/slots/LabelSlot.d.ts +0 -20
  38. package/dist/components/DocumentComposer/Treeview/slots/index.d.ts +0 -3
  39. package/dist/components/DocumentComposer/Treeview/types.d.ts +0 -39
  40. package/dist/components/DocumentComposer/hooks/useDocumentComposer.d.ts +0 -26
  41. package/dist/components/DocumentComposer/icons/index.d.ts +0 -8
  42. package/dist/components/DocumentComposer/index.d.ts +0 -6
  43. package/dist/components/DocumentComposer/types.d.ts +0 -28
  44. package/dist/components/Modal/components/ModalVariantIcon.d.ts +0 -6
@@ -24,7 +24,7 @@ export type AutocompleteBaseProps<T extends OptionType = OptionType> = {
24
24
  selectAllLabel?: string;
25
25
  allSelectedLabel?: string;
26
26
  isDisabled?: boolean;
27
- oneRowMode?: boolean;
27
+ oneRowMode?: true;
28
28
  InputProps?: StandardInputProps;
29
29
  onIsSearchingChange?: (isOpen: boolean) => void;
30
30
  getOptionLabel?: (option: T) => string;
@@ -35,6 +35,7 @@ export type AutocompleteBaseProps<T extends OptionType = OptionType> = {
35
35
  disableSort?: true;
36
36
  variant?: TextFieldVariants;
37
37
  isOptionEqualToValue?: (option: T, value: T) => boolean;
38
+ placeholder?: string;
38
39
  };
39
40
  export type AutocompleteMultipleProps<T extends OptionType = OptionType> = Omit<MuiAutocompleteProps<T, true, false, false>, 'renderInput' | 'renderOption' | 'value' | 'multiple'> & AutocompleteBaseProps<T> & {
40
41
  multiple: true;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  type AmountEditCellProps = {};
3
- declare const AmountEditCell: React.NamedExoticComponent<AmountEditCellProps>;
2
+ declare const AmountEditCell: import("react").NamedExoticComponent<AmountEditCellProps>;
4
3
  export default AmountEditCell;
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  type AmountViewCellProps = {
3
2
  data?: object;
4
3
  };
5
4
  declare function AmountViewCell({ data, dataKey, column, customProps }: AmountViewCellProps): import("react/jsx-runtime").JSX.Element;
6
- declare const _default: React.MemoExoticComponent<typeof AmountViewCell>;
5
+ declare const _default: import("react").MemoExoticComponent<typeof AmountViewCell>;
7
6
  export default _default;
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  type AmountCellProps = {
3
2
  isReadOnly: boolean;
4
3
  [key: string]: any;
5
4
  };
6
- declare const AmountCell: React.NamedExoticComponent<AmountCellProps>;
5
+ declare const AmountCell: import("react").NamedExoticComponent<AmountCellProps>;
7
6
  export default AmountCell;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  type AttachmentCellProps = {
3
2
  data?: object | unknown[];
4
3
  dataKey: string;
@@ -9,5 +8,5 @@ type AttachmentCellProps = {
9
8
  cell: unknown;
10
9
  isDisabled: boolean;
11
10
  };
12
- declare const AttachmentCell: React.NamedExoticComponent<AttachmentCellProps>;
11
+ declare const AttachmentCell: import("react").NamedExoticComponent<AttachmentCellProps>;
13
12
  export default AttachmentCell;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type { UnknownFunction } from 'reselect/es/types';
3
2
  type AutocompleteEditProps = {
4
3
  data?: object;
@@ -7,5 +6,5 @@ type AutocompleteEditProps = {
7
6
  options: unknown[] | UnknownFunction;
8
7
  };
9
8
  };
10
- declare const AutocompleteEdit: React.NamedExoticComponent<AutocompleteEditProps>;
9
+ declare const AutocompleteEdit: import("react").NamedExoticComponent<AutocompleteEditProps>;
11
10
  export default AutocompleteEdit;
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  type AutocompleteViewProps = {
3
2
  data?: object;
4
3
  columnIndex?: number;
5
4
  };
6
- declare const AutocompleteView: React.NamedExoticComponent<AutocompleteViewProps>;
5
+ declare const AutocompleteView: import("react").NamedExoticComponent<AutocompleteViewProps>;
7
6
  export default AutocompleteView;
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  type AutocompleteCellProps = {
3
2
  isReadOnly: boolean;
4
3
  [key: string]: any;
5
4
  };
6
- declare const AutocompleteCell: React.NamedExoticComponent<AutocompleteCellProps>;
5
+ declare const AutocompleteCell: import("react").NamedExoticComponent<AutocompleteCellProps>;
7
6
  export default AutocompleteCell;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  type ViewCheckBoxCellProps = {
3
2
  data: boolean;
4
3
  };
5
- declare const ViewCheckBoxCell: React.NamedExoticComponent<ViewCheckBoxCellProps>;
4
+ declare const ViewCheckBoxCell: import("react").NamedExoticComponent<ViewCheckBoxCellProps>;
6
5
  export default ViewCheckBoxCell;
@@ -1,9 +1,8 @@
1
- import React from 'react';
2
1
  type EditChipCellProps = {
3
2
  columnIndex?: number;
4
3
  data?: object;
5
4
  dataKey?: string;
6
5
  onChange: UnknownFunction;
7
6
  };
8
- declare const EditChipCell: React.NamedExoticComponent<EditChipCellProps>;
7
+ declare const EditChipCell: import("react").NamedExoticComponent<EditChipCellProps>;
9
8
  export default EditChipCell;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const ViewChipCell: React.NamedExoticComponent<object>;
1
+ declare const ViewChipCell: import("react").NamedExoticComponent<object>;
3
2
  export default ViewChipCell;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const ChipCell: React.NamedExoticComponent<object>;
1
+ declare const ChipCell: import("react").NamedExoticComponent<object>;
3
2
  export default ChipCell;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const DateCell: React.NamedExoticComponent<object>;
1
+ declare const DateCell: import("react").NamedExoticComponent<object>;
3
2
  export default DateCell;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  type EditNumberCellProps = {
3
2
  data?: object;
4
3
  dataKey?: string;
@@ -7,5 +6,5 @@ type EditNumberCellProps = {
7
6
  isDisabled: boolean;
8
7
  [key: string]: unknown;
9
8
  };
10
- declare const EditNumberCell: React.NamedExoticComponent<EditNumberCellProps>;
9
+ declare const EditNumberCell: import("react").NamedExoticComponent<EditNumberCellProps>;
11
10
  export default EditNumberCell;
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  type NumberCellProps = {
3
2
  isReadOnly: boolean;
4
3
  [key: string]: any;
5
4
  };
6
- declare const NumberCell: React.NamedExoticComponent<NumberCellProps>;
5
+ declare const NumberCell: import("react").NamedExoticComponent<NumberCellProps>;
7
6
  export default NumberCell;
@@ -1,8 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  type ViewSelectCellProps = {
3
3
  data?: string | number;
4
4
  column: object;
5
5
  tooltipDetail: ReactNode;
6
6
  };
7
- declare const ViewSelectCell: React.NamedExoticComponent<ViewSelectCellProps>;
7
+ declare const ViewSelectCell: import("react").NamedExoticComponent<ViewSelectCellProps>;
8
8
  export default ViewSelectCell;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const SelectVTCell: React.NamedExoticComponent<object>;
1
+ declare const SelectVTCell: import("react").NamedExoticComponent<object>;
3
2
  export default SelectVTCell;
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  type ViewStatusCellProps = {
3
2
  data?: string;
4
3
  column: object;
5
4
  };
6
- declare const ViewStatusCell: React.NamedExoticComponent<ViewStatusCellProps>;
5
+ declare const ViewStatusCell: import("react").NamedExoticComponent<ViewStatusCellProps>;
7
6
  export default ViewStatusCell;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const StatusVTCell: React.NamedExoticComponent<object>;
1
+ declare const StatusVTCell: import("react").NamedExoticComponent<object>;
3
2
  export default StatusVTCell;
@@ -1,8 +1,7 @@
1
- import React from 'react';
2
1
  type ThumbnailCellProps = {
3
2
  data?: object | unknown[];
4
3
  dataKey: string;
5
4
  isReadOnly: boolean;
6
5
  };
7
- declare const ThumbnailCell: React.NamedExoticComponent<ThumbnailCellProps>;
6
+ declare const ThumbnailCell: import("react").NamedExoticComponent<ThumbnailCellProps>;
8
7
  export default ThumbnailCell;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- declare const _default: React.MemoExoticComponent<({ columnIndex, keyName: key, parent, rowIndex, originalIndex, style, displayableRows, hasCheckBoxHidden, tableKeyName, onCellFocus, onCellBlur, onClick, onDoubleClick, focusedCell, onKeyDown, isSecuredRow, errors, row, isSelected, bodyCellStylesProp, onDeleteRow, subLvl, rowData }: {
1
+ declare const _default: import("react").MemoExoticComponent<({ columnIndex, keyName: key, parent, rowIndex, originalIndex, style, displayableRows, hasCheckBoxHidden, tableKeyName, onCellFocus, onCellBlur, onClick, onDoubleClick, focusedCell, onKeyDown, isSecuredRow, errors, row, isSelected, bodyCellStylesProp, onDeleteRow, subLvl, rowData }: {
3
2
  columnIndex: any;
4
3
  keyName: any;
5
4
  parent: any;
@@ -1,8 +1,8 @@
1
- import React, { type Ref } from 'react';
1
+ import { type Ref } from 'react';
2
2
  import { type ButtonOwnProps } from '@mui/material';
3
3
  type ButtonProps = ButtonOwnProps & {
4
4
  className?: string;
5
5
  buttonRef?: Ref<HTMLButtonElement>;
6
6
  };
7
- declare const _default: React.MemoExoticComponent<(props: ButtonProps) => import("react/jsx-runtime").JSX.Element>;
7
+ declare const _default: import("react").MemoExoticComponent<(props: ButtonProps) => import("react/jsx-runtime").JSX.Element>;
8
8
  export default _default;
@@ -1,5 +1,16 @@
1
+ type FilterDataOption = {
2
+ value: string | number;
3
+ name?: string;
4
+ label?: string;
5
+ };
6
+ type FilterData = {
7
+ label?: string;
8
+ type?: string;
9
+ listData?: FilterDataOption[];
10
+ options?: FilterDataOption[];
11
+ };
1
12
  type FilterChipProps = {
2
- data?: object;
13
+ data?: FilterData;
3
14
  inputProps?: object;
4
15
  name: string;
5
16
  onClose: UnknownFunction;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const SettingsIcon: React.NamedExoticComponent<object>;
1
+ declare const SettingsIcon: import("react").NamedExoticComponent<object>;
3
2
  export default SettingsIcon;