@pisell/materials 6.2.36 → 6.2.38
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 +2 -2
- package/build/lowcode/view.js +2 -2
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +6 -3
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +2 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +7 -6
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/es/components/table/Table/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +5 -2
- package/lib/components/dataSourceComponents/dataSourceForm/utils.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +2 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +7 -6
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lowcode/data-source-table/meta.ts +14 -0
- package/lowcode/form-item-input.password/meta.ts +5 -0
- package/package.json +3 -3
|
@@ -50,9 +50,12 @@ var BaseForm = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
50
50
|
var _useDataSource = useDataSource(),
|
|
51
51
|
get = _useDataSource.get;
|
|
52
52
|
useEffect(function () {
|
|
53
|
-
var
|
|
54
|
-
(
|
|
55
|
-
|
|
53
|
+
var isDesignMode = props.__designMode === 'design';
|
|
54
|
+
if (isDesignMode) {
|
|
55
|
+
var _formRef$current;
|
|
56
|
+
(_formRef$current = formRef.current) === null || _formRef$current === void 0 || _formRef$current.resetFields();
|
|
57
|
+
}
|
|
58
|
+
}, [dataSource, props.__designMode]);
|
|
56
59
|
useEffect(function () {
|
|
57
60
|
document.body.id = 'body';
|
|
58
61
|
}, []);
|
|
@@ -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,
|
|
@@ -54,6 +54,8 @@ var useDrawerState = function useDrawerState(operationContent) {
|
|
|
54
54
|
setDrawerVisible(false);
|
|
55
55
|
// 等待动画完成后再清除item
|
|
56
56
|
timerRef.current = setTimeout(function () {
|
|
57
|
+
var _item$afterClose;
|
|
58
|
+
item === null || item === void 0 || (_item$afterClose = item.afterClose) === null || _item$afterClose === void 0 || _item$afterClose.call(item);
|
|
57
59
|
setItem(null);
|
|
58
60
|
timerRef.current = undefined;
|
|
59
61
|
}, 300);
|
|
@@ -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;
|
|
@@ -42,17 +42,18 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
42
42
|
items: OperationItem[];
|
|
43
43
|
} | undefined;
|
|
44
44
|
operation?: {
|
|
45
|
-
|
|
46
|
-
title: string; /**
|
|
45
|
+
/**
|
|
47
46
|
* 处理table的props
|
|
48
47
|
* 转换title
|
|
49
48
|
* @param props
|
|
50
49
|
* @returns
|
|
51
50
|
*/
|
|
51
|
+
show: boolean;
|
|
52
|
+
title: string;
|
|
52
53
|
width: number;
|
|
53
54
|
align: "center" | "left" | "right";
|
|
54
55
|
fixed: false | "left" | "right";
|
|
55
|
-
type: "
|
|
56
|
+
type: "link" | "button";
|
|
56
57
|
items: OperationItem[];
|
|
57
58
|
} | undefined;
|
|
58
59
|
operationContent?: {
|
|
@@ -70,7 +71,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
70
71
|
useCustomAction: boolean;
|
|
71
72
|
actionType: string;
|
|
72
73
|
openMode: "modal" | "drawer";
|
|
73
|
-
openContentSize: "
|
|
74
|
+
openContentSize: "small" | "large" | "middle";
|
|
74
75
|
openTitle: string;
|
|
75
76
|
key: string;
|
|
76
77
|
} | undefined;
|
|
@@ -59,9 +59,11 @@ declare const formFieldMap: {
|
|
|
59
59
|
FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
60
60
|
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
61
61
|
};
|
|
62
|
-
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
63
|
-
|
|
64
|
-
} &
|
|
62
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
63
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
64
|
+
} & {
|
|
65
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
66
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
65
67
|
JSON: import("react").FC<any>;
|
|
66
68
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
67
69
|
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>;
|
|
@@ -82,10 +84,6 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
82
84
|
fieldKey?: string | undefined;
|
|
83
85
|
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
84
86
|
}) | (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("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
89
87
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
90
88
|
} & {
|
|
91
89
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -97,5 +95,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
97
95
|
extraParams?: Record<string, any> | undefined;
|
|
98
96
|
} & {
|
|
99
97
|
dataSource?: any;
|
|
100
|
-
}) => JSX.Element) | import("react").FC<
|
|
98
|
+
}) => JSX.Element) | import("react").FC<any> | 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 & {
|
|
99
|
+
onChange: (value: string) => void;
|
|
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> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
101
101
|
export { getFieldComponent, formFieldMap };
|
|
@@ -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
|
-
}) => ("
|
|
158
|
+
}) => ("view_mode" | "group_by" | "column_setting" | "order_by" | "filter_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 {};
|
|
@@ -73,8 +73,11 @@ var BaseForm = (0, import_react.forwardRef)(
|
|
|
73
73
|
const { get } = (0, import_useDataSource.default)();
|
|
74
74
|
(0, import_react.useEffect)(() => {
|
|
75
75
|
var _a2;
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
const isDesignMode = props.__designMode === "design";
|
|
77
|
+
if (isDesignMode) {
|
|
78
|
+
(_a2 = formRef.current) == null ? void 0 : _a2.resetFields();
|
|
79
|
+
}
|
|
80
|
+
}, [dataSource, props.__designMode]);
|
|
78
81
|
(0, import_react.useEffect)(() => {
|
|
79
82
|
document.body.id = "body";
|
|
80
83
|
}, []);
|
|
@@ -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,
|
|
@@ -64,6 +64,8 @@ var useDrawerState = (operationContent) => {
|
|
|
64
64
|
}
|
|
65
65
|
setDrawerVisible(false);
|
|
66
66
|
timerRef.current = setTimeout(() => {
|
|
67
|
+
var _a;
|
|
68
|
+
(_a = item == null ? void 0 : item.afterClose) == null ? void 0 : _a.call(item);
|
|
67
69
|
setItem(null);
|
|
68
70
|
timerRef.current = void 0;
|
|
69
71
|
}, 300);
|
|
@@ -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;
|
|
@@ -42,17 +42,18 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
42
42
|
items: OperationItem[];
|
|
43
43
|
} | undefined;
|
|
44
44
|
operation?: {
|
|
45
|
-
|
|
46
|
-
title: string; /**
|
|
45
|
+
/**
|
|
47
46
|
* 处理table的props
|
|
48
47
|
* 转换title
|
|
49
48
|
* @param props
|
|
50
49
|
* @returns
|
|
51
50
|
*/
|
|
51
|
+
show: boolean;
|
|
52
|
+
title: string;
|
|
52
53
|
width: number;
|
|
53
54
|
align: "center" | "left" | "right";
|
|
54
55
|
fixed: false | "left" | "right";
|
|
55
|
-
type: "
|
|
56
|
+
type: "link" | "button";
|
|
56
57
|
items: OperationItem[];
|
|
57
58
|
} | undefined;
|
|
58
59
|
operationContent?: {
|
|
@@ -70,7 +71,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
70
71
|
useCustomAction: boolean;
|
|
71
72
|
actionType: string;
|
|
72
73
|
openMode: "modal" | "drawer";
|
|
73
|
-
openContentSize: "
|
|
74
|
+
openContentSize: "small" | "large" | "middle";
|
|
74
75
|
openTitle: string;
|
|
75
76
|
key: string;
|
|
76
77
|
} | undefined;
|
|
@@ -59,9 +59,11 @@ declare const formFieldMap: {
|
|
|
59
59
|
FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
60
60
|
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
61
61
|
};
|
|
62
|
-
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
63
|
-
|
|
64
|
-
} &
|
|
62
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
63
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
64
|
+
} & {
|
|
65
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
66
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
65
67
|
JSON: import("react").FC<any>;
|
|
66
68
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
67
69
|
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>;
|
|
@@ -82,10 +84,6 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
82
84
|
fieldKey?: string | undefined;
|
|
83
85
|
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
84
86
|
}) | (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("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
89
87
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
90
88
|
} & {
|
|
91
89
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -97,5 +95,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
97
95
|
extraParams?: Record<string, any> | undefined;
|
|
98
96
|
} & {
|
|
99
97
|
dataSource?: any;
|
|
100
|
-
}) => JSX.Element) | import("react").FC<
|
|
98
|
+
}) => JSX.Element) | import("react").FC<any> | 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 & {
|
|
99
|
+
onChange: (value: string) => void;
|
|
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> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
101
101
|
export { getFieldComponent, formFieldMap };
|
|
@@ -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
|
-
}) => ("
|
|
158
|
+
}) => ("view_mode" | "group_by" | "column_setting" | "order_by" | "filter_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 {};
|
|
@@ -897,6 +897,13 @@ const dataSourceTable = {
|
|
|
897
897
|
},
|
|
898
898
|
},
|
|
899
899
|
},
|
|
900
|
+
{
|
|
901
|
+
name: 'afterClose',
|
|
902
|
+
title: { label: '关闭后' },
|
|
903
|
+
setter: {
|
|
904
|
+
componentName: 'FunctionSetter'
|
|
905
|
+
}
|
|
906
|
+
}
|
|
900
907
|
],
|
|
901
908
|
},
|
|
902
909
|
},
|
|
@@ -2689,6 +2696,13 @@ const dataSourceTable = {
|
|
|
2689
2696
|
componentName: 'BoolSetter'
|
|
2690
2697
|
},
|
|
2691
2698
|
],
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
name: 'afterClose',
|
|
2702
|
+
title: { label: '关闭后' },
|
|
2703
|
+
setter: {
|
|
2704
|
+
componentName: 'FunctionSetter'
|
|
2705
|
+
}
|
|
2692
2706
|
}
|
|
2693
2707
|
],
|
|
2694
2708
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.38",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"swiper": "^8.4.7",
|
|
75
75
|
"vod-js-sdk-v6": "^1.4.11",
|
|
76
76
|
"@pisell/date-picker": "3.0.4",
|
|
77
|
-
"@pisell/
|
|
78
|
-
"@pisell/
|
|
77
|
+
"@pisell/icon": "0.0.11",
|
|
78
|
+
"@pisell/utils": "3.0.1"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"react": "^18.0.0",
|