@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.
Files changed (41) hide show
  1. package/es/components/batch-editor/index.d.ts +1 -0
  2. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  3. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  4. package/es/components/filter/index.d.ts +1 -0
  5. package/es/components/pisellLoading/index.d.ts +1 -0
  6. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  7. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  8. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  9. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  10. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  11. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  12. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  13. package/es/components/table/View/index.d.ts +1 -0
  14. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
  15. package/lib/components/batch-editor/index.d.ts +1 -0
  16. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  17. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  18. package/lib/components/filter/index.d.ts +1 -0
  19. package/lib/components/pisellLoading/index.d.ts +1 -0
  20. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  21. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  22. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  23. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  24. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  25. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  26. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  27. package/lib/components/table/View/index.d.ts +1 -0
  28. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
  29. package/package.json +4 -4
  30. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  31. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  32. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  33. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  34. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  35. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  36. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  37. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  38. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  39. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  40. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  41. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface BatchEditorProps {
3
4
  columns: any[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterItemProps } from '../../../filter/types';
2
3
  import { DataSourceType, Field } from '../../provider/dataSource/DataSourceContext';
3
4
  export declare const genGetField: (dataSource?: DataSourceType) => (key: string) => Field;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceTableProps } from '../type';
2
3
  declare type Params = {
3
4
  pagination?: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterProps } from "./types";
2
3
  declare const Filter: (props: FilterProps) => JSX.Element | null;
3
4
  export default Filter;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SpinProps } from 'antd';
2
3
  import './index.less';
3
4
  declare type MaskType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
3
4
  export default MultiDay;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
3
4
  export default Options;
@@ -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;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../types';
2
3
  import './index.less';
3
4
  declare type ExportImportProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GridViewProps } from '../types';
2
3
  declare const View: (props: GridViewProps & {
3
4
  setTableSetting: (values: Record<string, any>) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AmountProps, RightItemsStyleProps } from './types';
2
3
  import './index.less';
3
4
  export type { AmountProps, RightItemsStyleProps };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface BatchEditorProps {
3
4
  columns: any[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterItemProps } from '../../../filter/types';
2
3
  import { DataSourceType, Field } from '../../provider/dataSource/DataSourceContext';
3
4
  export declare const genGetField: (dataSource?: DataSourceType) => (key: string) => Field;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceTableProps } from '../type';
2
3
  declare type Params = {
3
4
  pagination?: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterProps } from "./types";
2
3
  declare const Filter: (props: FilterProps) => JSX.Element | null;
3
4
  export default Filter;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SpinProps } from 'antd';
2
3
  import './index.less';
3
4
  declare type MaskType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
3
4
  export default MultiDay;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
3
4
  export default Options;
@@ -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;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../types';
2
3
  import './index.less';
3
4
  declare type ExportImportProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GridViewProps } from '../types';
2
3
  declare const View: (props: GridViewProps & {
3
4
  setTableSetting: (values: Record<string, any>) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AmountProps, RightItemsStyleProps } from './types';
2
3
  import './index.less';
3
4
  export type { AmountProps, RightItemsStyleProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.3.13",
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.4",
76
- "@pisell/utils": "3.0.1",
77
- "@pisell/icon": "0.0.11"
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;