@pisell/materials 6.11.34 → 6.11.36

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 (474) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +3 -1
  8. package/build/lowcode/render/default/view.js +17 -17
  9. package/build/lowcode/view.css +3 -1
  10. package/build/lowcode/view.js +17 -17
  11. package/es/components/Pagination/index.d.ts +1 -0
  12. package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -0
  13. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -0
  14. package/es/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +1 -0
  15. package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
  16. package/es/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +1 -0
  17. package/es/components/PisellCards/components/TabCard/TabCard.d.ts +1 -0
  18. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +1 -0
  19. package/es/components/PisellCards/index.d.ts +1 -0
  20. package/es/components/PisellFields/index.d.ts +1 -0
  21. package/es/components/PisellLayouts/index.d.ts +1 -0
  22. package/es/components/PisellMetrics/index.d.ts +1 -0
  23. package/es/components/appVersionControl/index.d.ts +1 -0
  24. package/es/components/auto-complete-number/index.d.ts +1 -0
  25. package/es/components/badge/index.d.ts +1 -0
  26. package/es/components/batch-editor/fields/index.d.ts +1 -0
  27. package/es/components/batch-editor/index.d.ts +1 -0
  28. package/es/components/calendar/index.d.ts +1 -0
  29. package/es/components/cardPro/index.d.ts +1 -0
  30. package/es/components/checkbox/index.d.ts +1 -0
  31. package/es/components/classicLayout/index.d.ts +1 -0
  32. package/es/components/colorPicker/index.d.ts +1 -0
  33. package/es/components/config-provider/index.d.ts +1 -0
  34. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  35. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  36. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  37. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  38. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  39. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  40. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  41. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  42. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  43. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  44. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  45. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  46. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  47. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  48. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  49. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  50. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  51. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  52. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  53. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -0
  54. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  55. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
  56. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  57. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  58. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +1 -0
  59. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  60. package/es/components/dataSourceComponents/fields/index.d.ts +1 -0
  61. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  62. package/es/components/date-picker/index.d.ts +1 -0
  63. package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  64. package/es/components/drag-sort-tree/index.d.ts +1 -0
  65. package/es/components/dropdown/index.d.ts +1 -0
  66. package/es/components/filter/components/items/index.d.ts +1 -0
  67. package/es/components/filter/components/items/text/Editor/index.d.ts +1 -0
  68. package/es/components/filter/components/items/text/Preview/index.d.ts +1 -0
  69. package/es/components/filter/components/items/text/index.d.ts +1 -0
  70. package/es/components/filter/index.d.ts +1 -0
  71. package/es/components/list/index.d.ts +1 -0
  72. package/es/components/lowCodePage/index.d.ts +1 -0
  73. package/es/components/page/index.d.ts +1 -0
  74. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  75. package/es/components/pisellAdjustPrice/index.d.ts +1 -0
  76. package/es/components/pisellCard/index.d.ts +1 -0
  77. package/es/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +1 -0
  78. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
  79. package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  80. package/es/components/pisellDatePicker/index.d.ts +1 -0
  81. package/es/components/pisellFilter/index.d.ts +1 -0
  82. package/es/components/pisellGridPro/GridView/index.d.ts +1 -0
  83. package/es/components/pisellGridPro/components/DataCard/index.d.ts +1 -0
  84. package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  85. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
  86. package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
  87. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  88. package/es/components/pisellInput/index.d.ts +1 -0
  89. package/es/components/pisellLoading/index.d.ts +1 -0
  90. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  91. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  92. package/es/components/pisellModal/components/index.d.ts +1 -0
  93. package/es/components/pisellRecordBoard/index.d.ts +2 -1
  94. package/es/components/pisellRecordBoard/index.js +1 -0
  95. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +1 -0
  96. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +455 -35
  97. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +52 -0
  98. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +525 -0
  99. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +37 -0
  100. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +5 -0
  101. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +57 -41
  102. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +25 -2
  103. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +88 -3
  104. package/es/components/pisellRecordBoard/types.d.ts +34 -1
  105. package/es/components/pisellRecordBoard/types.js +126 -1
  106. package/es/components/pisellSort/index.d.ts +1 -0
  107. package/es/components/pisellTooltip/index.d.ts +1 -0
  108. package/es/components/pisellUpload/index.d.ts +1 -0
  109. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
  110. package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +1 -0
  111. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
  112. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
  113. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +1 -0
  114. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
  115. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  116. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
  117. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  118. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
  119. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
  120. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
  121. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  122. package/es/components/productCard/cartSkuCard/index.d.ts +1 -0
  123. package/es/components/productCard/components/Action/index.d.ts +1 -0
  124. package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
  125. package/es/components/productCard/components/Divider/index.d.ts +1 -0
  126. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  127. package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  128. package/es/components/productCard/components/Header/index.d.ts +1 -0
  129. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  130. package/es/components/productCard/components/Note/index.d.ts +1 -0
  131. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  132. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  133. package/es/components/productCard/components/Packages/index.d.ts +1 -0
  134. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  135. package/es/components/productCard/components/Sales/index.d.ts +1 -0
  136. package/es/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  137. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  138. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
  139. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  140. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  141. package/es/components/productCard/components/Time/index.d.ts +1 -0
  142. package/es/components/qrcode/index.d.ts +1 -0
  143. package/es/components/radio/index.d.ts +1 -0
  144. package/es/components/segmented/index.d.ts +1 -0
  145. package/es/components/select-time/RightPanel/index.d.ts +1 -0
  146. package/es/components/select-time/index.d.ts +1 -0
  147. package/es/components/skeleton/index.d.ts +1 -0
  148. package/es/components/slider/index.d.ts +1 -0
  149. package/es/components/sort/components/InlineMenu/index.d.ts +1 -0
  150. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  151. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  152. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  153. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  154. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  155. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  156. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  157. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  158. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  159. package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  160. package/es/components/table/Actions/index.d.ts +1 -0
  161. package/es/components/table/BasicTable/index.d.ts +1 -0
  162. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  163. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  164. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  165. package/es/components/table/Summary/index.d.ts +1 -0
  166. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  167. package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
  168. package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
  169. package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  170. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  171. package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
  172. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  173. package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  174. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  175. package/es/components/table/Table/fields/index.d.ts +1 -0
  176. package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
  177. package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
  178. package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  179. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  180. package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
  181. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  182. package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  183. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  184. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  185. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  186. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  187. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  188. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  189. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  190. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  191. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  192. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  193. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  194. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  195. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  196. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  197. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  198. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  199. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  200. package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
  201. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  202. package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  203. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  204. package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
  205. package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
  206. package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  207. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  208. package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
  209. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  210. package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  211. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  212. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  213. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  214. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  215. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  216. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  217. package/es/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  218. package/es/components/table/TableFilter/SortIcon.d.ts +1 -0
  219. package/es/components/table/View/index.d.ts +1 -0
  220. package/es/components/time-picker/index.d.ts +1 -0
  221. package/es/components/upload/index.d.ts +1 -0
  222. package/es/components/versionSelect/index.d.ts +1 -0
  223. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
  224. package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
  225. package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
  226. package/es/components/walletCard/Guest/index.d.ts +1 -0
  227. package/es/components/walletCard/Guide/index.d.ts +1 -0
  228. package/es/index.d.ts +4 -1
  229. package/es/index.js +2 -0
  230. package/es/locales/en-US.d.ts +83 -0
  231. package/es/locales/en-US.js +84 -0
  232. package/es/locales/ja.d.ts +83 -0
  233. package/es/locales/ja.js +83 -0
  234. package/es/locales/pt.d.ts +83 -0
  235. package/es/locales/pt.js +83 -0
  236. package/es/locales/zh-CN.d.ts +83 -0
  237. package/es/locales/zh-CN.js +84 -0
  238. package/es/locales/zh-TW.d.ts +83 -0
  239. package/es/locales/zh-TW.js +84 -0
  240. package/es/pisell-materials.tw.css +3 -1
  241. package/es/tailwind-input.css +3 -1
  242. package/lib/components/Pagination/index.d.ts +1 -0
  243. package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -0
  244. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -0
  245. package/lib/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +1 -0
  246. package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
  247. package/lib/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +1 -0
  248. package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +1 -0
  249. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +1 -0
  250. package/lib/components/PisellCards/index.d.ts +1 -0
  251. package/lib/components/PisellFields/index.d.ts +1 -0
  252. package/lib/components/PisellLayouts/index.d.ts +1 -0
  253. package/lib/components/PisellMetrics/index.d.ts +1 -0
  254. package/lib/components/appVersionControl/index.d.ts +1 -0
  255. package/lib/components/auto-complete-number/index.d.ts +1 -0
  256. package/lib/components/badge/index.d.ts +1 -0
  257. package/lib/components/batch-editor/fields/index.d.ts +1 -0
  258. package/lib/components/batch-editor/index.d.ts +1 -0
  259. package/lib/components/calendar/index.d.ts +1 -0
  260. package/lib/components/cardPro/index.d.ts +1 -0
  261. package/lib/components/checkbox/index.d.ts +1 -0
  262. package/lib/components/classicLayout/index.d.ts +1 -0
  263. package/lib/components/colorPicker/index.d.ts +1 -0
  264. package/lib/components/config-provider/index.d.ts +1 -0
  265. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  266. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  267. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  268. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  269. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  270. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  271. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  272. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  273. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  274. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  275. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  276. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  277. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  278. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  279. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  280. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  281. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  282. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  283. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  284. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -0
  285. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  286. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
  287. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  288. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  289. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +1 -0
  290. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  291. package/lib/components/dataSourceComponents/fields/index.d.ts +1 -0
  292. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  293. package/lib/components/date-picker/index.d.ts +1 -0
  294. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  295. package/lib/components/drag-sort-tree/index.d.ts +1 -0
  296. package/lib/components/dropdown/index.d.ts +1 -0
  297. package/lib/components/filter/components/items/index.d.ts +1 -0
  298. package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -0
  299. package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -0
  300. package/lib/components/filter/components/items/text/index.d.ts +1 -0
  301. package/lib/components/filter/index.d.ts +1 -0
  302. package/lib/components/list/index.d.ts +1 -0
  303. package/lib/components/lowCodePage/index.d.ts +1 -0
  304. package/lib/components/page/index.d.ts +1 -0
  305. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  306. package/lib/components/pisellAdjustPrice/index.d.ts +1 -0
  307. package/lib/components/pisellCard/index.d.ts +1 -0
  308. package/lib/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +1 -0
  309. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
  310. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  311. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  312. package/lib/components/pisellFilter/index.d.ts +1 -0
  313. package/lib/components/pisellGridPro/GridView/index.d.ts +1 -0
  314. package/lib/components/pisellGridPro/components/DataCard/index.d.ts +1 -0
  315. package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  316. package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
  317. package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
  318. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  319. package/lib/components/pisellInput/index.d.ts +1 -0
  320. package/lib/components/pisellLoading/index.d.ts +1 -0
  321. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  322. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  323. package/lib/components/pisellModal/components/index.d.ts +1 -0
  324. package/lib/components/pisellRecordBoard/index.d.ts +2 -1
  325. package/lib/components/pisellRecordBoard/index.js +3 -0
  326. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +1 -0
  327. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +461 -29
  328. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +52 -0
  329. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +493 -0
  330. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +37 -0
  331. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +5 -0
  332. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +60 -39
  333. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +25 -2
  334. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +66 -5
  335. package/lib/components/pisellRecordBoard/types.d.ts +34 -1
  336. package/lib/components/pisellRecordBoard/types.js +19 -0
  337. package/lib/components/pisellSort/index.d.ts +1 -0
  338. package/lib/components/pisellTooltip/index.d.ts +1 -0
  339. package/lib/components/pisellUpload/index.d.ts +1 -0
  340. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
  341. package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +1 -0
  342. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
  343. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
  344. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +1 -0
  345. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
  346. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  347. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
  348. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  349. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
  350. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
  351. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
  352. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  353. package/lib/components/productCard/cartSkuCard/index.d.ts +1 -0
  354. package/lib/components/productCard/components/Action/index.d.ts +1 -0
  355. package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
  356. package/lib/components/productCard/components/Divider/index.d.ts +1 -0
  357. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  358. package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  359. package/lib/components/productCard/components/Header/index.d.ts +1 -0
  360. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  361. package/lib/components/productCard/components/Note/index.d.ts +1 -0
  362. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  363. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  364. package/lib/components/productCard/components/Packages/index.d.ts +1 -0
  365. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  366. package/lib/components/productCard/components/Sales/index.d.ts +1 -0
  367. package/lib/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  368. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  369. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
  370. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  371. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  372. package/lib/components/productCard/components/Time/index.d.ts +1 -0
  373. package/lib/components/qrcode/index.d.ts +1 -0
  374. package/lib/components/radio/index.d.ts +1 -0
  375. package/lib/components/segmented/index.d.ts +1 -0
  376. package/lib/components/select-time/RightPanel/index.d.ts +1 -0
  377. package/lib/components/select-time/index.d.ts +1 -0
  378. package/lib/components/skeleton/index.d.ts +1 -0
  379. package/lib/components/slider/index.d.ts +1 -0
  380. package/lib/components/sort/components/InlineMenu/index.d.ts +1 -0
  381. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  382. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  383. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  384. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  385. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  386. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  387. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  388. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  389. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  390. package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  391. package/lib/components/table/Actions/index.d.ts +1 -0
  392. package/lib/components/table/BasicTable/index.d.ts +1 -0
  393. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  394. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  395. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  396. package/lib/components/table/Summary/index.d.ts +1 -0
  397. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  398. package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
  399. package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
  400. package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  401. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  402. package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
  403. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  404. package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  405. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  406. package/lib/components/table/Table/fields/index.d.ts +1 -0
  407. package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
  408. package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
  409. package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  410. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  411. package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
  412. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  413. package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  414. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  415. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  416. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  417. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  418. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  419. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  420. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  421. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  422. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  423. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  424. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  425. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  426. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  427. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  428. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  429. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  430. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  431. package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
  432. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  433. package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  434. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  435. package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
  436. package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
  437. package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  438. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  439. package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
  440. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  441. package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  442. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  443. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  444. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  445. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  446. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  447. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  448. package/lib/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  449. package/lib/components/table/TableFilter/SortIcon.d.ts +1 -0
  450. package/lib/components/table/View/index.d.ts +1 -0
  451. package/lib/components/time-picker/index.d.ts +1 -0
  452. package/lib/components/upload/index.d.ts +1 -0
  453. package/lib/components/versionSelect/index.d.ts +1 -0
  454. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
  455. package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
  456. package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
  457. package/lib/components/walletCard/Guest/index.d.ts +1 -0
  458. package/lib/components/walletCard/Guide/index.d.ts +1 -0
  459. package/lib/index.d.ts +4 -1
  460. package/lib/index.js +8 -0
  461. package/lib/locales/en-US.d.ts +83 -0
  462. package/lib/locales/en-US.js +84 -0
  463. package/lib/locales/ja.d.ts +83 -0
  464. package/lib/locales/ja.js +83 -0
  465. package/lib/locales/pt.d.ts +83 -0
  466. package/lib/locales/pt.js +83 -0
  467. package/lib/locales/zh-CN.d.ts +83 -0
  468. package/lib/locales/zh-CN.js +84 -0
  469. package/lib/locales/zh-TW.d.ts +83 -0
  470. package/lib/locales/zh-TW.js +84 -0
  471. package/lib/pisell-materials.tw.css +3 -1
  472. package/lib/tailwind-input.css +3 -1
  473. package/lowcode/pisell-record-board-calendar-view/meta.ts +81 -1
  474. package/package.json +3 -3
@@ -11,8 +11,9 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
11
11
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import React, { useEffect, useRef, useState } from 'react';
14
+ import { getText } from "../../../../locales";
14
15
  import { NoteTicker } from "./NoteTicker";
15
- import { VENUE_WALL_STATUS_COLOR_MAP, alphaColor, clamp, deriveVenueWallStatus, formatVenueWallCountdown } from "./venueWallUtils";
16
+ import { getVenueWallStatusToneMap, alphaColor, clamp, deriveVenueWallStatus, formatVenueWallCountdown } from "./venueWallUtils";
16
17
 
17
18
  /** 资源墙卡内共用的墙钟 tick(每卡一条 interval,避免多字段各挂一条) */
18
19
  function useVenueWallClockNow() {
@@ -85,7 +86,7 @@ var DEFAULT_AVAILABLE = '#10b981';
85
86
  * 单块场地大屏卡(由 test.tsx CardItem 迁移,样式为内联 + 少量类名,不依赖 Tailwind)。
86
87
  */
87
88
  export var VenueWallCard = function VenueWallCard(_ref) {
88
- var _VENUE_WALL_STATUS_CO, _card$currentTime, _card$currentBooking, _card$nextList, _card$nextList$length, _card$nextList2, _nextItem$booking;
89
+ var _toneMap$statusKey, _card$currentTime, _card$currentBooking, _card$nextList, _card$nextList$length, _card$nextList2, _nextItem$booking;
89
90
  var card = _ref.card,
90
91
  _ref$boardingSoonBefo = _ref.boardingSoonBeforeMin,
91
92
  boardingSoonBeforeMin = _ref$boardingSoonBefo === void 0 ? 10 : _ref$boardingSoonBefo,
@@ -94,7 +95,14 @@ export var VenueWallCard = function VenueWallCard(_ref) {
94
95
  _ref$availableCardCol = _ref.availableCardColor,
95
96
  availableCardColor = _ref$availableCardCol === void 0 ? DEFAULT_AVAILABLE : _ref$availableCardCol,
96
97
  _ref$heroMaxWidthRati = _ref.heroMaxWidthRatio,
97
- heroMaxWidthRatio = _ref$heroMaxWidthRati === void 0 ? 0.6 : _ref$heroMaxWidthRati;
98
+ heroMaxWidthRatio = _ref$heroMaxWidthRati === void 0 ? 0.6 : _ref$heroMaxWidthRati,
99
+ statusToneMapProp = _ref.statusToneMap,
100
+ _ref$appearance = _ref.appearance,
101
+ appearance = _ref$appearance === void 0 ? 'light' : _ref$appearance;
102
+ var toneMap = statusToneMapProp !== null && statusToneMapProp !== void 0 ? statusToneMapProp : getVenueWallStatusToneMap();
103
+ var isDark = appearance === 'dark';
104
+ var idleMain = isDark ? '#e2e8f0' : '#0f172a';
105
+ var idleSub = isDark ? '#94a3b8' : '#94a3b8';
98
106
  var cardRef = useRef(null);
99
107
  var _useState7 = useState({
100
108
  width: 420,
@@ -127,16 +135,16 @@ export var VenueWallCard = function VenueWallCard(_ref) {
127
135
  var statusKey = deriveVenueWallStatus(_objectSpread(_objectSpread({}, card), {}, {
128
136
  remainingMin: liveRemainingMin
129
137
  }));
130
- var tone = (_VENUE_WALL_STATUS_CO = VENUE_WALL_STATUS_COLOR_MAP[statusKey]) !== null && _VENUE_WALL_STATUS_CO !== void 0 ? _VENUE_WALL_STATUS_CO : VENUE_WALL_STATUS_COLOR_MAP.inUse;
138
+ var tone = (_toneMap$statusKey = toneMap[statusKey]) !== null && _toneMap$statusKey !== void 0 ? _toneMap$statusKey : toneMap.inUse;
131
139
  var isOccupied = ['inUse', 'endingSoon', 'expired'].includes(statusKey);
132
- var heroText = isOccupied ? formatVenueWallCountdown(liveRemainingMin) : 'Available';
133
- var heroColor = isOccupied ? statusKey === 'inUse' ? '#ffffff' : tone.color : VENUE_WALL_STATUS_COLOR_MAP.available.color;
134
- var noteText = isOccupied ? tone.note : VENUE_WALL_STATUS_COLOR_MAP.available.note;
135
- var noteTextColor = isOccupied ? '#ffffff' : '#0f172a';
140
+ var heroText = isOccupied ? formatVenueWallCountdown(liveRemainingMin) : getText('pisell-resource-wall-card-hero-available');
141
+ var heroColor = isOccupied ? statusKey === 'inUse' ? '#ffffff' : tone.color : toneMap.available.color;
142
+ var noteText = isOccupied ? tone.note : toneMap.available.note;
143
+ var noteTextColor = isOccupied ? '#ffffff' : idleMain;
136
144
  var noteBg = isOccupied ? tone.noteBg : alphaColor(availableCardColor, 0.2);
137
- var subColor = isOccupied ? 'rgba(255,255,255,0.80)' : '#94a3b8';
138
- var mainColor = isOccupied ? '#ffffff' : '#0f172a';
139
- var currentLabel = 'Current';
145
+ var subColor = isOccupied ? 'rgba(255,255,255,0.80)' : idleSub;
146
+ var mainColor = isOccupied ? '#ffffff' : idleMain;
147
+ var currentLabel = getText('pisell-resource-wall-card-label-current');
140
148
  var currentTime = (_card$currentTime = card.currentTime) !== null && _card$currentTime !== void 0 ? _card$currentTime : '';
141
149
  var currentName = isOccupied ? (_card$currentBooking = card.currentBooking) !== null && _card$currentBooking !== void 0 ? _card$currentBooking : '' : '';
142
150
  var currentNameColor = mainColor;
@@ -151,40 +159,40 @@ export var VenueWallCard = function VenueWallCard(_ref) {
151
159
  var nextCountLabel = nextItem ? "1/".concat((_card$nextList$length = (_card$nextList2 = card.nextList) === null || _card$nextList2 === void 0 ? void 0 : _card$nextList2.length) !== null && _card$nextList$length !== void 0 ? _card$nextList$length : 0) : '';
152
160
  if (statusKey === 'boardingSoon') {
153
161
  var _card$currentBooking2;
154
- heroText = "Starts in ".concat(liveStartsInMin, "m");
155
- heroColor = VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.color;
156
- noteText = VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.note;
157
- noteTextColor = VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.color;
158
- noteBg = alphaColor(VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.color, 0.18);
159
- currentLabel = 'Next';
162
+ heroText = getText('pisell-resource-wall-card-starts-in').replace('{n}', String(liveStartsInMin));
163
+ heroColor = toneMap.boardingSoon.color;
164
+ noteText = toneMap.boardingSoon.note;
165
+ noteTextColor = toneMap.boardingSoon.color;
166
+ noteBg = alphaColor(toneMap.boardingSoon.color, 0.18);
167
+ currentLabel = getText('pisell-resource-wall-card-label-next');
160
168
  currentName = (_card$currentBooking2 = card.currentBooking) !== null && _card$currentBooking2 !== void 0 ? _card$currentBooking2 : '';
161
- currentNameColor = VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.color;
162
- nextNameColor = VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.color;
169
+ currentNameColor = toneMap.boardingSoon.color;
170
+ nextNameColor = toneMap.boardingSoon.color;
163
171
  progress = clamp((boardingSoonBeforeMin - liveStartsInMin) / boardingSoonBeforeMin * 100, 0, 100);
164
- progressColor = VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.color;
165
- rightTag = VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.label;
166
- rightTagColor = VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.color;
167
- rightTagBg = alphaColor(VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.color, 0.12);
168
- rightTagBorder = alphaColor(VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.color, 0.35);
172
+ progressColor = toneMap.boardingSoon.color;
173
+ rightTag = toneMap.boardingSoon.label;
174
+ rightTagColor = toneMap.boardingSoon.color;
175
+ rightTagBg = alphaColor(toneMap.boardingSoon.color, 0.12);
176
+ rightTagBorder = alphaColor(toneMap.boardingSoon.color, 0.35);
169
177
  }
170
178
  if (statusKey === 'late') {
171
179
  var _card$currentBooking3;
172
- heroText = "Late +".concat(liveLateMin, "m");
180
+ heroText = getText('pisell-resource-wall-card-late').replace('{n}', String(liveLateMin));
173
181
  /** 仅主文案用红色;其余视觉与 Available 对齐 */
174
182
  heroColor = 'rgb(239, 68, 68)';
175
- noteText = VENUE_WALL_STATUS_COLOR_MAP.late.note;
176
- noteTextColor = VENUE_WALL_STATUS_COLOR_MAP.available.color;
177
- noteBg = VENUE_WALL_STATUS_COLOR_MAP.available.noteBg;
178
- currentLabel = 'Next';
183
+ noteText = toneMap.late.note;
184
+ noteTextColor = toneMap.available.color;
185
+ noteBg = toneMap.available.noteBg;
186
+ currentLabel = getText('pisell-resource-wall-card-label-next');
179
187
  currentName = (_card$currentBooking3 = card.currentBooking) !== null && _card$currentBooking3 !== void 0 ? _card$currentBooking3 : '';
180
- currentNameColor = VENUE_WALL_STATUS_COLOR_MAP.available.color;
181
- nextNameColor = VENUE_WALL_STATUS_COLOR_MAP.available.color;
188
+ currentNameColor = toneMap.available.color;
189
+ nextNameColor = toneMap.available.color;
182
190
  progress = 100;
183
- progressColor = VENUE_WALL_STATUS_COLOR_MAP.available.color;
184
- rightTag = VENUE_WALL_STATUS_COLOR_MAP.late.label;
185
- rightTagColor = VENUE_WALL_STATUS_COLOR_MAP.available.color;
186
- rightTagBg = alphaColor(VENUE_WALL_STATUS_COLOR_MAP.available.color, 0.12);
187
- rightTagBorder = alphaColor(VENUE_WALL_STATUS_COLOR_MAP.available.color, 0.35);
191
+ progressColor = toneMap.available.color;
192
+ rightTag = toneMap.late.label;
193
+ rightTagColor = toneMap.available.color;
194
+ rightTagBg = alphaColor(toneMap.available.color, 0.12);
195
+ rightTagBorder = alphaColor(toneMap.available.color, 0.35);
188
196
  }
189
197
 
190
198
  /**
@@ -192,9 +200,9 @@ export var VenueWallCard = function VenueWallCard(_ref) {
192
200
  * drift 允许 remaining 为负后,仅「整分刚好为 0」时仍走 countdown(0) 的「Ending now」,改为「0m overtime」与产品预期一致。
193
201
  */
194
202
  if (statusKey === 'expired') {
195
- heroText = liveRemainingMin < 0 ? formatVenueWallCountdown(liveRemainingMin) : liveRemainingMin === 0 ? '0m overtime' : formatVenueWallCountdown(liveRemainingMin);
203
+ heroText = liveRemainingMin < 0 ? formatVenueWallCountdown(liveRemainingMin) : liveRemainingMin === 0 ? getText('pisell-resource-wall-countdown-zero-overtime') : formatVenueWallCountdown(liveRemainingMin);
196
204
  }
197
- var surfaceAccentColor = statusKey === 'late' ? availableCardColor : statusKey === 'boardingSoon' ? VENUE_WALL_STATUS_COLOR_MAP.boardingSoon.color : availableCardColor;
205
+ var surfaceAccentColor = statusKey === 'late' ? availableCardColor : statusKey === 'boardingSoon' ? toneMap.boardingSoon.color : availableCardColor;
198
206
  var cardBg = isOccupied ? "linear-gradient(180deg, ".concat(alphaColor(occupiedCardColor, 0.96), " 0%, ").concat(alphaColor(occupiedCardColor, 0.88), " 100%)") : alphaColor(surfaceAccentColor, statusKey === 'boardingSoon' || statusKey === 'late' ? 0.06 : 0.03);
199
207
  var cardBorder = isOccupied ? alphaColor(occupiedCardColor, 0.5) : alphaColor(surfaceAccentColor, 0.18);
200
208
  var moduleBorder = isOccupied ? 'rgba(255,255,255,0.10)' : alphaColor(surfaceAccentColor, 0.2);
@@ -231,6 +239,13 @@ export var VenueWallCard = function VenueWallCard(_ref) {
231
239
  var nextBlockPad = Math.max(unit * 0.16, Math.min(unit * 0.24, 16));
232
240
  var noteSize = clamp(noteHeight * 0.28 * fitScale, 10, 18);
233
241
  var tagFont = Math.max(8, tagSize * 0.68);
242
+
243
+ /**
244
+ * 外层卡片高度会被父级网格 `1fr` 行拉伸;若内层 grid 仍用固定 `px` 行高,
245
+ * 则“卡片容器变高但内容区不跟着长高”,表现为底部空白。
246
+ * 这里用 `minmax(基准px, nfr)` 把增量高度主要分配给 CURRENT / NEXT 两个主模块。
247
+ */
248
+ var gridTemplateRows = "".concat(headerHeight, "px minmax(").concat(Math.max(120, currentHeight), "px, 4fr) minmax(").concat(Math.max(72, nextHeight), "px, 2fr) ").concat(noteHeight, "px");
234
249
  return /*#__PURE__*/React.createElement("div", {
235
250
  ref: cardRef,
236
251
  className: "pisell-resource-wall-card",
@@ -245,16 +260,17 @@ export var VenueWallCard = function VenueWallCard(_ref) {
245
260
  borderWidth: 1,
246
261
  borderStyle: 'solid',
247
262
  borderColor: cardBorder,
248
- boxShadow: '0 18px 48px rgba(15,23,42,0.06)'
263
+ boxShadow: isDark ? '0 18px 48px rgba(0,0,0,0.35)' : '0 18px 48px rgba(15,23,42,0.06)'
249
264
  }
250
265
  }, /*#__PURE__*/React.createElement("div", {
251
266
  style: {
252
267
  flex: 1,
253
268
  display: 'grid',
254
269
  minHeight: 0,
270
+ height: '100%',
255
271
  padding: shellPad,
256
272
  gap: sectionGap,
257
- gridTemplateRows: "".concat(headerHeight, "px ").concat(currentHeight, "px ").concat(nextHeight, "px ").concat(noteHeight, "px")
273
+ gridTemplateRows: gridTemplateRows
258
274
  }
259
275
  }, /*#__PURE__*/React.createElement("div", {
260
276
  style: {
@@ -449,7 +465,7 @@ export var VenueWallCard = function VenueWallCard(_ref) {
449
465
  fontSize: nextMetaSize,
450
466
  color: subColor
451
467
  }
452
- }, nextItem !== null && nextItem !== void 0 && nextItem.time ? "Next \xB7 ".concat(nextItem.time) : 'Next'), /*#__PURE__*/React.createElement("div", {
468
+ }, nextItem !== null && nextItem !== void 0 && nextItem.time ? getText('pisell-resource-wall-card-next-line').replace('{time}', nextItem.time) : getText('pisell-resource-wall-card-label-next')), /*#__PURE__*/React.createElement("div", {
453
469
  style: {
454
470
  fontWeight: 600,
455
471
  flexShrink: 0,
@@ -1,14 +1,37 @@
1
1
  import type { RecordBoardResourceWallCardModel } from '../../types';
2
2
  export declare type VenueWallStatusKey = 'inUse' | 'endingSoon' | 'expired' | 'available' | 'boardingSoon' | 'late';
3
- export declare const VENUE_WALL_STATUS_COLOR_MAP: Record<VenueWallStatusKey, {
3
+ /** 单态展示配置(与 {@link VENUE_WALL_STATUS_COLOR_MAP} 值同形) */
4
+ export declare type VenueWallStatusTone = {
4
5
  key: VenueWallStatusKey;
5
6
  label: string;
6
7
  note: string;
7
8
  color: string;
8
9
  noteBg: string;
9
- }>;
10
+ };
11
+ /** 仅覆盖部分字段;用于 Control Panel / localStorage */
12
+ export declare type VenueWallStatusToneOverrides = Partial<Record<VenueWallStatusKey, Partial<VenueWallStatusTone>>>;
13
+ /** 单外观(浅 / 深)下的占用/空闲色与六态覆盖;持久化时 light、dark 各存一份 */
14
+ export declare type VenueWallAppearanceSlot = {
15
+ occupiedCardColor?: string;
16
+ availableCardColor?: string;
17
+ statusToneOverrides?: VenueWallStatusToneOverrides;
18
+ };
19
+ export declare type VenueWallAppearanceTheme = {
20
+ light?: VenueWallAppearanceSlot;
21
+ dark?: VenueWallAppearanceSlot;
22
+ };
23
+ export declare const VENUE_WALL_STATUS_KEYS: VenueWallStatusKey[];
24
+ export declare const VENUE_WALL_STATUS_COLOR_MAP: Record<VenueWallStatusKey, VenueWallStatusTone>;
10
25
  export declare function alphaColor(hex: string, alpha: number): string;
11
26
  export declare const clamp: (value: number, min: number, max: number) => number;
12
27
  /** 由卡片字段推导状态键(与演示页 test.tsx 规则一致) */
13
28
  export declare function deriveVenueWallStatus(card: RecordBoardResourceWallCardModel): VenueWallStatusKey;
14
29
  export declare function formatVenueWallCountdown(min: number): string;
30
+ /**
31
+ * 合并默认六态配色与业务覆盖,供 {@link VenueWallCard} 与 Control Panel 表单初值共用。
32
+ */
33
+ export declare function getVenueWallStatusToneMap(overrides?: VenueWallStatusToneOverrides | null): Record<VenueWallStatusKey, VenueWallStatusTone>;
34
+ /**
35
+ * 将编辑后的完整六态表压成「相对默认」的 overrides,便于持久化与 props 传递。
36
+ */
37
+ export declare function diffVenueWallStatusToneOverrides(draft: Record<VenueWallStatusKey, VenueWallStatusTone>): VenueWallStatusToneOverrides;
@@ -1,3 +1,21 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ import { getText } from "../../../../locales";
11
+
12
+ /** 单态展示配置(与 {@link VENUE_WALL_STATUS_COLOR_MAP} 值同形) */
13
+
14
+ /** 仅覆盖部分字段;用于 Control Panel / localStorage */
15
+
16
+ /** 单外观(浅 / 深)下的占用/空闲色与六态覆盖;持久化时 light、dark 各存一份 */
17
+
18
+ export var VENUE_WALL_STATUS_KEYS = ['inUse', 'endingSoon', 'expired', 'available', 'boardingSoon', 'late'];
1
19
  export var VENUE_WALL_STATUS_COLOR_MAP = {
2
20
  inUse: {
3
21
  key: 'inUse',
@@ -75,8 +93,75 @@ export function deriveVenueWallStatus(card) {
75
93
  if (rm != null && rm <= 10) return 'endingSoon';
76
94
  return 'inUse';
77
95
  }
96
+ function formatDurationHM(minAbs) {
97
+ var safe = Number.isFinite(minAbs) ? Math.max(0, Math.floor(minAbs)) : 0;
98
+ if (safe < 60) return "".concat(safe, "m");
99
+ var h = Math.floor(safe / 60);
100
+ var m = safe % 60;
101
+ return "".concat(h, "h").concat(String(m).padStart(2, '0'), "m");
102
+ }
78
103
  export function formatVenueWallCountdown(min) {
79
- if (min < 0) return "".concat(Math.abs(min), "m overtime");
80
- if (min === 0) return 'Ending now';
81
- return "".concat(min, "m left");
104
+ if (min < 0) {
105
+ var n = formatDurationHM(Math.abs(min));
106
+ return getText('pisell-resource-wall-countdown-overtime').replace('{n}', n);
107
+ }
108
+ if (min === 0) return getText('pisell-resource-wall-countdown-ending-now');
109
+ return getText('pisell-resource-wall-countdown-left').replace('{n}', formatDurationHM(min));
110
+ }
111
+ function cloneTone(t) {
112
+ return _objectSpread({}, t);
113
+ }
114
+
115
+ /**
116
+ * 合并默认六态配色与业务覆盖,供 {@link VenueWallCard} 与 Control Panel 表单初值共用。
117
+ */
118
+ export function getVenueWallStatusToneMap(overrides) {
119
+ var out = {};
120
+ var _iterator = _createForOfIteratorHelper(VENUE_WALL_STATUS_KEYS),
121
+ _step;
122
+ try {
123
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
124
+ var key = _step.value;
125
+ var base = cloneTone(VENUE_WALL_STATUS_COLOR_MAP[key]);
126
+ base.label = getText("pisell-resource-wall-tone-".concat(key, "-label"));
127
+ base.note = getText("pisell-resource-wall-tone-".concat(key, "-note"));
128
+ var patch = overrides === null || overrides === void 0 ? void 0 : overrides[key];
129
+ out[key] = patch ? _objectSpread(_objectSpread(_objectSpread({}, base), patch), {}, {
130
+ key: key
131
+ }) : base;
132
+ }
133
+ } catch (err) {
134
+ _iterator.e(err);
135
+ } finally {
136
+ _iterator.f();
137
+ }
138
+ return out;
139
+ }
140
+
141
+ /**
142
+ * 将编辑后的完整六态表压成「相对默认」的 overrides,便于持久化与 props 传递。
143
+ */
144
+ export function diffVenueWallStatusToneOverrides(draft) {
145
+ var defaults = getVenueWallStatusToneMap();
146
+ var out = {};
147
+ var _iterator2 = _createForOfIteratorHelper(VENUE_WALL_STATUS_KEYS),
148
+ _step2;
149
+ try {
150
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
151
+ var k = _step2.value;
152
+ var d = draft[k];
153
+ var b = defaults[k];
154
+ var patch = {};
155
+ if (d.label !== b.label) patch.label = d.label;
156
+ if (d.note !== b.note) patch.note = d.note;
157
+ if (d.color !== b.color) patch.color = d.color;
158
+ if (d.noteBg !== b.noteBg) patch.noteBg = d.noteBg;
159
+ if (Object.keys(patch).length > 0) out[k] = patch;
160
+ }
161
+ } catch (err) {
162
+ _iterator2.e(err);
163
+ } finally {
164
+ _iterator2.f();
165
+ }
166
+ return out;
82
167
  }
@@ -3,6 +3,7 @@ import type { PisellFloorMapLayoutProps, PisellFloorMapLayoutRef, FloorMapDataSo
3
3
  import type { TableProps } from 'antd';
4
4
  import type { CalendarPersistContextValue } from './shellFrame/Calendar/calendarPersistGuard';
5
5
  import type { TimeRangeOption } from '../pisellTimeNavigator/types';
6
+ import type { VenueWallAppearanceTheme, VenueWallStatusToneOverrides } from './shellFrame/ResourceWall/venueWallUtils';
6
7
  /**
7
8
  * 布局类型:一种 layout 对应一种「视图的集合」
8
9
  * - grid: 搜索 + 表格 + 分页
@@ -337,9 +338,23 @@ export interface RecordBoardResourceWallCardModel {
337
338
  /** @deprecated */
338
339
  lightOffInMin?: number;
339
340
  }
341
+ /**
342
+ * 控制台「Resource & Layout」中与版式/轮播相关的可持久化字段(不含资源多选,其走 filter;不含配色,其走 appearanceTheme)。
343
+ */
344
+ export interface RecordBoardResourceWallLayoutPersist {
345
+ layoutKey: string;
346
+ customCols: number;
347
+ customRows: number;
348
+ pageDurationSec: number;
349
+ boardingSoonBeforeMin: number;
350
+ heroMaxWidthRatio: number;
351
+ }
352
+ /** {@link RecordBoardResourceWallLayoutPersist} 默认值,与 {@link PisellRecordBoardResourceWallView} 历史初始 state 一致 */
353
+ export declare const DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST: RecordBoardResourceWallLayoutPersist;
340
354
  /**
341
355
  * 大屏资源墙视图 props;与 Shell 内 `PisellRecordBoard.ResourceWall` 合并(子优先)。
342
- * 可见资源由 `searchParams.filter.values[filterFieldKey]`(默认 `resource_wall_resource_ids`)与 `cards` 交集过滤。
356
+ * 展示顺序由 `searchParams.filter.values[filterFieldKey]`(默认 `resource_wall_resource_ids`)非空 `string[]` 决定;
357
+ * **未写该键、值非数组、或 `[]`**:不展示卡片。每个 id 优先用 `cards` 中同 `resourceId` 的项,否则用占位卡(仅 id)。
343
358
  */
344
359
  export interface RecordBoardResourceWallProps {
345
360
  className?: string;
@@ -352,6 +367,24 @@ export interface RecordBoardResourceWallProps {
352
367
  * @default 'resource_wall_resource_ids'
353
368
  */
354
369
  filterFieldKey?: string;
370
+ /** 六态文案/配色覆盖(与默认 map 浅合并);通常由宿主从 localStorage 水合 */
371
+ statusToneOverrides?: VenueWallStatusToneOverrides;
372
+ /** 覆盖变更时回调,宿主可写入 localStorage */
373
+ onStatusToneOverridesChange?: (next: VenueWallStatusToneOverrides) => void;
374
+ /**
375
+ * 浅 / 深外观各自的卡面主色与六态覆盖;与 {@link onAppearanceThemeChange} 配合由宿主持久化。
376
+ * 未传入时由视图内部维护(刷新丢失)。
377
+ */
378
+ appearanceTheme?: VenueWallAppearanceTheme;
379
+ onAppearanceThemeChange?: (next: VenueWallAppearanceTheme) => void;
380
+ /** 当前大屏外观:浅色 / 深色;与 {@link onAppearanceModeChange} 一并由宿主导入 localStorage */
381
+ appearanceMode?: 'light' | 'dark';
382
+ onAppearanceModeChange?: (mode: 'light' | 'dark') => void;
383
+ /**
384
+ * 版式与轮播等;与 {@link onResourceWallLayoutChange} 由宿主导入 localStorage(预约页)。
385
+ */
386
+ resourceWallLayout?: Partial<RecordBoardResourceWallLayoutPersist>;
387
+ onResourceWallLayoutChange?: (next: RecordBoardResourceWallLayoutPersist) => void;
355
388
  }
356
389
  /**
357
390
  * RecordBoard 容器 Context 值
@@ -1 +1,126 @@
1
- export {};
1
+ /**
2
+ * 布局类型:一种 layout 对应一种「视图的集合」
3
+ * - grid: 搜索 + 表格 + 分页
4
+ * - card: 搜索 + 卡片列表 + 分页
5
+ * 后续可扩展 list、kanban 等
6
+ */
7
+
8
+ /**
9
+ * 列字段类型:对应 Pisell 表单组件,传入列 type 时用该组件自动渲染列(只读)与筛选项(编辑)
10
+ */
11
+
12
+ /** 无 type 时筛选项可传入自定义组件,需支持 value / onChange 以接入 Form */
13
+
14
+ /** 选项格式,用于 getOptions / options;color 用于只读态 Tag 展示 */
15
+
16
+ /** 同步或异步返回选项列表,singleSelect/multipleSelect 的 fieldProps.getOptions 或 filter.getOptions 使用 */
17
+
18
+ /** 列筛选配置:不传列 type 时使用。可配置 type + options/props,或传入 component(接收 value/onChange)。 */
19
+
20
+ /**
21
+ * RecordBoard 列类型扩展(与 antd Table Column 兼容,仅增加可选字段)。
22
+ *
23
+ * 有 type(如 singleLineText)时:
24
+ * - 表格:自动用对应 Pisell 组件只读渲染;传入 render 则优先使用(覆盖)。
25
+ * - 筛选:自动用对应组件编辑态;传入 filter(type 或 component)则优先使用(覆盖)。
26
+ * - 排序:自动从组件 SortOptions 派生;传入 sort 则优先使用(覆盖)。
27
+ *
28
+ * 无 type 时:
29
+ * - 表格:无 render 则纯文本;可自定义 render。
30
+ * - 筛选:需配置 filterable + filter(type 或 component,component 需 value/onChange)。
31
+ * - 排序:需配置 sortable + sort(type 或 getSortItems)。
32
+ */
33
+
34
+ /**
35
+ * 分页状态(与容器内部一致)
36
+ */
37
+
38
+ /**
39
+ * 列表请求结果(与 dataSource / useRequest 等对齐)
40
+ */
41
+
42
+ /** ShellFrame 内容区:表格、平面图、日历或大屏资源墙(与 GridLayout 同级切换) */
43
+
44
+ /** 日历 Y 轴资源行(与 BookingCalendarDemo 中 court 对齐) */
45
+
46
+ /**
47
+ * 日历格内预约条数据(与 BookingCalendarDemo 内部 booking 形状一致);
48
+ * `raw` 为宿主预约行时,业务层可用其打开详情弹窗。
49
+ */
50
+
51
+ /** 日视图时间轴上的一条预约 overlay(与 BookingCalendarDemo 内部结构对齐) */
52
+
53
+ /** 表头时间分组合并(声明式);与 {@link RecordBoardCalendarProps.renderTimelineHeader} 二选一优先用 render */
54
+
55
+ /** 自定义时间列表头时注入的上下文 */
56
+
57
+ /** 自定义左侧资源格 */
58
+
59
+ /** 自定义日视图中间预约条外层容器内层(定位仍由日历负责) */
60
+
61
+ /**
62
+ * 对接 `POST /shop/schedule/blocked-time` 的请求体(与后台字段一致)。
63
+ */
64
+
65
+ /** 日历视图槽位 props:由 Shell 合并根级与子槽后传入 PisellRecordBoardCalendarView */
66
+
67
+ /**
68
+ * 平面图槽位 props:与 PisellFloorMapLayout 对齐;items/renderItem 可省略(由 RecordBoard 默认 [] / () => null)。
69
+ */
70
+
71
+ /** 大屏资源墙单卡数据(与画布资源 id 对齐,见 {@link resourceId}) */
72
+
73
+ /**
74
+ * 控制台「Resource & Layout」中与版式/轮播相关的可持久化字段(不含资源多选,其走 filter;不含配色,其走 appearanceTheme)。
75
+ */
76
+
77
+ /** {@link RecordBoardResourceWallLayoutPersist} 默认值,与 {@link PisellRecordBoardResourceWallView} 历史初始 state 一致 */
78
+ export var DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST = {
79
+ layoutKey: '2x3',
80
+ customCols: 3,
81
+ customRows: 2,
82
+ pageDurationSec: 10,
83
+ boardingSoonBeforeMin: 10,
84
+ heroMaxWidthRatio: 0.6
85
+ };
86
+
87
+ /**
88
+ * 大屏资源墙视图 props;与 Shell 内 `PisellRecordBoard.ResourceWall` 合并(子优先)。
89
+ * 展示顺序由 `searchParams.filter.values[filterFieldKey]`(默认 `resource_wall_resource_ids`)非空 `string[]` 决定;
90
+ * **未写该键、值非数组、或 `[]`**:不展示卡片。每个 id 优先用 `cards` 中同 `resourceId` 的项,否则用占位卡(仅 id)。
91
+ */
92
+
93
+ /**
94
+ * RecordBoard 容器 Context 值
95
+ * 与具体 layout 类型无关,所有 layout 共用同一套数据与操作
96
+ */
97
+
98
+ /**
99
+ * 各 layout 下子组件的可选透传配置(类似 ChildComponentProps)
100
+ */
101
+ /**
102
+ * BatchActionBar 透传配置,与 PisellBatchActionBar 的 props 对齐。
103
+ * 具体类型见 PisellBatchActionBarProps,此处仅做透传用。
104
+ */
105
+
106
+ /** Filter 透传配置,与 PisellFilter 的 props 对齐 */
107
+
108
+ /**
109
+ * ToolBar 透传配置。
110
+ * - 继承 PisellToolBar 的 slots:topLeft、topRight、bottomLeft、bottomRight、tabs。
111
+ * - search:默认在工具栏内渲染 PisellFind;为对象时透传为 PisellFind 的 props;为 false 时不渲染搜索。
112
+ * - filter:默认在工具栏右侧渲染 PisellFilter;为对象时透传 PisellFilter props;为 false 时不渲染。筛选值绑定 searchParams.filter,变更触发 onSearch。
113
+ */
114
+
115
+ /** Search 透传配置,与 PisellFind 的 props 对齐 */
116
+
117
+ /**
118
+ * Grid 布局透传配置,对应 RecordBoardGridView 的 props(useRecordBoardContext('grid') 会将其合并到 context)。
119
+ * 基于 antd TableProps,省略由 context 注入或组件自管的项(dataSource、loading、pagination、columns、scroll、size、rowSelection)。
120
+ * 多选用 selectedKeys/selectedRows/onSelectionChange;其余 Table props(如 onRow、onHeaderRow、expandable、rowClassName、summary)透传。
121
+ */
122
+
123
+ /**
124
+ * RecordBoard 容器 Props。
125
+ * 仅打散传参:列表/分页/搜索/多选/列显隐、以及 grid/toolBar/search/paginationConfig/batchActionBar/cardList 独立传入。
126
+ */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellSortProps } from './type';
2
3
  declare const PisellSort: (props: PisellSortProps) => JSX.Element;
3
4
  export default PisellSort;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TooltipPropsWithTitle } from 'antd/es/tooltip';
2
3
  import { PisellContextType } from "../pisell-config-provider/context";
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { UploadProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface PisellUploadProps extends UploadProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IGiftProps } from './types';
2
3
  import './index.less';
3
4
  declare const Gift: (props: IGiftProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
3
4
  export default MultiDay;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Note: (props: any) => JSX.Element | null;
3
4
  export default Note;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface IPromotionProps {
2
3
  promotions: any[];
3
4
  onClick?: (item: any) => void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DiscountReason: (props: any) => JSX.Element;
2
3
  export default DiscountReason;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Holders: (props: any) => JSX.Element | null;
3
4
  export default Holders;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface IProps {
3
4
  isShowImage?: boolean;
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resources: (props: any) => JSX.Element | null;
3
4
  export default Resources;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface IProps {
3
4
  hideDivider?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface SpecsProps {
3
4
  /** 数据源 */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import 'dayjs/locale/zh-cn';
2
3
  import 'dayjs/locale/en';
3
4
  import 'dayjs/locale/zh-tw';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ProductCardTypes } from '../types';
3
4
  interface ISKUCardProps extends ProductCardTypes {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Action: ({ item, onAction }: any) => JSX.Element;
3
4
  export default Action;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Divider: ({ type }: any) => JSX.Element;
3
4
  export default Divider;