@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.
Files changed (178) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/es/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
  6. package/es/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
  7. package/es/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
  8. package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
  9. package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
  10. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
  11. package/es/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
  12. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
  13. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
  14. package/es/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
  15. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
  16. package/es/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
  17. package/es/components/PisellCards/components/TextCard/index.d.ts +5 -0
  18. package/es/components/PisellCards/components/TextCard/types.d.ts +270 -0
  19. package/es/components/PisellCards/index.d.ts +14 -0
  20. package/es/components/config-provider/index.d.ts +10 -0
  21. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  22. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  23. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  24. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  25. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +27 -0
  26. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
  27. package/es/components/dataSourceComponents/fields/Upload/constants.d.ts +9 -0
  28. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  29. package/es/components/dataSourceComponents/fields/index.d.ts +11 -11
  30. package/es/components/drag-sort-tree/index.d.ts +5 -0
  31. package/es/components/filter/components/Dropdown/types.d.ts +13 -0
  32. package/es/components/filter/components/FilterButton/types.d.ts +24 -0
  33. package/es/components/filter/types.d.ts +48 -0
  34. package/es/components/login-and-register/index.d.ts +82 -0
  35. package/es/components/pisellCurrency/PisellCurrency.d.ts +39 -0
  36. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +0 -1
  37. package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +24 -0
  38. package/es/components/pisellEmail/PisellEmail.d.ts +37 -0
  39. package/es/components/pisellFilter/type.d.ts +5 -0
  40. package/es/components/pisellGridPro/index.d.ts +4 -0
  41. package/es/components/pisellLongText/PisellLongText.d.ts +39 -0
  42. package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +9 -0
  43. package/es/components/pisellMultipleSelect/components/EditView.d.ts +8 -0
  44. package/es/components/pisellNumber/PisellNumber.d.ts +42 -0
  45. package/es/components/pisellPhone/PisellPhone.d.ts +36 -0
  46. package/es/components/pisellPhone/components/EditView.d.ts +19 -0
  47. package/es/components/pisellPhone/constants/countryCodes.d.ts +20 -0
  48. package/es/components/pisellPhone/types.d.ts +209 -0
  49. package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
  50. package/es/components/pisellQuickFilter/type.d.ts +12 -0
  51. package/es/components/pisellRating/PisellRating.d.ts +31 -0
  52. package/es/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
  53. package/es/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
  54. package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
  55. package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
  56. package/es/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
  57. package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
  58. package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
  59. package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +16 -0
  60. package/es/components/pisellRecordBoard/types.d.ts +315 -0
  61. package/es/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
  62. package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +40 -0
  63. package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +9 -0
  64. package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
  65. package/es/components/pisellUrl/PisellUrl.d.ts +37 -0
  66. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  67. package/es/components/productCard/components/Packages/utils.d.ts +2 -2
  68. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
  69. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
  70. package/es/components/sort/index.d.ts +5 -0
  71. package/es/components/table/Actions/component/ViewMode/index.d.ts +9 -0
  72. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  73. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  74. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  75. package/es/components/table/Table/utils.d.ts +1 -1
  76. package/es/components/table/types.d.ts +268 -0
  77. package/es/components/translation/index.d.ts +17 -0
  78. package/es/components/translation/utils.d.ts +9 -0
  79. package/lib/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
  80. package/lib/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
  81. package/lib/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
  82. package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
  83. package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
  84. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
  85. package/lib/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
  86. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
  87. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
  88. package/lib/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
  89. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
  90. package/lib/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
  91. package/lib/components/PisellCards/components/TextCard/index.d.ts +5 -0
  92. package/lib/components/PisellCards/components/TextCard/types.d.ts +270 -0
  93. package/lib/components/PisellCards/index.d.ts +14 -0
  94. package/lib/components/config-provider/index.d.ts +10 -0
  95. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  96. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  97. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  98. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  99. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +27 -0
  100. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
  101. package/lib/components/dataSourceComponents/fields/Upload/constants.d.ts +9 -0
  102. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  103. package/lib/components/dataSourceComponents/fields/index.d.ts +11 -11
  104. package/lib/components/drag-sort-tree/index.d.ts +5 -0
  105. package/lib/components/filter/components/Dropdown/types.d.ts +13 -0
  106. package/lib/components/filter/components/FilterButton/types.d.ts +24 -0
  107. package/lib/components/filter/types.d.ts +48 -0
  108. package/lib/components/login-and-register/index.d.ts +82 -0
  109. package/lib/components/pisellCurrency/PisellCurrency.d.ts +39 -0
  110. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +0 -1
  111. package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +24 -0
  112. package/lib/components/pisellEmail/PisellEmail.d.ts +37 -0
  113. package/lib/components/pisellFilter/type.d.ts +5 -0
  114. package/lib/components/pisellGridPro/index.d.ts +4 -0
  115. package/lib/components/pisellLongText/PisellLongText.d.ts +39 -0
  116. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +9 -0
  117. package/lib/components/pisellMultipleSelect/components/EditView.d.ts +8 -0
  118. package/lib/components/pisellNumber/PisellNumber.d.ts +42 -0
  119. package/lib/components/pisellPhone/PisellPhone.d.ts +36 -0
  120. package/lib/components/pisellPhone/components/EditView.d.ts +19 -0
  121. package/lib/components/pisellPhone/constants/countryCodes.d.ts +20 -0
  122. package/lib/components/pisellPhone/types.d.ts +209 -0
  123. package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
  124. package/lib/components/pisellQuickFilter/type.d.ts +12 -0
  125. package/lib/components/pisellRating/PisellRating.d.ts +31 -0
  126. package/lib/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
  127. package/lib/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
  128. package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
  129. package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
  130. package/lib/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
  131. package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
  132. package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
  133. package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +16 -0
  134. package/lib/components/pisellRecordBoard/types.d.ts +315 -0
  135. package/lib/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
  136. package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +40 -0
  137. package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +9 -0
  138. package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
  139. package/lib/components/pisellUrl/PisellUrl.d.ts +37 -0
  140. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  141. package/lib/components/productCard/components/Packages/utils.d.ts +2 -2
  142. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
  143. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
  144. package/lib/components/sort/index.d.ts +5 -0
  145. package/lib/components/table/Actions/component/ViewMode/index.d.ts +9 -0
  146. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  147. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  148. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  149. package/lib/components/table/Table/utils.d.ts +1 -1
  150. package/lib/components/table/types.d.ts +268 -0
  151. package/lib/components/translation/index.d.ts +17 -0
  152. package/lib/components/translation/utils.d.ts +9 -0
  153. package/lowcode/auto-resize-text/meta.ts +9 -9
  154. package/package.json +3 -3
  155. package/es/components/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
  156. package/es/components/PisellProcedure/index.d.ts +0 -5
  157. package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
  158. package/es/components/dataSourceComponents/dataSourceSubForm/types.d.ts +0 -117
  159. package/es/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +0 -9
  160. package/es/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +0 -87
  161. package/es/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +0 -23
  162. package/es/components/dataSourceComponents/fields/Tabs/type.d.ts +0 -38
  163. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  164. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -21
  165. package/es/components/pisellLookup/PisellLookup.d.ts +0 -4
  166. package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  167. package/lib/components/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
  168. package/lib/components/PisellProcedure/index.d.ts +0 -5
  169. package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
  170. package/lib/components/dataSourceComponents/dataSourceSubForm/types.d.ts +0 -117
  171. package/lib/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +0 -9
  172. package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +0 -87
  173. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +0 -23
  174. package/lib/components/dataSourceComponents/fields/Tabs/type.d.ts +0 -38
  175. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  176. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -21
  177. package/lib/components/pisellLookup/PisellLookup.d.ts +0 -4
  178. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
@@ -0,0 +1,11 @@
1
+ import React, { ReactNode } from 'react';
2
+ import type { RecordBoardContextValue } from '../types';
3
+ export interface RecordBoardProviderProps {
4
+ value: RecordBoardContextValue;
5
+ children: ReactNode;
6
+ }
7
+ /**
8
+ * 仅负责注入 RecordBoard 上下文。
9
+ * 实际的数据源、onSearch/onPageChange 由上层(如接 DataSourceContainer 或独立 fetch)提供。
10
+ */
11
+ export declare const RecordBoardProvider: React.FC<RecordBoardProviderProps>;
@@ -0,0 +1,16 @@
1
+ import type { RecordBoardContextValue, RecordBoardChildComponentProps, RecordBoardGridProps } from '../types';
2
+ export interface UseRecordBoardContextOptions {
3
+ /** 子组件 displayName,用于从 childComponentProps 中取对应 props */
4
+ displayName?: keyof RecordBoardChildComponentProps;
5
+ /** 上层传入的 childComponentProps(若 Context 未提供则从参数传入) */
6
+ childComponentProps?: RecordBoardChildComponentProps;
7
+ }
8
+ /**
9
+ * 消费 RecordBoard 上下文,供各 layout 内子组件(Search / ToolBar / Grid / CardList / Pagination)使用。
10
+ * 若传入 displayName,返回会合并 childComponentProps[displayName] 便于透传。
11
+ * 当 displayName 为 'grid' 时,返回类型包含 RecordBoardGridProps(columns、scroll、size)。
12
+ */
13
+ export declare function useRecordBoardContext(options: UseRecordBoardContextOptions & {
14
+ displayName: 'grid';
15
+ }): RecordBoardContextValue & RecordBoardGridProps;
16
+ export declare function useRecordBoardContext(options?: UseRecordBoardContextOptions): RecordBoardContextValue;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { RecordBoardContextValue } from '../../types';
3
+ export interface RecordBoardCardListProps extends Partial<Pick<RecordBoardContextValue, 'data' | 'loading'>> {
4
+ className?: string;
5
+ style?: React.CSSProperties;
6
+ render?: (ctx: RecordBoardContextValue) => React.ReactNode;
7
+ }
8
+ /**
9
+ * Card 布局下的数据视图:从 context 取 data / loading。
10
+ */
11
+ declare const RecordBoardCardList: React.FC<RecordBoardCardListProps>;
12
+ export default RecordBoardCardList;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import RecordBoardCardList from './CardList';
3
+ /**
4
+ * Card 布局:仅内容区 = 卡片列表(不含分页)。
5
+ * 工具栏、多选操作栏、分页由 Shell Frame 提供,使用时用 ShellFrame 包裹:
6
+ * <PisellRecordBoard.ShellFrame><PisellRecordBoard.CardLayout /></PisellRecordBoard.ShellFrame>
7
+ */
8
+ declare const CardLayout: React.FC<{
9
+ className?: string;
10
+ style?: React.CSSProperties;
11
+ }>;
12
+ export default CardLayout;
13
+ export { RecordBoardCardList as CardLayoutCardList };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { PisellBatchActionBarProps } from '../../../pisellBatchActionBar';
3
+ /**
4
+ * RecordBoard 下的多选操作栏:从 context 取选中态与数据,渲染 PisellBatchActionBar。
5
+ * 仅在有选中项时展示;全选/反选/清空基于当前页 data。
6
+ */
7
+ declare const RecordBoardBatchActionBar: React.FC<Partial<PisellBatchActionBarProps>>;
8
+ export default RecordBoardBatchActionBar;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export interface RecordBoardSearchProps {
3
+ [key: string]: any;
4
+ }
5
+ /**
6
+ * RecordBoard 下的独立搜索槽:使用 PisellFind,绑定 context.searchParams.keyword 与 onSearch。
7
+ * 可通过 childComponentProps.search 透传 PisellFind 的 props。
8
+ */
9
+ declare const RecordBoardSearch: React.FC<RecordBoardSearchProps>;
10
+ export default RecordBoardSearch;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface ToolBarResetProps {
4
+ /** 按钮尺寸,与 antd Button 一致,默认与筛选按钮对齐为 large */
5
+ size?: 'small' | 'middle' | 'large';
6
+ /** 按钮类型 */
7
+ type?: 'default' | 'primary' | 'link' | 'text';
8
+ /** 按钮文案,默认使用多语言「重置」 */
9
+ children?: React.ReactNode;
10
+ }
11
+ /**
12
+ * RecordBoard 工具栏重置按钮:清空筛选与排序并刷新表格。
13
+ * 点击后以空 filter.values、清空 sort 调用 onSearch,并调用 onReset(若提供)。
14
+ */
15
+ declare const ToolBarReset: React.FC<ToolBarResetProps>;
16
+ export default ToolBarReset;
@@ -0,0 +1,315 @@
1
+ import type { ReactNode, Key, ComponentType } from 'react';
2
+ import type { TableProps } from 'antd';
3
+ /**
4
+ * 布局类型:一种 layout 对应一种「视图的集合」
5
+ * - grid: 搜索 + 表格 + 分页
6
+ * - card: 搜索 + 卡片列表 + 分页
7
+ * 后续可扩展 list、kanban 等
8
+ */
9
+ export declare type RecordBoardLayoutType = 'grid' | 'card';
10
+ /**
11
+ * 列字段类型:对应 Pisell 表单组件,传入列 type 时用该组件自动渲染列(只读)与筛选项(编辑)
12
+ */
13
+ export declare type RecordBoardFieldType = 'singleLineText' | 'longText' | 'email' | 'phone' | 'url' | 'number' | 'currency' | 'percent' | 'rating' | 'singleSelect' | 'multipleSelect' | 'dateTime';
14
+ /** 无 type 时筛选项可传入自定义组件,需支持 value / onChange 以接入 Form */
15
+ export declare type RecordBoardFilterComponentProps = {
16
+ value?: any;
17
+ onChange?: (value: any) => void;
18
+ [key: string]: any;
19
+ };
20
+ /** 选项格式,用于 getOptions / options;color 用于只读态 Tag 展示 */
21
+ export declare type RecordBoardOptionItem = {
22
+ label: string;
23
+ value: any;
24
+ /** 只读态 Tag 颜色,如 '#e6f7ff' 或 antd 预设 'blue' */
25
+ color?: string;
26
+ };
27
+ /** 同步或异步返回选项列表,singleSelect/multipleSelect 的 fieldProps.getOptions 或 filter.getOptions 使用 */
28
+ export declare type RecordBoardGetOptions = (() => RecordBoardOptionItem[]) | (() => Promise<RecordBoardOptionItem[]>);
29
+ /** 列筛选配置:不传列 type 时使用。可配置 type + options/props,或传入 component(接收 value/onChange)。 */
30
+ export interface RecordBoardColumnFilterConfig {
31
+ type?: 'single' | 'input' | 'datePicker' | 'rangePicker' | 'rangePickerNew' | 'search';
32
+ label?: string;
33
+ options?: RecordBoardOptionItem[];
34
+ /** 同步或异步获取选项,与 options 二选一;支持 singleSelect/multipleSelect 及无 type 时 type:'single' */
35
+ getOptions?: RecordBoardGetOptions;
36
+ props?: Record<string, any>;
37
+ /** 放在快速筛选(true)还是高级筛选(false) */
38
+ quickFilter?: boolean;
39
+ /** 无 type 时可用:自定义筛选组件,由 Form 注入 value/onChange */
40
+ component?: ComponentType<RecordBoardFilterComponentProps>;
41
+ }
42
+ /**
43
+ * RecordBoard 列类型扩展(与 antd Table Column 兼容,仅增加可选字段)。
44
+ *
45
+ * 有 type(如 singleLineText)时:
46
+ * - 表格:自动用对应 Pisell 组件只读渲染;传入 render 则优先使用(覆盖)。
47
+ * - 筛选:自动用对应组件编辑态;传入 filter(type 或 component)则优先使用(覆盖)。
48
+ * - 排序:自动从组件 SortOptions 派生;传入 sort 则优先使用(覆盖)。
49
+ *
50
+ * 无 type 时:
51
+ * - 表格:无 render 则纯文本;可自定义 render。
52
+ * - 筛选:需配置 filterable + filter(type 或 component,component 需 value/onChange)。
53
+ * - 排序:需配置 sortable + sort(type 或 getSortItems)。
54
+ */
55
+ export interface RecordBoardColumnType<RecordType = any> {
56
+ title?: ReactNode;
57
+ dataIndex?: string | string[];
58
+ key?: string;
59
+ width?: number | string;
60
+ align?: 'left' | 'right' | 'center';
61
+ fixed?: 'left' | 'right' | boolean;
62
+ ellipsis?: boolean;
63
+ /** 列渲染;无 type 时必靠此或默认纯文本;有 type 时可选,传入则覆盖自动派生 */
64
+ render?: (value: any, record: RecordType, index: number) => ReactNode;
65
+ /** 其他 antd 列属性 */
66
+ [key: string]: any;
67
+ /** 字段类型;传入则表格/筛选/排序自动派生,可被 render/filter/sort 覆盖 */
68
+ type?: RecordBoardFieldType;
69
+ /**
70
+ * 传给 Pisell 组件的额外 props(type 存在且未用 filter/render 覆盖时生效)。
71
+ * singleSelect/multipleSelect 时支持 options 或 getOptions(同步/异步返回选项列表)。
72
+ */
73
+ fieldProps?: Record<string, any>;
74
+ /** 是否参与筛选;false 时不生成筛项;有 type 时默认 true */
75
+ filterable?: boolean;
76
+ /** 筛选配置;无 type 时必传 type 或 component;有 type 时可选,传入则覆盖自动派生 */
77
+ filter?: RecordBoardColumnFilterConfig;
78
+ /** 是否参与排序;false 时不生成排序项;有 type 时默认 true */
79
+ sortable?: boolean;
80
+ /**
81
+ * 排序配置;无 type 时需 sortable + sort;有 type 时可选,传入则覆盖自动派生。
82
+ * - type:内置排序子项(string/number/option 等)。
83
+ * - getSortItems:(fieldKey) => [{ key, label }]。
84
+ */
85
+ sort?: {
86
+ type?: 'date' | 'string' | 'number' | 'option';
87
+ label?: string;
88
+ isHidden?: boolean;
89
+ /** 自定义排序子项,优先于 type;fieldKey 为列 key/dataIndex */
90
+ getSortItems?: (fieldKey: string) => Array<{
91
+ key: string;
92
+ label: string;
93
+ }>;
94
+ };
95
+ /** 默认隐藏该列,与 grid.defaultHiddenColumnKeys 合并参与初始化列显隐 */
96
+ hidden?: boolean;
97
+ /**
98
+ * 当开启 grid.collapseUniformColumns 时,用此函数从 (value, record) 得到用于比较的值;
99
+ * 返回 string 或 number 时参与全等比较,返回 null/undefined 则该列不参与折叠。
100
+ * 未传则用 dataIndex 取值;与 render 类似,便于从复杂数据中抽取值再判断是否全同。
101
+ */
102
+ uniformCompare?: (value: any, record: any) => string | number | null | undefined;
103
+ /**
104
+ * 当开启 grid.collapseUniformColumns 时,为 false 则该列即使全列同值/全空也不折叠、不进入总结区;默认 true。
105
+ */
106
+ collapseWhenUniform?: boolean;
107
+ }
108
+ /**
109
+ * 分页状态(与容器内部一致)
110
+ */
111
+ export interface RecordBoardPaginationState {
112
+ pageNumber: number;
113
+ pageSize: number;
114
+ }
115
+ /**
116
+ * 列表请求结果(与 dataSource / useRequest 等对齐)
117
+ */
118
+ export interface RecordBoardListResult {
119
+ list: any[];
120
+ count?: number;
121
+ total?: number;
122
+ }
123
+ /**
124
+ * RecordBoard 容器 Context 值
125
+ * 与具体 layout 类型无关,所有 layout 共用同一套数据与操作
126
+ */
127
+ export interface RecordBoardContextValue {
128
+ /** 当前列表数据 */
129
+ data: any[];
130
+ /** 加载态 */
131
+ loading: boolean;
132
+ /** 总数(用于分页) */
133
+ total: number;
134
+ /** 分页状态 */
135
+ pagination: RecordBoardPaginationState;
136
+ /** 分页变更 */
137
+ onPageChange: (pageNumber: number, pageSize: number) => void;
138
+ /** 搜索/筛选参数 */
139
+ searchParams: Record<string, any>;
140
+ /** 触发搜索(会重置到第一页) */
141
+ onSearch: (params: Record<string, any>) => void;
142
+ /** 重置搜索 */
143
+ onReset?: () => void;
144
+ /** 当前布局类型,供子组件按需做差异化 */
145
+ layoutType: RecordBoardLayoutType;
146
+ /** 多选:当前选中的 key 列表 */
147
+ selectedKeys: Key[];
148
+ /** 多选:当前选中的行数据 */
149
+ selectedRows: any[];
150
+ /** 多选:选择变更回调(表格/卡片勾选、BatchActionBar 全选/清空/反选时调用) */
151
+ onSelectionChange: (keys: Key[], rows: any[]) => void;
152
+ /** 行主键,用于多选与列表渲染,如 'id' 或 (record) => record.id */
153
+ rowKey?: string | ((record: any) => Key);
154
+ /**
155
+ * 列显示隐藏状态(仅影响表格/卡片列展示,不影响 filter/sort 配置)。
156
+ * key 为列 key/dataIndex,value 为是否显示;未出现的列默认显示。
157
+ */
158
+ columnVisibility?: Record<string, boolean>;
159
+ /** 列显示隐藏变更回调 */
160
+ onColumnVisibilityChange?: (visibility: Record<string, boolean>) => void;
161
+ /** 列 key 顺序(用于列设置弹层拖拽排序),未设置时按 grid.columns 顺序 */
162
+ columnOrder?: string[] | null;
163
+ /** 列顺序变更回调(拖拽排序后) */
164
+ onColumnOrderChange?: (columnKeys: string[]) => void;
165
+ /** 各子组件透传 props,由 Provider 注入 */
166
+ childComponentProps?: RecordBoardChildComponentProps;
167
+ /** 是否占满父容器高度,供 ShellFrame 做弹性布局(内容区纯 CSS 滚动 + 表头 sticky;scroll.autoCalc 时用测量高度) */
168
+ fillHeight?: boolean;
169
+ /** 内容区滚动容器高度(fillHeight 且 grid.scroll.autoCalc 时由 ShellFrame 测量),供 Grid 计算 scroll.y */
170
+ scrollAreaHeight?: number | null;
171
+ /** 设置内容区滚动容器高度(由 ShellFrame 测量组件调用) */
172
+ setScrollAreaHeight?: (height: number | null) => void;
173
+ /** 点击重置时递增,供 ToolBar 给 PisellFilter 设 key 以强制重挂载,清空弹窗内表单 */
174
+ filterResetKey?: number;
175
+ /** 递增 filterResetKey,由 ToolBarReset 在重置时调用 */
176
+ setFilterResetKey?: (fn: (prev: number) => number) => void;
177
+ }
178
+ /**
179
+ * 各 layout 下子组件的可选透传配置(类似 ChildComponentProps)
180
+ */
181
+ /**
182
+ * BatchActionBar 透传配置,与 PisellBatchActionBar 的 props 对齐。
183
+ * 具体类型见 PisellBatchActionBarProps,此处仅做透传用。
184
+ */
185
+ export declare type RecordBoardBatchActionBarProps = Record<string, any>;
186
+ /** Filter 透传配置,与 PisellFilter 的 props 对齐 */
187
+ export declare type RecordBoardFilterProps = Record<string, any>;
188
+ /**
189
+ * ToolBar 透传配置。
190
+ * - 继承 PisellToolBar 的 slots:topLeft、topRight、bottomLeft、bottomRight、tabs。
191
+ * - search:默认在工具栏内渲染 PisellFind;为对象时透传为 PisellFind 的 props;为 false 时不渲染搜索。
192
+ * - filter:默认在工具栏右侧渲染 PisellFilter;为对象时透传 PisellFilter props;为 false 时不渲染。筛选值绑定 searchParams.filter,变更触发 onSearch。
193
+ */
194
+ export interface RecordBoardToolBarProps {
195
+ className?: string;
196
+ style?: React.CSSProperties;
197
+ tabs?: React.ReactNode;
198
+ topLeft?: React.ReactNode;
199
+ topRight?: React.ReactNode;
200
+ bottomLeft?: React.ReactNode;
201
+ bottomRight?: React.ReactNode;
202
+ /** 在 ToolBar 内渲染搜索:默认 PisellFind;对象透传 PisellFind props;false 不渲染 */
203
+ search?: boolean | RecordBoardSearchProps;
204
+ /** 在 ToolBar 右侧渲染筛选:默认 PisellFilter;对象透传 PisellFilter props;false 不渲染。值存于 searchParams.filter */
205
+ filter?: boolean | RecordBoardFilterProps;
206
+ /** 在 ToolBar 内、筛选左侧渲染排序:默认 Sort;对象可传 list、placement 等;false 不渲染。值存于 searchParams.sort */
207
+ sort?: boolean | Record<string, any>;
208
+ /**
209
+ * 在 ToolBar 左侧展示内联快速筛选(替代 Filter 弹层内的 quickFilter)。
210
+ * 为 true 时使用 columns 派生的 quickFilter 列表;为对象时可传 filterList、formFiltersPrefix、size 等。
211
+ * 启用后建议对 filter 传 hiddenQuickFilter: true,弹层内仅保留高级筛选。
212
+ */
213
+ quickFilter?: boolean | Record<string, any>;
214
+ /** 列显示隐藏设置入口;默认 true(有 grid.columns 时显示);false 时不渲染 */
215
+ columnSetting?: boolean;
216
+ }
217
+ /** Search 透传配置,与 PisellFind 的 props 对齐 */
218
+ export declare type RecordBoardSearchProps = Record<string, any>;
219
+ /**
220
+ * Grid 布局透传配置,对应 RecordBoardGridView 的 props(useRecordBoardContext('grid') 会将其合并到 context)。
221
+ * 基于 antd TableProps,省略由 context 注入或组件自管的项(dataSource、loading、pagination、columns、scroll、size、rowSelection)。
222
+ * 多选用 selectedKeys/selectedRows/onSelectionChange;其余 Table props(如 onRow、onHeaderRow、expandable、rowClassName、summary)透传。
223
+ */
224
+ export declare type RecordBoardGridProps = {
225
+ /** 列配置;ToolBar 据此派生筛选与排序,ColumnSetting 据此做列显示隐藏 */
226
+ columns?: RecordBoardColumnType[];
227
+ /** 默认隐藏的列 key 列表(对应 columns 的 key 或 dataIndex),用于初始化列显隐状态 */
228
+ defaultHiddenColumnKeys?: string[];
229
+ /**
230
+ * 当前页某列全部同值或全部为空时:隐藏该列,并在表格上方展示总结区(列名 + 统一值/空数据)。
231
+ * 比较规则:列可配置 uniformCompare(value, record) 返回用于比较的 string/number;否则用 dataIndex 取值;仅 string/number 参与比较,undefined/null 不参与。
232
+ * 默认 true;传 false 可关闭。
233
+ */
234
+ collapseUniformColumns?: boolean;
235
+ /**
236
+ * 表格滚动配置,对齐 materials Table useGenScroll。
237
+ * - x / y:同 antd Table scroll。
238
+ * - autoCalc:为 true 时根据内容区高度自动计算 scroll.y(需 fillHeight),表头固定、表体滚动。
239
+ * - scrollToFirstRowOnChange:翻页后是否滚动到第一行。
240
+ */
241
+ scroll?: {
242
+ x?: number | string;
243
+ y?: number | string;
244
+ autoCalc?: boolean;
245
+ scrollToFirstRowOnChange?: boolean;
246
+ };
247
+ /** 表格尺寸 */
248
+ size?: 'small' | 'middle' | 'default';
249
+ /** 当前选中的行 key 列表(多选) */
250
+ selectedKeys?: Key[];
251
+ /** 当前选中的行数据(多选) */
252
+ selectedRows?: unknown[];
253
+ /** 多选变更回调 */
254
+ onSelectionChange?: (keys: Key[], rows: unknown[]) => void;
255
+ /** 多选列配置:fixed、columnWidth 等,与 selectedKeys/onSelectionChange 合并为 Table rowSelection */
256
+ rowSelection?: Partial<Omit<NonNullable<TableProps<unknown>['rowSelection']>, 'selectedRowKeys' | 'onChange'>>;
257
+ } & Omit<TableProps<unknown>, 'dataSource' | 'loading' | 'pagination' | 'columns' | 'scroll' | 'size' | 'rowSelection'>;
258
+ export interface RecordBoardChildComponentProps {
259
+ /** 搜索配置,透传给 PisellFind;关键词绑定 searchParams.keyword */
260
+ search?: RecordBoardSearchProps;
261
+ /** 工具栏配置,透传给 PisellToolBar;内置搜索会接 context.searchParams/onSearch */
262
+ toolBar?: RecordBoardToolBarProps;
263
+ pagination?: Record<string, any>;
264
+ /** Grid 布局配置:列、滚动、尺寸等,透传给 RecordBoardGridView */
265
+ grid?: RecordBoardGridProps;
266
+ cardList?: Record<string, any>;
267
+ /** 多选操作栏配置,透传给 PisellBatchActionBar */
268
+ batchActionBar?: RecordBoardBatchActionBarProps;
269
+ }
270
+ /**
271
+ * RecordBoard 容器 Props。
272
+ * 仅打散传参:列表/分页/搜索/多选/列显隐、以及 grid/toolBar/search/paginationConfig/batchActionBar/cardList 独立传入。
273
+ */
274
+ export interface RecordBoardProps {
275
+ /** 子节点,一般为某种 Layout 或自定义组合 */
276
+ children?: ReactNode;
277
+ /** 当前使用的布局类型 */
278
+ layoutType?: RecordBoardLayoutType;
279
+ /** 行主键,用于多选与列表 */
280
+ rowKey?: string | ((record: any) => Key);
281
+ /** 当前列表数据 */
282
+ data?: any[];
283
+ /** 加载态 */
284
+ loading?: boolean;
285
+ /** 总数(用于分页) */
286
+ total?: number;
287
+ /** 分页状态 */
288
+ pagination?: RecordBoardPaginationState;
289
+ /** 分页变更 */
290
+ onPageChange?: (pageNumber: number, pageSize: number) => void;
291
+ /** 搜索/筛选参数 */
292
+ searchParams?: Record<string, any>;
293
+ /** 触发搜索(会重置到第一页) */
294
+ onSearch?: (params: Record<string, any>) => void;
295
+ /** 重置搜索 */
296
+ onReset?: () => void;
297
+ /** 列显隐持久化:传入则用 @pisell/utils 的 getComponentStorageKey 规则写入 localStorage;低代码可传 __id */
298
+ columnVisibilityStorageKey?: string;
299
+ /** Grid 配置:列、滚动、尺寸等 */
300
+ grid?: RecordBoardGridProps;
301
+ /** 工具栏配置 */
302
+ toolBar?: RecordBoardToolBarProps;
303
+ /** 搜索配置,透传给 PisellFind */
304
+ search?: RecordBoardSearchProps;
305
+ /** 分页组件透传配置(与 pagination 状态区分,此处为 Pagination 组件 props) */
306
+ paginationConfig?: Record<string, any>;
307
+ /** 多选操作栏配置 */
308
+ batchActionBar?: RecordBoardBatchActionBarProps;
309
+ /** 卡片列表配置 */
310
+ cardList?: Record<string, any>;
311
+ /** 是否启用分页(与 pagination 状态区分) */
312
+ enablePagination?: boolean;
313
+ /** 其他 */
314
+ [key: string]: any;
315
+ }
@@ -0,0 +1,9 @@
1
+ import React, { ComponentType } from 'react';
2
+ import type { RecordBoardContextValue, RecordBoardChildComponentProps } from '../types';
3
+ declare type RecordBoardDisplayName = keyof RecordBoardChildComponentProps;
4
+ /**
5
+ * 为 RecordBoard 下的子组件注入 context,并合并 childComponentProps[displayName]。
6
+ * 用于 Search / ToolBar / Pagination / Grid / CardList 等「被接管」的通用组件封装。
7
+ */
8
+ declare function withRecordBoard<P extends object, R = any>(WrappedComponent: ComponentType<P & RecordBoardContextValue>, displayName: RecordBoardDisplayName): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<R>>;
9
+ export default withRecordBoard;
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ import type { PisellSingleLineTextProps } from './types';
3
+ import './PisellSingleLineText.less';
4
+ /**
5
+ * PisellSingleLineText 单行文本组件
6
+ *
7
+ * 通用的单行文本输入/展示组件,支持只读、编辑、禁用三种状态。
8
+ * 基于 Ant Design Input 组件开发,提供完整的校验框架。
9
+ *
10
+ * @param props 组件 Props
11
+ *
12
+ * @example
13
+ * // 受控模式
14
+ * const [value, setValue] = useState('');
15
+ * <PisellSingleLineText
16
+ * value={value}
17
+ * onChange={(v) => setValue(v)}
18
+ * placeholder="请输入"
19
+ * />
20
+ *
21
+ * @example
22
+ * // 非受控模式
23
+ * <PisellSingleLineText
24
+ * defaultValue="初始值"
25
+ * required
26
+ * minLength={3}
27
+ * />
28
+ *
29
+ * @example
30
+ * // 只读态
31
+ * <PisellSingleLineText
32
+ * mode="read"
33
+ * value="这是一段很长的文本内容"
34
+ * ellipsis
35
+ * showTooltip
36
+ * />
37
+ */
38
+ export declare const PisellSingleLineText: React.FC<PisellSingleLineTextProps>;
39
+ declare const _default: React.NamedExoticComponent<PisellSingleLineTextProps>;
40
+ export default _default;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * PisellSingleSelect - 单选下拉组件
3
+ * 基于 Ant Design Select 封装,提供符合 Pisell 设计规范的单选功能
4
+ */
5
+ import React from 'react';
6
+ import type { PisellSingleSelectProps, SingleSelectRef } from './types';
7
+ import './PisellSingleSelect.less';
8
+ declare const PisellSingleSelect: React.ForwardRefExoticComponent<PisellSingleSelectProps<string | number> & React.RefAttributes<SingleSelectRef<string | number>>>;
9
+ export default PisellSingleSelect;
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import 'dayjs/locale/zh-cn';
3
+ import 'dayjs/locale/en';
4
+ import type { PisellTimeRangeDisplayProps } from './types';
5
+ import './PisellTimeRangeDisplay.less';
6
+ /**
7
+ * PisellTimeRangeDisplay 组件
8
+ *
9
+ * @description
10
+ * 纯展示型时间区间组件,将 startAt / endAt 格式化为「时间区间 + 持续时间」。
11
+ * - 同一天:HH:mm-HH:mm,可选显示日期/星期
12
+ * - 跨天:起止日期时间
13
+ * - 持续时间:d h m s 格式
14
+ * - 字段顺序由 fieldOrder 控制,可将 duration 放在中间
15
+ *
16
+ * @example
17
+ * <PisellTimeRangeDisplay
18
+ * startAt="2026-02-04 09:00"
19
+ * endAt="2026-02-04 18:00"
20
+ * />
21
+ * // => "09:00-18:00" + "9h"
22
+ *
23
+ * <PisellTimeRangeDisplay
24
+ * startAt={start}
25
+ * endAt={end}
26
+ * fields={{ fieldOrder: ['time', 'duration', 'date', 'weekday'] }}
27
+ * showDateForSameDay
28
+ * />
29
+ */
30
+ export declare const PisellTimeRangeDisplay: React.FC<PisellTimeRangeDisplayProps>;
31
+ declare const _default: React.NamedExoticComponent<PisellTimeRangeDisplayProps>;
32
+ export default _default;
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ import type { PisellUrlProps } from './types';
3
+ import './PisellUrl.less';
4
+ /**
5
+ * PisellUrl URL 链接组件
6
+ *
7
+ * URL 链接输入/展示组件,支持只读、编辑、禁用三种状态。
8
+ * 基于 Ant Design Input 组件开发,提供 URL 格式校验、协议自动补全、
9
+ * 链接跳转和协议/路径显示控制功能。
10
+ *
11
+ * @param props 组件 Props
12
+ *
13
+ * @example
14
+ * // 编辑态(URL 输入)
15
+ * <PisellUrl
16
+ * placeholder="请输入网址"
17
+ * required
18
+ * />
19
+ *
20
+ * @example
21
+ * // 只读态(可跳转)
22
+ * <PisellUrl
23
+ * mode="read"
24
+ * value="https://www.example.com"
25
+ * enableLinkClick
26
+ * />
27
+ *
28
+ * @example
29
+ * // 协议自动补全
30
+ * <PisellUrl
31
+ * autoCompleteProtocol
32
+ * defaultProtocol="https://"
33
+ * />
34
+ */
35
+ export declare const PisellUrl: React.FC<PisellUrlProps>;
36
+ declare const _default: React.NamedExoticComponent<PisellUrlProps>;
37
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const DeleteButton: ({ onDelete }: any) => React.JSX.Element;
4
+ export default DeleteButton;
@@ -6,7 +6,7 @@
6
6
  * @Author: WangHan
7
7
  * @Date: 2024-11-22 10:01
8
8
  */
9
- export declare const minusSign: (item: any, type?: string) => "" | "-";
9
+ export declare const minusSign: (item: any, type?: string) => "-" | "";
10
10
  /**
11
11
  * @title: 金额格式化
12
12
  * @description:
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => React.JSX.Element;
4
+ export default SelectHolder;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface ResourceItem {
4
+ id: string | number;
5
+ label: string;
6
+ isError?: boolean;
7
+ [key: string]: any;
8
+ }
9
+ interface SelectResourceProps {
10
+ lists: ResourceItem[];
11
+ value: any;
12
+ onChange: (val: any) => void;
13
+ resourceMode?: 'multiple' | 'tags' | undefined;
14
+ maxLength?: number;
15
+ isParallelResource?: boolean;
16
+ [key: string]: any;
17
+ }
18
+ declare const SelectResource: ({ lists, value, onChange, resourceMode, allowClear, onClearResource, maxLength, isErrorResource, resourceErrorText, ...props }: SelectResourceProps) => React.JSX.Element;
19
+ export default SelectResource;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SortListProps } from './types';
3
+ import './index.less';
4
+ declare const Sort: React.FC<SortListProps>;
5
+ export default Sort;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { GridViewType, ModeType } from "../../../types";
3
+ declare type ViewModeProps = {
4
+ view: GridViewType;
5
+ value?: ModeType;
6
+ onChange?: (value: ModeType) => void;
7
+ };
8
+ declare const ViewMode: (props: ViewModeProps) => React.JSX.Element;
9
+ export default ViewMode;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import { GallerySettingType, GallerySettingValueType } from "../../../types";
3
+ import "./index.less";
4
+ declare type GalleryItemProps = {
5
+ record: Record<string, any>;
6
+ gallery: GallerySettingType;
7
+ columnsMap: Map<string, Record<string, any>>;
8
+ index: number;
9
+ gallerySetting: GallerySettingValueType;
10
+ columns: Record<string, any>[];
11
+ onClick: React.MouseEventHandler<HTMLDivElement>;
12
+ };
13
+ declare const GalleryItem: (props: GalleryItemProps) => React.JSX.Element;
14
+ export default GalleryItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -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
- }) => ("view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting" | "filters")[];
158
+ }) => ("filters" | "column_setting" | "gallery_setting" | "order_by" | "group_by" | "view_mode" | "filter_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 {};