@pisell/materials 1.10.19 → 1.10.21

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 (268) 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 +3 -3
  5. package/build/lowcode/preview.css +1 -1
  6. package/build/lowcode/preview.js +1 -1
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +32 -32
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +32 -32
  11. package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -2
  12. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -2
  13. package/es/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
  14. package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -2
  15. package/es/components/PisellCards/components/TabCard/TabCard.d.ts +1 -2
  16. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +1 -2
  17. package/es/components/PisellCards/index.d.ts +5 -7
  18. package/es/components/PisellFields/index.d.ts +0 -1
  19. package/es/components/PisellFields/index.js +11 -0
  20. package/es/components/PisellGroupView/PisellGroupView.d.ts +1 -2
  21. package/es/components/PisellLayouts/index.d.ts +2 -3
  22. package/es/components/PisellMetrics/index.d.ts +2 -3
  23. package/es/components/PisellSelectionFlow/PisellSelectionFlow.js +7 -1
  24. package/es/components/PisellSelectionFlow/hooks/useFlowNavigation.js +104 -3
  25. package/es/components/PisellSelectionFlow/index.d.ts +1 -1
  26. package/es/components/PisellSelectionFlow/types.d.ts +20 -1
  27. package/es/components/appVersionControl/index.d.ts +1 -2
  28. package/es/components/appVersionControl/types.d.ts +0 -1
  29. package/es/components/auto-complete-number/index.d.ts +1 -2
  30. package/es/components/badge/index.d.ts +1 -2
  31. package/es/components/batch-editor/index.d.ts +1 -2
  32. package/es/components/calendar/index.d.ts +1 -4
  33. package/es/components/cardMetricItem/index.d.ts +1 -1
  34. package/es/components/cardPro/index.d.ts +1 -2
  35. package/es/components/checkbox/index.d.ts +1 -4
  36. package/es/components/classicLayout/index.d.ts +1 -2
  37. package/es/components/config-provider/index.d.ts +1 -2
  38. package/es/components/customSelect/index.d.ts +1 -1
  39. package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
  40. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
  41. package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
  42. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -4
  43. package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
  44. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -1
  45. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -2
  46. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +0 -1
  47. package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +0 -1
  48. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -2
  49. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  50. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -3
  51. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -1
  52. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -1
  53. package/es/components/date-picker/index.d.ts +1 -4
  54. package/es/components/drag-sort-tree/index.d.ts +1 -2
  55. package/es/components/drag-sort-tree/types.d.ts +0 -1
  56. package/es/components/dropdown/index.d.ts +1 -3
  57. package/es/components/filter/components/FilterButton/types.d.ts +0 -1
  58. package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.js +2 -0
  59. package/es/components/filter/components/FilterItem/index.js +11 -0
  60. package/es/components/filter/index.d.ts +1 -2
  61. package/es/components/input/index.d.ts +0 -1
  62. package/es/components/keyboard/index.d.ts +1 -1
  63. package/es/components/list/index.d.ts +1 -2
  64. package/es/components/lowCodePage/index.d.ts +1 -3
  65. package/es/components/page/index.d.ts +1 -2
  66. package/es/components/page-header/index.d.ts +1 -1
  67. package/es/components/pisell-config-provider/context.d.ts +0 -1
  68. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -2
  69. package/es/components/pisellAdjustPrice/index.d.ts +1 -2
  70. package/es/components/pisellAlert/index.d.ts +1 -1
  71. package/es/components/pisellCard/index.d.ts +1 -2
  72. package/es/components/pisellCheckboxGroup/index.d.ts +1 -1
  73. package/es/components/pisellCountdown/index.d.ts +1 -1
  74. package/es/components/pisellCurrency/index.js +13 -0
  75. package/es/components/pisellDatePicker/index.d.ts +1 -4
  76. package/es/components/pisellDraggable/index.d.ts +1 -1
  77. package/es/components/pisellEmail/index.js +13 -0
  78. package/es/components/pisellEmpty/index.d.ts +1 -1
  79. package/es/components/pisellFilter/index.d.ts +1 -2
  80. package/es/components/pisellFloatingPanel/index.d.ts +1 -1
  81. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +4 -5
  82. package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +1 -2
  83. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +1 -3
  84. package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +1 -2
  85. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
  86. package/es/components/pisellGoodPassCard/index.d.ts +1 -1
  87. package/es/components/pisellGridPro/GridView/index.d.ts +1 -2
  88. package/es/components/pisellGridPro/ToolBar/type.d.ts +0 -1
  89. package/es/components/pisellInformationEntry/index.d.ts +1 -1
  90. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  91. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  92. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  93. package/es/components/pisellInput/index.d.ts +4 -5
  94. package/es/components/pisellLoading/index.d.ts +1 -2
  95. package/es/components/pisellLongText/index.js +13 -0
  96. package/es/components/pisellLookup/PisellLookup.less +2 -0
  97. package/es/components/pisellMenu/types.d.ts +0 -1
  98. package/es/components/pisellModal/index.d.ts +2 -2
  99. package/es/components/pisellMultipleSelect/index.js +13 -0
  100. package/es/components/pisellNumber/index.js +13 -0
  101. package/es/components/pisellPercent/index.js +13 -0
  102. package/es/components/pisellPhone/index.js +14 -0
  103. package/es/components/pisellQuickFilter/type.d.ts +0 -1
  104. package/es/components/pisellRating/index.js +13 -0
  105. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +13 -7
  106. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +1 -2
  107. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +2 -1
  108. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +6 -6
  109. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +3 -3
  110. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +3 -3
  111. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +2 -0
  112. package/es/components/pisellRecordBoard/types.d.ts +2 -0
  113. package/es/components/pisellRecordBoard/utils/recordBoardColumns.js +11 -0
  114. package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +1 -2
  115. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +1 -2
  116. package/es/components/pisellRow/index.d.ts +1 -1
  117. package/es/components/pisellSingleLineText/index.js +13 -0
  118. package/es/components/pisellSingleSelect/index.js +13 -0
  119. package/es/components/pisellSort/index.d.ts +1 -2
  120. package/es/components/pisellStatisticList/index.d.ts +1 -1
  121. package/es/components/pisellTags/index.d.ts +1 -1
  122. package/es/components/pisellText/index.d.ts +2 -2
  123. package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +1 -2
  124. package/es/components/pisellTooltip/index.d.ts +1 -2
  125. package/es/components/pisellUpload/index.d.ts +1 -2
  126. package/es/components/pisellUrl/index.js +13 -0
  127. package/es/components/pisellWalletPassCard/index.d.ts +1 -1
  128. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +1 -1
  129. package/es/components/productCard/cartSkuCard/index.less +0 -1
  130. package/es/components/qrcode/index.d.ts +1 -3
  131. package/es/components/radio/index.d.ts +1 -4
  132. package/es/components/section-footers/index.d.ts +1 -4
  133. package/es/components/segmented/index.d.ts +1 -2
  134. package/es/components/select-time/index.d.ts +1 -2
  135. package/es/components/skeleton/index.d.ts +1 -4
  136. package/es/components/slider/index.d.ts +1 -3
  137. package/es/components/tabs/index.d.ts +2 -2
  138. package/es/components/time-picker/index.d.ts +1 -4
  139. package/es/components/upload/index.d.ts +1 -4
  140. package/es/components/versionSelect/index.d.ts +0 -1
  141. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -2
  142. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -1
  143. package/es/components/virtual-keyboard/Number/index.d.ts +1 -2
  144. package/es/components/virtual-keyboard/Time/index.d.ts +1 -1
  145. package/es/components/virtual-keyboard/index.d.ts +1 -1
  146. package/es/index.d.ts +2 -2
  147. package/es/index.js +11 -0
  148. package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -2
  149. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -2
  150. package/lib/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
  151. package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -2
  152. package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +1 -2
  153. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +1 -2
  154. package/lib/components/PisellCards/index.d.ts +5 -7
  155. package/lib/components/PisellFields/index.d.ts +0 -1
  156. package/lib/components/PisellGroupView/PisellGroupView.d.ts +1 -2
  157. package/lib/components/PisellLayouts/index.d.ts +2 -3
  158. package/lib/components/PisellMetrics/index.d.ts +2 -3
  159. package/lib/components/PisellSelectionFlow/PisellSelectionFlow.js +7 -1
  160. package/lib/components/PisellSelectionFlow/hooks/useFlowNavigation.js +104 -3
  161. package/lib/components/PisellSelectionFlow/index.d.ts +1 -1
  162. package/lib/components/PisellSelectionFlow/types.d.ts +20 -1
  163. package/lib/components/appVersionControl/index.d.ts +1 -2
  164. package/lib/components/appVersionControl/types.d.ts +0 -1
  165. package/lib/components/auto-complete-number/index.d.ts +1 -2
  166. package/lib/components/badge/index.d.ts +1 -2
  167. package/lib/components/batch-editor/index.d.ts +1 -2
  168. package/lib/components/calendar/index.d.ts +1 -4
  169. package/lib/components/cardMetricItem/index.d.ts +1 -1
  170. package/lib/components/cardPro/index.d.ts +1 -2
  171. package/lib/components/checkbox/index.d.ts +1 -4
  172. package/lib/components/classicLayout/index.d.ts +1 -2
  173. package/lib/components/config-provider/index.d.ts +1 -2
  174. package/lib/components/customSelect/index.d.ts +1 -1
  175. package/lib/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
  176. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
  177. package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
  178. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -4
  179. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
  180. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -1
  181. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -2
  182. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +0 -1
  183. package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +0 -1
  184. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -2
  185. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  186. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -3
  187. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -1
  188. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -1
  189. package/lib/components/date-picker/index.d.ts +1 -4
  190. package/lib/components/drag-sort-tree/index.d.ts +1 -2
  191. package/lib/components/drag-sort-tree/types.d.ts +0 -1
  192. package/lib/components/dropdown/index.d.ts +1 -3
  193. package/lib/components/filter/components/FilterButton/types.d.ts +0 -1
  194. package/lib/components/filter/index.d.ts +1 -2
  195. package/lib/components/input/index.d.ts +0 -1
  196. package/lib/components/keyboard/index.d.ts +1 -1
  197. package/lib/components/list/index.d.ts +1 -2
  198. package/lib/components/lowCodePage/index.d.ts +1 -3
  199. package/lib/components/page/index.d.ts +1 -2
  200. package/lib/components/page-header/index.d.ts +1 -1
  201. package/lib/components/pisell-config-provider/context.d.ts +0 -1
  202. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -2
  203. package/lib/components/pisellAdjustPrice/index.d.ts +1 -2
  204. package/lib/components/pisellAlert/index.d.ts +1 -1
  205. package/lib/components/pisellCard/index.d.ts +1 -2
  206. package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
  207. package/lib/components/pisellCountdown/index.d.ts +1 -1
  208. package/lib/components/pisellDatePicker/index.d.ts +1 -4
  209. package/lib/components/pisellDraggable/index.d.ts +1 -1
  210. package/lib/components/pisellEmpty/index.d.ts +1 -1
  211. package/lib/components/pisellFilter/index.d.ts +1 -2
  212. package/lib/components/pisellFloatingPanel/index.d.ts +1 -1
  213. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +4 -5
  214. package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +1 -2
  215. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +1 -3
  216. package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +1 -2
  217. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
  218. package/lib/components/pisellGoodPassCard/index.d.ts +1 -1
  219. package/lib/components/pisellGridPro/GridView/index.d.ts +1 -2
  220. package/lib/components/pisellGridPro/ToolBar/type.d.ts +0 -1
  221. package/lib/components/pisellInformationEntry/index.d.ts +1 -1
  222. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  223. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  224. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  225. package/lib/components/pisellInput/index.d.ts +4 -5
  226. package/lib/components/pisellLoading/index.d.ts +1 -2
  227. package/lib/components/pisellLookup/PisellLookup.less +2 -0
  228. package/lib/components/pisellMenu/types.d.ts +0 -1
  229. package/lib/components/pisellModal/index.d.ts +2 -2
  230. package/lib/components/pisellQuickFilter/type.d.ts +0 -1
  231. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +12 -6
  232. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +1 -2
  233. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +2 -0
  234. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +6 -6
  235. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +2 -2
  236. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +2 -2
  237. package/lib/components/pisellRecordBoard/types.d.ts +2 -0
  238. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +1 -2
  239. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +1 -2
  240. package/lib/components/pisellRow/index.d.ts +1 -1
  241. package/lib/components/pisellSort/index.d.ts +1 -2
  242. package/lib/components/pisellStatisticList/index.d.ts +1 -1
  243. package/lib/components/pisellTags/index.d.ts +1 -1
  244. package/lib/components/pisellText/index.d.ts +2 -2
  245. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +1 -2
  246. package/lib/components/pisellTooltip/index.d.ts +1 -2
  247. package/lib/components/pisellUpload/index.d.ts +1 -2
  248. package/lib/components/pisellWalletPassCard/index.d.ts +1 -1
  249. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +1 -1
  250. package/lib/components/productCard/cartSkuCard/index.less +0 -1
  251. package/lib/components/qrcode/index.d.ts +1 -3
  252. package/lib/components/radio/index.d.ts +1 -4
  253. package/lib/components/section-footers/index.d.ts +1 -4
  254. package/lib/components/segmented/index.d.ts +1 -2
  255. package/lib/components/select-time/index.d.ts +1 -2
  256. package/lib/components/skeleton/index.d.ts +1 -4
  257. package/lib/components/slider/index.d.ts +1 -3
  258. package/lib/components/tabs/index.d.ts +2 -2
  259. package/lib/components/time-picker/index.d.ts +1 -4
  260. package/lib/components/upload/index.d.ts +1 -4
  261. package/lib/components/versionSelect/index.d.ts +0 -1
  262. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -2
  263. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -1
  264. package/lib/components/virtual-keyboard/Number/index.d.ts +1 -2
  265. package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
  266. package/lib/components/virtual-keyboard/index.d.ts +1 -1
  267. package/lib/index.d.ts +2 -2
  268. package/package.json +1 -1
@@ -21,6 +21,6 @@ interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
21
21
  primaryButtonBackgroundColor?: string;
22
22
  primaryButtonTextColor?: string;
23
23
  }
24
- declare const VirtualKeyboard: (props: VirtualKeyboardProps) => React.JSX.Element;
24
+ declare const VirtualKeyboard: (props: VirtualKeyboardProps) => JSX.Element;
25
25
  //#endregion
26
26
  export { VirtualKeyboard };
package/es/index.d.ts CHANGED
@@ -79,7 +79,7 @@ import { Provider as Provider$4 } from "./components/PisellCards/components/Text
79
79
  import { PisellStepItem, PisellStepsProps } from "./components/PisellSteps/types.js";
80
80
  import { PisellProcedureProps, PisellProcedureRef, ProcedureBodyProps, ProcedureFooterProps, ProcedureHeaderProps as ProcedureHeaderProps$1 } from "./components/PisellProcedure/types.js";
81
81
  import { PisellProcedure } from "./components/PisellProcedure/PisellProcedure.js";
82
- import { CompiledSelectionFlowModuleConfig, CompiledSelectionFlowStep, FlowModuleBeforeLeaveResult, FlowModuleBeforeLeaveReturn, FlowModuleDataMap, FlowModuleHandle, FlowModuleState, FlowModuleStateMap, FlowModuleStatus, FlowModuleValidationResult, FlowModuleValidationReturn, PisellSelectionFlowController, PisellSelectionFlowProps, SelectionFlowCompileError, SelectionFlowCompileIssue, SelectionFlowCompileIssueCode, SelectionFlowContextValue, SelectionFlowDraftAdapter, SelectionFlowDraftChange, SelectionFlowDraftUpdateMeta, SelectionFlowMessageCode, SelectionFlowMetadata, SelectionFlowModuleAdapter, SelectionFlowModuleConfig, SelectionFlowModuleInput, SelectionFlowModuleRegistry, SelectionFlowRef, SelectionFlowRuntimeIssue, SelectionFlowSnapshot, SelectionFlowStepConfig, SelectionFlowValidationFeedback } from "./components/PisellSelectionFlow/types.js";
82
+ import { CompiledSelectionFlowModuleConfig, CompiledSelectionFlowStep, FlowModuleBeforeLeaveResult, FlowModuleBeforeLeaveReturn, FlowModuleDataMap, FlowModuleHandle, FlowModuleState, FlowModuleStateMap, FlowModuleStatus, FlowModuleValidationResult, FlowModuleValidationReturn, PisellSelectionFlowController, PisellSelectionFlowProps, SelectionFlowCompileError, SelectionFlowCompileIssue, SelectionFlowCompileIssueCode, SelectionFlowContextValue, SelectionFlowDraftAdapter, SelectionFlowDraftChange, SelectionFlowDraftUpdateMeta, SelectionFlowMessageCode, SelectionFlowMetadata, SelectionFlowModuleAdapter, SelectionFlowModuleConfig, SelectionFlowModuleInput, SelectionFlowModuleRegistry, SelectionFlowPrepareStepsOptions, SelectionFlowPrepareStepsResult, SelectionFlowRef, SelectionFlowRuntimeIssue, SelectionFlowSnapshot, SelectionFlowStepConfig, SelectionFlowValidationFeedback } from "./components/PisellSelectionFlow/types.js";
83
83
  import { _default as _default$15 } from "./components/PisellSelectionFlow/PisellSelectionFlow.js";
84
84
  import { useSelectionFlowContext, useTypedSelectionFlowContext } from "./components/PisellSelectionFlow/context.js";
85
85
  import { compileSelectionFlow, compileSelectionFlowSteps, hasSelectionDraftFieldValue, isSelectionModuleType, resolveFlowModuleAdapter } from "./components/PisellSelectionFlow/compiler.js";
@@ -278,4 +278,4 @@ import { Number } from "./components/virtual-keyboard/Number/index.js";
278
278
  import { VirtualInput } from "./components/virtualInput/index.js";
279
279
  import { WalletCard } from "./components/walletCard/index.js";
280
280
  import { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col, ColorPicker, Descriptions, Divider, Empty, Grid, InputNumber as InputNumber$1, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch as Switch$1, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version } from "antd";
281
- export { type AdaptColumnsForPhoneLayoutOptions, Affix, Alert, Anchor, AppVersionControl, AutoComplete, AutoCompleteNumber, AutoResizeText, Avatar, Badge, type BadgeConfig, Translation as BaseTranslation, type BatchActionBarPosition, type BatchActionConfirmConfig, type BatchActionItem, BatchEditor, Breadcrumb, Button, _default as ButtonGroupEdit, _default$1 as ButtonGroupPreview, Calendar, type CalendarPersistContextValue, type CalendarPersistKind, CalendarPersistProvider, Card, CardMetricItem, type PisellStatisticProps as CardMetricItemProps, _default$2 as CardPro, Carousel, Cascader, Checkbox, ClassicLayout, Col, Collapse, ColorPicker, type CompiledSelectionFlowModuleConfig, type CompiledSelectionFlowStep, Component, type CompoundedComponent, ConfigProvider, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, type DataSourceContainerProps, _default$3 as DataSourceForm, DataSourceImage, DataSourceMenu, DataSourceQRCode, DataSourceSubForm, type DataSourceSubFormProps, _default$4 as DataSourceTable, DataSourceTypography, DataSourceWrapper, DatePicker, type DefaultActionsConfig, Descriptions, _default$5 as Div, Divider, DragSortTree, Drawer, Dropdown, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, Empty, type EnsureShopFloorPlanByCodeOptions, FIND_FALLBACK_SCANNER_COUNT_KEY, FLOOR_MAP_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, FloorMapBuiltinShapeElement, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapEdge, type FloorMapEdgeAnchor, type FloorMapEdgeStatus, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapResourcePickerRecord, type FloorMapResourcePickerSlotProps, type FloorMapSceneElement, FloorMapSelectionZoneElement, type FloorMapViewConfig, type FloorMapViewportOverlayRenderArgs, type FlowModuleBeforeLeaveResult, type FlowModuleBeforeLeaveReturn, type FlowModuleDataMap, type FlowModuleHandle, type FlowModuleState, type FlowModuleStateMap, type FlowModuleStatus, type FlowModuleValidationResult, type FlowModuleValidationReturn, _default$6 as Form, FormGroup, Checkbox$1 as FormItemCheckbox, ColorPicker$1 as FormItemColorPicker, DatePicker$1 as FormItemDatePicker, IconSelect as FormItemIconSelect, Input as FormItemInput, InputNumber as FormItemInputNumber, Radio as FormItemRadio, RecordListWrapperWithDataSource as FormItemRecordListWrapper, SelectWithDataSource as FormItemSelect, Switch as FormItemSwitch, FormItemTabs, TimePicker as FormItemTimePicker, Translation$1 as FormItemTranslation, Upload as FormItemUpload, Provider as GraphicTextCard, type GraphicTextCardProps, type GraphicTextCardSize, type GraphicTextCardVariant, Grid, type GridProProps, type GridViewProps, type GroupBlocks, type GroupModel, type GroupViewVariant, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, _default$7 as Icon, IconSelect$1 as IconSelect, IconFont as Iconfont, Image, type ImageDataSource, type ImageFillMode, Input$1 as Input, InputNumber$1 as InputNumber, InputNumberRange, type ItemContext, type ItemLayout, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, type LookupInputRenderContext, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, type PisellCardPickerCardMeta, type PisellCardPickerCategoryConfig, type PisellCardPickerCategoryLevelConfig, type PisellCardPickerCategoryMode, type PisellCardPickerCategoryPath, type PisellCardPickerItem, type PisellCardPickerMode, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, MemoizedPisellGroupView as PisellGroupView, type PisellGroupViewProps, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellInformationEntry, PisellInput, PisellLayout, type PisellLayoutProps, PisellLayouts, PisellList01, PisellLoading, _default$12 as PisellLongText, type PisellLongTextProps, PisellLookup, type PisellLookupProps, type PisellLookupRef, PisellMenu, type PisellMenuProps, PisellMetricCard, type PisellMetricCardProps, PisellMetrics, PisellMobileDateRangePicker, type PisellMobileDateRangePickerProps, PisellModal, PisellMultipleSelect, type PisellMultipleSelectProps, PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, type PisellNumberProps, MemoizedPisellPercent as PisellPercent, type PisellPercentProps, _default$13 as PisellPhone, type PisellPhoneProps, Amount as PisellPriceKeyboard, PisellProcedure, ProcedureHeader as PisellProcedureHeader, type ProcedureHeaderProps as PisellProcedureHeaderProps, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, type PisellReservationScheduleBandProps, type PisellReservationScheduleProps, PisellRow, type PisellRowProps, PisellScan, PisellScrollView, type PisellScrollViewProps, PisellSectionHeaders, _default$15 as PisellSelectionFlow, type PisellSelectionFlowController, type PisellSelectionFlowProps, PisellShellFrame, type PisellShellFrameConfig, type PisellShellFrameProps, type PisellShellFrameScrollConfig, PisellSider, _default$16 as PisellSingleLineText, type PisellSingleLineTextProps, PisellSingleSelect, type PisellSingleSelectProps, PisellSort, type PisellSortProps, PisellStatisticList, type PisellStatisticListProps, type PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$17 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$18 as PisellTabbarTemplate1, type PisellTabbarTemplate1Direction, type PisellTabbarTemplate1Props, PisellTags, PisellText, PisellTimeNavigator, type PisellTimeNavigatorProps, PisellTimeRangeDisplay, type PisellTimeRangeDisplayProps, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, _default$19 as PisellUrl, type PisellUrlProps, PisellViewGrid, PisellWalletPassCard, type PisellWalletPassCardProps, Popconfirm, Popover, type PostShopFloorPlanBody, type ProcedureBodyProps, type ProcedureFooterProps, type ProcedureHeaderProps$1 as ProcedureHeaderProps, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBlockedTimeMergedRange, type RecordBoardBlockedTimePanelPayload, type RecordBoardBodyView, type RecordBoardBookingMoveDraft, type RecordBoardCalendarBlockedTimePayload, type RecordBoardCalendarBookingLike, type RecordBoardCalendarBookingRenderArgs, type RecordBoardCalendarDayOverlayBooking, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardCalendarResourceRenderArgs, type RecordBoardCalendarSelectedFreeSlot, type RecordBoardCalendarTimelineHeaderGroup, type RecordBoardCalendarTimelineHeaderRenderContext, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardLayoutVariant, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardResourceWallCardModel, type RecordBoardResourceWallLayoutPersist, type RecordBoardResourceWallProps, type RecordBoardToolBarProps, _default$20 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, SelectionFlowCompileError, type SelectionFlowCompileIssue, type SelectionFlowCompileIssueCode, type SelectionFlowContextValue, type SelectionFlowDraftAdapter, type SelectionFlowDraftChange, type SelectionFlowDraftUpdateMeta, type SelectionFlowMessageCode, type SelectionFlowMetadata, type SelectionFlowModuleAdapter, type SelectionFlowModuleConfig, type SelectionFlowModuleInput, type SelectionFlowModuleRegistry, type SelectionFlowRef, type SelectionFlowRuntimeIssue, type SelectionFlowSnapshot, type SelectionFlowStepConfig, type SelectionFlowValidationFeedback, type ShopFloorPlanByCodeRequestOptions, type ShopFloorPlanDetail, type ShopFloorPlanHttpAdapter, type ShopFloorPlanLayoutItem, type SingleSelectRef, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, type TabCardProps, type TabDataItem, type TabbarActionItem, type TabbarDataSource, _default$21 as Table, Tabs, Tag, Provider$4 as TextCard, type TimeNavigatorOrientation, type TimeNavigatorPassthroughProps, type TimeNavigatorValue, TimePicker$1 as TimePicker, type TimeRangeOption, Timeline, type ToolBarProps, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, type VenueWallAppearanceSlot, type VenueWallAppearanceTheme, type VenueWallStatusKey, type VenueWallStatusTone, type VenueWallStatusToneOverrides, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, compileSelectionFlow, compileSelectionFlowSteps, computeSelectionZoneMemberIds, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, _default$22 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, hasSelectionDraftFieldValue, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isSelectionModuleType, isSelectionZoneItem, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, _default$23 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveFlowModuleAdapter, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useSelectionFlowContext, useShopFloorPlanSubscription, useToast, useTypedSelectionFlowContext, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
281
+ export { type AdaptColumnsForPhoneLayoutOptions, Affix, Alert, Anchor, AppVersionControl, AutoComplete, AutoCompleteNumber, AutoResizeText, Avatar, Badge, type BadgeConfig, Translation as BaseTranslation, type BatchActionBarPosition, type BatchActionConfirmConfig, type BatchActionItem, BatchEditor, Breadcrumb, Button, _default as ButtonGroupEdit, _default$1 as ButtonGroupPreview, Calendar, type CalendarPersistContextValue, type CalendarPersistKind, CalendarPersistProvider, Card, CardMetricItem, type PisellStatisticProps as CardMetricItemProps, _default$2 as CardPro, Carousel, Cascader, Checkbox, ClassicLayout, Col, Collapse, ColorPicker, type CompiledSelectionFlowModuleConfig, type CompiledSelectionFlowStep, Component, type CompoundedComponent, ConfigProvider, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, type DataSourceContainerProps, _default$3 as DataSourceForm, DataSourceImage, DataSourceMenu, DataSourceQRCode, DataSourceSubForm, type DataSourceSubFormProps, _default$4 as DataSourceTable, DataSourceTypography, DataSourceWrapper, DatePicker, type DefaultActionsConfig, Descriptions, _default$5 as Div, Divider, DragSortTree, Drawer, Dropdown, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, Empty, type EnsureShopFloorPlanByCodeOptions, FIND_FALLBACK_SCANNER_COUNT_KEY, FLOOR_MAP_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, FloorMapBuiltinShapeElement, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapEdge, type FloorMapEdgeAnchor, type FloorMapEdgeStatus, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapResourcePickerRecord, type FloorMapResourcePickerSlotProps, type FloorMapSceneElement, FloorMapSelectionZoneElement, type FloorMapViewConfig, type FloorMapViewportOverlayRenderArgs, type FlowModuleBeforeLeaveResult, type FlowModuleBeforeLeaveReturn, type FlowModuleDataMap, type FlowModuleHandle, type FlowModuleState, type FlowModuleStateMap, type FlowModuleStatus, type FlowModuleValidationResult, type FlowModuleValidationReturn, _default$6 as Form, FormGroup, Checkbox$1 as FormItemCheckbox, ColorPicker$1 as FormItemColorPicker, DatePicker$1 as FormItemDatePicker, IconSelect as FormItemIconSelect, Input as FormItemInput, InputNumber as FormItemInputNumber, Radio as FormItemRadio, RecordListWrapperWithDataSource as FormItemRecordListWrapper, SelectWithDataSource as FormItemSelect, Switch as FormItemSwitch, FormItemTabs, TimePicker as FormItemTimePicker, Translation$1 as FormItemTranslation, Upload as FormItemUpload, Provider as GraphicTextCard, type GraphicTextCardProps, type GraphicTextCardSize, type GraphicTextCardVariant, Grid, type GridProProps, type GridViewProps, type GroupBlocks, type GroupModel, type GroupViewVariant, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, _default$7 as Icon, IconSelect$1 as IconSelect, IconFont as Iconfont, Image, type ImageDataSource, type ImageFillMode, Input$1 as Input, InputNumber$1 as InputNumber, InputNumberRange, type ItemContext, type ItemLayout, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, type LookupInputRenderContext, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, type PisellCardPickerCardMeta, type PisellCardPickerCategoryConfig, type PisellCardPickerCategoryLevelConfig, type PisellCardPickerCategoryMode, type PisellCardPickerCategoryPath, type PisellCardPickerItem, type PisellCardPickerMode, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, MemoizedPisellGroupView as PisellGroupView, type PisellGroupViewProps, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellInformationEntry, PisellInput, PisellLayout, type PisellLayoutProps, PisellLayouts, PisellList01, PisellLoading, _default$12 as PisellLongText, type PisellLongTextProps, PisellLookup, type PisellLookupProps, type PisellLookupRef, PisellMenu, type PisellMenuProps, PisellMetricCard, type PisellMetricCardProps, PisellMetrics, PisellMobileDateRangePicker, type PisellMobileDateRangePickerProps, PisellModal, PisellMultipleSelect, type PisellMultipleSelectProps, PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, type PisellNumberProps, MemoizedPisellPercent as PisellPercent, type PisellPercentProps, _default$13 as PisellPhone, type PisellPhoneProps, Amount as PisellPriceKeyboard, PisellProcedure, ProcedureHeader as PisellProcedureHeader, type ProcedureHeaderProps as PisellProcedureHeaderProps, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, type PisellReservationScheduleBandProps, type PisellReservationScheduleProps, PisellRow, type PisellRowProps, PisellScan, PisellScrollView, type PisellScrollViewProps, PisellSectionHeaders, _default$15 as PisellSelectionFlow, type PisellSelectionFlowController, type PisellSelectionFlowProps, PisellShellFrame, type PisellShellFrameConfig, type PisellShellFrameProps, type PisellShellFrameScrollConfig, PisellSider, _default$16 as PisellSingleLineText, type PisellSingleLineTextProps, PisellSingleSelect, type PisellSingleSelectProps, PisellSort, type PisellSortProps, PisellStatisticList, type PisellStatisticListProps, type PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$17 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$18 as PisellTabbarTemplate1, type PisellTabbarTemplate1Direction, type PisellTabbarTemplate1Props, PisellTags, PisellText, PisellTimeNavigator, type PisellTimeNavigatorProps, PisellTimeRangeDisplay, type PisellTimeRangeDisplayProps, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, _default$19 as PisellUrl, type PisellUrlProps, PisellViewGrid, PisellWalletPassCard, type PisellWalletPassCardProps, Popconfirm, Popover, type PostShopFloorPlanBody, type ProcedureBodyProps, type ProcedureFooterProps, type ProcedureHeaderProps$1 as ProcedureHeaderProps, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBlockedTimeMergedRange, type RecordBoardBlockedTimePanelPayload, type RecordBoardBodyView, type RecordBoardBookingMoveDraft, type RecordBoardCalendarBlockedTimePayload, type RecordBoardCalendarBookingLike, type RecordBoardCalendarBookingRenderArgs, type RecordBoardCalendarDayOverlayBooking, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardCalendarResourceRenderArgs, type RecordBoardCalendarSelectedFreeSlot, type RecordBoardCalendarTimelineHeaderGroup, type RecordBoardCalendarTimelineHeaderRenderContext, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardLayoutVariant, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardResourceWallCardModel, type RecordBoardResourceWallLayoutPersist, type RecordBoardResourceWallProps, type RecordBoardToolBarProps, _default$20 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, SelectionFlowCompileError, type SelectionFlowCompileIssue, type SelectionFlowCompileIssueCode, type SelectionFlowContextValue, type SelectionFlowDraftAdapter, type SelectionFlowDraftChange, type SelectionFlowDraftUpdateMeta, type SelectionFlowMessageCode, type SelectionFlowMetadata, type SelectionFlowModuleAdapter, type SelectionFlowModuleConfig, type SelectionFlowModuleInput, type SelectionFlowModuleRegistry, type SelectionFlowPrepareStepsOptions, type SelectionFlowPrepareStepsResult, type SelectionFlowRef, type SelectionFlowRuntimeIssue, type SelectionFlowSnapshot, type SelectionFlowStepConfig, type SelectionFlowValidationFeedback, type ShopFloorPlanByCodeRequestOptions, type ShopFloorPlanDetail, type ShopFloorPlanHttpAdapter, type ShopFloorPlanLayoutItem, type SingleSelectRef, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, type TabCardProps, type TabDataItem, type TabbarActionItem, type TabbarDataSource, _default$21 as Table, Tabs, Tag, Provider$4 as TextCard, type TimeNavigatorOrientation, type TimeNavigatorPassthroughProps, type TimeNavigatorValue, TimePicker$1 as TimePicker, type TimeRangeOption, Timeline, type ToolBarProps, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, type VenueWallAppearanceSlot, type VenueWallAppearanceTheme, type VenueWallStatusKey, type VenueWallStatusTone, type VenueWallStatusToneOverrides, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, compileSelectionFlow, compileSelectionFlowSteps, computeSelectionZoneMemberIds, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, _default$22 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, hasSelectionDraftFieldValue, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isSelectionModuleType, isSelectionZoneItem, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, _default$23 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveFlowModuleAdapter, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useSelectionFlowContext, useShopFloorPlanSubscription, useToast, useTypedSelectionFlowContext, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
package/es/index.js CHANGED
@@ -1,15 +1,26 @@
1
1
  import PisellContext, { globalConfig } from "./components/pisell-config-provider/context.js";
2
2
  import PisellSingleLineText_default from "./components/pisellSingleLineText/PisellSingleLineText.js";
3
+ import "./components/pisellSingleLineText/index.js";
3
4
  import PisellLongText_default from "./components/pisellLongText/PisellLongText.js";
5
+ import "./components/pisellLongText/index.js";
4
6
  import MemoizedPisellNumber from "./components/pisellNumber/PisellNumber.js";
7
+ import "./components/pisellNumber/index.js";
5
8
  import MemoizedPisellCurrency from "./components/pisellCurrency/PisellCurrency.js";
9
+ import "./components/pisellCurrency/index.js";
6
10
  import MemoizedPisellPercent from "./components/pisellPercent/PisellPercent.js";
11
+ import "./components/pisellPercent/index.js";
7
12
  import PisellPhone_default from "./components/pisellPhone/PisellPhone.js";
13
+ import "./components/pisellPhone/index.js";
8
14
  import PisellEmail_default from "./components/pisellEmail/PisellEmail.js";
15
+ import "./components/pisellEmail/index.js";
9
16
  import PisellUrl_default from "./components/pisellUrl/PisellUrl.js";
17
+ import "./components/pisellUrl/index.js";
10
18
  import PisellRating_default from "./components/pisellRating/PisellRating.js";
19
+ import "./components/pisellRating/index.js";
11
20
  import PisellSingleSelect from "./components/pisellSingleSelect/PisellSingleSelect.js";
21
+ import "./components/pisellSingleSelect/index.js";
12
22
  import PisellMultipleSelect from "./components/pisellMultipleSelect/PisellMultipleSelect.js";
23
+ import "./components/pisellMultipleSelect/index.js";
13
24
  import PisellFields from "./components/PisellFields/index.js";
14
25
  import PisellCard from "./components/pisellCard/index.js";
15
26
  import PisellMetricCard from "./components/pisellMetricCard/PisellMetricCard.js";
@@ -1,10 +1,9 @@
1
1
  import { PisellBasicGridProps } from "./types.js";
2
- import React from "react";
3
2
  //#region src/components/PisellBasicGrid/PisellBasicGrid.d.ts
4
3
  /**
5
4
  * 使用 memo 优化组件性能
6
5
  * @description 当 props 没有变化时,避免不必要的重新渲染
7
6
  */
8
- declare const MemoizedPisellBasicGrid: <T>(props: PisellBasicGridProps<T>) => React.JSX.Element;
7
+ declare const MemoizedPisellBasicGrid: <T>(props: PisellBasicGridProps<T>) => JSX.Element;
9
8
  //#endregion
10
9
  export { MemoizedPisellBasicGrid };
@@ -1,10 +1,9 @@
1
1
  import { GraphicTextCardProps } from "./types.js";
2
- import React from "react";
3
2
  //#region src/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts
4
3
  /**
5
4
  * Provider 包装器
6
5
  * 兼容 PisellCards 系统的 props 传递方式
7
6
  */
8
- declare const Provider: (props: GraphicTextCardProps) => React.JSX.Element;
7
+ declare const Provider: (props: GraphicTextCardProps) => JSX.Element;
9
8
  //#endregion
10
9
  export { Provider };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
2
  //#region src/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts
3
- declare const Provider: (props: any) => React.JSX.Element;
3
+ declare const Provider: (props: any) => JSX.Element;
4
4
  //#endregion
5
5
  export { Provider };
@@ -1,10 +1,9 @@
1
1
  import { PisellImageCardProps } from "./types.js";
2
- import React from "react";
3
2
  //#region src/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts
4
3
  /**
5
4
  * Provider 包装器
6
5
  * 兼容 PisellCards 系统的 props 传递方式
7
6
  */
8
- declare const Provider: (props: PisellImageCardProps) => React.JSX.Element;
7
+ declare const Provider: (props: PisellImageCardProps) => JSX.Element;
9
8
  //#endregion
10
9
  export { Provider };
@@ -1,5 +1,4 @@
1
- import React from "react";
2
1
  //#region src/components/PisellCards/components/TabCard/TabCard.d.ts
3
- declare const Provider: (props: any) => React.JSX.Element;
2
+ declare const Provider: (props: any) => JSX.Element;
4
3
  //#endregion
5
4
  export { Provider };
@@ -1,9 +1,8 @@
1
- import React from "react";
2
1
  //#region src/components/PisellCards/components/TextCard/TextCard.d.ts
3
2
  /**
4
3
  * Provider 包装器
5
4
  * 兼容 PisellCards 系统的 props 传递方式
6
5
  */
7
- declare const Provider: (props: any) => React.JSX.Element;
6
+ declare const Provider: (props: any) => JSX.Element;
8
7
  //#endregion
9
8
  export { Provider };
@@ -1,18 +1,16 @@
1
- /// <reference types="react" />
2
1
  import { PisellBasicCardProps } from "./types.js";
3
2
  import { ImageDataSource, ImageFillMode, PisellImageCardProps } from "./components/PisellImageCard/types.js";
4
3
  import { GraphicConfig, GraphicTextCardProps, GraphicTextCardSize, GraphicTextCardVariant } from "./components/GraphicTextCard/types.js";
5
4
  import { BadgeConfig, TabCardProps } from "./components/TabCard/types.js";
6
5
  import { MultilevelCardProps } from "./components/MultilevelCard/types.js";
7
- import * as _$react from "react";
8
6
 
9
7
  //#region src/components/PisellCards/index.d.ts
10
8
  declare const PisellCards: {
11
- TabCard: (props: any) => _$react.JSX.Element;
12
- TextCard: (props: any) => _$react.JSX.Element;
13
- GraphicTextCard: (props: GraphicTextCardProps) => _$react.JSX.Element;
14
- MultilevelCard: (props: any) => _$react.JSX.Element;
15
- PisellImageCard: (props: PisellImageCardProps) => _$react.JSX.Element;
9
+ TabCard: (props: any) => JSX.Element;
10
+ TextCard: (props: any) => JSX.Element;
11
+ GraphicTextCard: (props: GraphicTextCardProps) => JSX.Element;
12
+ MultilevelCard: (props: any) => JSX.Element;
13
+ PisellImageCard: (props: PisellImageCardProps) => JSX.Element;
16
14
  };
17
15
  //#endregion
18
16
  export { PisellCards };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellSingleLineTextProps } from "../pisellSingleLineText/types.js";
3
2
  import { PisellLongTextProps } from "../pisellLongText/types.js";
4
3
  import { PisellNumberProps } from "../pisellNumber/types.js";
@@ -1,9 +1,8 @@
1
1
  import { PisellGroupViewProps } from "./types.js";
2
- import React from "react";
3
2
  //#region src/components/PisellGroupView/PisellGroupView.d.ts
4
3
  /**
5
4
  * 使用 memo 优化性能:props 未变化时跳过重渲染
6
5
  */
7
- declare const MemoizedPisellGroupView: <T>(props: PisellGroupViewProps<T>) => React.JSX.Element;
6
+ declare const MemoizedPisellGroupView: <T>(props: PisellGroupViewProps<T>) => JSX.Element;
8
7
  //#endregion
9
8
  export { MemoizedPisellGroupView };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellBasicGridProps } from "../PisellBasicGrid/types.js";
3
2
  import { PisellScrollViewProps, PisellScrollViewRef } from "../PisellScrollView/types.js";
4
3
  import { FloorMapFullscreenMode, FloorMapItemBase, FloorMapLayoutContextValue, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef } from "../pisellFloorMapLayout/types.js";
@@ -31,7 +30,7 @@ import * as _$react from "react";
31
30
  * </PisellLayouts.ScrollView>
32
31
  */
33
32
  declare const PisellLayouts: {
34
- BasicGrid: <T>(props: PisellBasicGridProps<T>) => _$react.JSX.Element;
33
+ BasicGrid: <T>(props: PisellBasicGridProps<T>) => JSX.Element;
35
34
  ScrollView: _$react.ForwardRefExoticComponent<Omit<PisellScrollViewProps, "ref"> & _$react.RefAttributes<PisellScrollViewRef>>;
36
35
  FloorMapLayout: <T_1 extends FloorMapItemBase = FloorMapItemBase>(props: PisellFloorMapLayoutProps<T_1> & {
37
36
  ref?: _$react.Ref<PisellFloorMapLayoutRef | null> | undefined;
@@ -42,7 +41,7 @@ declare const PisellLayouts: {
42
41
  Header: _$react.FC<PisellHeaderProps>;
43
42
  Sider: _$react.FC<PisellSiderProps>;
44
43
  Container: <T_2 extends RenderType>(props: PisellContainerProps<T_2>) => any;
45
- Row: (props: PisellRowProps) => _$react.JSX.Element;
44
+ Row: (props: PisellRowProps) => JSX.Element;
46
45
  ViewGrid: _$react.FC<PisellViewGridProps>;
47
46
  };
48
47
  //#endregion
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellMetricCardProps } from "../pisellMetricCard/types.js";
3
2
  import { PisellStatisticListProps } from "../pisellStatisticList/index.js";
4
3
  import { PisellStatisticProps } from "../cardMetricItem/index.js";
@@ -22,8 +21,8 @@ import * as _$react from "react";
22
21
  */
23
22
  declare const PisellMetrics: {
24
23
  MetricCard: _$react.FC<PisellMetricCardProps>;
25
- StatisticList: (props: PisellStatisticListProps) => _$react.JSX.Element;
26
- MetricItem: (props: PisellStatisticProps) => _$react.JSX.Element;
24
+ StatisticList: (props: PisellStatisticListProps) => JSX.Element;
25
+ MetricItem: (props: PisellStatisticProps) => JSX.Element;
27
26
  };
28
27
  //#endregion
29
28
  export { PisellMetrics };
@@ -21,6 +21,7 @@ const SelectionFlow = ({ registry, draftAdapter, steps, initialDraft, initialSte
21
21
  const flowGenerationRef = (0, react.useRef)(0);
22
22
  const draftRevisionRef = (0, react.useRef)(0);
23
23
  const navigationRevisionRef = (0, react.useRef)(0);
24
+ const preparationRevisionRef = (0, react.useRef)(0);
24
25
  const transitionPendingRef = (0, react.useRef)(false);
25
26
  const processDraftChangeRef = (0, react.useRef)(() => void 0);
26
27
  const onDraftChangeRef = (0, react.useRef)(onDraftChange);
@@ -84,6 +85,7 @@ const SelectionFlow = ({ registry, draftAdapter, steps, initialDraft, initialSte
84
85
  mountedRef.current = false;
85
86
  if (flowGenerationRef.current === generation) flowGenerationRef.current += 1;
86
87
  navigationRevisionRef.current += 1;
88
+ preparationRevisionRef.current += 1;
87
89
  moduleInitializationRef.current.clear();
88
90
  moduleDependencyLifecycleRef.current.clear();
89
91
  pendingModuleChangeRef.current.clear();
@@ -299,7 +301,7 @@ const SelectionFlow = ({ registry, draftAdapter, steps, initialDraft, initialSte
299
301
  draft,
300
302
  moduleState
301
303
  });
302
- const { validateCurrentStep, complete, next, back } = require_useFlowNavigation.useFlowNavigation({
304
+ const { validateCurrentStep, prepareSteps, complete, next, back } = require_useFlowNavigation.useFlowNavigation({
303
305
  registry,
304
306
  draftAdapter,
305
307
  createRuntimeIssue,
@@ -315,6 +317,7 @@ const SelectionFlow = ({ registry, draftAdapter, steps, initialDraft, initialSte
315
317
  currentStepKeyRef,
316
318
  validatedCompletionRef,
317
319
  navigationRevisionRef,
320
+ preparationRevisionRef,
318
321
  transitionPendingRef,
319
322
  completedRef,
320
323
  completionPromiseRef,
@@ -349,6 +352,7 @@ const SelectionFlow = ({ registry, draftAdapter, steps, initialDraft, initialSte
349
352
  back,
350
353
  updateDraft,
351
354
  validateCurrentStep,
355
+ prepareSteps,
352
356
  complete,
353
357
  getState
354
358
  }), [
@@ -356,6 +360,7 @@ const SelectionFlow = ({ registry, draftAdapter, steps, initialDraft, initialSte
356
360
  complete,
357
361
  getState,
358
362
  next,
363
+ prepareSteps,
359
364
  updateDraft,
360
365
  validateCurrentStep
361
366
  ]);
@@ -379,6 +384,7 @@ const SelectionFlow = ({ registry, draftAdapter, steps, initialDraft, initialSte
379
384
  context: contextValue,
380
385
  updateDraft,
381
386
  validateCurrentStep,
387
+ prepareSteps,
382
388
  complete,
383
389
  next,
384
390
  back,
@@ -6,7 +6,7 @@ const require_utils = require("../utils.js");
6
6
  let react = require("react");
7
7
  //#region src/components/PisellSelectionFlow/hooks/useFlowNavigation.ts
8
8
  /** 导航、校验与提交门禁独立于模块加载生命周期。 */
9
- const useFlowNavigation = ({ registry, draftAdapter, createRuntimeIssue, mountedRef, moduleStateRef, moduleRevisionRef, draftRevisionRef, flowGenerationRef, moduleHandlesRef, configurationErrorRef, compiledStepsRef, currentStepIndexRef, currentStepKeyRef, validatedCompletionRef, navigationRevisionRef, transitionPendingRef, completedRef, completionPromiseRef, isCompletingRef, draftRef, onCompleteRef, ensureModuleReady, commitModuleState, getFreshContext, onValidationFailed, setCurrentStepIndex, setCompletionError, setCompletionReason, setIsCompleting }) => {
9
+ const useFlowNavigation = ({ registry, draftAdapter, createRuntimeIssue, mountedRef, moduleStateRef, moduleRevisionRef, draftRevisionRef, flowGenerationRef, moduleHandlesRef, configurationErrorRef, compiledStepsRef, currentStepIndexRef, currentStepKeyRef, validatedCompletionRef, navigationRevisionRef, preparationRevisionRef, transitionPendingRef, completedRef, completionPromiseRef, isCompletingRef, draftRef, onCompleteRef, ensureModuleReady, commitModuleState, getFreshContext, onValidationFailed, setCurrentStepIndex, setCompletionError, setCompletionReason, setIsCompleting }) => {
10
10
  const validateModule = (0, react.useCallback)(function() {
11
11
  var _ref = require_asyncToGenerator._asyncToGenerator(function* (module) {
12
12
  const adapter = require_compiler.resolveFlowModuleAdapter(registry, module.type);
@@ -105,6 +105,106 @@ const useFlowNavigation = ({ registry, draftAdapter, createRuntimeIssue, mounted
105
105
  for (const module of step.modules) if (!(yield validateModule(module))) return false;
106
106
  return true;
107
107
  }), [validateModule]);
108
+ const prepareSteps = (0, react.useCallback)(require_asyncToGenerator._asyncToGenerator(function* (options = {}) {
109
+ var _options$fromStepInde;
110
+ if (!mountedRef.current || configurationErrorRef.current) return {
111
+ prepared: false,
112
+ cancelled: !mountedRef.current
113
+ };
114
+ const preparationRevision = preparationRevisionRef.current + 1;
115
+ preparationRevisionRef.current = preparationRevision;
116
+ const navigationRevision = navigationRevisionRef.current;
117
+ const flowGeneration = flowGenerationRef.current;
118
+ const compiledFingerprint = require_utils.getCompiledStepsFingerprint(compiledStepsRef.current);
119
+ const fromStepIndex = Math.max(0, (_options$fromStepInde = options.fromStepIndex) !== null && _options$fromStepInde !== void 0 ? _options$fromStepInde : currentStepIndexRef.current + 1);
120
+ const isCurrentPreparation = () => mountedRef.current && preparationRevisionRef.current === preparationRevision && navigationRevisionRef.current === navigationRevision && flowGenerationRef.current === flowGeneration && require_utils.getCompiledStepsFingerprint(compiledStepsRef.current) === compiledFingerprint;
121
+ const targetModules = compiledStepsRef.current.filter((step) => step.index >= fromStepIndex).flatMap((step) => step.modules.map((module) => ({
122
+ step,
123
+ module
124
+ })));
125
+ for (let pass = 0; pass <= targetModules.length; pass += 1) {
126
+ for (const { step, module } of targetModules) {
127
+ if (!isCurrentPreparation()) return {
128
+ prepared: false,
129
+ cancelled: true
130
+ };
131
+ const adapter = require_compiler.resolveFlowModuleAdapter(registry, module.type);
132
+ if (!(adapter === null || adapter === void 0 ? void 0 : adapter.validateAutoResolution)) return {
133
+ prepared: false,
134
+ firstUnresolvedStepIndex: step.index,
135
+ moduleKey: module.key
136
+ };
137
+ if (!(yield ensureModuleReady(module))) {
138
+ const state = moduleStateRef.current[module.key];
139
+ return isCurrentPreparation() ? {
140
+ prepared: false,
141
+ firstUnresolvedStepIndex: step.index,
142
+ moduleKey: module.key,
143
+ message: state === null || state === void 0 ? void 0 : state.message
144
+ } : {
145
+ prepared: false,
146
+ cancelled: true
147
+ };
148
+ }
149
+ if (!isCurrentPreparation()) return {
150
+ prepared: false,
151
+ cancelled: true
152
+ };
153
+ const validationDraftRevision = draftRevisionRef.current;
154
+ try {
155
+ const context = getFreshContext();
156
+ if (!context) return {
157
+ prepared: false,
158
+ cancelled: true
159
+ };
160
+ const result = require_utils.normalizeFlowValidationResult(yield adapter.validateAutoResolution(context, module));
161
+ if (!isCurrentPreparation() || draftRevisionRef.current !== validationDraftRevision) return {
162
+ prepared: false,
163
+ cancelled: true
164
+ };
165
+ if (!result.valid) return {
166
+ prepared: false,
167
+ firstUnresolvedStepIndex: step.index,
168
+ moduleKey: module.key,
169
+ message: result.message
170
+ };
171
+ } catch (error) {
172
+ return isCurrentPreparation() ? {
173
+ prepared: false,
174
+ firstUnresolvedStepIndex: step.index,
175
+ moduleKey: module.key,
176
+ message: require_utils.getSelectionFlowErrorMessage(error)
177
+ } : {
178
+ prepared: false,
179
+ cancelled: true
180
+ };
181
+ }
182
+ }
183
+ if (!targetModules.find(({ module }) => {
184
+ var _moduleStateRef$curre;
185
+ return ((_moduleStateRef$curre = moduleStateRef.current[module.key]) === null || _moduleStateRef$curre === void 0 ? void 0 : _moduleStateRef$curre.status) !== "ready";
186
+ })) return isCurrentPreparation() ? { prepared: true } : {
187
+ prepared: false,
188
+ cancelled: true
189
+ };
190
+ }
191
+ const unresolved = targetModules.find(({ module }) => {
192
+ var _moduleStateRef$curre2;
193
+ return ((_moduleStateRef$curre2 = moduleStateRef.current[module.key]) === null || _moduleStateRef$curre2 === void 0 ? void 0 : _moduleStateRef$curre2.status) !== "ready";
194
+ });
195
+ return unresolved ? {
196
+ prepared: false,
197
+ firstUnresolvedStepIndex: unresolved.step.index,
198
+ moduleKey: unresolved.module.key
199
+ } : {
200
+ prepared: false,
201
+ cancelled: true
202
+ };
203
+ }), [
204
+ ensureModuleReady,
205
+ getFreshContext,
206
+ registry
207
+ ]);
108
208
  const runBeforeLeaveForCurrentStep = (0, react.useCallback)(require_asyncToGenerator._asyncToGenerator(function* () {
109
209
  if (configurationErrorRef.current) return false;
110
210
  const stepIndex = currentStepIndexRef.current;
@@ -189,8 +289,8 @@ const useFlowNavigation = ({ registry, draftAdapter, createRuntimeIssue, mounted
189
289
  const latestRevisionFingerprint = latestSteps.flatMap((step) => step.modules).map((module) => `${module.key}:${moduleRevisionRef.current.get(module.key) || 0}`).join("|");
190
290
  if (compiledFingerprint !== latestCompiledFingerprint || revisionFingerprint !== latestRevisionFingerprint || draftRevision !== draftRevisionRef.current) {
191
291
  const targetStep = latestSteps.find((step) => step.modules.some((module) => {
192
- var _moduleStateRef$curre;
193
- return ((_moduleStateRef$curre = moduleStateRef.current[module.key]) === null || _moduleStateRef$curre === void 0 ? void 0 : _moduleStateRef$curre.status) !== "ready";
292
+ var _moduleStateRef$curre3;
293
+ return ((_moduleStateRef$curre3 = moduleStateRef.current[module.key]) === null || _moduleStateRef$curre3 === void 0 ? void 0 : _moduleStateRef$curre3.status) !== "ready";
194
294
  })) || latestSteps[0];
195
295
  const targetModule = targetStep === null || targetStep === void 0 ? void 0 : targetStep.modules[0];
196
296
  if (targetStep && targetModule) {
@@ -275,6 +375,7 @@ const useFlowNavigation = ({ registry, draftAdapter, createRuntimeIssue, mounted
275
375
  ]);
276
376
  return {
277
377
  validateCurrentStep,
378
+ prepareSteps,
278
379
  runBeforeLeaveForCurrentStep,
279
380
  complete,
280
381
  next: (0, react.useCallback)(require_asyncToGenerator._asyncToGenerator(function* () {
@@ -1,4 +1,4 @@
1
- import { CompiledSelectionFlowModuleConfig, CompiledSelectionFlowStep, FlowModuleBeforeLeaveResult, FlowModuleBeforeLeaveReturn, FlowModuleDataMap, FlowModuleHandle, FlowModuleState, FlowModuleStateMap, FlowModuleStatus, FlowModuleValidationResult, FlowModuleValidationReturn, PisellSelectionFlowController, PisellSelectionFlowProps, SelectionFlowCompileError, SelectionFlowCompileIssue, SelectionFlowCompileIssueCode, SelectionFlowContextValue, SelectionFlowDraftAdapter, SelectionFlowDraftChange, SelectionFlowDraftUpdateMeta, SelectionFlowMessageCode, SelectionFlowMetadata, SelectionFlowModuleAdapter, SelectionFlowModuleConfig, SelectionFlowModuleInput, SelectionFlowModuleRegistry, SelectionFlowRef, SelectionFlowRuntimeIssue, SelectionFlowSnapshot, SelectionFlowStepConfig, SelectionFlowValidationFeedback } from "./types.js";
1
+ import { CompiledSelectionFlowModuleConfig, CompiledSelectionFlowStep, FlowModuleBeforeLeaveResult, FlowModuleBeforeLeaveReturn, FlowModuleDataMap, FlowModuleHandle, FlowModuleState, FlowModuleStateMap, FlowModuleStatus, FlowModuleValidationResult, FlowModuleValidationReturn, PisellSelectionFlowController, PisellSelectionFlowProps, SelectionFlowCompileError, SelectionFlowCompileIssue, SelectionFlowCompileIssueCode, SelectionFlowContextValue, SelectionFlowDraftAdapter, SelectionFlowDraftChange, SelectionFlowDraftUpdateMeta, SelectionFlowMessageCode, SelectionFlowMetadata, SelectionFlowModuleAdapter, SelectionFlowModuleConfig, SelectionFlowModuleInput, SelectionFlowModuleRegistry, SelectionFlowPrepareStepsOptions, SelectionFlowPrepareStepsResult, SelectionFlowRef, SelectionFlowRuntimeIssue, SelectionFlowSnapshot, SelectionFlowStepConfig, SelectionFlowValidationFeedback } from "./types.js";
2
2
  import { _default } from "./PisellSelectionFlow.js";
3
3
  import { useSelectionFlowContext, useTypedSelectionFlowContext } from "./context.js";
4
4
  import { compileSelectionFlow, compileSelectionFlowSteps, hasSelectionDraftFieldValue, isSelectionModuleType, resolveFlowModuleAdapter } from "./compiler.js";
@@ -57,6 +57,18 @@ type FlowModuleValidationResult = boolean | {
57
57
  message?: string;
58
58
  };
59
59
  type FlowModuleValidationReturn = FlowModuleValidationResult | Promise<FlowModuleValidationResult>;
60
+ interface SelectionFlowPrepareStepsOptions {
61
+ /** 从哪个已编译步骤开始准备;默认从当前步骤的下一步开始。 */
62
+ fromStepIndex?: number;
63
+ }
64
+ interface SelectionFlowPrepareStepsResult {
65
+ prepared: boolean;
66
+ /** 新一轮准备、导航、重新编译或卸载使本轮结果失效。 */
67
+ cancelled?: boolean;
68
+ firstUnresolvedStepIndex?: number;
69
+ moduleKey?: string;
70
+ message?: string;
71
+ }
60
72
  type FlowModuleBeforeLeaveResult = boolean | {
61
73
  allowed: boolean;
62
74
  message?: string;
@@ -98,6 +110,11 @@ interface SelectionFlowModuleAdapter<TDraft, TDraftUpdate, TField extends string
98
110
  reconcile?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, change: SelectionFlowDraftChange<TDraft, TField, TModuleType>, module: CompiledSelectionFlowModuleConfig<TModuleType>) => void | Promise<void>;
99
111
  clearDependencies?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, change: SelectionFlowDraftChange<TDraft, TField, TModuleType>, module: CompiledSelectionFlowModuleConfig<TModuleType>) => void | Promise<void>;
100
112
  validate?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, handle: FlowModuleHandle | null, module: CompiledSelectionFlowModuleConfig<TModuleType>) => FlowModuleValidationReturn;
113
+ /**
114
+ * 模块完成 refresh 后,判断当前值能否在无界面的情况下安全采用。
115
+ * 不提供即表示该模块必须由用户进入步骤确认。
116
+ */
117
+ validateAutoResolution?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, module: CompiledSelectionFlowModuleConfig<TModuleType>) => FlowModuleValidationReturn;
101
118
  beforeLeave?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, handle: FlowModuleHandle | null, module: CompiledSelectionFlowModuleConfig<TModuleType>) => FlowModuleBeforeLeaveReturn;
102
119
  }
103
120
  type SelectionFlowModuleRegistry<TDraft, TDraftUpdate, TField extends string, TModuleType extends string, TServices = unknown, THostContext = unknown> = Record<TModuleType, SelectionFlowModuleAdapter<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>>;
@@ -117,6 +134,7 @@ interface SelectionFlowRef<TDraft, TDraftUpdate, TField extends string = string,
117
134
  back: () => boolean;
118
135
  updateDraft: (update: TDraftUpdate, meta: SelectionFlowDraftUpdateMeta<TField, TModuleType>) => void;
119
136
  validateCurrentStep: () => Promise<boolean>;
137
+ prepareSteps: (options?: SelectionFlowPrepareStepsOptions) => Promise<SelectionFlowPrepareStepsResult>;
120
138
  complete: () => Promise<boolean>;
121
139
  getState: () => SelectionFlowSnapshot<TDraft, TModuleType>;
122
140
  }
@@ -139,6 +157,7 @@ interface PisellSelectionFlowController<TDraft, TDraftUpdate, TField extends str
139
157
  completionReason?: SelectionFlowRuntimeIssue;
140
158
  updateDraft: (update: TDraftUpdate, meta: SelectionFlowDraftUpdateMeta<TField, TModuleType>) => void;
141
159
  validateCurrentStep: () => Promise<boolean>;
160
+ prepareSteps: (options?: SelectionFlowPrepareStepsOptions) => Promise<SelectionFlowPrepareStepsResult>;
142
161
  complete: () => Promise<boolean>;
143
162
  next: () => Promise<boolean>;
144
163
  back: () => boolean;
@@ -176,4 +195,4 @@ declare class SelectionFlowCompileError extends Error {
176
195
  constructor(issues: readonly SelectionFlowCompileIssue[]);
177
196
  }
178
197
  //#endregion
179
- export { CompiledSelectionFlowModuleConfig, CompiledSelectionFlowStep, FlowModuleBeforeLeaveResult, FlowModuleBeforeLeaveReturn, FlowModuleDataMap, FlowModuleHandle, FlowModuleState, FlowModuleStateMap, FlowModuleStatus, FlowModuleValidationResult, FlowModuleValidationReturn, PisellSelectionFlowController, PisellSelectionFlowProps, SelectionFlowCompileError, SelectionFlowCompileIssue, SelectionFlowCompileIssueCode, SelectionFlowContextValue, SelectionFlowDraftAdapter, SelectionFlowDraftChange, SelectionFlowDraftUpdateMeta, SelectionFlowMessageCode, SelectionFlowMetadata, SelectionFlowModuleAdapter, SelectionFlowModuleConfig, SelectionFlowModuleInput, SelectionFlowModuleRegistry, SelectionFlowRef, SelectionFlowRuntimeIssue, SelectionFlowSnapshot, SelectionFlowStepConfig, SelectionFlowValidationFeedback };
198
+ export { CompiledSelectionFlowModuleConfig, CompiledSelectionFlowStep, FlowModuleBeforeLeaveResult, FlowModuleBeforeLeaveReturn, FlowModuleDataMap, FlowModuleHandle, FlowModuleState, FlowModuleStateMap, FlowModuleStatus, FlowModuleValidationResult, FlowModuleValidationReturn, PisellSelectionFlowController, PisellSelectionFlowProps, SelectionFlowCompileError, SelectionFlowCompileIssue, SelectionFlowCompileIssueCode, SelectionFlowContextValue, SelectionFlowDraftAdapter, SelectionFlowDraftChange, SelectionFlowDraftUpdateMeta, SelectionFlowMessageCode, SelectionFlowMetadata, SelectionFlowModuleAdapter, SelectionFlowModuleConfig, SelectionFlowModuleInput, SelectionFlowModuleRegistry, SelectionFlowPrepareStepsOptions, SelectionFlowPrepareStepsResult, SelectionFlowRef, SelectionFlowRuntimeIssue, SelectionFlowSnapshot, SelectionFlowStepConfig, SelectionFlowValidationFeedback };
@@ -1,6 +1,5 @@
1
1
  import { AppVersionControlProps } from "./types.js";
2
- import React from "react";
3
2
  //#region src/components/appVersionControl/index.d.ts
4
- declare const AppVersionControl: (props: AppVersionControlProps) => React.JSX.Element;
3
+ declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
5
4
  //#endregion
6
5
  export { AppVersionControl };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  //#region src/components/appVersionControl/types.d.ts
3
2
  interface Version {
4
3
  id: string;
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  import { AutoCompleteProps, InputNumberProps } from "antd";
3
2
 
4
3
  //#region src/components/auto-complete-number/index.d.ts
@@ -8,6 +7,6 @@ interface AutoCompleteNumberProps {
8
7
  value?: any;
9
8
  onChange?: any;
10
9
  }
11
- declare const AutoCompleteNumber: (props: AutoCompleteNumberProps) => React.JSX.Element;
10
+ declare const AutoCompleteNumber: (props: AutoCompleteNumberProps) => JSX.Element;
12
11
  //#endregion
13
12
  export { AutoCompleteNumber };
@@ -1,5 +1,4 @@
1
- import React from "react";
2
1
  //#region src/components/badge/index.d.ts
3
- declare const Badge: (props: any) => React.JSX.Element;
2
+ declare const Badge: (props: any) => JSX.Element;
4
3
  //#endregion
5
4
  export { Badge };
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  //#region src/components/batch-editor/index.d.ts
3
2
  interface BatchEditorProps {
4
3
  columns: any[];
@@ -7,6 +6,6 @@ interface BatchEditorProps {
7
6
  rowKey: string;
8
7
  otherTableProps: any;
9
8
  }
10
- declare const BatchEditor: (props: BatchEditorProps) => React.JSX.Element;
9
+ declare const BatchEditor: (props: BatchEditorProps) => JSX.Element;
11
10
  //#endregion
12
11
  export { BatchEditor };
@@ -1,7 +1,4 @@
1
- /// <reference types="react" />
2
- import * as _$react from "react";
3
-
4
1
  //#region src/components/calendar/index.d.ts
5
- declare const Calendar: (props: any) => _$react.JSX.Element;
2
+ declare const Calendar: (props: any) => JSX.Element;
6
3
  //#endregion
7
4
  export { Calendar };
@@ -11,6 +11,6 @@ interface PisellStatisticProps {
11
11
  showCurrencySymbol?: boolean;
12
12
  style?: any;
13
13
  }
14
- declare const CardMetricItem: (props: PisellStatisticProps) => React.JSX.Element;
14
+ declare const CardMetricItem: (props: PisellStatisticProps) => JSX.Element;
15
15
  //#endregion
16
16
  export { CardMetricItem, PisellStatisticProps };
@@ -1,5 +1,4 @@
1
- import React from "react";
2
1
  //#region src/components/cardPro/index.d.ts
3
- declare const _default: (props: any) => React.JSX.Element;
2
+ declare const _default: (props: any) => JSX.Element;
4
3
  //#endregion
5
4
  export { _default };
@@ -1,7 +1,4 @@
1
- /// <reference types="react" />
2
- import * as _$react from "react";
3
-
4
1
  //#region src/components/checkbox/index.d.ts
5
- declare const Checkbox: (props: any) => _$react.JSX.Element;
2
+ declare const Checkbox: (props: any) => JSX.Element;
6
3
  //#endregion
7
4
  export { Checkbox };
@@ -1,5 +1,4 @@
1
- import React from "react";
2
1
  //#region src/components/classicLayout/index.d.ts
3
- declare const ClassicLayout: (props: any) => React.JSX.Element;
2
+ declare const ClassicLayout: (props: any) => JSX.Element;
4
3
  //#endregion
5
4
  export { ClassicLayout };