@pisell/materials 3.3.88 → 3.3.90
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/es/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
- package/es/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
- package/es/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
- package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
- package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
- package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
- package/es/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
- package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
- package/es/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
- package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
- package/es/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
- package/es/components/PisellCards/components/TextCard/index.d.ts +5 -0
- package/es/components/PisellCards/components/TextCard/types.d.ts +270 -0
- package/es/components/PisellCards/index.d.ts +14 -0
- package/es/components/config-provider/index.d.ts +10 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +27 -0
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/constants.d.ts +9 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +11 -11
- package/es/components/drag-sort-tree/index.d.ts +5 -0
- package/es/components/filter/components/Dropdown/types.d.ts +13 -0
- package/es/components/filter/components/FilterButton/types.d.ts +24 -0
- package/es/components/filter/types.d.ts +48 -0
- package/es/components/login-and-register/index.d.ts +82 -0
- package/es/components/pisellCurrency/PisellCurrency.d.ts +39 -0
- package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +0 -1
- package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +24 -0
- package/es/components/pisellEmail/PisellEmail.d.ts +37 -0
- package/es/components/pisellFilter/type.d.ts +5 -0
- package/es/components/pisellGridPro/index.d.ts +4 -0
- package/es/components/pisellLongText/PisellLongText.d.ts +39 -0
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +9 -0
- package/es/components/pisellMultipleSelect/components/EditView.d.ts +8 -0
- package/es/components/pisellNumber/PisellNumber.d.ts +42 -0
- package/es/components/pisellPhone/PisellPhone.d.ts +36 -0
- package/es/components/pisellPhone/components/EditView.d.ts +19 -0
- package/es/components/pisellPhone/constants/countryCodes.d.ts +20 -0
- package/es/components/pisellPhone/types.d.ts +209 -0
- package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/es/components/pisellQuickFilter/type.d.ts +12 -0
- package/es/components/pisellRating/PisellRating.d.ts +31 -0
- package/es/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
- package/es/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
- package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
- package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
- package/es/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
- package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +16 -0
- package/es/components/pisellRecordBoard/types.d.ts +315 -0
- package/es/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
- package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +40 -0
- package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +9 -0
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
- package/es/components/pisellUrl/PisellUrl.d.ts +37 -0
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
- package/es/components/productCard/components/Packages/utils.d.ts +2 -2
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
- package/es/components/sort/index.d.ts +5 -0
- package/es/components/table/Actions/component/ViewMode/index.d.ts +9 -0
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/es/components/table/Table/fields/select/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/types.d.ts +268 -0
- package/es/components/translation/index.d.ts +17 -0
- package/es/components/translation/utils.d.ts +9 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
- package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
- package/lib/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
- package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
- package/lib/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
- package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
- package/lib/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
- package/lib/components/PisellCards/components/TextCard/index.d.ts +5 -0
- package/lib/components/PisellCards/components/TextCard/types.d.ts +270 -0
- package/lib/components/PisellCards/index.d.ts +14 -0
- package/lib/components/config-provider/index.d.ts +10 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +27 -0
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/constants.d.ts +9 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +11 -11
- package/lib/components/drag-sort-tree/index.d.ts +5 -0
- package/lib/components/filter/components/Dropdown/types.d.ts +13 -0
- package/lib/components/filter/components/FilterButton/types.d.ts +24 -0
- package/lib/components/filter/types.d.ts +48 -0
- package/lib/components/login-and-register/index.d.ts +82 -0
- package/lib/components/pisellCurrency/PisellCurrency.d.ts +39 -0
- package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +0 -1
- package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +24 -0
- package/lib/components/pisellEmail/PisellEmail.d.ts +37 -0
- package/lib/components/pisellFilter/type.d.ts +5 -0
- package/lib/components/pisellGridPro/index.d.ts +4 -0
- package/lib/components/pisellLongText/PisellLongText.d.ts +39 -0
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +9 -0
- package/lib/components/pisellMultipleSelect/components/EditView.d.ts +8 -0
- package/lib/components/pisellNumber/PisellNumber.d.ts +42 -0
- package/lib/components/pisellPhone/PisellPhone.d.ts +36 -0
- package/lib/components/pisellPhone/components/EditView.d.ts +19 -0
- package/lib/components/pisellPhone/constants/countryCodes.d.ts +20 -0
- package/lib/components/pisellPhone/types.d.ts +209 -0
- package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/lib/components/pisellQuickFilter/type.d.ts +12 -0
- package/lib/components/pisellRating/PisellRating.d.ts +31 -0
- package/lib/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
- package/lib/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
- package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
- package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
- package/lib/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
- package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +16 -0
- package/lib/components/pisellRecordBoard/types.d.ts +315 -0
- package/lib/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
- package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +40 -0
- package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +9 -0
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
- package/lib/components/pisellUrl/PisellUrl.d.ts +37 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
- package/lib/components/productCard/components/Packages/utils.d.ts +2 -2
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
- package/lib/components/sort/index.d.ts +5 -0
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +9 -0
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/lib/components/table/Table/fields/select/index.d.ts +0 -1
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/types.d.ts +268 -0
- package/lib/components/translation/index.d.ts +17 -0
- package/lib/components/translation/utils.d.ts +9 -0
- package/lowcode/auto-resize-text/meta.ts +9 -9
- package/package.json +3 -3
- package/es/components/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
- package/es/components/PisellProcedure/index.d.ts +0 -5
- package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
- package/es/components/dataSourceComponents/dataSourceSubForm/types.d.ts +0 -117
- package/es/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +0 -9
- package/es/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +0 -87
- package/es/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +0 -23
- package/es/components/dataSourceComponents/fields/Tabs/type.d.ts +0 -38
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -21
- package/es/components/pisellLookup/PisellLookup.d.ts +0 -4
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
- package/lib/components/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
- package/lib/components/PisellProcedure/index.d.ts +0 -5
- package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
- package/lib/components/dataSourceComponents/dataSourceSubForm/types.d.ts +0 -117
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +0 -9
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +0 -87
- package/lib/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +0 -23
- package/lib/components/dataSourceComponents/fields/Tabs/type.d.ts +0 -38
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -21
- package/lib/components/pisellLookup/PisellLookup.d.ts +0 -4
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import { FilterType } from "../filter/types";
|
|
2
|
+
import { SortItemProps } from "../sort/types";
|
|
3
|
+
import React from "react";
|
|
4
|
+
export declare type StorageMode = "" | "localStorage";
|
|
5
|
+
/**
|
|
6
|
+
* 排序总配置
|
|
7
|
+
*/
|
|
8
|
+
export declare type SortType = {
|
|
9
|
+
/** 排序是否展示 */
|
|
10
|
+
show: boolean;
|
|
11
|
+
/** 排序存储模式 */
|
|
12
|
+
storageMode: StorageMode;
|
|
13
|
+
list: SortItemProps[];
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* 列展示总配置
|
|
17
|
+
*/
|
|
18
|
+
export declare type ColumnSettingType = {
|
|
19
|
+
/** 列设置是否展示 */
|
|
20
|
+
show: boolean;
|
|
21
|
+
/** 列设置存储模式 */
|
|
22
|
+
storageMode: StorageMode;
|
|
23
|
+
};
|
|
24
|
+
declare type DataSourceListItemType = {
|
|
25
|
+
isCustom: boolean;
|
|
26
|
+
columnKey?: string;
|
|
27
|
+
label?: string;
|
|
28
|
+
name?: string | string[];
|
|
29
|
+
isHidden?: boolean;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* 数据源分组总配置
|
|
33
|
+
*/
|
|
34
|
+
export declare type DataSourceGroupType = {
|
|
35
|
+
/** 分组设置是否展示 */
|
|
36
|
+
show: boolean;
|
|
37
|
+
/** 分组设置存储模式 */
|
|
38
|
+
storageMode: StorageMode;
|
|
39
|
+
/** */
|
|
40
|
+
list: DataSourceListItemType[];
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Gallery封面总配置
|
|
44
|
+
*/
|
|
45
|
+
declare type GalleryCoverType = {
|
|
46
|
+
/** 封面是否展示 */
|
|
47
|
+
show: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* 封面图片可以使用的字段
|
|
50
|
+
*/
|
|
51
|
+
fields: string[];
|
|
52
|
+
/**
|
|
53
|
+
* 封面高度
|
|
54
|
+
*/
|
|
55
|
+
height: number;
|
|
56
|
+
/** 图片裁剪方式 */
|
|
57
|
+
objectFit: "fill" | "cover";
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Gallery标题总配置
|
|
61
|
+
*/
|
|
62
|
+
declare type GalleryTitleType = {
|
|
63
|
+
/** 标题使用的字段 */
|
|
64
|
+
field: string;
|
|
65
|
+
/** 标题行数 */
|
|
66
|
+
line: number;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Gallery头部区域总配置
|
|
70
|
+
*/
|
|
71
|
+
declare type GalleryHeaderType = {
|
|
72
|
+
/** 头部区域插槽 */
|
|
73
|
+
slot?: (record: Record<string, any>, index: number) => React.ReactNode;
|
|
74
|
+
/** 头部区域其他字段设置 */
|
|
75
|
+
fields: {
|
|
76
|
+
/** 头部区域其他字段是否展示 */
|
|
77
|
+
show: boolean;
|
|
78
|
+
/** 头部区域其他字段 */
|
|
79
|
+
list: string[];
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Gallery内容区域总配置
|
|
84
|
+
*/
|
|
85
|
+
declare type GalleryContentType = {
|
|
86
|
+
/** 内容区域字段配置 */
|
|
87
|
+
fields: {
|
|
88
|
+
columnKey: string;
|
|
89
|
+
show: boolean;
|
|
90
|
+
}[];
|
|
91
|
+
};
|
|
92
|
+
export declare type GallerySettingValueType = {
|
|
93
|
+
coverField: string | "noCover";
|
|
94
|
+
coverObjectFit: "fill" | "cover";
|
|
95
|
+
compactMode: "default" | "compact";
|
|
96
|
+
isShowLabel: boolean;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Gallery底部区域总配置
|
|
100
|
+
*/
|
|
101
|
+
declare type GalleryFooterType = {
|
|
102
|
+
/** 底部区域自定义渲染 */
|
|
103
|
+
render: (record: Record<string, any>, index: number) => React.ReactNode;
|
|
104
|
+
/** 底部区域高度 */
|
|
105
|
+
height: number;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Gallery模式总配置
|
|
109
|
+
*/
|
|
110
|
+
export declare type GallerySettingType = {
|
|
111
|
+
/** 卡片最小宽度 */
|
|
112
|
+
cardMinWidth: number;
|
|
113
|
+
/** 卡片最大宽度 */
|
|
114
|
+
cardMaxWidth: number;
|
|
115
|
+
/** 水平间隔 */
|
|
116
|
+
horizontalGutter: number;
|
|
117
|
+
/** 垂直间隔 */
|
|
118
|
+
verticalGutter: number;
|
|
119
|
+
/** 封面配置 */
|
|
120
|
+
cover: GalleryCoverType;
|
|
121
|
+
/** 标题配置 */
|
|
122
|
+
title: GalleryTitleType;
|
|
123
|
+
/** 头部区域 */
|
|
124
|
+
header: GalleryHeaderType;
|
|
125
|
+
/** 内容区域 */
|
|
126
|
+
content: GalleryContentType;
|
|
127
|
+
/** 固定高度 */
|
|
128
|
+
fixedHeight: boolean;
|
|
129
|
+
/** 固定的卡片高度 */
|
|
130
|
+
cardHeight: number;
|
|
131
|
+
/** 固定顶部 */
|
|
132
|
+
fixedHeader: boolean;
|
|
133
|
+
/** 固定底部 */
|
|
134
|
+
fixedFooter: boolean;
|
|
135
|
+
/** 底部区域 */
|
|
136
|
+
footer: GalleryFooterType;
|
|
137
|
+
/** 卡片点击时间 */
|
|
138
|
+
onItem: (record: Record<string, any>, index: number) => void;
|
|
139
|
+
};
|
|
140
|
+
/** 视图模式 */
|
|
141
|
+
export declare type ModeType = "grid" | "gallery" | "kanban";
|
|
142
|
+
/**
|
|
143
|
+
* 视图模式总配置
|
|
144
|
+
*/
|
|
145
|
+
export declare type GridViewType = {
|
|
146
|
+
/** 默认视图模式 */
|
|
147
|
+
defaultViewMode: ModeType;
|
|
148
|
+
/** 开启多视图模式可进行页面内转换 */
|
|
149
|
+
multiple: boolean;
|
|
150
|
+
/** 当前可用的视图模式列表 */
|
|
151
|
+
modeList: ModeType[];
|
|
152
|
+
};
|
|
153
|
+
declare type SortDetail = {
|
|
154
|
+
fromIndex: number;
|
|
155
|
+
toIndex: number;
|
|
156
|
+
dataSource: Record<string, any>[];
|
|
157
|
+
fromId: number | string;
|
|
158
|
+
toId: number | string;
|
|
159
|
+
fromItem: Record<string, any>;
|
|
160
|
+
toItem: Record<string, any>;
|
|
161
|
+
};
|
|
162
|
+
/** 导入导出模式 */
|
|
163
|
+
export declare type ExportImportModeType = "import" | "export" | "export_file" | "import_log";
|
|
164
|
+
/**
|
|
165
|
+
* @title: 导出导入api
|
|
166
|
+
* @description:
|
|
167
|
+
* @return {*}
|
|
168
|
+
* @Author: WangHan
|
|
169
|
+
* @Date: 2024-09-11 15:44
|
|
170
|
+
*/
|
|
171
|
+
export declare type ApiProps = {
|
|
172
|
+
export?: string;
|
|
173
|
+
import?: string;
|
|
174
|
+
export_file: string;
|
|
175
|
+
import_log?: string;
|
|
176
|
+
template?: string;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* 导入导出配置
|
|
180
|
+
*/
|
|
181
|
+
export declare type ExportImportType = {
|
|
182
|
+
/** 是否展示 */
|
|
183
|
+
show: boolean;
|
|
184
|
+
/** 当前所选项 */
|
|
185
|
+
selectLists: string[];
|
|
186
|
+
/** 导入模版链接 */
|
|
187
|
+
templateFileUrl: string;
|
|
188
|
+
/** 标题 */
|
|
189
|
+
title: string;
|
|
190
|
+
hiddenKeys?: string[];
|
|
191
|
+
apiUrl?: ApiProps;
|
|
192
|
+
otherParams?: any;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* 设置记忆范围
|
|
196
|
+
*/
|
|
197
|
+
export declare type LocalSettingsScope = "filters" | "sorting" | "columns";
|
|
198
|
+
/**
|
|
199
|
+
* 本地记忆设置
|
|
200
|
+
*/
|
|
201
|
+
export declare type LocalSettingsType = {
|
|
202
|
+
/** 启用设置记忆 */
|
|
203
|
+
enable: boolean;
|
|
204
|
+
/** 记忆范围 */
|
|
205
|
+
scope: LocalSettingsScope[];
|
|
206
|
+
/** 不需要记忆的筛选字段(当 scope 包含 filters 时生效) */
|
|
207
|
+
excludedFilterFields?: string[];
|
|
208
|
+
};
|
|
209
|
+
export declare type GridViewProps = {
|
|
210
|
+
columns: any;
|
|
211
|
+
dataSource: any[];
|
|
212
|
+
dispatch: any;
|
|
213
|
+
/**
|
|
214
|
+
* 画册模式的配置
|
|
215
|
+
*/
|
|
216
|
+
gallery: GallerySettingType;
|
|
217
|
+
/**
|
|
218
|
+
* 视图设置
|
|
219
|
+
*/
|
|
220
|
+
view: GridViewType;
|
|
221
|
+
style: React.CSSProperties;
|
|
222
|
+
pagination: any;
|
|
223
|
+
filter: FilterType;
|
|
224
|
+
buttons: React.ReactNode | any[];
|
|
225
|
+
actionButtons: any;
|
|
226
|
+
sort: SortType;
|
|
227
|
+
title?: React.ReactNode | (() => React.ReactNode);
|
|
228
|
+
showTitle?: boolean;
|
|
229
|
+
subTitle?: React.ReactNode | (() => React.ReactNode);
|
|
230
|
+
showSubTitle?: boolean;
|
|
231
|
+
exportImport: ExportImportType;
|
|
232
|
+
onValuesChange: (changedValues: any, values: any) => void;
|
|
233
|
+
summary: any;
|
|
234
|
+
utils: any;
|
|
235
|
+
rowKey: ((record: Record<string, any>) => string) | string;
|
|
236
|
+
columnSetting?: ColumnSettingType;
|
|
237
|
+
dataSourceGroup?: DataSourceGroupType;
|
|
238
|
+
loading: boolean;
|
|
239
|
+
dragSort: boolean;
|
|
240
|
+
onSortChange?: (detail: SortDetail) => boolean;
|
|
241
|
+
__id?: string;
|
|
242
|
+
__designMode?: "design";
|
|
243
|
+
/**
|
|
244
|
+
* 当前本地配置的key 用此hash是否改变用来判断是否清空本地配置 不填默认使用columns数据生成hash
|
|
245
|
+
*/
|
|
246
|
+
currentSettingKey?: string;
|
|
247
|
+
/**
|
|
248
|
+
* 当前本地配置的唯一值, 不填默认使用currentSettingKey
|
|
249
|
+
*/
|
|
250
|
+
currentComponentId?: string;
|
|
251
|
+
/**
|
|
252
|
+
* 当前表格中数据发生变化事件 包含本地筛选和外部传入数据变化
|
|
253
|
+
* @param currentDataSource
|
|
254
|
+
*/
|
|
255
|
+
onDataSourceChange?: (currentDataSource: Record<string, any>[]) => void;
|
|
256
|
+
tabs: {
|
|
257
|
+
show: boolean;
|
|
258
|
+
type: 'default' | 'button' | 'buttonGroup' | 'dropdown';
|
|
259
|
+
items: {
|
|
260
|
+
name: string;
|
|
261
|
+
filterBy?: Record<string, any>;
|
|
262
|
+
sortBy?: string;
|
|
263
|
+
}[];
|
|
264
|
+
};
|
|
265
|
+
/** 本地记忆设置 */
|
|
266
|
+
localSettings?: LocalSettingsType;
|
|
267
|
+
};
|
|
268
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
declare type Value = {
|
|
4
|
+
en: string;
|
|
5
|
+
'zh-CN': string;
|
|
6
|
+
'zh-HK': string;
|
|
7
|
+
'ja': string;
|
|
8
|
+
'pt': string;
|
|
9
|
+
};
|
|
10
|
+
interface TranslationProps {
|
|
11
|
+
value: Value;
|
|
12
|
+
onChange: (value: Value) => void;
|
|
13
|
+
maxLength?: number;
|
|
14
|
+
id?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const Translation: React.FC<TranslationProps>;
|
|
17
|
+
export default Translation;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const locales: {
|
|
2
|
+
en: string;
|
|
3
|
+
"zh-CN": string;
|
|
4
|
+
"zh-HK": string;
|
|
5
|
+
ja: string;
|
|
6
|
+
pt: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const checkIfAllValuesAreEqual: (obj: any) => boolean;
|
|
9
|
+
export declare const createTranslationText: (text: string, isAll?: boolean) => any;
|
|
@@ -9,7 +9,7 @@ const AutoResizeTextMeta: ComponentMetadata = {
|
|
|
9
9
|
"devMode": "proCode",
|
|
10
10
|
"npm": {
|
|
11
11
|
"package": "@pisell/materials",
|
|
12
|
-
"version": "3.3.
|
|
12
|
+
"version": "3.3.89",
|
|
13
13
|
"exportName": "AutoResizeText",
|
|
14
14
|
"main": "src/index.tsx",
|
|
15
15
|
"destructuring": true,
|
|
@@ -277,10 +277,6 @@ const AutoResizeTextMeta: ComponentMetadata = {
|
|
|
277
277
|
"label": "progress",
|
|
278
278
|
"value": "progress"
|
|
279
279
|
},
|
|
280
|
-
{
|
|
281
|
-
"label": "label",
|
|
282
|
-
"value": "label"
|
|
283
|
-
},
|
|
284
280
|
{
|
|
285
281
|
"label": "title",
|
|
286
282
|
"value": "title"
|
|
@@ -553,6 +549,10 @@ const AutoResizeTextMeta: ComponentMetadata = {
|
|
|
553
549
|
"label": "kbd",
|
|
554
550
|
"value": "kbd"
|
|
555
551
|
},
|
|
552
|
+
{
|
|
553
|
+
"label": "label",
|
|
554
|
+
"value": "label"
|
|
555
|
+
},
|
|
556
556
|
{
|
|
557
557
|
"label": "legend",
|
|
558
558
|
"value": "legend"
|
|
@@ -751,10 +751,6 @@ const AutoResizeTextMeta: ComponentMetadata = {
|
|
|
751
751
|
"label": "progress",
|
|
752
752
|
"value": "progress"
|
|
753
753
|
},
|
|
754
|
-
{
|
|
755
|
-
"label": "label",
|
|
756
|
-
"value": "label"
|
|
757
|
-
},
|
|
758
754
|
{
|
|
759
755
|
"label": "title",
|
|
760
756
|
"value": "title"
|
|
@@ -1027,6 +1023,10 @@ const AutoResizeTextMeta: ComponentMetadata = {
|
|
|
1027
1023
|
"label": "kbd",
|
|
1028
1024
|
"value": "kbd"
|
|
1029
1025
|
},
|
|
1026
|
+
{
|
|
1027
|
+
"label": "label",
|
|
1028
|
+
"value": "label"
|
|
1029
|
+
},
|
|
1030
1030
|
{
|
|
1031
1031
|
"label": "legend",
|
|
1032
1032
|
"value": "legend"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.90",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"styled-components": "^6.0.0-rc.3",
|
|
90
90
|
"swiper": "^8.4.7",
|
|
91
91
|
"vod-js-sdk-v6": "^1.4.11",
|
|
92
|
+
"@pisell/date-picker": "3.0.4",
|
|
92
93
|
"@pisell/icon": "0.0.11",
|
|
93
|
-
"@pisell/utils": "3.0.2"
|
|
94
|
-
"@pisell/date-picker": "3.0.4"
|
|
94
|
+
"@pisell/utils": "3.0.2"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
97
|
"react": "^18.0.0",
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import PisellProcedure from './PisellProcedure';
|
|
3
|
-
/**
|
|
4
|
-
* PisellProcedure 流程容器组件
|
|
5
|
-
*
|
|
6
|
-
* 用于管理多步骤流程的复合容器组件,基于 PisellLayout 实现三段式布局
|
|
7
|
-
* 包含头部区域(步骤条)、主体区域(内容区+信息区)、底部区域(操作按钮)
|
|
8
|
-
*/
|
|
9
|
-
declare const meta: Meta<typeof PisellProcedure>;
|
|
10
|
-
export default meta;
|
|
11
|
-
declare type Story = StoryObj<typeof PisellProcedure>;
|
|
12
|
-
/**
|
|
13
|
-
* 基础用法
|
|
14
|
-
* @description 默认流程容器,包含头部、主体、底部三个区域
|
|
15
|
-
*/
|
|
16
|
-
export declare const Default: Story;
|
|
17
|
-
/**
|
|
18
|
-
* 页面模式
|
|
19
|
-
* @description 默认模式,支持响应式和移动端适配
|
|
20
|
-
*/
|
|
21
|
-
export declare const PageMode: Story;
|
|
22
|
-
/**
|
|
23
|
-
* 弹窗模式
|
|
24
|
-
* @description 用于弹窗场景,不应用移动端适配
|
|
25
|
-
*/
|
|
26
|
-
export declare const ModalMode: Story;
|
|
27
|
-
/**
|
|
28
|
-
* 步骤控制
|
|
29
|
-
* @description 使用 onStepsChange 监听步骤变化
|
|
30
|
-
*/
|
|
31
|
-
export declare const StepControl: Story;
|
|
32
|
-
/**
|
|
33
|
-
* 步骤拦截
|
|
34
|
-
* @description 通过 onNext/onPrev 返回 false 阻止步骤切换
|
|
35
|
-
*/
|
|
36
|
-
export declare const StepIntercept: Story;
|
|
37
|
-
/**
|
|
38
|
-
* 无侧边栏
|
|
39
|
-
*/
|
|
40
|
-
export declare const WithoutSidebar: Story;
|
|
41
|
-
/**
|
|
42
|
-
* 无头部
|
|
43
|
-
*/
|
|
44
|
-
export declare const WithoutHeader: Story;
|
|
45
|
-
/**
|
|
46
|
-
* 无底部
|
|
47
|
-
*/
|
|
48
|
-
export declare const WithoutFooter: Story;
|
|
49
|
-
/**
|
|
50
|
-
* 最小配置
|
|
51
|
-
* @description 仅显示主体内容
|
|
52
|
-
*/
|
|
53
|
-
export declare const MinimalConfig: Story;
|
|
54
|
-
/**
|
|
55
|
-
* 头部插槽顺序 - 默认
|
|
56
|
-
* @description left 在左,right 在右
|
|
57
|
-
*/
|
|
58
|
-
export declare const HeaderSlotDefault: Story;
|
|
59
|
-
/**
|
|
60
|
-
* 头部插槽顺序 - 反转
|
|
61
|
-
* @description left 在右,right 在左
|
|
62
|
-
*/
|
|
63
|
-
export declare const HeaderSlotReverse: Story;
|
|
64
|
-
/**
|
|
65
|
-
* 隐藏步骤条
|
|
66
|
-
* @description 仅显示头部插槽,不显示步骤条
|
|
67
|
-
*/
|
|
68
|
-
export declare const HideSteps: Story;
|
|
69
|
-
/**
|
|
70
|
-
* 第一步显示返回按钮
|
|
71
|
-
* @description 通过 showBackOnFirstStep 控制
|
|
72
|
-
*/
|
|
73
|
-
export declare const ShowBackOnFirstStep: Story;
|
|
74
|
-
/**
|
|
75
|
-
* 返回确认弹窗
|
|
76
|
-
* @description 点击返回时弹出确认弹窗
|
|
77
|
-
*/
|
|
78
|
-
export declare const BackConfirmModal: Story;
|
|
79
|
-
/**
|
|
80
|
-
* 关闭确认弹窗
|
|
81
|
-
* @description 点击关闭时弹出确认弹窗
|
|
82
|
-
*/
|
|
83
|
-
export declare const CloseConfirmModal: Story;
|
|
84
|
-
/**
|
|
85
|
-
* 主体布局 - 比例布局
|
|
86
|
-
* @description 使用比例分配内容区和侧边栏宽度
|
|
87
|
-
*/
|
|
88
|
-
export declare const BodyRatioLayout: Story;
|
|
89
|
-
/**
|
|
90
|
-
* 主体布局 - 固定宽度
|
|
91
|
-
* @description 侧边栏使用固定宽度
|
|
92
|
-
*/
|
|
93
|
-
export declare const BodyFixedLayout: Story;
|
|
94
|
-
/**
|
|
95
|
-
* 主体布局 - 垂直布局
|
|
96
|
-
* @description 内容区和侧边栏上下排列
|
|
97
|
-
*/
|
|
98
|
-
export declare const BodyVerticalLayout: Story;
|
|
99
|
-
/**
|
|
100
|
-
* 主体布局 - 内容顺序反转
|
|
101
|
-
* @description 侧边栏在左/上,内容区在右/下
|
|
102
|
-
*/
|
|
103
|
-
export declare const BodyContentOrderReverse: Story;
|
|
104
|
-
/**
|
|
105
|
-
* 底部位置 - 悬浮在侧边栏
|
|
106
|
-
* @description 默认位置,底部悬浮在侧边栏区域
|
|
107
|
-
*/
|
|
108
|
-
export declare const FooterFloatSidebar: Story;
|
|
109
|
-
/**
|
|
110
|
-
* 底部位置 - 固定在整体底部
|
|
111
|
-
*/
|
|
112
|
-
export declare const FooterFixedBottom: Story;
|
|
113
|
-
/**
|
|
114
|
-
* 底部位置 - 悬浮在整体区域
|
|
115
|
-
* @description 移动端默认使用此模式
|
|
116
|
-
*/
|
|
117
|
-
export declare const FooterFloatAll: Story;
|
|
118
|
-
/**
|
|
119
|
-
* 底部位置 - 悬浮在内容区
|
|
120
|
-
*/
|
|
121
|
-
export declare const FooterFloatContent: Story;
|
|
122
|
-
/**
|
|
123
|
-
* 底部位置 - 内嵌在内容区底部
|
|
124
|
-
*/
|
|
125
|
-
export declare const FooterFixedContentBottom: Story;
|
|
126
|
-
/**
|
|
127
|
-
* 底部位置 - 内嵌在侧边栏底部
|
|
128
|
-
*/
|
|
129
|
-
export declare const FooterFixedSidebarBottom: Story;
|
|
130
|
-
/**
|
|
131
|
-
* 移动端总结按钮
|
|
132
|
-
* @description 移动端显示总结按钮,点击可查看侧边栏内容
|
|
133
|
-
*/
|
|
134
|
-
export declare const MobileSummaryButton: Story;
|
|
135
|
-
/**
|
|
136
|
-
* 溢出收纳功能
|
|
137
|
-
* @description 当宽度不足时,按钮会被收纳到 More 菜单中
|
|
138
|
-
*/
|
|
139
|
-
export declare const OverflowActions: Story;
|
|
140
|
-
/**
|
|
141
|
-
* 禁用溢出收纳
|
|
142
|
-
* @description 不启用溢出收纳,按钮会换行显示
|
|
143
|
-
*/
|
|
144
|
-
export declare const DisableOverflow: Story;
|
|
145
|
-
/**
|
|
146
|
-
* 完整示例 - 购物流程
|
|
147
|
-
* @description 模拟真实的购物流程
|
|
148
|
-
*/
|
|
149
|
-
export declare const ShoppingFlow: Story;
|
|
150
|
-
/**
|
|
151
|
-
* 完整示例 - 注册流程
|
|
152
|
-
* @description 模拟用户注册流程
|
|
153
|
-
*/
|
|
154
|
-
export declare const RegistrationFlow: Story;
|
|
155
|
-
/**
|
|
156
|
-
* 完整示例 - 表单向导
|
|
157
|
-
* @description 多步表单向导
|
|
158
|
-
*/
|
|
159
|
-
export declare const FormWizard: Story;
|
|
160
|
-
/**
|
|
161
|
-
* 交互测试 - 组件渲染
|
|
162
|
-
*/
|
|
163
|
-
export declare const InteractionTest: Story;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellProcedure 组件导出
|
|
3
|
-
*/
|
|
4
|
-
export { default } from './PisellProcedure';
|
|
5
|
-
export type { PisellProcedureProps, PisellProcedureRef, ProcedureHeaderProps, ProcedureBodyProps, ProcedureFooterProps, FooterPositionMode, BackConfirmModalConfig, BodyLayoutMode, BodyLayoutRatio, BodyDirection, StepItem, StepChangeResult, } from './types';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './PisellSteps.less';
|
|
3
|
-
import type { PisellStepsProps } from './types';
|
|
4
|
-
/**
|
|
5
|
-
* PisellSteps 步骤条组件
|
|
6
|
-
*
|
|
7
|
-
* 基于 Ant Design Steps 组件进行二次封装和增强
|
|
8
|
-
* 支持多种展示样式、布局方式和丰富的交互功能
|
|
9
|
-
*
|
|
10
|
-
* @author Pisell Team
|
|
11
|
-
* @version 1.0.0
|
|
12
|
-
*/
|
|
13
|
-
declare const PisellSteps: React.FC<PisellStepsProps>;
|
|
14
|
-
export default PisellSteps;
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ModeType } from '../dataSourceForm/type';
|
|
3
|
-
/**
|
|
4
|
-
* @title 字段选项接口
|
|
5
|
-
* @description 用于下拉框、单选框等组件的选项配置
|
|
6
|
-
*/
|
|
7
|
-
export interface DataSourceSubFormOption {
|
|
8
|
-
label?: React.ReactNode;
|
|
9
|
-
value: string | number;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @title 字段 Schema 接口
|
|
13
|
-
* @description 定义表单字段的结构和配置
|
|
14
|
-
*/
|
|
15
|
-
export interface DataSourceSubFormFieldSchema {
|
|
16
|
-
/** 字段名称(必填) */
|
|
17
|
-
name: string;
|
|
18
|
-
/** 字段标签 */
|
|
19
|
-
label?: React.ReactNode;
|
|
20
|
-
/** 组件类型(兼容多种命名方式) */
|
|
21
|
-
component?: string;
|
|
22
|
-
componentName?: string;
|
|
23
|
-
/** 字段数据类型 */
|
|
24
|
-
type?: string;
|
|
25
|
-
/** 接口类型,用于映射到具体组件(如 Select、Input 等) */
|
|
26
|
-
interface?: string;
|
|
27
|
-
/** 字段选项列表(用于 Select、Radio 等) */
|
|
28
|
-
options?: DataSourceSubFormOption[];
|
|
29
|
-
/** 组件额外配置 */
|
|
30
|
-
props?: Record<string, any>;
|
|
31
|
-
/** 子字段(用于嵌套结构,如 Input.JSON) */
|
|
32
|
-
children?: DataSourceSubFormFieldSchema[];
|
|
33
|
-
_children?: DataSourceSubFormFieldSchema[];
|
|
34
|
-
/** 字段 Schema 配置 */
|
|
35
|
-
schema?: Record<string, any>;
|
|
36
|
-
/** UI Schema 配置(支持低代码平台的各种配置项) */
|
|
37
|
-
uiSchema?: {
|
|
38
|
-
title?: React.ReactNode;
|
|
39
|
-
enum?: DataSourceSubFormOption[];
|
|
40
|
-
'x-component'?: string;
|
|
41
|
-
'x-component-props'?: Record<string, any>;
|
|
42
|
-
'x-read-pretty'?: boolean;
|
|
43
|
-
'x-validator'?: string;
|
|
44
|
-
'x-display'?: 'visible' | 'hidden' | 'none';
|
|
45
|
-
'x-pattern'?: 'editable' | 'disabled' | 'readPretty';
|
|
46
|
-
'x-data-source'?: {
|
|
47
|
-
type?: string;
|
|
48
|
-
options?: Array<{
|
|
49
|
-
id?: string;
|
|
50
|
-
label: string | Record<string, any>;
|
|
51
|
-
value: string;
|
|
52
|
-
color?: string;
|
|
53
|
-
}>;
|
|
54
|
-
labelField?: string;
|
|
55
|
-
valueField?: string;
|
|
56
|
-
dataSource?: any;
|
|
57
|
-
extraParams?: Record<string, any>;
|
|
58
|
-
};
|
|
59
|
-
'x-record-schema'?: DataSourceSubFormSchema | DataSourceSubFormFieldSchema[] | string;
|
|
60
|
-
default?: any;
|
|
61
|
-
type?: 'string' | 'number' | 'integer' | 'boolean' | 'array' | 'object';
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* @title Schema 接口
|
|
66
|
-
* @description 表单字段集合的结构定义
|
|
67
|
-
*/
|
|
68
|
-
export interface DataSourceSubFormSchema {
|
|
69
|
-
/** 字段列表 */
|
|
70
|
-
fields?: DataSourceSubFormFieldSchema[];
|
|
71
|
-
/** 属性映射(key-value 形式) */
|
|
72
|
-
properties?: Record<string, any>;
|
|
73
|
-
/** 子字段列表 */
|
|
74
|
-
children?: DataSourceSubFormFieldSchema[];
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* @title DataSourceSubForm 组件 Props
|
|
78
|
-
* @description
|
|
79
|
-
* 独立的子表单组件,用于渲染一组表单字段。
|
|
80
|
-
* 支持通过 xRecordSchema 配置字段,或直接传入 children 低代码子组件。
|
|
81
|
-
*/
|
|
82
|
-
export interface DataSourceSubFormProps {
|
|
83
|
-
/** 渲染模式:edit(编辑)、disabled(禁用)、preview(预览) */
|
|
84
|
-
renderMode?: ModeType;
|
|
85
|
-
/**
|
|
86
|
-
* 表单值对象
|
|
87
|
-
* @example { "fieldName1": "value1", "fieldName2": "value2" }
|
|
88
|
-
*/
|
|
89
|
-
value?: Record<string, any>;
|
|
90
|
-
/**
|
|
91
|
-
* 值变化回调
|
|
92
|
-
* @param value 更新后的表单值对象
|
|
93
|
-
*/
|
|
94
|
-
onChange?: (value: Record<string, any>) => void;
|
|
95
|
-
/**
|
|
96
|
-
* xRecordSchema:定义表单字段结构
|
|
97
|
-
* 支持三种格式:
|
|
98
|
-
* 1. JSON 字符串
|
|
99
|
-
* 2. Schema 对象(包含 fields/properties/children)
|
|
100
|
-
* 3. 字段数组
|
|
101
|
-
*/
|
|
102
|
-
xRecordSchema?: string | DataSourceSubFormSchema | DataSourceSubFormFieldSchema[];
|
|
103
|
-
/**
|
|
104
|
-
* 容器 children:低代码引擎渲染的子组件节点
|
|
105
|
-
* 优先使用 children,如果没有则回退到 xRecordSchema 渲染
|
|
106
|
-
*/
|
|
107
|
-
children?: React.ReactNode;
|
|
108
|
-
/** 低代码设计模式标识 */
|
|
109
|
-
__designMode?: string;
|
|
110
|
-
/** 表单布局方式 */
|
|
111
|
-
layout?: 'horizontal' | 'vertical' | 'inline';
|
|
112
|
-
/** 自定义类名 */
|
|
113
|
-
className?: string;
|
|
114
|
-
/** 自定义样式 */
|
|
115
|
-
style?: React.CSSProperties;
|
|
116
|
-
[key: string]: any;
|
|
117
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { RecordListWrapperProps } from './type';
|
|
3
|
-
/**
|
|
4
|
-
* @title: RecordListWrapper 只读态
|
|
5
|
-
* @description: 低代码详情模式下展示每个 option 对应的 record 数据。
|
|
6
|
-
* 值结构: { optionValue: { field1: v1, field2: v2 } }
|
|
7
|
-
*/
|
|
8
|
-
declare const RecordListWrapperReadPretty: React.FC<RecordListWrapperProps>;
|
|
9
|
-
export default RecordListWrapperReadPretty;
|