@pisell/materials 6.3.13 → 6.3.15
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/es/components/batch-editor/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/es/components/filter/index.d.ts +1 -0
- package/es/components/pisellLoading/index.d.ts +1 -0
- package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/es/components/table/View/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/lib/components/batch-editor/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/lib/components/filter/index.d.ts +1 -0
- package/lib/components/pisellLoading/index.d.ts +1 -0
- package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/lib/components/table/View/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/package.json +4 -4
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
- package/es/components/pisellAdjustPrice/status.d.ts +0 -32
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
- package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
2
3
|
export default SelectHolderMultiple;
|
package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
2
3
|
export default SelectHolderMultiple;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.15",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"react-barcode": "^1.5.3",
|
|
73
73
|
"vod-js-sdk-v6": "^1.4.11",
|
|
74
74
|
"react-camera-pro": "1.4.0",
|
|
75
|
-
"@pisell/date-picker": "3.0.
|
|
76
|
-
"@pisell/
|
|
77
|
-
"@pisell/
|
|
75
|
+
"@pisell/date-picker": "3.0.6",
|
|
76
|
+
"@pisell/icon": "0.0.11",
|
|
77
|
+
"@pisell/utils": "3.0.3"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"react": "^18.0.0",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
import { ValueProps, SortType } from '../types';
|
|
3
|
-
declare type IdType = string | number;
|
|
4
|
-
declare type TreeItemProps = {
|
|
5
|
-
id: string | number;
|
|
6
|
-
key: string | number;
|
|
7
|
-
item: ValueProps | any;
|
|
8
|
-
depth: number;
|
|
9
|
-
lists: any[];
|
|
10
|
-
childrenProps?: SortType;
|
|
11
|
-
sensors?: any;
|
|
12
|
-
expandedKeys?: IdType[];
|
|
13
|
-
setExpandedKeys?: any;
|
|
14
|
-
onSelectKeys?: (ids: IdType) => void;
|
|
15
|
-
onChange?: (value: any[]) => void;
|
|
16
|
-
};
|
|
17
|
-
declare const TreeItem: (props: TreeItemProps) => JSX.Element;
|
|
18
|
-
export default TreeItem;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const defaultConfig: {
|
|
2
|
-
dark: {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
containerBackgroundColor: string;
|
|
5
|
-
buttonBackgroundColor: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
resetButtonBackgroundColor: string;
|
|
8
|
-
resetButtonTextColor: string;
|
|
9
|
-
isDoneButtonFollowTheme: boolean;
|
|
10
|
-
doneButtonBackgroundColor: string;
|
|
11
|
-
doneButtonTextColor: string;
|
|
12
|
-
isShowMainText: boolean;
|
|
13
|
-
mainTextColor: string;
|
|
14
|
-
isShowSubText: boolean;
|
|
15
|
-
subTextColor: string;
|
|
16
|
-
};
|
|
17
|
-
light: {
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
containerBackgroundColor: string;
|
|
20
|
-
buttonBackgroundColor: string;
|
|
21
|
-
textColor: string;
|
|
22
|
-
resetButtonBackgroundColor: string;
|
|
23
|
-
resetButtonTextColor: string;
|
|
24
|
-
isDoneButtonFollowTheme: boolean;
|
|
25
|
-
doneButtonBackgroundColor: string;
|
|
26
|
-
doneButtonTextColor: string;
|
|
27
|
-
isShowMainText: boolean;
|
|
28
|
-
mainTextColor: string;
|
|
29
|
-
isShowSubText: boolean;
|
|
30
|
-
subTextColor: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const amountThemeConfig: {
|
|
2
|
-
dark: {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
containerBackgroundColor: string;
|
|
5
|
-
buttonBackgroundColor: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
resetButtonBackgroundColor: string;
|
|
8
|
-
resetButtonTextColor: string;
|
|
9
|
-
isDoneButtonFollowTheme: boolean;
|
|
10
|
-
doneButtonBackgroundColor: string;
|
|
11
|
-
doneButtonTextColor: string;
|
|
12
|
-
keyboardBackgroundColor: string;
|
|
13
|
-
keyboardButtonBackgroundColor: string;
|
|
14
|
-
keyboardButtonTextColor: string;
|
|
15
|
-
keyboardButtonHoverColor: string;
|
|
16
|
-
};
|
|
17
|
-
light: {
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
containerBackgroundColor: string;
|
|
20
|
-
buttonBackgroundColor: string;
|
|
21
|
-
textColor: string;
|
|
22
|
-
resetButtonBackgroundColor: string;
|
|
23
|
-
resetButtonTextColor: string;
|
|
24
|
-
isDoneButtonFollowTheme: boolean;
|
|
25
|
-
doneButtonBackgroundColor: string;
|
|
26
|
-
doneButtonTextColor: string;
|
|
27
|
-
keyboardBackgroundColor: string;
|
|
28
|
-
keyboardButtonBackgroundColor: string;
|
|
29
|
-
keyboardButtonTextColor: string;
|
|
30
|
-
keyboardButtonHoverColor: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export declare type ItemValue = string | number;
|
|
4
|
-
export interface Item {
|
|
5
|
-
value: ItemValue;
|
|
6
|
-
label: React.ReactNode;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
type: 'text' | 'primary';
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
size?: number;
|
|
11
|
-
}
|
|
12
|
-
export interface KeyboardProps {
|
|
13
|
-
className?: string;
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
onChange?: (value?: ItemValue) => void;
|
|
16
|
-
items?: Item[];
|
|
17
|
-
rightItems?: Item[];
|
|
18
|
-
keydown?: boolean;
|
|
19
|
-
}
|
|
20
|
-
declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
|
|
21
|
-
export default _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const numberThemeConfig: {
|
|
2
|
-
dark: {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
containerBackgroundColor: string;
|
|
5
|
-
buttonBackgroundColor: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
resetButtonBackgroundColor: string;
|
|
8
|
-
resetButtonTextColor: string;
|
|
9
|
-
isDoneButtonFollowTheme: boolean;
|
|
10
|
-
doneButtonBackgroundColor: string;
|
|
11
|
-
doneButtonTextColor: string;
|
|
12
|
-
keyboardBackgroundColor: string;
|
|
13
|
-
keyboardButtonBackgroundColor: string;
|
|
14
|
-
keyboardButtonTextColor: string;
|
|
15
|
-
keyboardButtonHoverColor: string;
|
|
16
|
-
};
|
|
17
|
-
light: {
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
containerBackgroundColor: string;
|
|
20
|
-
buttonBackgroundColor: string;
|
|
21
|
-
textColor: string;
|
|
22
|
-
resetButtonBackgroundColor: string;
|
|
23
|
-
resetButtonTextColor: string;
|
|
24
|
-
isDoneButtonFollowTheme: boolean;
|
|
25
|
-
doneButtonBackgroundColor: string;
|
|
26
|
-
doneButtonTextColor: string;
|
|
27
|
-
keyboardBackgroundColor: string;
|
|
28
|
-
keyboardButtonBackgroundColor: string;
|
|
29
|
-
keyboardButtonTextColor: string;
|
|
30
|
-
keyboardButtonHoverColor: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { InputProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface VirtualKeyInputProps extends InputProps {
|
|
5
|
-
previewValue?: string;
|
|
6
|
-
renderInput?: (props: any) => any;
|
|
7
|
-
showDelete?: boolean;
|
|
8
|
-
onValueSelect?: (selected: boolean) => void;
|
|
9
|
-
defaultSelect?: boolean;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
}
|
|
12
|
-
declare const VirtualKeyInput: (props: VirtualKeyInputProps) => JSX.Element;
|
|
13
|
-
export default VirtualKeyInput;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
import { ValueProps, SortType } from '../types';
|
|
3
|
-
declare type IdType = string | number;
|
|
4
|
-
declare type TreeItemProps = {
|
|
5
|
-
id: string | number;
|
|
6
|
-
key: string | number;
|
|
7
|
-
item: ValueProps | any;
|
|
8
|
-
depth: number;
|
|
9
|
-
lists: any[];
|
|
10
|
-
childrenProps?: SortType;
|
|
11
|
-
sensors?: any;
|
|
12
|
-
expandedKeys?: IdType[];
|
|
13
|
-
setExpandedKeys?: any;
|
|
14
|
-
onSelectKeys?: (ids: IdType) => void;
|
|
15
|
-
onChange?: (value: any[]) => void;
|
|
16
|
-
};
|
|
17
|
-
declare const TreeItem: (props: TreeItemProps) => JSX.Element;
|
|
18
|
-
export default TreeItem;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const defaultConfig: {
|
|
2
|
-
dark: {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
containerBackgroundColor: string;
|
|
5
|
-
buttonBackgroundColor: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
resetButtonBackgroundColor: string;
|
|
8
|
-
resetButtonTextColor: string;
|
|
9
|
-
isDoneButtonFollowTheme: boolean;
|
|
10
|
-
doneButtonBackgroundColor: string;
|
|
11
|
-
doneButtonTextColor: string;
|
|
12
|
-
isShowMainText: boolean;
|
|
13
|
-
mainTextColor: string;
|
|
14
|
-
isShowSubText: boolean;
|
|
15
|
-
subTextColor: string;
|
|
16
|
-
};
|
|
17
|
-
light: {
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
containerBackgroundColor: string;
|
|
20
|
-
buttonBackgroundColor: string;
|
|
21
|
-
textColor: string;
|
|
22
|
-
resetButtonBackgroundColor: string;
|
|
23
|
-
resetButtonTextColor: string;
|
|
24
|
-
isDoneButtonFollowTheme: boolean;
|
|
25
|
-
doneButtonBackgroundColor: string;
|
|
26
|
-
doneButtonTextColor: string;
|
|
27
|
-
isShowMainText: boolean;
|
|
28
|
-
mainTextColor: string;
|
|
29
|
-
isShowSubText: boolean;
|
|
30
|
-
subTextColor: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const amountThemeConfig: {
|
|
2
|
-
dark: {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
containerBackgroundColor: string;
|
|
5
|
-
buttonBackgroundColor: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
resetButtonBackgroundColor: string;
|
|
8
|
-
resetButtonTextColor: string;
|
|
9
|
-
isDoneButtonFollowTheme: boolean;
|
|
10
|
-
doneButtonBackgroundColor: string;
|
|
11
|
-
doneButtonTextColor: string;
|
|
12
|
-
keyboardBackgroundColor: string;
|
|
13
|
-
keyboardButtonBackgroundColor: string;
|
|
14
|
-
keyboardButtonTextColor: string;
|
|
15
|
-
keyboardButtonHoverColor: string;
|
|
16
|
-
};
|
|
17
|
-
light: {
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
containerBackgroundColor: string;
|
|
20
|
-
buttonBackgroundColor: string;
|
|
21
|
-
textColor: string;
|
|
22
|
-
resetButtonBackgroundColor: string;
|
|
23
|
-
resetButtonTextColor: string;
|
|
24
|
-
isDoneButtonFollowTheme: boolean;
|
|
25
|
-
doneButtonBackgroundColor: string;
|
|
26
|
-
doneButtonTextColor: string;
|
|
27
|
-
keyboardBackgroundColor: string;
|
|
28
|
-
keyboardButtonBackgroundColor: string;
|
|
29
|
-
keyboardButtonTextColor: string;
|
|
30
|
-
keyboardButtonHoverColor: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export declare type ItemValue = string | number;
|
|
4
|
-
export interface Item {
|
|
5
|
-
value: ItemValue;
|
|
6
|
-
label: React.ReactNode;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
type: 'text' | 'primary';
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
size?: number;
|
|
11
|
-
}
|
|
12
|
-
export interface KeyboardProps {
|
|
13
|
-
className?: string;
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
onChange?: (value?: ItemValue) => void;
|
|
16
|
-
items?: Item[];
|
|
17
|
-
rightItems?: Item[];
|
|
18
|
-
keydown?: boolean;
|
|
19
|
-
}
|
|
20
|
-
declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
|
|
21
|
-
export default _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const numberThemeConfig: {
|
|
2
|
-
dark: {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
containerBackgroundColor: string;
|
|
5
|
-
buttonBackgroundColor: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
resetButtonBackgroundColor: string;
|
|
8
|
-
resetButtonTextColor: string;
|
|
9
|
-
isDoneButtonFollowTheme: boolean;
|
|
10
|
-
doneButtonBackgroundColor: string;
|
|
11
|
-
doneButtonTextColor: string;
|
|
12
|
-
keyboardBackgroundColor: string;
|
|
13
|
-
keyboardButtonBackgroundColor: string;
|
|
14
|
-
keyboardButtonTextColor: string;
|
|
15
|
-
keyboardButtonHoverColor: string;
|
|
16
|
-
};
|
|
17
|
-
light: {
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
containerBackgroundColor: string;
|
|
20
|
-
buttonBackgroundColor: string;
|
|
21
|
-
textColor: string;
|
|
22
|
-
resetButtonBackgroundColor: string;
|
|
23
|
-
resetButtonTextColor: string;
|
|
24
|
-
isDoneButtonFollowTheme: boolean;
|
|
25
|
-
doneButtonBackgroundColor: string;
|
|
26
|
-
doneButtonTextColor: string;
|
|
27
|
-
keyboardBackgroundColor: string;
|
|
28
|
-
keyboardButtonBackgroundColor: string;
|
|
29
|
-
keyboardButtonTextColor: string;
|
|
30
|
-
keyboardButtonHoverColor: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { InputProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface VirtualKeyInputProps extends InputProps {
|
|
5
|
-
previewValue?: string;
|
|
6
|
-
renderInput?: (props: any) => any;
|
|
7
|
-
showDelete?: boolean;
|
|
8
|
-
onValueSelect?: (selected: boolean) => void;
|
|
9
|
-
defaultSelect?: boolean;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
}
|
|
12
|
-
declare const VirtualKeyInput: (props: VirtualKeyInputProps) => JSX.Element;
|
|
13
|
-
export default VirtualKeyInput;
|