@pisell/materials 6.12.1 → 6.12.2

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 (283) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
  8. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  9. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  10. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  11. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  12. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  13. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  14. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  15. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
  16. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  17. package/es/components/dataSourceComponents/fields/index.d.ts +14 -14
  18. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
  19. package/es/components/drag-sort-tree/index.d.ts +0 -1
  20. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
  21. package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  22. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  23. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  24. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  25. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +8 -1
  26. package/es/components/pisellSort/index.d.ts +0 -1
  27. package/es/components/pisellTooltip/index.d.ts +0 -1
  28. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +2 -2
  29. package/es/components/productCard/components/Packages/utils.d.ts +2 -2
  30. package/es/components/productCard/lineItem/BookingLineItem.d.ts +1 -0
  31. package/es/components/productCard/lineItem/components/Holders/index.d.ts +1 -0
  32. package/es/components/productCard/lineItem/index.d.ts +1 -0
  33. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  34. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  35. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  36. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  37. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  38. package/es/components/table/Table/fields/index.d.ts +2 -2
  39. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  40. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  41. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  42. package/es/components/table/Table/utils.d.ts +1 -1
  43. package/es/hooks/useResponsive.d.ts +1 -1
  44. package/es/utils/index.d.ts +1 -1
  45. package/es/utils/platform.d.ts +1 -1
  46. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
  47. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  48. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  49. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  50. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  51. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  52. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  53. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  54. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
  55. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  56. package/lib/components/dataSourceComponents/fields/index.d.ts +14 -14
  57. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
  58. package/lib/components/drag-sort-tree/index.d.ts +0 -1
  59. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
  60. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  61. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  62. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  63. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  64. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +2 -1
  65. package/lib/components/pisellSort/index.d.ts +0 -1
  66. package/lib/components/pisellTooltip/index.d.ts +0 -1
  67. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +2 -2
  68. package/lib/components/productCard/components/Packages/utils.d.ts +2 -2
  69. package/lib/components/productCard/lineItem/BookingLineItem.d.ts +1 -0
  70. package/lib/components/productCard/lineItem/components/Holders/index.d.ts +1 -0
  71. package/lib/components/productCard/lineItem/index.d.ts +1 -0
  72. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  73. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  74. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  75. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  76. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  77. package/lib/components/table/Table/fields/index.d.ts +2 -2
  78. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  79. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  80. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  81. package/lib/components/table/Table/utils.d.ts +1 -1
  82. package/lib/hooks/useResponsive.d.ts +1 -1
  83. package/lib/utils/index.d.ts +1 -1
  84. package/lib/utils/platform.d.ts +1 -1
  85. package/package.json +1 -1
  86. package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  87. package/es/components/PisellScrollView/PisellScrollView.d.ts +0 -5
  88. package/es/components/PisellScrollView/components/Actions/index.d.ts +0 -18
  89. package/es/components/PisellScrollView/hooks/useScrollState.d.ts +0 -13
  90. package/es/components/PisellScrollView/types.d.ts +0 -203
  91. package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
  92. package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  93. package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  94. package/es/components/PisellSuperTabs/types.d.ts +0 -212
  95. package/es/components/PisellTabbar/constants.d.ts +0 -47
  96. package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  97. package/es/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  98. package/es/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  99. package/es/components/PisellTabbar/types.d.ts +0 -92
  100. package/es/components/PisellTabbar/utils/index.d.ts +0 -69
  101. package/es/components/SafeAreaTop/index.d.ts +0 -5
  102. package/es/components/SafeAreaTop/types.d.ts +0 -9
  103. package/es/components/buttonGroupPreview/index.d.ts +0 -19
  104. package/es/components/cardPro/index.d.ts +0 -4
  105. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  106. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  107. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -22
  108. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  109. package/es/components/filter/components/Dropdown/types.d.ts +0 -15
  110. package/es/components/filter/components/FilterButton/types.d.ts +0 -29
  111. package/es/components/filter/types.d.ts +0 -52
  112. package/es/components/keyboard/index.d.ts +0 -22
  113. package/es/components/pisell-config-provider/context.d.ts +0 -22
  114. package/es/components/pisell-config-provider/index.d.ts +0 -13
  115. package/es/components/pisellAdjustPrice/type.d.ts +0 -22
  116. package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -23
  117. package/es/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +0 -39
  118. package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -35
  119. package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +0 -25
  120. package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +0 -18
  121. package/es/components/pisellFloorMapLayout/locales-ja.d.ts +0 -184
  122. package/es/components/pisellFloorMapLayout/locales-pt.d.ts +0 -184
  123. package/es/components/pisellFloorMapLayout/locales.d.ts +0 -969
  124. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -80
  125. package/es/components/pisellFloorMapLayout/utils/alignSnap.d.ts +0 -64
  126. package/es/components/pisellFloorMapLayout/utils/floorMapBuiltinShapes.d.ts +0 -59
  127. package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -33
  128. package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +0 -50
  129. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
  130. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
  131. package/es/components/pisellLookup/PisellLookup.d.ts +0 -4
  132. package/es/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
  133. package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  134. package/es/components/pisellLookup/components/SearchHistory.d.ts +0 -7
  135. package/es/components/pisellLookup/types.d.ts +0 -761
  136. package/es/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.d.ts +0 -8
  137. package/es/components/pisellMobileDateRangePicker/index.d.ts +0 -2
  138. package/es/components/pisellMobileDateRangePicker/types.d.ts +0 -28
  139. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
  140. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
  141. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +0 -102
  142. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarAxis.d.ts +0 -32
  143. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
  144. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
  145. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
  146. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +0 -8
  147. package/es/components/pisellReservationSchedule/locales.d.ts +0 -43
  148. package/es/components/pisellReservationSchedule/types.d.ts +0 -52
  149. package/es/components/pisellReservationScheduleBand/types.d.ts +0 -68
  150. package/es/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.d.ts +0 -9
  151. package/es/components/pisellShellFrame/PisellShellFrame.d.ts +0 -13
  152. package/es/components/pisellShellFrame/types.d.ts +0 -62
  153. package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -29
  154. package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -41
  155. package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -40
  156. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -37
  157. package/es/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +0 -20
  158. package/es/components/pisellTimeNavigator/types.d.ts +0 -175
  159. package/es/components/pisellTimeNavigator/utils/index.d.ts +0 -79
  160. package/es/components/pisellTimeRangeDisplay/types.d.ts +0 -145
  161. package/es/components/pisellToast/squareToast/index.d.ts +0 -15
  162. package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
  163. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  164. package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
  165. package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  166. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  167. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
  168. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  169. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -203
  170. package/es/components/productCard/components/Action/index.d.ts +0 -4
  171. package/es/components/productCard/lineItem/components/Resources/index.d.ts +0 -7
  172. package/es/components/productCard/lineItem/locales.d.ts +0 -38
  173. package/es/components/productCard/lineItem/types.d.ts +0 -13
  174. package/es/components/productCard/locales.d.ts +0 -138
  175. package/es/components/productCard/status.d.ts +0 -32
  176. package/es/components/productCard/types.d.ts +0 -96
  177. package/es/components/select/index.d.ts +0 -9
  178. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  179. package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
  180. package/es/locales/en-US.d.ts +0 -566
  181. package/es/locales/ja.d.ts +0 -534
  182. package/es/locales/pt.d.ts +0 -534
  183. package/es/locales/zh-CN.d.ts +0 -561
  184. package/es/locales/zh-TW.d.ts +0 -561
  185. package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  186. package/lib/components/PisellScrollView/PisellScrollView.d.ts +0 -5
  187. package/lib/components/PisellScrollView/components/Actions/index.d.ts +0 -18
  188. package/lib/components/PisellScrollView/hooks/useScrollState.d.ts +0 -13
  189. package/lib/components/PisellScrollView/types.d.ts +0 -203
  190. package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
  191. package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  192. package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  193. package/lib/components/PisellSuperTabs/types.d.ts +0 -212
  194. package/lib/components/PisellTabbar/constants.d.ts +0 -47
  195. package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  196. package/lib/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  197. package/lib/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  198. package/lib/components/PisellTabbar/types.d.ts +0 -92
  199. package/lib/components/PisellTabbar/utils/index.d.ts +0 -69
  200. package/lib/components/SafeAreaTop/index.d.ts +0 -5
  201. package/lib/components/SafeAreaTop/types.d.ts +0 -9
  202. package/lib/components/buttonGroupPreview/index.d.ts +0 -19
  203. package/lib/components/cardPro/index.d.ts +0 -4
  204. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  205. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  206. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -22
  207. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  208. package/lib/components/filter/components/Dropdown/types.d.ts +0 -15
  209. package/lib/components/filter/components/FilterButton/types.d.ts +0 -29
  210. package/lib/components/filter/types.d.ts +0 -52
  211. package/lib/components/keyboard/index.d.ts +0 -22
  212. package/lib/components/pisell-config-provider/context.d.ts +0 -22
  213. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  214. package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
  215. package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -23
  216. package/lib/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +0 -39
  217. package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -35
  218. package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +0 -25
  219. package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +0 -18
  220. package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +0 -184
  221. package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +0 -184
  222. package/lib/components/pisellFloorMapLayout/locales.d.ts +0 -969
  223. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -80
  224. package/lib/components/pisellFloorMapLayout/utils/alignSnap.d.ts +0 -64
  225. package/lib/components/pisellFloorMapLayout/utils/floorMapBuiltinShapes.d.ts +0 -59
  226. package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -33
  227. package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +0 -50
  228. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
  229. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
  230. package/lib/components/pisellLookup/PisellLookup.d.ts +0 -4
  231. package/lib/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
  232. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  233. package/lib/components/pisellLookup/components/SearchHistory.d.ts +0 -7
  234. package/lib/components/pisellLookup/types.d.ts +0 -761
  235. package/lib/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.d.ts +0 -8
  236. package/lib/components/pisellMobileDateRangePicker/index.d.ts +0 -2
  237. package/lib/components/pisellMobileDateRangePicker/types.d.ts +0 -28
  238. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
  239. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
  240. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +0 -102
  241. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarAxis.d.ts +0 -32
  242. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
  243. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
  244. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
  245. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +0 -8
  246. package/lib/components/pisellReservationSchedule/locales.d.ts +0 -43
  247. package/lib/components/pisellReservationSchedule/types.d.ts +0 -52
  248. package/lib/components/pisellReservationScheduleBand/types.d.ts +0 -68
  249. package/lib/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.d.ts +0 -9
  250. package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +0 -13
  251. package/lib/components/pisellShellFrame/types.d.ts +0 -62
  252. package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -29
  253. package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -41
  254. package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -40
  255. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -37
  256. package/lib/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +0 -20
  257. package/lib/components/pisellTimeNavigator/types.d.ts +0 -175
  258. package/lib/components/pisellTimeNavigator/utils/index.d.ts +0 -79
  259. package/lib/components/pisellTimeRangeDisplay/types.d.ts +0 -145
  260. package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
  261. package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
  262. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  263. package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
  264. package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  265. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  266. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
  267. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  268. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -203
  269. package/lib/components/productCard/components/Action/index.d.ts +0 -4
  270. package/lib/components/productCard/lineItem/components/Resources/index.d.ts +0 -7
  271. package/lib/components/productCard/lineItem/locales.d.ts +0 -38
  272. package/lib/components/productCard/lineItem/types.d.ts +0 -13
  273. package/lib/components/productCard/locales.d.ts +0 -138
  274. package/lib/components/productCard/status.d.ts +0 -32
  275. package/lib/components/productCard/types.d.ts +0 -96
  276. package/lib/components/select/index.d.ts +0 -9
  277. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  278. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
  279. package/lib/locales/en-US.d.ts +0 -566
  280. package/lib/locales/ja.d.ts +0 -534
  281. package/lib/locales/pt.d.ts +0 -534
  282. package/lib/locales/zh-CN.d.ts +0 -561
  283. package/lib/locales/zh-TW.d.ts +0 -561
@@ -20,7 +20,7 @@ declare const formFieldMap: {
20
20
  Subdomain: import("react").FC<import("antd").InputProps & {
21
21
  onChange: (value: string) => void;
22
22
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
23
- rootDomain: "custom" | "saas" | "xzero";
23
+ rootDomain: "custom" | "xzero" | "saas";
24
24
  customDomain?: string | undefined;
25
25
  value?: string | undefined;
26
26
  tenantId: string;
@@ -35,7 +35,7 @@ declare const formFieldMap: {
35
35
  };
36
36
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
37
37
  options?: any;
38
- optionSourceType?: "custom" | "default" | "api" | undefined;
38
+ optionSourceType?: "default" | "custom" | "api" | undefined;
39
39
  labelField: string;
40
40
  valueField: string;
41
41
  extraParams?: Record<string, any> | undefined;
@@ -62,7 +62,7 @@ declare const formFieldMap: {
62
62
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
63
63
  FormItemRecordListWrapper: (props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
64
64
  options?: any;
65
- optionSourceType?: "custom" | "default" | "api" | undefined;
65
+ optionSourceType?: "default" | "custom" | "api" | undefined;
66
66
  labelField: string;
67
67
  valueField: string;
68
68
  extraParams?: Record<string, any> | undefined;
@@ -72,7 +72,7 @@ declare const formFieldMap: {
72
72
  }) => JSX.Element;
73
73
  FormItemTabs: (props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
74
74
  options?: any;
75
- optionSourceType?: "custom" | "default" | "api" | undefined;
75
+ optionSourceType?: "default" | "custom" | "api" | undefined;
76
76
  labelField: string;
77
77
  valueField: string;
78
78
  extraParams?: Record<string, any> | undefined;
@@ -81,13 +81,11 @@ declare const formFieldMap: {
81
81
  extraParams?: Record<string, any> | undefined;
82
82
  }) => JSX.Element;
83
83
  };
84
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
84
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
85
85
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
86
  } & {
87
87
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & 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").InputProps & {
89
- onChange: (value: string) => void;
90
- } & 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("./Input/type").InputProps> & {
88
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
91
89
  JSON: import("react").FC<any>;
92
90
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
93
91
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -100,29 +98,31 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
100
98
  Subdomain: import("react").FC<import("antd").InputProps & {
101
99
  onChange: (value: string) => void;
102
100
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
103
- rootDomain: "custom" | "saas" | "xzero";
101
+ rootDomain: "custom" | "xzero" | "saas";
104
102
  customDomain?: string | undefined;
105
103
  value?: string | undefined;
106
104
  tenantId: string;
107
105
  name?: string | undefined;
108
106
  fieldKey?: string | undefined;
109
107
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
110
- }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
108
+ }) | (import("react").FC<{}> & {
111
109
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
112
110
  } & {
113
111
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
114
112
  }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
115
113
  options?: any;
116
- optionSourceType?: "custom" | "default" | "api" | undefined;
114
+ optionSourceType?: "default" | "custom" | "api" | undefined;
117
115
  labelField: string;
118
116
  valueField: string;
119
117
  extraParams?: Record<string, any> | undefined;
120
118
  } & {
121
119
  dataSource?: any;
122
120
  extraParams?: Record<string, any> | undefined;
123
- }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | 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("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
121
+ }) => JSX.Element) | 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 & {
122
+ onChange: (value: string) => void;
123
+ } & 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("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
124
124
  options?: any;
125
- optionSourceType?: "custom" | "default" | "api" | undefined;
125
+ optionSourceType?: "default" | "custom" | "api" | undefined;
126
126
  labelField: string;
127
127
  valueField: string;
128
128
  extraParams?: Record<string, any> | undefined;
@@ -131,7 +131,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
131
131
  extraParams?: Record<string, any> | undefined;
132
132
  }) => JSX.Element) | ((props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
133
133
  options?: any;
134
- optionSourceType?: "custom" | "default" | "api" | undefined;
134
+ optionSourceType?: "default" | "custom" | "api" | undefined;
135
135
  labelField: string;
136
136
  valueField: string;
137
137
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ValueProps, SortType } from '../types';
4
3
  declare type IdType = string | number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { SortType } from './types';
4
3
  declare const DragSortTree: (props: SortType) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  declare const useDataSourceKey: () => {
3
- dataSourceKey: string | import("../../dataSourceComponents/provider/dataSource/DataSourceContext").DataSourceType | undefined;
4
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../dataSourceComponents/provider/dataSource/DataSourceContext").DataSourceType | undefined>;
3
+ dataSourceKey: string | undefined;
4
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
5
5
  };
6
6
  export default useDataSourceKey;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
3
2
  import { Dayjs } from 'dayjs';
4
3
  import './detePickerCpt.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface ScanProps {
4
3
  onChange: (val: string) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import { PisellContextType } from "../../../pisell-config-provider/context";
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import './index.less';
4
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
@@ -414,6 +414,7 @@ var RecordBoardGridView = (props) => {
414
414
  infiniteScrollFetching
415
415
  ]);
416
416
  const { summary: _userSummaryOmitted, ...gridTablePropsWithoutSummary } = gridTableProps;
417
+ const tableLoading = gridInfiniteScroll && dataSource.length > 0 ? false : ctx.loading;
417
418
  return /* @__PURE__ */ import_react.default.createElement(
418
419
  "div",
419
420
  {
@@ -450,7 +451,7 @@ var RecordBoardGridView = (props) => {
450
451
  scroll: tableScroll,
451
452
  rowKey: tableRowKey,
452
453
  dataSource: ctx.data ?? [],
453
- loading: ctx.loading,
454
+ loading: tableLoading,
454
455
  columns,
455
456
  rowSelection,
456
457
  pagination: false
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellSortProps } from './type';
3
2
  declare const PisellSort: (props: PisellSortProps) => JSX.Element;
4
3
  export default PisellSort;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TooltipPropsWithTitle } from 'antd/es/tooltip';
3
2
  import { PisellContextType } from "../pisell-config-provider/context";
4
3
  import './index.less';
@@ -6,7 +6,7 @@
6
6
  * @Author: WangHan
7
7
  * @Date: 2024-11-22 10:01
8
8
  */
9
- export declare const minusSign: (item: any, type?: string) => "" | "-";
9
+ export declare const minusSign: (item: any, type?: string) => "-" | "";
10
10
  /**
11
11
  * @title: 金额格式化
12
12
  * @description:
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -6,7 +6,7 @@
6
6
  * @Author: WangHan
7
7
  * @Date: 2024-11-22 10:01
8
8
  */
9
- export declare const minusSign: (item: any, type?: string) => "" | "-";
9
+ export declare const minusSign: (item: any, type?: string) => "-" | "";
10
10
  /**
11
11
  * @title: 金额格式化
12
12
  * @description:
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { ProductCardTypes } from '../types';
2
3
  import type { LineItemHolderOption, LineItemStatusOption, LineItemType } from './types';
3
4
  interface BookingLineItemProps extends Omit<ProductCardTypes, 'dataSource'> {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { LineItemHolderOption } from '../../types';
2
3
  import './index.less';
3
4
  interface LineItemHoldersProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { ProductCardTypes } from '../types';
2
3
  import type { itemType, LineItemHolderOption, LineItemStatusOption, LineItemType } from './types';
3
4
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type ColumnsSettingProps = {
3
2
  value?: Record<string, any>[];
4
3
  onChange?: (val: Record<string, any>[]) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './PopoverContent.less';
3
2
  declare type FieldType = string | number;
4
3
  export declare type GroupValue = {
@@ -1,5 +1,5 @@
1
1
  declare const useGapSize: (gap: number | number[]) => {
2
- horizontal: any;
3
- vertical: any;
2
+ horizontal: number;
3
+ vertical: number;
4
4
  };
5
5
  export default useGapSize;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectField: () => JSX.Element;
2
3
  export default SelectField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -198,12 +198,12 @@ export declare const fieldList: ({
198
198
  field_icon: string;
199
199
  field_name: string;
200
200
  field_type: string;
201
- default_value: string;
201
+ default_value: boolean;
202
202
  } | {
203
203
  field_icon: string;
204
204
  field_name: string;
205
205
  field_type: string;
206
- default_value: boolean;
206
+ default_value: string;
207
207
  } | {
208
208
  field_icon: string;
209
209
  field_name: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[] | Record<string, any>[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -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
- }) => ("filters" | "filter_setting" | "column_setting" | "gallery_setting" | "view_mode" | "group_by" | "order_by")[];
158
+ }) => ("filters" | "group_by" | "column_setting" | "order_by" | "view_mode" | "gallery_setting" | "filter_setting")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};
@@ -1,4 +1,4 @@
1
1
  declare type ResponsiveConfig = Record<string, number>;
2
2
  export declare function configResponsive(config: ResponsiveConfig): void;
3
- export default function useResponsive(): "pc" | "phone" | "ipad";
3
+ export default function useResponsive(): "phone" | "pc" | "ipad";
4
4
  export {};
@@ -1,4 +1,4 @@
1
1
  export declare const isBrowser: boolean;
2
- export declare const getCssNumber: (val: string | number) => string | number;
2
+ export declare const getCssNumber: (val: string | number) => string;
3
3
  export declare function uuid(): string;
4
4
  export * from './mergeWith';
@@ -1 +1 @@
1
- export declare const isMobile: () => any;
1
+ export declare const isMobile: () => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.12.1",
3
+ "version": "6.12.2",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { PanelWrapperProps } from '../types';
3
- /**
4
- * PanelWrapper 组件
5
- * 次级面板包装器,负责展开/收起动画和样式处理
6
- */
7
- export declare const PanelWrapper: React.FC<PanelWrapperProps>;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { PisellScrollViewProps, PisellScrollViewRef } from './types';
3
- import './PisellScrollView.less';
4
- declare const PisellScrollView: React.ForwardRefExoticComponent<Omit<PisellScrollViewProps, "ref"> & React.RefAttributes<PisellScrollViewRef>>;
5
- export default PisellScrollView;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import type { ScrollEventData, PisellScrollViewProps, ScrollActionsConfig } from '../../types';
3
- import './index.less';
4
- interface ActionsContainerProps {
5
- scrollState: ScrollEventData;
6
- overflow: PisellScrollViewProps['overflow'];
7
- scrollActionsConfig: ScrollActionsConfig;
8
- containerRef: React.RefObject<HTMLDivElement>;
9
- onClick: (direction: 'left' | 'right' | 'top' | 'bottom') => void;
10
- }
11
- /**
12
- * ActionsContainer 根据 scrollActionsConfig 渲染滚动辅助操作。
13
- *
14
- * @example
15
- * <ActionsContainer scrollActionsConfig={{ show: true, type: 'indicator' }} />
16
- */
17
- declare const ActionsContainer: ({ containerRef, scrollState, overflow, scrollActionsConfig, onClick, }: ActionsContainerProps) => JSX.Element | null;
18
- export default ActionsContainer;
@@ -1,13 +0,0 @@
1
- import { RefObject } from 'react';
2
- import { ScrollEventData, PisellScrollViewProps } from '../types';
3
- /**
4
- * 滚动状态管理 Hook
5
- * @description 管理滚动容器的状态,包括滚动位置、溢出检测等
6
- */
7
- export declare const useScrollState: ({ containerRef, overflow, }: {
8
- containerRef: RefObject<HTMLElement>;
9
- overflow: PisellScrollViewProps['overflow'];
10
- }) => {
11
- scrollState: ScrollEventData;
12
- updateScrollState: () => void;
13
- };
@@ -1,203 +0,0 @@
1
- import React, { ReactNode, CSSProperties } from 'react';
2
- /**
3
- * 滚动位置配置
4
- */
5
- export interface ScrollPosition {
6
- /** 竖向滚动位置(像素) */
7
- scrollTop?: number;
8
- /** 横向滚动位置(像素) */
9
- scrollLeft?: number;
10
- /** 滚动行为 */
11
- behavior?: 'auto' | 'smooth';
12
- }
13
- /**
14
- * 滚动到元素配置
15
- */
16
- export interface ScrollToElementConfig {
17
- /** 目标元素 ID */
18
- targetId: string;
19
- /** 对齐方式 */
20
- align?: 'start' | 'center' | 'end' | 'nearest';
21
- /** 滚动行为 */
22
- behavior?: 'auto' | 'smooth';
23
- /** 偏移量 */
24
- offset?: number;
25
- }
26
- /**
27
- * 滚动百分比配置
28
- */
29
- export interface ScrollPercentage {
30
- /** 竖向滚动百分比 (0-100) */
31
- percentY?: number;
32
- /** 横向滚动百分比 (0-100) */
33
- percentX?: number;
34
- /** 滚动行为 */
35
- behavior?: 'auto' | 'smooth';
36
- }
37
- /**
38
- * 滚动按钮配置
39
- */
40
- export interface ScrollActionsConfig {
41
- show?: boolean;
42
- /** 按钮类型 */
43
- type: "backTop" | "rArrows" | "lrArrows" | "tbArrows" | "indicator" | "custom";
44
- style?: CSSProperties;
45
- scrollDistance?: number;
46
- /** 按钮配置 根据type不同,配置不同 */
47
- config?: any;
48
- }
49
- /**
50
- * 滚动事件数据
51
- */
52
- export interface ScrollEventData {
53
- /** 当前滚动位置 */
54
- scrollTop: number;
55
- scrollLeft: number;
56
- /** 滚动百分比 */
57
- percentY: number;
58
- percentX: number;
59
- /** 可滚动高度/宽度 */
60
- scrollHeight: number;
61
- scrollWidth: number;
62
- /** 容器尺寸 */
63
- clientHeight: number;
64
- clientWidth: number;
65
- /** 滚动方向 */
66
- direction: 'up' | 'down' | 'left' | 'right' | null;
67
- /** 是否滚动到顶部 */
68
- isScrollToTop: boolean;
69
- /** 是否滚动到底部 */
70
- isScrollToBottom: boolean;
71
- /** 是否滚动到左边 */
72
- isScrollToLeft: boolean;
73
- /** 是否滚动到右边 */
74
- isScrollToRight: boolean;
75
- /** 是否已经产生滚动条 */
76
- isOverflows: boolean;
77
- }
78
- /**
79
- * 视图监听配置
80
- */
81
- export interface IntersectionConfig {
82
- /** 是否启用视图监听 */
83
- enabled?: boolean;
84
- /** 交叉阈值 (0-1) */
85
- threshold?: number | number[];
86
- /** 根边距 */
87
- rootMargin?: string;
88
- /** 元素进入视图回调 */
89
- onEnterViewport?: (entry: IntersectionObserverEntry, element: Element) => void;
90
- /** 元素离开视图回调 */
91
- onLeaveViewport?: (entry: IntersectionObserverEntry, element: Element) => void;
92
- /** 可见度变化回调 */
93
- onVisibilityChange?: (entry: IntersectionObserverEntry, element: Element) => void;
94
- /** 需要监听的元素选择器 */
95
- targetSelector?: string;
96
- }
97
- /**
98
- * 吸附滚动配置
99
- */
100
- export interface SnapScrollConfig {
101
- /** 是否启用吸附滚动 */
102
- enabled?: boolean;
103
- /** 吸附类型 */
104
- type?: 'mandatory' | 'proximity';
105
- /** 吸附对齐方式 */
106
- align?: 'start' | 'center' | 'end';
107
- /** 吸附开始回调 */
108
- onSnapStart?: (targetIndex: number, targetPosition: number) => void;
109
- /** 吸附结束回调 */
110
- onSnapEnd?: (currentIndex: number, currentPosition: number) => void;
111
- }
112
- /**
113
- * PisellScrollView 组件 Props
114
- */
115
- export interface PisellScrollViewProps {
116
- /** 子元素 */
117
- children?: ReactNode;
118
- /** 自定义类名 */
119
- className?: string;
120
- /** 自定义样式 */
121
- style?: CSSProperties;
122
- /** 滚动方向 */
123
- overflow?: 'auto' | 'scroll' | 'hidden' | 'x' | 'y' | 'both';
124
- /** 滚动条样式 */
125
- scrollbarStyle?: 'default' | 'thin' | 'minimal' | 'rounded' | 'overlay' | 'custom' | 'none';
126
- /** 自定义滚动条类名(当 scrollbarStyle 为 'custom' 时使用) */
127
- scrollbarClassName?: string;
128
- /** 是否显示滚动按钮 */
129
- showScrollButtons?: boolean;
130
- /** 箭头操作 */
131
- scrollActionsConfig?: ScrollActionsConfig;
132
- /** 滚动时触发 */
133
- onScroll?: (data: ScrollEventData) => void;
134
- /** 开始滚动时触发 */
135
- onScrollStart?: (data: ScrollEventData) => void;
136
- /** 滚动结束时触发(防抖延迟,默认 150ms) */
137
- onScrollEnd?: (data: ScrollEventData) => void;
138
- /** 滚动结束防抖延迟时间(ms) */
139
- scrollEndDelay?: number;
140
- /** 到达顶部时触发 */
141
- onReachTop?: (data: ScrollEventData) => void;
142
- /** 到达底部时触发 */
143
- onReachBottom?: (data: ScrollEventData) => void;
144
- /** 到达左边时触发 */
145
- onReachLeft?: (data: ScrollEventData) => void;
146
- /** 到达右边时触发 */
147
- onReachRight?: (data: ScrollEventData) => void;
148
- /** 边界阈值(到达边界的像素阈值) */
149
- reachThreshold?: number;
150
- /** IntersectionObserver 配置 */
151
- intersection?: IntersectionConfig;
152
- /** 吸附滚动配置 */
153
- snapScroll?: SnapScrollConfig;
154
- /** 容器宽度 */
155
- width?: number | string;
156
- /** 容器高度 */
157
- height?: number | string;
158
- /** 最大宽度 */
159
- maxWidth?: number | string;
160
- /** 最大高度 */
161
- maxHeight?: number | string;
162
- /** 最小宽度 */
163
- minWidth?: number | string;
164
- /** 最小高度 */
165
- minHeight?: number | string;
166
- /** Ref 引用 */
167
- ref?: React.Ref<PisellScrollViewRef>;
168
- /** 设计模式 */
169
- __designMode?: boolean;
170
- }
171
- /**
172
- * 组件暴露的方法
173
- */
174
- export interface PisellScrollViewRef {
175
- /** 滚动到指定位置 */
176
- scrollTo: (position: ScrollPosition) => void;
177
- /** 滚动到指定元素 */
178
- scrollToElement: (config: ScrollToElementConfig) => void;
179
- /** 滚动到百分比位置 */
180
- scrollToPercentage: (percentage: ScrollPercentage) => void;
181
- /** 滚动到顶部 */
182
- scrollToTop: (behavior?: 'auto' | 'smooth') => void;
183
- /** 滚动到底部 */
184
- scrollToBottom: (behavior?: 'auto' | 'smooth') => void;
185
- /** 滚动到最左侧 */
186
- scrollToLeft: (behavior?: 'auto' | 'smooth') => void;
187
- /** 滚动到最右侧 */
188
- scrollToRight: (behavior?: 'auto' | 'smooth') => void;
189
- /** 获取当前滚动信息 */
190
- getScrollData: () => ScrollEventData;
191
- /** 获取滚动容器 DOM 元素 */
192
- getScrollContainer: () => HTMLElement | null;
193
- /** 滚动到指定吸附点(索引) */
194
- scrollToSnapPoint: (index: number, behavior?: 'auto' | 'smooth') => void;
195
- /** 获取所有吸附点位置 */
196
- getSnapPoints: () => number[];
197
- /** 获取当前吸附点索引 */
198
- getCurrentSnapIndex: () => number;
199
- /** 滚动到下一个吸附点 */
200
- scrollToNextSnap: (behavior?: 'auto' | 'smooth') => void;
201
- /** 滚动到上一个吸附点 */
202
- scrollToPrevSnap: (behavior?: 'auto' | 'smooth') => void;
203
- }
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import './PisellSteps.less';
3
- import type { PisellStepsProps } from './types';
4
- /**
5
- * PisellSteps 步骤条组件
6
- *
7
- * 基于 Ant Design Steps 组件进行二次封装和增强
8
- * 支持多种展示样式、布局方式和丰富的交互功能
9
- *
10
- * @author Pisell Team
11
- * @version 1.0.0
12
- */
13
- declare const PisellSteps: React.FC<PisellStepsProps>;
14
- export default PisellSteps;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import './PisellSuperTabs.less';
3
- import type { PisellSuperTabsProps } from './types';
4
- interface PisellSuperTabsRef {
5
- scrollItemByRowKey: (key: string) => void;
6
- }
7
- declare const _default: React.ForwardRefExoticComponent<PisellSuperTabsProps<unknown> & React.RefAttributes<PisellSuperTabsRef>>;
8
- export default _default;
@@ -1,7 +0,0 @@
1
- import { UseTabsStateParams, UseTabsStateReturn } from '../types';
2
- /**
3
- * Tabs 状态管理 Hook
4
- * @description 处理受控/非受控模式的状态管理
5
- * @template T - 数据项类型
6
- */
7
- export declare const useTabsState: <T = any>(params: UseTabsStateParams<T>) => UseTabsStateReturn<T>;