@pisell/materials 1.8.29 → 1.8.30
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/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +16 -17
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +2 -2
- package/es/components/table/Table/fields/date/index.d.ts +0 -1
- package/es/components/table/Table/fields/index.d.ts +2 -3
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +16 -17
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +2 -2
- package/lib/components/table/Table/fields/date/index.d.ts +0 -1
- package/lib/components/table/Table/fields/index.d.ts +2 -3
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lowcode/pisell-record-board-calendar-view/meta.ts +1 -1
- package/package.json +1 -1
|
@@ -52,7 +52,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
52
52
|
show: boolean;
|
|
53
53
|
title: string;
|
|
54
54
|
width: number;
|
|
55
|
-
align: "
|
|
55
|
+
align: "center" | "left" | "right";
|
|
56
56
|
fixed: false | "left" | "right";
|
|
57
57
|
type: "link" | "button";
|
|
58
58
|
items: OperationItem[];
|
|
@@ -71,7 +71,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
71
71
|
show: boolean;
|
|
72
72
|
useCustomAction: boolean;
|
|
73
73
|
actionType: string;
|
|
74
|
-
openMode: "
|
|
74
|
+
openMode: "modal" | "drawer";
|
|
75
75
|
openContentSize: "small" | "large" | "middle";
|
|
76
76
|
openTitle: string;
|
|
77
77
|
key: string;
|
|
@@ -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" | "saas" | "xzero";
|
|
6
6
|
customDomain?: string | undefined;
|
|
7
7
|
value?: string | undefined;
|
|
8
8
|
tenantId: string;
|
|
@@ -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" | "saas" | "xzero";
|
|
24
23
|
customDomain?: string | undefined;
|
|
25
24
|
value?: string | undefined;
|
|
26
25
|
tenantId: string;
|
|
@@ -81,11 +80,7 @@ declare const formFieldMap: {
|
|
|
81
80
|
extraParams?: Record<string, any> | undefined;
|
|
82
81
|
}) => import("react").JSX.Element;
|
|
83
82
|
};
|
|
84
|
-
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
85
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
86
|
-
} & {
|
|
87
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
88
|
-
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DatePicker").DataSourceDatePickerProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
83
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
89
84
|
JSON: import("react").FC<any>;
|
|
90
85
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
91
86
|
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
@@ -98,18 +93,14 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
98
93
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
99
94
|
onChange: (value: string) => void;
|
|
100
95
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
101
|
-
rootDomain: "custom" | "
|
|
96
|
+
rootDomain: "custom" | "saas" | "xzero";
|
|
102
97
|
customDomain?: string | undefined;
|
|
103
98
|
value?: string | undefined;
|
|
104
99
|
tenantId: string;
|
|
105
100
|
name?: string | undefined;
|
|
106
101
|
fieldKey?: string | undefined;
|
|
107
102
|
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
108
|
-
}) | (import("
|
|
109
|
-
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
110
|
-
} & {
|
|
111
|
-
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
112
|
-
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
103
|
+
}) | ((props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
113
104
|
options?: any;
|
|
114
105
|
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
115
106
|
labelField: string;
|
|
@@ -118,9 +109,15 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
118
109
|
} & {
|
|
119
110
|
dataSource?: any;
|
|
120
111
|
extraParams?: Record<string, any> | undefined;
|
|
121
|
-
}) => import("react").JSX.Element) |
|
|
122
|
-
|
|
123
|
-
} &
|
|
112
|
+
}) => import("react").JSX.Element) | (import("react").FC<{}> & {
|
|
113
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
114
|
+
} & {
|
|
115
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
116
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DatePicker").DataSourceDatePickerProps> | (import("react").FC<{}> & {
|
|
117
|
+
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
118
|
+
} & {
|
|
119
|
+
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
120
|
+
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
124
121
|
options?: any;
|
|
125
122
|
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
126
123
|
labelField: string;
|
|
@@ -129,7 +126,9 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
129
126
|
} & {
|
|
130
127
|
dataSource?: any;
|
|
131
128
|
extraParams?: Record<string, any> | undefined;
|
|
132
|
-
}) => import("react").JSX.Element) | ((
|
|
129
|
+
}) => import("react").JSX.Element) | 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 & {
|
|
130
|
+
onChange: (value: string) => void;
|
|
131
|
+
} & 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> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | ((props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
133
132
|
options?: any;
|
|
134
133
|
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
135
134
|
labelField: string;
|
|
@@ -77,8 +77,8 @@ var BasicInfo = function BasicInfo(props) {
|
|
|
77
77
|
var renderProductPrice = function renderProductPrice() {
|
|
78
78
|
if (weighingInfo) {
|
|
79
79
|
var unit = weighingInfo.unit,
|
|
80
|
-
|
|
81
|
-
return "".concat(formatAmount(
|
|
80
|
+
unit_price = weighingInfo.unit_price;
|
|
81
|
+
return "".concat(formatAmount(unit_price, 2, symbol), "/").concat(UNIT_LABEL[unit]);
|
|
82
82
|
}
|
|
83
83
|
return formatAmount(price, 2, symbol);
|
|
84
84
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const fieldMaps: {
|
|
3
2
|
text: {
|
|
4
3
|
field: {
|
|
@@ -198,12 +197,12 @@ export declare const fieldList: ({
|
|
|
198
197
|
field_icon: string;
|
|
199
198
|
field_name: string;
|
|
200
199
|
field_type: string;
|
|
201
|
-
default_value:
|
|
200
|
+
default_value: boolean;
|
|
202
201
|
} | {
|
|
203
202
|
field_icon: string;
|
|
204
203
|
field_name: string;
|
|
205
204
|
field_type: string;
|
|
206
|
-
default_value:
|
|
205
|
+
default_value: string;
|
|
207
206
|
} | {
|
|
208
207
|
field_icon: string;
|
|
209
208
|
field_name: string;
|
|
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
155
155
|
sort?: SortType | undefined;
|
|
156
156
|
mode: "" | "localStorage" | "remote";
|
|
157
157
|
currentViewMode: ModeType;
|
|
158
|
-
}) => ("filters" | "view_mode" | "
|
|
158
|
+
}) => ("filters" | "view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting")[];
|
|
159
159
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
160
160
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
161
161
|
export {};
|
|
@@ -52,7 +52,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
52
52
|
show: boolean;
|
|
53
53
|
title: string;
|
|
54
54
|
width: number;
|
|
55
|
-
align: "
|
|
55
|
+
align: "center" | "left" | "right";
|
|
56
56
|
fixed: false | "left" | "right";
|
|
57
57
|
type: "link" | "button";
|
|
58
58
|
items: OperationItem[];
|
|
@@ -71,7 +71,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
71
71
|
show: boolean;
|
|
72
72
|
useCustomAction: boolean;
|
|
73
73
|
actionType: string;
|
|
74
|
-
openMode: "
|
|
74
|
+
openMode: "modal" | "drawer";
|
|
75
75
|
openContentSize: "small" | "large" | "middle";
|
|
76
76
|
openTitle: string;
|
|
77
77
|
key: string;
|
|
@@ -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" | "saas" | "xzero";
|
|
6
6
|
customDomain?: string | undefined;
|
|
7
7
|
value?: string | undefined;
|
|
8
8
|
tenantId: string;
|
|
@@ -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" | "saas" | "xzero";
|
|
24
23
|
customDomain?: string | undefined;
|
|
25
24
|
value?: string | undefined;
|
|
26
25
|
tenantId: string;
|
|
@@ -81,11 +80,7 @@ declare const formFieldMap: {
|
|
|
81
80
|
extraParams?: Record<string, any> | undefined;
|
|
82
81
|
}) => import("react").JSX.Element;
|
|
83
82
|
};
|
|
84
|
-
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
85
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
86
|
-
} & {
|
|
87
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
88
|
-
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DatePicker").DataSourceDatePickerProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
83
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
89
84
|
JSON: import("react").FC<any>;
|
|
90
85
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
91
86
|
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
@@ -98,18 +93,14 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
98
93
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
99
94
|
onChange: (value: string) => void;
|
|
100
95
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
101
|
-
rootDomain: "custom" | "
|
|
96
|
+
rootDomain: "custom" | "saas" | "xzero";
|
|
102
97
|
customDomain?: string | undefined;
|
|
103
98
|
value?: string | undefined;
|
|
104
99
|
tenantId: string;
|
|
105
100
|
name?: string | undefined;
|
|
106
101
|
fieldKey?: string | undefined;
|
|
107
102
|
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
108
|
-
}) | (import("
|
|
109
|
-
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
110
|
-
} & {
|
|
111
|
-
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
112
|
-
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
103
|
+
}) | ((props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
113
104
|
options?: any;
|
|
114
105
|
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
115
106
|
labelField: string;
|
|
@@ -118,9 +109,15 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
118
109
|
} & {
|
|
119
110
|
dataSource?: any;
|
|
120
111
|
extraParams?: Record<string, any> | undefined;
|
|
121
|
-
}) => import("react").JSX.Element) |
|
|
122
|
-
|
|
123
|
-
} &
|
|
112
|
+
}) => import("react").JSX.Element) | (import("react").FC<{}> & {
|
|
113
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
114
|
+
} & {
|
|
115
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
116
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DatePicker").DataSourceDatePickerProps> | (import("react").FC<{}> & {
|
|
117
|
+
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
118
|
+
} & {
|
|
119
|
+
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
120
|
+
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
124
121
|
options?: any;
|
|
125
122
|
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
126
123
|
labelField: string;
|
|
@@ -129,7 +126,9 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
129
126
|
} & {
|
|
130
127
|
dataSource?: any;
|
|
131
128
|
extraParams?: Record<string, any> | undefined;
|
|
132
|
-
}) => import("react").JSX.Element) | ((
|
|
129
|
+
}) => import("react").JSX.Element) | 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 & {
|
|
130
|
+
onChange: (value: string) => void;
|
|
131
|
+
} & 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> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | ((props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
133
132
|
options?: any;
|
|
134
133
|
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
135
134
|
labelField: string;
|
|
@@ -110,8 +110,8 @@ var BasicInfo = (props) => {
|
|
|
110
110
|
};
|
|
111
111
|
const renderProductPrice = () => {
|
|
112
112
|
if (weighingInfo) {
|
|
113
|
-
const { unit,
|
|
114
|
-
return `${(0, import_utils.formatAmount)(
|
|
113
|
+
const { unit, unit_price } = weighingInfo;
|
|
114
|
+
return `${(0, import_utils.formatAmount)(unit_price, 2, symbol)}/${UNIT_LABEL[unit]}`;
|
|
115
115
|
}
|
|
116
116
|
return (0, import_utils.formatAmount)(price, 2, symbol);
|
|
117
117
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const fieldMaps: {
|
|
3
2
|
text: {
|
|
4
3
|
field: {
|
|
@@ -198,12 +197,12 @@ export declare const fieldList: ({
|
|
|
198
197
|
field_icon: string;
|
|
199
198
|
field_name: string;
|
|
200
199
|
field_type: string;
|
|
201
|
-
default_value:
|
|
200
|
+
default_value: boolean;
|
|
202
201
|
} | {
|
|
203
202
|
field_icon: string;
|
|
204
203
|
field_name: string;
|
|
205
204
|
field_type: string;
|
|
206
|
-
default_value:
|
|
205
|
+
default_value: string;
|
|
207
206
|
} | {
|
|
208
207
|
field_icon: string;
|
|
209
208
|
field_name: string;
|
|
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
155
155
|
sort?: SortType | undefined;
|
|
156
156
|
mode: "" | "localStorage" | "remote";
|
|
157
157
|
currentViewMode: ModeType;
|
|
158
|
-
}) => ("filters" | "view_mode" | "
|
|
158
|
+
}) => ("filters" | "view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting")[];
|
|
159
159
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
160
160
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
161
161
|
export {};
|
|
@@ -9,7 +9,7 @@ const PisellRecordBoardCalendarViewMeta: ComponentMetadata = {
|
|
|
9
9
|
"devMode": "proCode",
|
|
10
10
|
"npm": {
|
|
11
11
|
"package": "@pisell/materials",
|
|
12
|
-
"version": "1.8.
|
|
12
|
+
"version": "1.8.29",
|
|
13
13
|
"exportName": "PisellRecordBoardCalendarView",
|
|
14
14
|
"main": "src/index.tsx",
|
|
15
15
|
"destructuring": true,
|