@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
@@ -1,69 +0,0 @@
1
- /**
2
- * PisellTabbar 工具函数
3
- */
4
- import { TabbarDataSource } from '../types';
5
- /**
6
- * 默认的特殊项配置
7
- */
8
- export declare const defaultItems: {
9
- all: {
10
- id: number;
11
- shop_id: number;
12
- parent_id: number;
13
- name: any;
14
- slug: string;
15
- icon: string;
16
- };
17
- search: {
18
- id: number;
19
- shop_id: number;
20
- parent_id: number;
21
- name: any;
22
- text: any;
23
- slug: string;
24
- key: string;
25
- icon: string;
26
- customClick: boolean;
27
- };
28
- expand: {
29
- id: number;
30
- shop_id: number;
31
- parent_id: number;
32
- key: string;
33
- icon: string;
34
- name: string;
35
- slug: string;
36
- customClick: boolean;
37
- };
38
- };
39
- /**
40
- * 向数据源添加特殊项(如 all、search、expand 按钮)
41
- *
42
- * @param dataSource - 原始数据源
43
- * @param keys - 要添加的特殊项 key 数组
44
- * @returns 添加了特殊项的新数据源
45
- *
46
- * @example
47
- * ```tsx
48
- * const newData = addDataSourceItemsByKey(categoryData, ['expand', 'all']);
49
- * // 返回: [expandItem, allItem, ...categoryData]
50
- * ```
51
- */
52
- export declare const addDataSourceItemsByKey: (dataSource: TabbarDataSource[], keys: ('all' | 'search' | 'expand')[]) => TabbarDataSource[];
53
- /**
54
- * 获取默认激活的 key 数组
55
- *
56
- * @param dataSource - 数据源
57
- * @param rowKey - 用作唯一标识的字段名
58
- * @returns 默认激活的 key 数组(多层级)
59
- *
60
- * @description
61
- * 默认选中第一项,如果第一项有子级,同时选中第一个子级
62
- *
63
- * @example
64
- * ```tsx
65
- * const defaultKeys = getDefaultActiveKey(categoryData, 'id');
66
- * // 返回: [1, 0] (第一层级的第一项ID,第二层级的第一项ID)
67
- * ```
68
- */
69
- export declare const getDefaultActiveKey: (dataSource: TabbarDataSource[], rowKey: string) => (string | number)[];
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import type { SafeAreaTopProps } from './types';
3
- import './index.less';
4
- export declare const SafeAreaTop: React.NamedExoticComponent<SafeAreaTopProps>;
5
- export default SafeAreaTop;
@@ -1,9 +0,0 @@
1
- import type React from 'react';
2
- export interface SafeAreaTopProps {
3
- /** 顶部安全区背景色,默认透明。 */
4
- backgroundColor?: string;
5
- /** 业务页面传入的自定义样式类。 */
6
- className?: string;
7
- /** 额外内联样式,优先级高于组件默认样式。 */
8
- style?: React.CSSProperties;
9
- }
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import type { MenuProps, ButtonProps } from 'antd';
3
- export interface ButtonGroupListItemProps {
4
- id?: string;
5
- isMore?: boolean;
6
- menuData?: MenuProps['items'];
7
- buttonProps?: ButtonProps;
8
- }
9
- interface ButtonConfigProps {
10
- [id: string]: ButtonGroupListItemProps;
11
- }
12
- export declare type ButtonGroupListProps = ButtonGroupListItemProps[][];
13
- interface ButtonGroupPreviewProps {
14
- buttonConfig?: ButtonConfigProps;
15
- buttonGroupList?: ButtonGroupListProps;
16
- updateButtonProps?: ButtonGroupListItemProps;
17
- }
18
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ButtonGroupPreviewProps & React.RefAttributes<any>>>;
19
- export default _default;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const _default: (props: any) => JSX.Element;
4
- export default _default;
@@ -1,26 +0,0 @@
1
- /**
2
- * 获取nocobase数据列表
3
- */
4
- export declare const getCountryDataList: () => Promise<any>;
5
- export interface Country {
6
- id: number;
7
- name: {
8
- en: string;
9
- 'zh-CN': string;
10
- 'zh-HK': string;
11
- 'ja': string;
12
- 'pt': string;
13
- original: string;
14
- };
15
- code: string;
16
- calling_code: string;
17
- currency_code: string;
18
- sort: number;
19
- status: string;
20
- created_at: string;
21
- updated_at: string;
22
- prefix: string;
23
- }
24
- export declare const useCountries: () => {
25
- data: Country[];
26
- };
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { TranslationProps } from './type';
3
- import './index.less';
4
- declare const Translation: React.FC<TranslationProps>;
5
- export default Translation;
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import { ModeType } from "../../dataSourceForm/type";
3
- export interface TranslationValue {
4
- en: string;
5
- 'zh-CN': string;
6
- 'zh-HK': string;
7
- 'ja': string;
8
- 'pt': string;
9
- original: string;
10
- }
11
- export interface TranslationProps {
12
- renderMode: ModeType;
13
- value?: TranslationValue;
14
- onChange?: (value: TranslationValue) => void;
15
- disabled?: boolean;
16
- placeholder?: string;
17
- className?: string;
18
- type?: 'text' | 'textarea';
19
- maxLength?: number;
20
- inputStyle?: React.CSSProperties;
21
- allowClear?: boolean;
22
- }
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- export interface VariablesContextType {
3
- children?: React.ReactNode;
4
- variables?: Record<string, any>;
5
- registerVariable?: (value: Record<string, any>) => void;
6
- parseVariable?: (str: string, localVariables?: Record<string, any>) => any;
7
- registerValueVariable?: (componentId: string, value: Record<string, any>) => void;
8
- registerFunctionVariable?: (componentId: string, value: Record<string, any>) => void;
9
- subscribeVariables?: (listener: (allVariables: Record<string, any>, updateVariables: Record<string, any>) => void) => () => void;
10
- config?: {
11
- disabledHistoryListener?: boolean;
12
- };
13
- }
14
- export declare const VariablesContext: import("react").Context<VariablesContextType>;
15
- export default VariablesContext;
@@ -1,15 +0,0 @@
1
- import { FilterItemProps } from '../../types';
2
- export interface DropdownProps {
3
- quickFilter: FilterItemProps[];
4
- otherFilter: FilterItemProps[];
5
- hiddenQuickFilter?: boolean;
6
- hiddenOtherFilter?: boolean;
7
- onChange: (list: {
8
- quickFilter: FilterItemProps[];
9
- otherFilter: FilterItemProps[];
10
- }) => void;
11
- quickFilterMaxLength: number;
12
- formFiltersPrefix: string;
13
- /** 手机窄屏:筛选项下拉禁用搜索、避免自动聚焦 */
14
- phoneLayout?: boolean;
15
- }
@@ -1,29 +0,0 @@
1
- /// <reference types="react" />
2
- import { FilterItemProps } from '../../types';
3
- export declare type FilterValueType = {
4
- quickFilter: FilterItemProps[];
5
- otherFilter: FilterItemProps[];
6
- /** 筛选项表单值,字段名 -> 值,与 Form 的 values 一致 */
7
- values?: Record<string, any>;
8
- };
9
- export declare type FilterListProps = {
10
- value?: FilterValueType;
11
- hiddenQuickFilter?: boolean;
12
- hiddenOtherFilter?: boolean;
13
- onChange?: (value: FilterValueType) => void;
14
- quickFilterMaxLength: number;
15
- formFiltersPrefix: string;
16
- renderItem?: (item: any, otherProps?: any) => React.ReactNode;
17
- placement?: 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
18
- /** 筛选按钮尺寸,与 antd Button size 一致 */
19
- size?: 'small' | 'middle' | 'large';
20
- /** 筛选触发按钮的 className,用于定制样式(如与设计系统对齐) */
21
- buttonClassName?: string;
22
- /** 筛选按钮文案,不传则使用 materials 内置多语言 */
23
- buttonText?: string;
24
- /**
25
- * 手机窄屏布局:筛选项内下拉禁用搜索框,并避免打开时自动聚焦。
26
- * RecordBoard compact-narrow / 预约手机 Table 等场景传入。
27
- */
28
- phoneLayout?: boolean;
29
- };
@@ -1,52 +0,0 @@
1
- import { ModeType } from "../table/types";
2
- /**
3
- * 筛选总配置
4
- */
5
- export declare type FilterType = {
6
- /** 筛选是否展示 */
7
- show: boolean;
8
- /** 筛选项排序按钮是否展示 */
9
- sortButtonShow: boolean;
10
- /** 筛选列表 */
11
- list: FilterItemProps[];
12
- items?: string[];
13
- /** 快速筛选最大长度 */
14
- quickFilterMaxLength: number;
15
- /** 配置存储模式 */
16
- storageMode: "" | "localStorage";
17
- /** 筛选列表项dom */
18
- dom?: any;
19
- };
20
- /**
21
- * 筛选列表项配置
22
- * - type 为 single/input/rangePicker 等时使用内置或映射组件
23
- * - type 为 "custom" 时使用 other.component,组件接收 value/onChange(由 Form 注入)
24
- *
25
- * other 扩展(节选):
26
- * - useAntdMobileRangePicker?: 手机布局下是否用 PisellMobileDateRangePicker(antd-mobile)替代 MUI 单框范围;
27
- * true 强制启用(无 showTime 时);false 强制关闭;缺省时仅对字段名 orderDate 自动启用。
28
- */
29
- export declare type FilterItemProps = {
30
- type: "single" | "input" | "datePicker" | "rangePicker" | "rangePickerNew" | "search" | "custom";
31
- name?: string | string[];
32
- key: string;
33
- props?: object;
34
- label?: string;
35
- sort?: boolean;
36
- localFilter?: boolean;
37
- other: Record<string, any>;
38
- isCustom?: boolean;
39
- columnKey?: string;
40
- isHidden?: boolean;
41
- };
42
- /**
43
- * 筛选组件属性
44
- */
45
- export interface FilterProps {
46
- filter: FilterType;
47
- isRenderFormContent: boolean;
48
- onValuesChange?: () => void;
49
- tableId?: string;
50
- viewMode?: ModeType;
51
- isMobile?: boolean;
52
- }
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export declare type ItemValue = string | number;
4
- export interface Item {
5
- value: ItemValue;
6
- label: React.ReactNode;
7
- disabled: boolean;
8
- type: 'text' | 'primary';
9
- style?: React.CSSProperties;
10
- size?: number;
11
- }
12
- export interface KeyboardProps {
13
- id?: string;
14
- className?: string;
15
- style?: React.CSSProperties;
16
- onChange?: (value?: ItemValue) => void;
17
- items?: Item[];
18
- rightItems?: Item[];
19
- keydown?: boolean;
20
- }
21
- declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
22
- export default _default;
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- export interface PisellContextType {
3
- platform: 'h5' | 'pc' | 'ipad';
4
- /** 货币符号 */
5
- symbol?: string;
6
- /** 当前语言环境 */
7
- locale?: string;
8
- /** 获取货币符号 */
9
- getSymbolic?: () => string;
10
- }
11
- export declare const PisellContext: import("react").Context<PisellContextType>;
12
- /**
13
- * provider外获取当前全局配置
14
- */
15
- declare class GlobalConfig {
16
- private config;
17
- constructor();
18
- setConfig(config: PisellContextType): void;
19
- getConfig(): PisellContextType;
20
- }
21
- export declare const globalConfig: GlobalConfig;
22
- export default PisellContext;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { PisellContextType } from './context';
3
- interface PisellConfigProviderType {
4
- platform?: PisellContextType['platform'];
5
- children: React.ReactNode;
6
- /** 货币符号 */
7
- symbol?: string;
8
- /** 当前语言环境 */
9
- locale?: string;
10
- getSymbolic?: () => string;
11
- }
12
- declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
13
- export default PisellConfigProvider;
@@ -1,22 +0,0 @@
1
- export interface PisellAdjustPriceProps {
2
- value?: number;
3
- originValue: number;
4
- defaultValue?: number;
5
- onChange?: (val: number) => void;
6
- selectType?: 'light' | 'dark';
7
- backgroundColor?: string;
8
- containerBackgroundColor?: string;
9
- buttonBackgroundColor?: string;
10
- textColor?: string;
11
- resetButtonBackgroundColor?: string;
12
- resetButtonTextColor?: string;
13
- isDoneButtonFollowTheme?: boolean;
14
- doneButtonBackgroundColor?: string;
15
- doneButtonTextColor?: string;
16
- isShowMainText?: boolean;
17
- mainTextColor?: string;
18
- isShowSubText?: boolean;
19
- subTextColor?: string;
20
- resetText?: string;
21
- doneText?: string;
22
- }
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- export interface FloorMapEditQuickActionLabels {
3
- lock: string;
4
- unlock: string;
5
- duplicate: string;
6
- delete: string;
7
- popTitle: string;
8
- popDesc: string;
9
- cancel: string;
10
- okDelete: string;
11
- ariaToolbar: string;
12
- }
13
- export interface FloorMapEditQuickActionsProps {
14
- className?: string;
15
- labels: FloorMapEditQuickActionLabels;
16
- isLocked: boolean;
17
- onToggleLock: () => void;
18
- onDuplicate: () => void;
19
- onDelete: () => void;
20
- /** 画布 viewport scale,用于按 1/scale 反向缩放整个工具条,保持视觉尺寸恒定 */
21
- viewportScale?: number;
22
- }
23
- export declare function FloorMapEditQuickActions(props: FloorMapEditQuickActionsProps): JSX.Element;
@@ -1,39 +0,0 @@
1
- /**
2
- * 编辑顶栏 Undo / Redo 自定义 SVG icon。
3
- *
4
- * 设计来源:业务方提供的「圆勾箭头」风格 —— 整圈 ~270° 回环 + 末端三角箭头。
5
- * 替换 antd 的 `UndoOutlined` / `RedoOutlined`:原版箭头偏方、回勾过短,
6
- * 在 24/16px 的小尺寸下与界面其它细线 icon 不齐,且 Undo/Redo 镜像不够直观。
7
- *
8
- * 实现要点:
9
- * - `stroke="currentColor"`、无填充:颜色完全跟随父级 `color`,与 Ant Button text 模式一致;
10
- * - viewBox 14×14,配合 `font-size: 14px` 自动得到 14px icon;调用方可通过 fontSize/CSS 调整;
11
- * - `stroke-linecap=round` + `stroke-linejoin=round`:在 1.5px 细线下保持圆润、抗锯齿友好;
12
- * - 箭头用同色 `path` 三角,避免 marker-end 在不同浏览器下的尺寸漂移;
13
- * - 接受 `className` / `style` / 其它 SVG 属性透传(与 antd icon 体感一致)。
14
- */
15
- import React from 'react';
16
- declare type HistoryIconProps = React.SVGProps<SVGSVGElement> & {
17
- /** 与 antd icon 类似:用于覆盖默认 1em 尺寸 */
18
- size?: number | string;
19
- };
20
- /**
21
- * Undo 图标:「↰」L 形带小圆角 —— 箭头在左侧水平指向左,主干由箭头水平向右、
22
- * 经一个 1.5 半径的圆角折下、再竖直向下。
23
- *
24
- * 关于"看起来偏上":antd `.anticon { vertical-align: -0.125em }` 已经把整个 svg
25
- * 相对文字基线下移 ~0.125em,但我们的形状在 viewBox 内是几何居中的(y ∈ [3,11]),
26
- * 与 antd 自家 outline icon(路径几乎铺满 viewBox)在视觉密度上不同 ——
27
- * 留白对称会让人眼判断"图形在 viewBox 上半"。
28
- *
29
- * 解决:把形状整体下移 1 单位到 y ∈ [4, 12],上侧留 4 / 下侧留 2,
30
- * 让 icon 视觉中心匹配文字 x-height 中心,与 "Undo" 文本视觉齐平。
31
- * x 仍保持 [3, 11] 居中。
32
- */
33
- export declare function UndoHistoryIcon(props: HistoryIconProps): JSX.Element;
34
- /**
35
- * Redo 图标:与 Undo 水平镜像,箭头在右侧指向右,干线右→左→下。
36
- * 几何范围与 Undo 完全对称:x ∈ [3, 11]、y ∈ [4, 12]。
37
- */
38
- export declare function RedoHistoryIcon(props: HistoryIconProps): JSX.Element;
39
- export {};
@@ -1,35 +0,0 @@
1
- /**
2
- * 平面图布局根节点 BEM 前缀,与 `PisellFloorMapLayout.less` 中主 class 一致。
3
- */
4
- export declare const FLOOR_MAP_LAYOUT_CLASS_PREFIX = "pisell-floor-map-layout";
5
- /** 手机左侧图元栏 Drawer,低于右侧属性抽屉 */
6
- export declare const FLOOR_MAP_PHONE_TOOLBAR_DRAWER_Z_INDEX = 2001;
7
- /** 手机右侧图元详情 Drawer */
8
- export declare const FLOOR_MAP_PHONE_EDIT_DRAWER_Z_INDEX = 2002;
9
- /**
10
- * 高于 {@link FLOOR_MAP_PHONE_EDIT_DRAWER_Z_INDEX},用于面板内 Popconfirm 等,避免被抽屉挡住。
11
- */
12
- export declare const FLOOR_MAP_CONFIRM_OVERLAY_Z_INDEX = 2100;
13
- /**
14
- * 「全览」伪画布 Tab id。
15
- * 仅在阅读态、启用画布 > 1 时插入到画布 Tab 列表末尾,用来承载「同时查看所有画布」的入口。
16
- * 不会写入 `config.canvases`,也不参与视口持久化、items 计算等真实画布逻辑。
17
- */
18
- export declare const FLOOR_MAP_OVERVIEW_TAB_ID = "__pisell_floor_map_overview__";
19
- /**
20
- * 全览视图:每个画布区块上方预留的标题带高度(像素)。
21
- * 装箱时计入画布有效高度,保证画布之间的 gap 能容纳外置标题条。
22
- */
23
- export declare const FLOOR_MAP_OVERVIEW_TITLE_BAND_HEIGHT = 36;
24
- /** 全览视图:画布区块之间的最小间距(像素,含标题带外的净距) */
25
- export declare const FLOOR_MAP_OVERVIEW_AREA_GAP = 40;
26
- /**
27
- * 编辑态侧栏调色板:每个分类直接展示的图元数量上限。
28
- * 超出时显示「查看全部」,在弹窗内选择数量并批量落点(所有分类通用)。
29
- */
30
- export declare const FLOOR_MAP_TOOLBAR_PALETTE_SIDEBAR_LIMIT = 5;
31
- /**
32
- * 右下 ViewControls Dock 底部留白(px):`bottom: 14` + chrome `56` + 与面板间距 `8`。
33
- * 编辑/连线属性面板滚动区 `padding-bottom` 引用同名 CSS 变量。
34
- */
35
- export declare const FLOOR_MAP_VIEWPORT_DOCK_BOTTOM_CLEARANCE = 78;
@@ -1,25 +0,0 @@
1
- /**
2
- * 平面图视口缓存:localStorage 读写、锁定态;供 useFloorMapTransformMetrics 使用。
3
- */
4
- /** 平面图包围盒单侧默认外扩(像素);过大会导致首屏大量空白 */
5
- export declare const DEFAULT_BOUNDING_PADDING = 56;
6
- /** 视口内与首屏对齐时,图元束左上与容器边缘的留白 */
7
- export declare const VIEWPORT_TOP_LEFT_MARGIN = 16;
8
- /** 平面图视口(缩放 + 平移)持久化到 localStorage 的 key 前缀 */
9
- export declare const VIEWPORT_STORAGE_PREFIX = "pisell-floor-map-layout.viewport:";
10
- /** 视口锁定态持久化前缀(与视口位置分开存储) */
11
- export declare const VIEWPORT_LOCK_STORAGE_PREFIX = "pisell-floor-map-layout.viewport-lock:";
12
- /** 视口持久化写入节流(避免拖动 / 缩放过程中高频写 localStorage) */
13
- export declare const VIEWPORT_PERSIST_DEBOUNCE_MS = 300;
14
- /** 判定当前 transform 是否处于「适配视口」结果时的容差 */
15
- export declare const FIT_BOUNDS_MATCH_POS_EPSILON = 0.5;
16
- export declare const FIT_BOUNDS_MATCH_SCALE_EPSILON = 0.005;
17
- export interface ViewportSnapshot {
18
- x: number;
19
- y: number;
20
- scale: number;
21
- }
22
- export declare function readPersistedViewport(key: string): ViewportSnapshot | null;
23
- export declare function writePersistedViewport(key: string, snapshot: ViewportSnapshot): void;
24
- export declare function readPersistedViewportLock(key: string): boolean;
25
- export declare function writePersistedViewportLock(key: string, locked: boolean): void;
@@ -1,18 +0,0 @@
1
- export interface DraftHistoryCommitOptions {
2
- /** 同一 groupId 在合并窗口内连续提交将合并为一条历史 */
3
- groupId?: string;
4
- /** 合并窗口(毫秒),默认 600 */
5
- mergeWindowMs?: number;
6
- }
7
- export interface DraftHistory<T> {
8
- present: T | null;
9
- /** 写入并入栈(按 group/time 自动合并) */
10
- commit: (next: T | null | ((prev: T | null) => T | null), options?: DraftHistoryCommitOptions) => void;
11
- /** 重置(不入栈),清空历史;用于上游 props 同步 */
12
- replace: (next: T | null) => void;
13
- undo: () => void;
14
- redo: () => void;
15
- canUndo: boolean;
16
- canRedo: boolean;
17
- }
18
- export declare function useDraftConfigHistory<T>(): DraftHistory<T>;