@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.
- package/dist/components/Autocomplete/Autocomplete/index.d.ts +2 -1
- package/dist/components/VirtualTable/cells/AmountCell/Mode/edit.d.ts +1 -2
- package/dist/components/VirtualTable/cells/AmountCell/Mode/view.d.ts +1 -2
- package/dist/components/VirtualTable/cells/AmountCell/index.d.ts +1 -2
- package/dist/components/VirtualTable/cells/AttachmentCell/index.d.ts +1 -2
- package/dist/components/VirtualTable/cells/AutocompleteCell/Mode/edit.d.ts +1 -2
- package/dist/components/VirtualTable/cells/AutocompleteCell/Mode/view.d.ts +1 -2
- package/dist/components/VirtualTable/cells/AutocompleteCell/index.d.ts +1 -2
- package/dist/components/VirtualTable/cells/CheckBoxCell/Mode/view.d.ts +1 -2
- package/dist/components/VirtualTable/cells/ChipCell/Mode/edit.d.ts +1 -2
- package/dist/components/VirtualTable/cells/ChipCell/Mode/view.d.ts +1 -2
- package/dist/components/VirtualTable/cells/ChipCell/index.d.ts +1 -2
- package/dist/components/VirtualTable/cells/DateCell/index.d.ts +1 -2
- package/dist/components/VirtualTable/cells/NumberCell/Mode/edit.d.ts +1 -2
- package/dist/components/VirtualTable/cells/NumberCell/index.d.ts +1 -2
- package/dist/components/VirtualTable/cells/SelectCell/Mode/view.d.ts +2 -2
- package/dist/components/VirtualTable/cells/SelectCell/index.d.ts +1 -2
- package/dist/components/VirtualTable/cells/StatusCell/Mode/view.d.ts +1 -2
- package/dist/components/VirtualTable/cells/StatusCell/index.d.ts +1 -2
- package/dist/components/VirtualTable/cells/ThumbnailCell/index.d.ts +1 -2
- package/dist/components/VirtualTable/components/Body/Cell/index.d.ts +1 -2
- package/dist/components/VirtualTable/components/Buttons/Button/index.d.ts +2 -2
- package/dist/components/VirtualTable/components/SearchBar/component/FilterChip/index.d.ts +12 -1
- package/dist/components/VirtualTable/components/Toolbar/SettingsIcon.d.ts +1 -2
- package/dist/index.js +3 -3
- package/package.json +117 -117
- package/dist/components/DataGrid/DataGrid.d.ts +0 -3
- package/dist/components/DataGrid/hooks/useSizing.d.ts +0 -5
- package/dist/components/DataGrid/hooks/useSizing.test.d.ts +0 -1
- package/dist/components/DocumentComposer/EmptySummary/index.d.ts +0 -4
- package/dist/components/DocumentComposer/Treeview/CustomTreeItem.d.ts +0 -8
- package/dist/components/DocumentComposer/Treeview/hooks/useTreeItemMenu.d.ts +0 -12
- package/dist/components/DocumentComposer/Treeview/icons/index.d.ts +0 -1
- package/dist/components/DocumentComposer/Treeview/index.d.ts +0 -3
- package/dist/components/DocumentComposer/Treeview/slots/IconContainerSlot.d.ts +0 -14
- package/dist/components/DocumentComposer/Treeview/slots/LabelInputSlot.d.ts +0 -6
- package/dist/components/DocumentComposer/Treeview/slots/LabelSlot.d.ts +0 -20
- package/dist/components/DocumentComposer/Treeview/slots/index.d.ts +0 -3
- package/dist/components/DocumentComposer/Treeview/types.d.ts +0 -39
- package/dist/components/DocumentComposer/hooks/useDocumentComposer.d.ts +0 -26
- package/dist/components/DocumentComposer/icons/index.d.ts +0 -8
- package/dist/components/DocumentComposer/index.d.ts +0 -6
- package/dist/components/DocumentComposer/types.d.ts +0 -28
- 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?:
|
|
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,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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
7
|
+
declare const EditChipCell: import("react").NamedExoticComponent<EditChipCellProps>;
|
|
9
8
|
export default EditChipCell;
|
|
@@ -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:
|
|
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:
|
|
5
|
+
declare const NumberCell: import("react").NamedExoticComponent<NumberCellProps>;
|
|
7
6
|
export default NumberCell;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
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:
|
|
7
|
+
declare const ViewSelectCell: import("react").NamedExoticComponent<ViewSelectCellProps>;
|
|
8
8
|
export default ViewSelectCell;
|
|
@@ -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:
|
|
5
|
+
declare const ViewStatusCell: import("react").NamedExoticComponent<ViewStatusCellProps>;
|
|
7
6
|
export default ViewStatusCell;
|
|
@@ -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:
|
|
6
|
+
declare const ThumbnailCell: import("react").NamedExoticComponent<ThumbnailCellProps>;
|
|
8
7
|
export default ThumbnailCell;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
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
|
|
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:
|
|
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?:
|
|
13
|
+
data?: FilterData;
|
|
3
14
|
inputProps?: object;
|
|
4
15
|
name: string;
|
|
5
16
|
onClose: UnknownFunction;
|