@pisell/materials 3.3.53 → 3.3.54
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +3 -0
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/index.d.ts +6 -7
- package/es/components/pisellWalletPassCard/index.d.ts +1 -0
- package/es/components/table/Table/AddFieldModal/index.js +6 -6
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +3 -0
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/index.d.ts +6 -7
- package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
- package/package.json +3 -3
- package/es/components/buttonGroupEdit/index.d.ts +0 -8
- package/es/components/cardMetricItem/index.d.ts +0 -12
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -32
- package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +0 -56
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +0 -18
- package/es/components/date-picker/datePickerCpt.d.ts +0 -8
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
- package/es/components/pisellAdjustPrice/index.d.ts +0 -9
- package/es/components/pisellCardList/index.d.ts +0 -73
- package/es/components/pisellCheckboxGroup/index.d.ts +0 -36
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/es/components/pisellText/components/Amount/index.d.ts +0 -20
- package/es/components/pisellToast/index.d.ts +0 -16
- package/es/components/productCard/components/AmountFooter/index.d.ts +0 -3
- package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -3
- package/es/components/productCard/components/Header/index.d.ts +0 -3
- package/es/components/productCard/components/MultiDay/index.d.ts +0 -3
- package/es/components/productCard/components/Note/index.d.ts +0 -3
- package/es/components/productCard/components/Packages/components/collapsibleList/index.d.ts +0 -10
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -3
- package/es/components/productCard/components/Packages/index.d.ts +0 -3
- package/es/components/productCard/components/Packages/utils.d.ts +0 -20
- package/es/components/productCard/components/Sales/index.d.ts +0 -3
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
- package/es/components/productCard/components/Warning/index.d.ts +0 -7
- package/es/components/productCard/index.d.ts +0 -5
- package/es/components/productCard/utils.d.ts +0 -31
- package/es/components/record-view/index.d.ts +0 -37
- package/es/components/table/Table/AddFieldModal/index.d.ts +0 -3
- package/es/components/translation/index.d.ts +0 -14
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -22
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -19
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -13
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -11
- package/es/components/virtual-keyboard/index.d.ts +0 -14
- package/es/utils/index.d.ts +0 -4
- package/lib/components/buttonGroupEdit/index.d.ts +0 -8
- package/lib/components/cardMetricItem/index.d.ts +0 -12
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -32
- package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +0 -56
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +0 -18
- package/lib/components/date-picker/datePickerCpt.d.ts +0 -8
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -9
- package/lib/components/pisellCardList/index.d.ts +0 -73
- package/lib/components/pisellCheckboxGroup/index.d.ts +0 -36
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
- package/lib/components/pisellToast/index.d.ts +0 -16
- package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -3
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -3
- package/lib/components/productCard/components/Header/index.d.ts +0 -3
- package/lib/components/productCard/components/MultiDay/index.d.ts +0 -3
- package/lib/components/productCard/components/Note/index.d.ts +0 -3
- package/lib/components/productCard/components/Packages/components/collapsibleList/index.d.ts +0 -10
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -3
- package/lib/components/productCard/components/Packages/index.d.ts +0 -3
- package/lib/components/productCard/components/Packages/utils.d.ts +0 -20
- package/lib/components/productCard/components/Sales/index.d.ts +0 -3
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
- package/lib/components/productCard/components/Warning/index.d.ts +0 -7
- package/lib/components/productCard/index.d.ts +0 -5
- package/lib/components/productCard/utils.d.ts +0 -31
- package/lib/components/record-view/index.d.ts +0 -37
- package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -3
- package/lib/components/translation/index.d.ts +0 -14
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -22
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -19
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -13
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -11
- package/lib/components/virtual-keyboard/index.d.ts +0 -14
- package/lib/utils/index.d.ts +0 -4
|
@@ -43,7 +43,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
|
|
|
43
43
|
}) => JSX.Element;
|
|
44
44
|
export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
|
|
45
45
|
options?: any;
|
|
46
|
-
optionSourceType?: "
|
|
46
|
+
optionSourceType?: "custom" | "api" | "default" | undefined;
|
|
47
47
|
labelField: string;
|
|
48
48
|
valueField: string;
|
|
49
49
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -363,7 +363,7 @@ export var withFormItem = function withFormItem(WrappedComponent, overlayProps)
|
|
|
363
363
|
rules: rules
|
|
364
364
|
});
|
|
365
365
|
}
|
|
366
|
-
return (overlayProps === null || overlayProps === void 0 ? void 0 : overlayProps.otherFormItemProps) || {};
|
|
366
|
+
return _objectSpread(_objectSpread({}, otherProps || {}), (overlayProps === null || overlayProps === void 0 ? void 0 : overlayProps.otherFormItemProps) || {}) || {};
|
|
367
367
|
}, [overlayProps === null || overlayProps === void 0 ? void 0 : overlayProps.otherFormItemProps, otherProps]);
|
|
368
368
|
return /*#__PURE__*/React.createElement(Form.Item, _extends({
|
|
369
369
|
required: required,
|
|
@@ -17,7 +17,7 @@ interface UseTablePropsProps {
|
|
|
17
17
|
* @returns
|
|
18
18
|
*/
|
|
19
19
|
declare const useTableProps: (props: UseTablePropsProps) => {
|
|
20
|
-
title: string | number | boolean |
|
|
20
|
+
title: string | number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
|
|
21
21
|
pagination: {
|
|
22
22
|
total: number;
|
|
23
23
|
current: number;
|
|
@@ -26,7 +26,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
26
26
|
showSizeChanger: boolean;
|
|
27
27
|
};
|
|
28
28
|
columns: import("./useColumns").Column[];
|
|
29
|
-
subTitle: string | number | boolean |
|
|
29
|
+
subTitle: string | number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
|
|
30
30
|
buttons: any[] | null;
|
|
31
31
|
filter: JSX.Element | null;
|
|
32
32
|
onRow: (record: any) => any;
|
|
@@ -53,7 +53,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
53
53
|
width: number;
|
|
54
54
|
align: "center" | "left" | "right";
|
|
55
55
|
fixed: false | "left" | "right";
|
|
56
|
-
type: "
|
|
56
|
+
type: "link" | "button";
|
|
57
57
|
items: OperationItem[];
|
|
58
58
|
} | undefined;
|
|
59
59
|
operationContent?: {
|
|
@@ -71,7 +71,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
71
71
|
useCustomAction: boolean;
|
|
72
72
|
actionType: string;
|
|
73
73
|
openMode: "modal" | "drawer";
|
|
74
|
-
openContentSize: "
|
|
74
|
+
openContentSize: "small" | "middle" | "large";
|
|
75
75
|
openTitle: string;
|
|
76
76
|
key: string;
|
|
77
77
|
} | undefined;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
declare const Subdomain: React.FC<import("antd").InputProps & {
|
|
3
3
|
onChange: (value: string) => void;
|
|
4
4
|
onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
5
|
-
rootDomain: "custom" | "
|
|
5
|
+
rootDomain: "custom" | "xzero" | "saas";
|
|
6
6
|
customDomain?: string | undefined;
|
|
7
7
|
value?: string | undefined;
|
|
8
8
|
tenantId: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
|
|
3
2
|
options?: any;
|
|
4
|
-
optionSourceType?: "
|
|
3
|
+
optionSourceType?: "custom" | "api" | "default" | undefined;
|
|
5
4
|
labelField: string;
|
|
6
5
|
valueField: string;
|
|
7
6
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const formFieldMap: {
|
|
3
2
|
FormItemCheckbox: import("react").FC<{}> & {
|
|
4
3
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -20,7 +19,7 @@ declare const formFieldMap: {
|
|
|
20
19
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
21
20
|
onChange: (value: string) => void;
|
|
22
21
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
23
|
-
rootDomain: "custom" | "
|
|
22
|
+
rootDomain: "custom" | "xzero" | "saas";
|
|
24
23
|
customDomain?: string | undefined;
|
|
25
24
|
value?: string | undefined;
|
|
26
25
|
tenantId: string;
|
|
@@ -35,7 +34,7 @@ declare const formFieldMap: {
|
|
|
35
34
|
};
|
|
36
35
|
FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
37
36
|
options?: any;
|
|
38
|
-
optionSourceType?: "
|
|
37
|
+
optionSourceType?: "custom" | "api" | "default" | undefined;
|
|
39
38
|
labelField: string;
|
|
40
39
|
valueField: string;
|
|
41
40
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -60,7 +59,7 @@ declare const formFieldMap: {
|
|
|
60
59
|
FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
61
60
|
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
62
61
|
};
|
|
63
|
-
declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
|
|
62
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
64
63
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
65
64
|
} & {
|
|
66
65
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -77,7 +76,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
77
76
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
78
77
|
onChange: (value: string) => void;
|
|
79
78
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
80
|
-
rootDomain: "custom" | "
|
|
79
|
+
rootDomain: "custom" | "xzero" | "saas";
|
|
81
80
|
customDomain?: string | undefined;
|
|
82
81
|
value?: string | undefined;
|
|
83
82
|
tenantId: string;
|
|
@@ -90,7 +89,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
90
89
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
91
90
|
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
92
91
|
options?: any;
|
|
93
|
-
optionSourceType?: "
|
|
92
|
+
optionSourceType?: "custom" | "api" | "default" | undefined;
|
|
94
93
|
labelField: string;
|
|
95
94
|
valueField: string;
|
|
96
95
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -98,5 +97,5 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
98
97
|
dataSource?: any;
|
|
99
98
|
}) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
|
|
100
99
|
onChange: (value: string) => void;
|
|
101
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps
|
|
100
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
102
101
|
export { getFieldComponent, formFieldMap };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
8
8
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
9
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
@@ -12,7 +12,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
12
12
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
13
13
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
14
14
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
15
|
-
function _iterableToArrayLimit(
|
|
15
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
16
16
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17
17
|
import IconFont from "../../../iconfont";
|
|
18
18
|
import { Form, Input, Popover, message } from "antd";
|
|
@@ -43,7 +43,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
|
|
|
43
43
|
}) => JSX.Element;
|
|
44
44
|
export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
|
|
45
45
|
options?: any;
|
|
46
|
-
optionSourceType?: "
|
|
46
|
+
optionSourceType?: "custom" | "api" | "default" | undefined;
|
|
47
47
|
labelField: string;
|
|
48
48
|
valueField: string;
|
|
49
49
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -422,7 +422,7 @@ var withFormItem = (WrappedComponent, overlayProps) => {
|
|
|
422
422
|
rules
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
|
-
return (overlayProps == null ? void 0 : overlayProps.otherFormItemProps) || {};
|
|
425
|
+
return { ...otherProps || {}, ...(overlayProps == null ? void 0 : overlayProps.otherFormItemProps) || {} };
|
|
426
426
|
}, [overlayProps == null ? void 0 : overlayProps.otherFormItemProps, otherProps]);
|
|
427
427
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
428
428
|
import_form.default.Item,
|
|
@@ -17,7 +17,7 @@ interface UseTablePropsProps {
|
|
|
17
17
|
* @returns
|
|
18
18
|
*/
|
|
19
19
|
declare const useTableProps: (props: UseTablePropsProps) => {
|
|
20
|
-
title: string | number | boolean |
|
|
20
|
+
title: string | number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
|
|
21
21
|
pagination: {
|
|
22
22
|
total: number;
|
|
23
23
|
current: number;
|
|
@@ -26,7 +26,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
26
26
|
showSizeChanger: boolean;
|
|
27
27
|
};
|
|
28
28
|
columns: import("./useColumns").Column[];
|
|
29
|
-
subTitle: string | number | boolean |
|
|
29
|
+
subTitle: string | number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
|
|
30
30
|
buttons: any[] | null;
|
|
31
31
|
filter: JSX.Element | null;
|
|
32
32
|
onRow: (record: any) => any;
|
|
@@ -53,7 +53,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
53
53
|
width: number;
|
|
54
54
|
align: "center" | "left" | "right";
|
|
55
55
|
fixed: false | "left" | "right";
|
|
56
|
-
type: "
|
|
56
|
+
type: "link" | "button";
|
|
57
57
|
items: OperationItem[];
|
|
58
58
|
} | undefined;
|
|
59
59
|
operationContent?: {
|
|
@@ -71,7 +71,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
71
71
|
useCustomAction: boolean;
|
|
72
72
|
actionType: string;
|
|
73
73
|
openMode: "modal" | "drawer";
|
|
74
|
-
openContentSize: "
|
|
74
|
+
openContentSize: "small" | "middle" | "large";
|
|
75
75
|
openTitle: string;
|
|
76
76
|
key: string;
|
|
77
77
|
} | undefined;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
declare const Subdomain: React.FC<import("antd").InputProps & {
|
|
3
3
|
onChange: (value: string) => void;
|
|
4
4
|
onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
5
|
-
rootDomain: "custom" | "
|
|
5
|
+
rootDomain: "custom" | "xzero" | "saas";
|
|
6
6
|
customDomain?: string | undefined;
|
|
7
7
|
value?: string | undefined;
|
|
8
8
|
tenantId: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
|
|
3
2
|
options?: any;
|
|
4
|
-
optionSourceType?: "
|
|
3
|
+
optionSourceType?: "custom" | "api" | "default" | undefined;
|
|
5
4
|
labelField: string;
|
|
6
5
|
valueField: string;
|
|
7
6
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const formFieldMap: {
|
|
3
2
|
FormItemCheckbox: import("react").FC<{}> & {
|
|
4
3
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -20,7 +19,7 @@ declare const formFieldMap: {
|
|
|
20
19
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
21
20
|
onChange: (value: string) => void;
|
|
22
21
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
23
|
-
rootDomain: "custom" | "
|
|
22
|
+
rootDomain: "custom" | "xzero" | "saas";
|
|
24
23
|
customDomain?: string | undefined;
|
|
25
24
|
value?: string | undefined;
|
|
26
25
|
tenantId: string;
|
|
@@ -35,7 +34,7 @@ declare const formFieldMap: {
|
|
|
35
34
|
};
|
|
36
35
|
FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
37
36
|
options?: any;
|
|
38
|
-
optionSourceType?: "
|
|
37
|
+
optionSourceType?: "custom" | "api" | "default" | undefined;
|
|
39
38
|
labelField: string;
|
|
40
39
|
valueField: string;
|
|
41
40
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -60,7 +59,7 @@ declare const formFieldMap: {
|
|
|
60
59
|
FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
61
60
|
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
62
61
|
};
|
|
63
|
-
declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
|
|
62
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
64
63
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
65
64
|
} & {
|
|
66
65
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -77,7 +76,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
77
76
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
78
77
|
onChange: (value: string) => void;
|
|
79
78
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
80
|
-
rootDomain: "custom" | "
|
|
79
|
+
rootDomain: "custom" | "xzero" | "saas";
|
|
81
80
|
customDomain?: string | undefined;
|
|
82
81
|
value?: string | undefined;
|
|
83
82
|
tenantId: string;
|
|
@@ -90,7 +89,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
90
89
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
91
90
|
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
92
91
|
options?: any;
|
|
93
|
-
optionSourceType?: "
|
|
92
|
+
optionSourceType?: "custom" | "api" | "default" | undefined;
|
|
94
93
|
labelField: string;
|
|
95
94
|
valueField: string;
|
|
96
95
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -98,5 +97,5 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
98
97
|
dataSource?: any;
|
|
99
98
|
}) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
|
|
100
99
|
onChange: (value: string) => void;
|
|
101
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps
|
|
100
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
102
101
|
export { getFieldComponent, formFieldMap };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.54",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
"swiper": "^8.4.7",
|
|
72
72
|
"react-barcode": "^1.5.3",
|
|
73
73
|
"vod-js-sdk-v6": "^1.4.11",
|
|
74
|
-
"@pisell/date-picker": "3.0.3",
|
|
75
74
|
"@pisell/icon": "0.0.11",
|
|
76
|
-
"@pisell/utils": "3.0.1"
|
|
75
|
+
"@pisell/utils": "3.0.1",
|
|
76
|
+
"@pisell/date-picker": "3.0.3"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"react": "^18.0.0",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonGroupListItemProps } from './../buttonGroupPreview';
|
|
3
|
-
interface ButtonGroupEditProps {
|
|
4
|
-
buttonList: ButtonGroupListItemProps[];
|
|
5
|
-
buttonGroupList: ButtonGroupListItemProps[][];
|
|
6
|
-
}
|
|
7
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ButtonGroupEditProps & React.RefAttributes<any>>>;
|
|
8
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface PisellStatisticProps {
|
|
4
|
-
title: string;
|
|
5
|
-
number: string | number;
|
|
6
|
-
hint?: React.ReactNode;
|
|
7
|
-
tags?: React.ReactNode;
|
|
8
|
-
showCurrencySymbol?: boolean;
|
|
9
|
-
style?: any;
|
|
10
|
-
}
|
|
11
|
-
declare const CardMetricItem: (props: PisellStatisticProps) => JSX.Element;
|
|
12
|
-
export default CardMetricItem;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { DataSourceTableProps } from '../type';
|
|
2
|
-
declare type Params = {
|
|
3
|
-
pagination?: {
|
|
4
|
-
page: number;
|
|
5
|
-
size: number;
|
|
6
|
-
};
|
|
7
|
-
order_by?: string;
|
|
8
|
-
tabs?: {
|
|
9
|
-
name: string;
|
|
10
|
-
filterBy: Record<string, any>;
|
|
11
|
-
sortBy: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
declare const useTableQuery: (props: DataSourceTableProps) => {
|
|
15
|
-
queryPageConfig: {
|
|
16
|
-
page: number;
|
|
17
|
-
pageSize: number;
|
|
18
|
-
filter: Record<string, any>;
|
|
19
|
-
sort: string;
|
|
20
|
-
};
|
|
21
|
-
setQueryPageConfig: import("react").Dispatch<import("react").SetStateAction<{
|
|
22
|
-
page: number;
|
|
23
|
-
pageSize: number;
|
|
24
|
-
filter: Record<string, any>;
|
|
25
|
-
sort: string;
|
|
26
|
-
}>>;
|
|
27
|
-
handleValuesChange: (params: Params, allParams: Params) => void;
|
|
28
|
-
refreshData: () => void;
|
|
29
|
-
handleFilterChange: (changedFields: any, allFields: any) => void;
|
|
30
|
-
refreshCurrentPage: () => void;
|
|
31
|
-
};
|
|
32
|
-
export default useTableQuery;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { RcFile } from 'antd/es/upload';
|
|
2
|
-
export declare const filetypes: Record<string, any>;
|
|
3
|
-
/**
|
|
4
|
-
* @Title: 获取 阿里云 Signature
|
|
5
|
-
* @Describe:
|
|
6
|
-
* @Author: Wzw
|
|
7
|
-
*/
|
|
8
|
-
export declare const getPolicy: () => Promise<any>;
|
|
9
|
-
export declare const getPolicyFile: () => Promise<any>;
|
|
10
|
-
/**
|
|
11
|
-
* @Title: 获取图片尺寸
|
|
12
|
-
* @Describe:
|
|
13
|
-
* @Author: Wzw
|
|
14
|
-
* @param {*} async
|
|
15
|
-
*/
|
|
16
|
-
export declare const getImageWidth: (file: any) => Promise<{
|
|
17
|
-
width: number;
|
|
18
|
-
height: number;
|
|
19
|
-
}>;
|
|
20
|
-
/**
|
|
21
|
-
* @Title: 重新生成文件名
|
|
22
|
-
* @Describe:
|
|
23
|
-
* @Author: Wzw
|
|
24
|
-
* @param {string} file
|
|
25
|
-
*/
|
|
26
|
-
export declare const formatFileName: (file?: any) => Promise<string>;
|
|
27
|
-
export declare const uploadFileAli: (file: any) => Promise<any>;
|
|
28
|
-
/**
|
|
29
|
-
* @Title: base64转file
|
|
30
|
-
* @Describe:
|
|
31
|
-
* @Author: Wzw
|
|
32
|
-
* @param {any} dataurl
|
|
33
|
-
* @param {string} filename
|
|
34
|
-
*/
|
|
35
|
-
export declare const dataURLtoFile: (dataurl: any, filename: string) => File;
|
|
36
|
-
/**
|
|
37
|
-
* @Title: 获取视频封面
|
|
38
|
-
* @Describe:
|
|
39
|
-
* @Author: Wzw
|
|
40
|
-
* @param {any} file
|
|
41
|
-
*/
|
|
42
|
-
export declare const getVideoCover: (file: any) => Promise<unknown>;
|
|
43
|
-
/**
|
|
44
|
-
* @Title: 获取腾讯云 Signature
|
|
45
|
-
* @Describe:
|
|
46
|
-
* @Author: Wzw
|
|
47
|
-
*/
|
|
48
|
-
export declare const getSignature: () => Promise<any>;
|
|
49
|
-
/**
|
|
50
|
-
* @Title: 上传到腾讯云
|
|
51
|
-
* @Describe:
|
|
52
|
-
* @Author: Wzw
|
|
53
|
-
* @param {any} file
|
|
54
|
-
*/
|
|
55
|
-
export declare const uploadFileTencent: (file: any) => Promise<unknown>;
|
|
56
|
-
export declare const uploadFile: (file: RcFile) => Promise<any>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { RcFile, UploadFile } from 'antd/es/upload/interface';
|
|
2
|
-
import type { MediaMetadata, FileCountValidation, ValidationResult, MultilingualFile, FileListOptions, UploadValue, SingleMultilingualValue } from './types';
|
|
3
|
-
export declare const generateUid: () => string;
|
|
4
|
-
export declare const getSuffix: (name: string) => string;
|
|
5
|
-
export declare const getPointSuffix: (name: string) => string;
|
|
6
|
-
export declare const getFileType: (name: string) => string;
|
|
7
|
-
export declare const getFileName: (url: string) => string;
|
|
8
|
-
export declare const checkFileCount: ({ multiple, minCount, maxCount, valueLength, }: FileCountValidation) => ValidationResult;
|
|
9
|
-
export declare const getMediaMetadata: (file: RcFile) => Promise<MediaMetadata | null>;
|
|
10
|
-
export declare const genFileListByString: (value: string) => UploadFile[];
|
|
11
|
-
export declare const createMultilingualData: (value: string) => SingleMultilingualValue;
|
|
12
|
-
export declare const createMultilingualFileList: (value: string) => Record<string, UploadFile<any>[]>;
|
|
13
|
-
export declare const getDefaultFileList: (value: UploadValue | undefined, options: FileListOptions) => MultilingualFile[];
|
|
14
|
-
export declare const getFileMetadataParams: (file: RcFile & {
|
|
15
|
-
metadata?: MediaMetadata;
|
|
16
|
-
}) => Record<string, any>;
|
|
17
|
-
export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
|
|
18
|
-
export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
|
|
2
|
-
import { Dayjs } from 'dayjs';
|
|
3
|
-
import './index.less';
|
|
4
|
-
interface DatePickerCptProps extends PickerDateProps<Dayjs> {
|
|
5
|
-
showTime: any;
|
|
6
|
-
}
|
|
7
|
-
declare const DatePickerCpt: (props: DatePickerCptProps) => JSX.Element;
|
|
8
|
-
export default DatePickerCpt;
|
|
@@ -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,9 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
export interface PisellAdjustPriceProps {
|
|
3
|
-
value?: number;
|
|
4
|
-
originValue: number;
|
|
5
|
-
defaultValue?: number;
|
|
6
|
-
onChange?: (val: number) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
|
|
9
|
-
export default PisellAdjustPrice;
|