@pisell/materials 3.3.86 → 3.3.88

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 (231) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +4 -4
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +25 -25
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +15 -15
  11. package/es/components/PisellLayouts/index.d.ts +0 -1
  12. package/es/components/PisellProcedure/PisellProcedure.stories.d.ts +163 -0
  13. package/es/components/PisellProcedure/index.d.ts +5 -0
  14. package/es/components/PisellSteps/PisellSteps.d.ts +14 -0
  15. package/es/components/dataSourceComponents/dataSourceSubForm/index.d.ts +13 -0
  16. package/es/components/dataSourceComponents/dataSourceSubForm/index.js +274 -0
  17. package/es/components/dataSourceComponents/dataSourceSubForm/index.less +19 -0
  18. package/es/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +544 -0
  19. package/es/components/dataSourceComponents/dataSourceSubForm/schema-simple-example.json +174 -0
  20. package/es/components/dataSourceComponents/dataSourceSubForm/types.d.ts +117 -0
  21. package/es/components/dataSourceComponents/dataSourceSubForm/types.js +1 -0
  22. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  23. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  24. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  25. package/es/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +9 -0
  26. package/es/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.js +61 -0
  27. package/es/components/dataSourceComponents/fields/RecordListWrapper/WithMode.d.ts +4 -0
  28. package/es/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +176 -0
  29. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +12 -0
  30. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.js +11 -0
  31. package/es/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +87 -0
  32. package/es/components/dataSourceComponents/fields/RecordListWrapper/type.js +1 -0
  33. package/es/components/dataSourceComponents/fields/Tabs/ReadPretty.d.ts +9 -0
  34. package/es/components/dataSourceComponents/fields/Tabs/ReadPretty.js +16 -0
  35. package/es/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
  36. package/es/components/dataSourceComponents/fields/Tabs/Tabs.js +93 -0
  37. package/es/components/dataSourceComponents/fields/Tabs/Tabs.less +64 -0
  38. package/es/components/dataSourceComponents/fields/Tabs/WithMode.d.ts +6 -0
  39. package/es/components/dataSourceComponents/fields/Tabs/WithMode.js +9 -0
  40. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +12 -0
  41. package/es/components/dataSourceComponents/fields/Tabs/index.js +18 -0
  42. package/es/components/dataSourceComponents/fields/Tabs/type.d.ts +38 -0
  43. package/es/components/dataSourceComponents/fields/Tabs/type.js +1 -0
  44. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
  45. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +21 -0
  46. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  47. package/es/components/dataSourceComponents/fields/index.d.ts +40 -2
  48. package/es/components/dataSourceComponents/fields/index.js +5 -1
  49. package/es/components/dataSourceComponents/fields/utils.js +3 -0
  50. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
  51. package/es/components/pisellLookup/PisellLookup.d.ts +4 -0
  52. package/es/components/pisellLookup/PisellLookup.js +8 -1
  53. package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  54. package/es/components/pisellWalletPassCard/index.js +1 -1
  55. package/es/components/productCard/components/Packages/utils.d.ts +2 -2
  56. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  57. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  58. package/es/components/table/Table/utils.d.ts +1 -1
  59. package/es/index.d.ts +4 -0
  60. package/es/index.js +3 -0
  61. package/lib/components/PisellLayouts/index.d.ts +0 -1
  62. package/lib/components/PisellProcedure/PisellProcedure.stories.d.ts +163 -0
  63. package/lib/components/PisellProcedure/index.d.ts +5 -0
  64. package/lib/components/PisellSteps/PisellSteps.d.ts +14 -0
  65. package/lib/components/dataSourceComponents/dataSourceSubForm/index.d.ts +13 -0
  66. package/lib/components/dataSourceComponents/dataSourceSubForm/index.js +229 -0
  67. package/lib/components/dataSourceComponents/dataSourceSubForm/index.less +19 -0
  68. package/lib/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +544 -0
  69. package/lib/components/dataSourceComponents/dataSourceSubForm/schema-simple-example.json +174 -0
  70. package/lib/components/dataSourceComponents/dataSourceSubForm/types.d.ts +117 -0
  71. package/lib/components/dataSourceComponents/dataSourceSubForm/types.js +17 -0
  72. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  73. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  74. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  75. package/lib/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +9 -0
  76. package/lib/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.js +64 -0
  77. package/lib/components/dataSourceComponents/fields/RecordListWrapper/WithMode.d.ts +4 -0
  78. package/lib/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +157 -0
  79. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +12 -0
  80. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.js +40 -0
  81. package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +87 -0
  82. package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.js +17 -0
  83. package/lib/components/dataSourceComponents/fields/Tabs/ReadPretty.d.ts +9 -0
  84. package/lib/components/dataSourceComponents/fields/Tabs/ReadPretty.js +45 -0
  85. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
  86. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.js +95 -0
  87. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.less +64 -0
  88. package/lib/components/dataSourceComponents/fields/Tabs/WithMode.d.ts +6 -0
  89. package/lib/components/dataSourceComponents/fields/Tabs/WithMode.js +39 -0
  90. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +12 -0
  91. package/lib/components/dataSourceComponents/fields/Tabs/index.js +40 -0
  92. package/lib/components/dataSourceComponents/fields/Tabs/type.d.ts +38 -0
  93. package/lib/components/dataSourceComponents/fields/Tabs/type.js +17 -0
  94. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
  95. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +21 -0
  96. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  97. package/lib/components/dataSourceComponents/fields/index.d.ts +40 -2
  98. package/lib/components/dataSourceComponents/fields/index.js +5 -1
  99. package/lib/components/dataSourceComponents/fields/utils.js +3 -0
  100. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
  101. package/lib/components/pisellLookup/PisellLookup.d.ts +4 -0
  102. package/lib/components/pisellLookup/PisellLookup.js +5 -1
  103. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  104. package/lib/components/pisellWalletPassCard/index.js +9 -2
  105. package/lib/components/productCard/components/Packages/utils.d.ts +2 -2
  106. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  107. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  108. package/lib/components/table/Table/utils.d.ts +1 -1
  109. package/lib/index.d.ts +4 -0
  110. package/lib/index.js +9 -0
  111. package/lowcode/auto-resize-text/meta.ts +9 -9
  112. package/lowcode/data-source-form/constants.ts +3 -0
  113. package/lowcode/data-source-form/utils.ts +31 -5
  114. package/lowcode/data-source-sub-form/meta.ts +259 -0
  115. package/lowcode/data-source-sub-form/snippets.ts +21 -0
  116. package/lowcode/form-item-record-list-wrapper/meta.ts +180 -0
  117. package/lowcode/form-item-record-list-wrapper/snippets.ts +18 -0
  118. package/lowcode/form-item-tabs/meta.ts +172 -0
  119. package/package.json +1 -1
  120. package/es/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +0 -5
  121. package/es/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +0 -27
  122. package/es/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +0 -5
  123. package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +0 -15
  124. package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +0 -18
  125. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  126. package/es/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +0 -19
  127. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -8
  128. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  129. package/es/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +0 -17
  130. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  131. package/es/components/PisellCards/components/TextCard/components/index.d.ts +0 -6
  132. package/es/components/PisellCards/components/TextCard/index.d.ts +0 -5
  133. package/es/components/PisellCards/components/TextCard/types.d.ts +0 -270
  134. package/es/components/PisellCards/index.d.ts +0 -15
  135. package/es/components/config-provider/index.d.ts +0 -10
  136. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  137. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
  138. package/es/components/dataSourceComponents/fields/Upload/constants.d.ts +0 -9
  139. package/es/components/drag-sort-tree/index.d.ts +0 -5
  140. package/es/components/filter/components/Dropdown/types.d.ts +0 -13
  141. package/es/components/filter/components/FilterButton/types.d.ts +0 -24
  142. package/es/components/filter/types.d.ts +0 -48
  143. package/es/components/login-and-register/index.d.ts +0 -82
  144. package/es/components/pisellCurrency/PisellCurrency.d.ts +0 -39
  145. package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
  146. package/es/components/pisellEmail/PisellEmail.d.ts +0 -37
  147. package/es/components/pisellFilter/type.d.ts +0 -5
  148. package/es/components/pisellGridPro/index.d.ts +0 -4
  149. package/es/components/pisellLongText/PisellLongText.d.ts +0 -39
  150. package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
  151. package/es/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
  152. package/es/components/pisellNumber/PisellNumber.d.ts +0 -42
  153. package/es/components/pisellPhone/PisellPhone.d.ts +0 -36
  154. package/es/components/pisellPhone/components/EditView.d.ts +0 -19
  155. package/es/components/pisellPhone/constants/countryCodes.d.ts +0 -20
  156. package/es/components/pisellPhone/types.d.ts +0 -209
  157. package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
  158. package/es/components/pisellQuickFilter/type.d.ts +0 -12
  159. package/es/components/pisellRating/PisellRating.d.ts +0 -31
  160. package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
  161. package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
  162. package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
  163. package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
  164. package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
  165. package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
  166. package/es/components/pisellUrl/PisellUrl.d.ts +0 -37
  167. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  168. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
  169. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
  170. package/es/components/sort/index.d.ts +0 -5
  171. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -9
  172. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  173. package/es/components/table/types.d.ts +0 -268
  174. package/es/components/translation/index.d.ts +0 -17
  175. package/es/components/translation/utils.d.ts +0 -9
  176. package/lib/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +0 -5
  177. package/lib/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +0 -27
  178. package/lib/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +0 -5
  179. package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +0 -15
  180. package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +0 -18
  181. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  182. package/lib/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +0 -19
  183. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -8
  184. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  185. package/lib/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +0 -17
  186. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  187. package/lib/components/PisellCards/components/TextCard/components/index.d.ts +0 -6
  188. package/lib/components/PisellCards/components/TextCard/index.d.ts +0 -5
  189. package/lib/components/PisellCards/components/TextCard/types.d.ts +0 -270
  190. package/lib/components/PisellCards/index.d.ts +0 -15
  191. package/lib/components/config-provider/index.d.ts +0 -10
  192. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  193. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
  194. package/lib/components/dataSourceComponents/fields/Upload/constants.d.ts +0 -9
  195. package/lib/components/drag-sort-tree/index.d.ts +0 -5
  196. package/lib/components/filter/components/Dropdown/types.d.ts +0 -13
  197. package/lib/components/filter/components/FilterButton/types.d.ts +0 -24
  198. package/lib/components/filter/types.d.ts +0 -48
  199. package/lib/components/login-and-register/index.d.ts +0 -82
  200. package/lib/components/pisellCurrency/PisellCurrency.d.ts +0 -39
  201. package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
  202. package/lib/components/pisellEmail/PisellEmail.d.ts +0 -37
  203. package/lib/components/pisellFilter/type.d.ts +0 -5
  204. package/lib/components/pisellGridPro/index.d.ts +0 -4
  205. package/lib/components/pisellLongText/PisellLongText.d.ts +0 -39
  206. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
  207. package/lib/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
  208. package/lib/components/pisellNumber/PisellNumber.d.ts +0 -42
  209. package/lib/components/pisellPhone/PisellPhone.d.ts +0 -36
  210. package/lib/components/pisellPhone/components/EditView.d.ts +0 -19
  211. package/lib/components/pisellPhone/constants/countryCodes.d.ts +0 -20
  212. package/lib/components/pisellPhone/types.d.ts +0 -209
  213. package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
  214. package/lib/components/pisellQuickFilter/type.d.ts +0 -12
  215. package/lib/components/pisellRating/PisellRating.d.ts +0 -31
  216. package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
  217. package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
  218. package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
  219. package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
  220. package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
  221. package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
  222. package/lib/components/pisellUrl/PisellUrl.d.ts +0 -37
  223. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  224. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
  225. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
  226. package/lib/components/sort/index.d.ts +0 -5
  227. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -9
  228. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  229. package/lib/components/table/types.d.ts +0 -268
  230. package/lib/components/translation/index.d.ts +0 -17
  231. package/lib/components/translation/utils.d.ts +0 -9
@@ -0,0 +1,64 @@
1
+ .pisell-form-tabs {
2
+ height: 40px;
3
+ width: 100%;
4
+ display: flex;
5
+ align-items: center;
6
+ background-color: #f5f5f5;
7
+ border-radius: 8px;
8
+ padding: 2px;
9
+ gap: 2px;
10
+ flex-wrap: nowrap;
11
+ box-sizing: border-box;
12
+ color: rgba(0, 0, 0, .65);
13
+ background-color: rgba(0, 0, 0, .04);
14
+ overflow-x: auto;
15
+
16
+ /* 隐藏滚动条:兼容 WebKit(Chrome/Safari/Edge)、Firefox、IE/Edge 旧版 */
17
+ -ms-overflow-style: none;
18
+ scrollbar-width: none;
19
+
20
+ &::-webkit-scrollbar {
21
+ display: none;
22
+ }
23
+
24
+ &-item {
25
+ min-height: 36px;
26
+ min-width: 90px;
27
+ display: inline-flex;
28
+ align-items: center;
29
+ justify-content: center;
30
+ padding: 0 12px;
31
+ border-radius: 6px;
32
+ cursor: pointer;
33
+ transition: background-color 0.2s ease, box-shadow 0.2s ease,
34
+ color 0.2s ease;
35
+ user-select: none;
36
+ white-space: nowrap;
37
+ flex: 0 0 auto;
38
+ outline: none;
39
+
40
+ &-label {
41
+ font-size: 14px;
42
+ color: rgba(0, 0, 0, 0.65);
43
+ font-weight: 400;
44
+ }
45
+
46
+ &:hover:not(&--active):not(&--disabled) {
47
+ background-color: rgba(0, 0, 0, 0.06);
48
+ }
49
+
50
+ &--active {
51
+ background-color: #ffffff;
52
+
53
+ .pisell-form-tabs-item-label {
54
+ color: #262626;
55
+ font-weight: 500;
56
+ }
57
+ }
58
+
59
+ &--disabled {
60
+ cursor: not-allowed;
61
+ opacity: 0.4;
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * TabsWithMode
4
+ */
5
+ declare const TabsWithMode: import("react").FC<import("./type").TabsProps & import("../../dataSourceForm/utils").WithModeProps>;
6
+ export default TabsWithMode;
@@ -0,0 +1,9 @@
1
+ import { withMode } from "../../dataSourceForm/utils";
2
+ import Tabs from "./Tabs";
3
+ import ReadPretty from "./ReadPretty";
4
+
5
+ /**
6
+ * TabsWithMode
7
+ */
8
+ var TabsWithMode = withMode(Tabs, ReadPretty);
9
+ export default TabsWithMode;
@@ -0,0 +1,12 @@
1
+ /** 包装 DataSource 层(提供数据源上下文) */
2
+ declare const FormItemTabs: (props: import("./type").TabsProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
+ options?: any;
4
+ optionSourceType?: "default" | "custom" | "api" | undefined;
5
+ labelField: string;
6
+ valueField: string;
7
+ extraParams?: Record<string, any> | undefined;
8
+ } & {
9
+ dataSource?: any;
10
+ extraParams?: Record<string, any> | undefined;
11
+ }) => import("react").JSX.Element;
12
+ export default FormItemTabs;
@@ -0,0 +1,18 @@
1
+ import { withFormItem, withDataSource, withOptions } from "../../dataSourceForm/utils";
2
+ import TabsWithMode from "./WithMode";
3
+
4
+ /**
5
+ * FormItemTabs
6
+ * @description 表单字段 Tabs 组件,提供胶囊风格选项卡交互。
7
+ * 支持自定义选项、API 数据源、多种渲染模式(编辑/查看/禁用/隐藏)。
8
+ */
9
+
10
+ /** 包装 FormItem 层 */
11
+ var TabsWithFormItem = withFormItem(TabsWithMode);
12
+
13
+ /** 包装 Options 层(支持 API 数据源转换) */
14
+ var TabsWithOptions = withOptions(TabsWithFormItem);
15
+
16
+ /** 包装 DataSource 层(提供数据源上下文) */
17
+ var FormItemTabs = withDataSource(TabsWithOptions);
18
+ export default FormItemTabs;
@@ -0,0 +1,38 @@
1
+ import React from 'react';
2
+ import { ModeType } from '../../dataSourceForm/type';
3
+ /**
4
+ * Tabs 选项配置
5
+ */
6
+ export interface TabOption {
7
+ /** 选项显示文本 */
8
+ label: React.ReactNode;
9
+ /** 选项对应的值 */
10
+ value: string | number;
11
+ /** 是否禁用该选项 */
12
+ disabled?: boolean;
13
+ }
14
+ /**
15
+ * Tabs 基础 Props(编辑态组件使用,不含 renderMode)
16
+ */
17
+ export interface TabsProps {
18
+ /** 当前选中的值(受控) */
19
+ value?: string | number;
20
+ /** 默认选中的值(非受控) */
21
+ defaultValue?: string | number;
22
+ /** 选项列表 */
23
+ options?: TabOption[];
24
+ /** 是否禁用整个组件 */
25
+ disabled?: boolean;
26
+ /** 选中值变化时的回调 */
27
+ onChange?: (value: string | number) => void;
28
+ /** 自定义类名 */
29
+ className?: string;
30
+ /** 自定义样式 */
31
+ style?: React.CSSProperties;
32
+ }
33
+ /**
34
+ * Tabs ReadPretty Props(只读态组件使用,包含必填 renderMode)
35
+ */
36
+ export interface TabsReadPrettyProps extends TabsProps {
37
+ renderMode: ModeType;
38
+ }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { TranslationProps } from './type';
3
+ import './index.less';
4
+ declare const Translation: React.FC<TranslationProps>;
5
+ export default Translation;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface TranslationValue {
4
+ en: string;
5
+ 'zh-CN': string;
6
+ 'zh-HK': string;
7
+ 'ja': string;
8
+ 'pt': string;
9
+ original: string;
10
+ }
11
+ export interface TranslationProps {
12
+ renderMode: ModeType;
13
+ value?: TranslationValue;
14
+ onChange?: (value: TranslationValue) => void;
15
+ disabled?: boolean;
16
+ placeholder?: string;
17
+ className?: string;
18
+ type?: 'text' | 'textarea';
19
+ maxLength?: number;
20
+ inputStyle?: React.CSSProperties;
21
+ }
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
@@ -59,8 +59,37 @@ declare const formFieldMap: {
59
59
  FormItemUpload: import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
60
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
62
+ FormItemRecordListWrapper: (props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
63
+ options?: any;
64
+ optionSourceType?: "default" | "custom" | "api" | undefined;
65
+ labelField: string;
66
+ valueField: string;
67
+ extraParams?: Record<string, any> | undefined;
68
+ } & {
69
+ dataSource?: any;
70
+ extraParams?: Record<string, any> | undefined;
71
+ }) => import("react").JSX.Element;
72
+ FormItemTabs: (props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
73
+ options?: any;
74
+ optionSourceType?: "default" | "custom" | "api" | undefined;
75
+ labelField: string;
76
+ valueField: string;
77
+ extraParams?: Record<string, any> | undefined;
78
+ } & {
79
+ dataSource?: any;
80
+ extraParams?: Record<string, any> | undefined;
81
+ }) => import("react").JSX.Element;
62
82
  };
63
- declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
83
+ declare const getFieldComponent: (fieldComponent: string) => ((props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
84
+ options?: any;
85
+ optionSourceType?: "default" | "custom" | "api" | undefined;
86
+ labelField: string;
87
+ valueField: string;
88
+ extraParams?: Record<string, any> | undefined;
89
+ } & {
90
+ dataSource?: any;
91
+ extraParams?: Record<string, any> | undefined;
92
+ }) => import("react").JSX.Element) | (import("react").FC<{}> & {
64
93
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
65
94
  } & {
66
95
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -99,5 +128,14 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
99
128
  extraParams?: Record<string, any> | undefined;
100
129
  }) => import("react").JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
101
130
  onChange: (value: string) => void;
102
- } & 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>;
131
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | ((props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
132
+ options?: any;
133
+ optionSourceType?: "default" | "custom" | "api" | undefined;
134
+ labelField: string;
135
+ valueField: string;
136
+ extraParams?: Record<string, any> | undefined;
137
+ } & {
138
+ dataSource?: any;
139
+ extraParams?: Record<string, any> | undefined;
140
+ }) => import("react").JSX.Element);
103
141
  export { getFieldComponent, formFieldMap };
@@ -10,6 +10,8 @@ import DateRangePicker from "./DateRangePicker";
10
10
  import Upload from "./Upload";
11
11
  import Translation from "./Translation";
12
12
  import IconSelect from "./IconSelect";
13
+ import RecordListWrapper from "./RecordListWrapper";
14
+ import Tabs from "./Tabs";
13
15
 
14
16
  // 表单字段组件映射 增加时需要同步更新 utils 中的 formFieldFilterFuncMap
15
17
  var formFieldMap = {
@@ -33,7 +35,9 @@ var formFieldMap = {
33
35
  FormItemDateRangePicker: DateRangePicker,
34
36
  FormItemUpload: Upload,
35
37
  FormItemTranslation: Translation,
36
- FormItemIconSelect: IconSelect
38
+ FormItemIconSelect: IconSelect,
39
+ FormItemRecordListWrapper: RecordListWrapper,
40
+ FormItemTabs: Tabs
37
41
  };
38
42
  var getFieldComponent = function getFieldComponent(fieldComponent) {
39
43
  return formFieldMap[fieldComponent];
@@ -112,6 +112,9 @@ var formFieldFilterFuncMap = {
112
112
  return {
113
113
  $anyOf: formatValue
114
114
  };
115
+ },
116
+ RecordListWrapper: function RecordListWrapper() {
117
+ return null;
115
118
  }
116
119
  };
117
120
  export { formFieldFilterFuncMap };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const useDataSourceKey: () => {
2
3
  dataSourceKey: string | undefined;
3
4
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { PisellLookupProps, PisellLookupRef } from './types';
3
+ import './PisellLookup.less';
4
+ export declare const PisellLookup: React.ForwardRefExoticComponent<PisellLookupProps & React.RefAttributes<PisellLookupRef>>;
@@ -428,15 +428,22 @@ var PisellLookupComponent = /*#__PURE__*/forwardRef(function (props, ref) {
428
428
 
429
429
  /**
430
430
  * 处理扫码
431
+ * 标记为手动操作,避免 setKeyword 触发的重渲染时防抖 effect 仍用旧的 debouncedKeyword('') 再触发一次 onSearch('')
431
432
  */
432
433
  var handleScan = useCallback(function (code) {
434
+ // 标记为手动操作,阻止实时搜索防抖在本次更新后误触 onSearch('')
435
+ isManualSelectRef.current = true;
433
436
  // 将扫码结果填入关键词
434
437
  setKeyword(code);
435
438
  // 触发搜索并保存历史记录
436
439
  handleConfirmSearch(code);
437
440
  // 触发扫码回调
438
441
  onScan === null || onScan === void 0 || onScan(code);
439
- }, [setKeyword, handleConfirmSearch, onScan]);
442
+ // 延迟重置标记(与 handleClear 一致,等待防抖周期结束)
443
+ setTimeout(function () {
444
+ isManualSelectRef.current = false;
445
+ }, debounceTime + 100);
446
+ }, [setKeyword, handleConfirmSearch, onScan, debounceTime]);
440
447
 
441
448
  /**
442
449
  * 处理选择辅助项(历史/联想词/热门搜索)
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { LookupTriggerProps, LookupTriggerRef } from '../types';
3
+ export declare const LookupTrigger: React.ForwardRefExoticComponent<LookupTriggerProps & React.RefAttributes<LookupTriggerRef>>;
@@ -546,7 +546,7 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
546
546
  fontSize: 20,
547
547
  color: 'var(--Primary-600, #7F56D9)'
548
548
  }
549
- }))), (disabled || disabledReason) && showDisabledReason && /*#__PURE__*/React.createElement("div", {
549
+ }))), disabled && disabledReason && showDisabledReason && /*#__PURE__*/React.createElement("div", {
550
550
  className: "pisell-card-warn-message"
551
551
  }, /*#__PURE__*/React.createElement(Iconfont, {
552
552
  className: "pisell-card-icon",
@@ -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) => string | number;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  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
- }) => ("column_setting" | "gallery_setting" | "order_by" | "group_by" | "filters" | "view_mode" | "filter_setting")[];
158
+ }) => ("view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting" | "filters")[];
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 {};
package/es/index.d.ts CHANGED
@@ -166,6 +166,10 @@ export { default as FormItemTranslation } from './components/dataSourceComponent
166
166
  export { default as FormItemUpload } from './components/dataSourceComponents/fields/Upload';
167
167
  export { default as FormItemIconSelect } from './components/dataSourceComponents/fields/IconSelect';
168
168
  export { default as BaseTranslation } from './components/dataSourceComponents/fields/Translation/BaseTranslation';
169
+ export { default as DataSourceSubForm } from './components/dataSourceComponents/dataSourceSubForm';
170
+ export type { DataSourceSubFormProps } from './components/dataSourceComponents/dataSourceSubForm/types';
171
+ export { default as FormItemRecordListWrapper } from './components/dataSourceComponents/fields/RecordListWrapper';
172
+ export { default as FormItemTabs } from './components/dataSourceComponents/fields/Tabs';
169
173
  export { default as PisellMenu } from './components/pisellMenu';
170
174
  export type { PisellMenuProps } from './components/pisellMenu/types';
171
175
  export { default as PisellNavigationMenu } from './components/pisellNavigationMenu';
package/es/index.js CHANGED
@@ -182,6 +182,9 @@ export { default as FormItemTranslation } from "./components/dataSourceComponent
182
182
  export { default as FormItemUpload } from "./components/dataSourceComponents/fields/Upload";
183
183
  export { default as FormItemIconSelect } from "./components/dataSourceComponents/fields/IconSelect";
184
184
  export { default as BaseTranslation } from "./components/dataSourceComponents/fields/Translation/BaseTranslation";
185
+ export { default as DataSourceSubForm } from "./components/dataSourceComponents/dataSourceSubForm";
186
+ export { default as FormItemRecordListWrapper } from "./components/dataSourceComponents/fields/RecordListWrapper";
187
+ export { default as FormItemTabs } from "./components/dataSourceComponents/fields/Tabs";
185
188
 
186
189
  // ==================== 导航组件 (Navigation) ====================
187
190
  // 导航、菜单、标签页等组件
@@ -13,7 +13,6 @@
13
13
  * <Content />
14
14
  * </PisellLayouts.ScrollView>
15
15
  */
16
- /// <reference types="react" />
17
16
  declare const PisellLayouts: {
18
17
  BasicGrid: <T>(props: import("../PisellBasicGrid").PisellBasicGridProps<T>) => import("react").JSX.Element;
19
18
  ScrollView: import("react").ForwardRefExoticComponent<Omit<import("../PisellScrollView").PisellScrollViewProps, "ref"> & import("react").RefAttributes<import("../PisellScrollView").PisellScrollViewRef>>;
@@ -0,0 +1,163 @@
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;
@@ -0,0 +1,5 @@
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';
@@ -0,0 +1,14 @@
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;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { DataSourceSubFormProps } from './types';
3
+ /**
4
+ * @title DataSourceSubForm 子表单组件
5
+ * @description
6
+ * 独立的子表单组件,专注于渲染一组表单字段。支持两种使用方式:
7
+ * 1. 传入 children:使用低代码引擎渲染的子组件(优先)
8
+ * 2. 传入 xRecordSchema:通过配置自动生成表单字段(fallback)
9
+ *
10
+ * 值结构: { field1: v1, field2: v2 }
11
+ */
12
+ declare const DataSourceSubForm: React.FC<DataSourceSubFormProps>;
13
+ export default DataSourceSubForm;