@pisell/materials 6.11.37 → 6.11.38

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 (512) 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 +1 -1
  8. package/build/lowcode/render/default/view.js +26 -56
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +26 -56
  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 +2 -1
  22. package/es/components/appVersionControl/index.d.ts +1 -0
  23. package/es/components/auto-complete-number/index.d.ts +1 -0
  24. package/es/components/badge/index.d.ts +1 -0
  25. package/es/components/batch-editor/fields/index.d.ts +1 -0
  26. package/es/components/batch-editor/index.d.ts +1 -0
  27. package/es/components/calendar/index.d.ts +1 -0
  28. package/es/components/cardPro/index.d.ts +1 -0
  29. package/es/components/checkbox/index.d.ts +1 -0
  30. package/es/components/classicLayout/index.d.ts +1 -0
  31. package/es/components/config-provider/index.d.ts +1 -0
  32. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  33. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  34. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  35. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  36. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  37. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
  38. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  39. package/es/components/dataSourceComponents/fields/index.d.ts +6 -6
  40. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  41. package/es/components/date-picker/index.d.ts +1 -0
  42. package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  43. package/es/components/drag-sort-tree/index.d.ts +1 -0
  44. package/es/components/dropdown/index.d.ts +1 -0
  45. package/es/components/filter/index.d.ts +1 -0
  46. package/es/components/list/index.d.ts +1 -0
  47. package/es/components/lowCodePage/index.d.ts +1 -0
  48. package/es/components/page/index.d.ts +1 -0
  49. package/es/components/pisellAdjustPrice/index.d.ts +1 -0
  50. package/es/components/pisellCard/index.d.ts +1 -0
  51. package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  52. package/es/components/pisellFilter/index.d.ts +1 -0
  53. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +2 -1
  54. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +47 -3
  55. package/es/components/pisellFloorMapLayout/types.d.ts +7 -7
  56. package/es/components/pisellFloorMapLayout/types.js +2 -2
  57. package/es/components/pisellGridPro/GridView/index.d.ts +1 -0
  58. package/es/components/pisellGridPro/components/DataCard/index.d.ts +1 -0
  59. package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  60. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
  61. package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
  62. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  63. package/es/components/pisellInput/index.d.ts +1 -0
  64. package/es/components/pisellLoading/index.d.ts +1 -0
  65. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  66. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  67. package/es/components/pisellModal/components/index.d.ts +1 -0
  68. package/es/components/pisellRecordBoard/index.d.ts +1 -1
  69. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
  70. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +1039 -0
  71. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +323 -0
  72. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +5 -1
  73. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js +10 -10
  74. package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +23 -0
  75. package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.js +287 -0
  76. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +4 -0
  77. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +28 -0
  78. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +1 -1
  79. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +36 -0
  80. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +38 -0
  81. package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +3 -0
  82. package/es/components/pisellRecordBoard/shellFrame/Calendar/index.js +3 -0
  83. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
  84. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.js +197 -0
  85. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +17 -0
  86. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.js +65 -0
  87. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +9 -0
  88. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.js +52 -0
  89. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
  90. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.js +58 -0
  91. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +232 -0
  92. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +735 -0
  93. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +13 -0
  94. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.js +37 -0
  95. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +56 -0
  96. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +682 -0
  97. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +18 -0
  98. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +155 -0
  99. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +27 -0
  100. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +259 -0
  101. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
  102. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.js +19 -0
  103. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +2 -1
  104. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.js +44 -14
  105. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +4 -2
  106. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +100 -112
  107. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +3 -3
  108. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +41 -234
  109. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
  110. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.js +143 -0
  111. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
  112. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +128 -0
  113. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +8 -0
  114. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +18 -0
  115. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.js +115 -0
  116. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +6 -4
  117. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +63 -120
  118. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +2 -0
  119. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.js +2 -0
  120. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +42 -0
  121. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +114 -0
  122. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +26 -0
  123. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +52 -0
  124. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +60 -11
  125. package/es/components/pisellRecordBoard/shellFrame/index.js +34 -7
  126. package/es/components/pisellRecordBoard/types.d.ts +95 -3
  127. package/es/components/pisellRecordBoard/types.js +16 -1
  128. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +34 -2
  129. package/es/components/pisellShellFrame/PisellShellFrame.less +5 -2
  130. package/es/components/pisellSort/index.d.ts +1 -0
  131. package/es/components/pisellTooltip/index.d.ts +1 -0
  132. package/es/components/pisellUpload/index.d.ts +1 -0
  133. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
  134. package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +1 -0
  135. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
  136. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
  137. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +1 -0
  138. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
  139. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  140. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
  141. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
  142. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
  143. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
  144. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  145. package/es/components/productCard/cartSkuCard/index.d.ts +1 -0
  146. package/es/components/productCard/components/Action/index.d.ts +1 -0
  147. package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
  148. package/es/components/productCard/components/Divider/index.d.ts +1 -0
  149. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  150. package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  151. package/es/components/productCard/components/Header/index.d.ts +1 -0
  152. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  153. package/es/components/productCard/components/Note/index.d.ts +1 -0
  154. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  155. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  156. package/es/components/productCard/components/Packages/index.d.ts +1 -0
  157. package/es/components/productCard/components/Sales/index.d.ts +1 -0
  158. package/es/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  159. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  160. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
  161. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  162. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  163. package/es/components/productCard/components/Time/index.d.ts +1 -0
  164. package/es/components/qrcode/index.d.ts +1 -0
  165. package/es/components/radio/index.d.ts +1 -0
  166. package/es/components/segmented/index.d.ts +1 -0
  167. package/es/components/select-time/RightPanel/index.d.ts +1 -0
  168. package/es/components/select-time/index.d.ts +1 -0
  169. package/es/components/skeleton/index.d.ts +1 -0
  170. package/es/components/slider/index.d.ts +1 -0
  171. package/es/components/sort/components/InlineMenu/index.d.ts +1 -0
  172. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  173. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  174. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  175. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  176. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  177. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  178. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  179. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  180. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  181. package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  182. package/es/components/table/Actions/index.d.ts +1 -0
  183. package/es/components/table/BasicTable/index.d.ts +1 -0
  184. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  185. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  186. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  187. package/es/components/table/Summary/index.d.ts +1 -0
  188. package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
  189. package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
  190. package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  191. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  192. package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
  193. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  194. package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  195. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  196. package/es/components/table/Table/fields/index.d.ts +1 -0
  197. package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
  198. package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
  199. package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  200. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  201. package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
  202. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  203. package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  204. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  205. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  206. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  207. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  208. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  209. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  210. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  211. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  212. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  213. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  214. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  215. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  216. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  217. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  218. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  219. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  220. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  221. package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
  222. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  223. package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  224. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  225. package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
  226. package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
  227. package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  228. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  229. package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
  230. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  231. package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  232. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  233. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  234. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  235. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  236. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  237. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  238. package/es/components/table/Table/utils.d.ts +1 -1
  239. package/es/components/table/TableFilter/SortIcon.d.ts +1 -0
  240. package/es/components/table/View/index.d.ts +1 -0
  241. package/es/components/time-picker/index.d.ts +1 -0
  242. package/es/components/upload/index.d.ts +1 -0
  243. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
  244. package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
  245. package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
  246. package/es/components/walletCard/Guest/index.d.ts +1 -0
  247. package/es/components/walletCard/Guide/index.d.ts +1 -0
  248. package/es/hooks/useResponsive.d.ts +1 -1
  249. package/es/index.d.ts +1 -1
  250. package/es/locales/en-US.d.ts +74 -0
  251. package/es/locales/en-US.js +75 -0
  252. package/es/locales/ja.d.ts +74 -0
  253. package/es/locales/ja.js +75 -0
  254. package/es/locales/pt.d.ts +74 -0
  255. package/es/locales/pt.js +75 -0
  256. package/es/locales/zh-CN.d.ts +74 -0
  257. package/es/locales/zh-CN.js +75 -0
  258. package/es/locales/zh-TW.d.ts +74 -0
  259. package/es/locales/zh-TW.js +75 -0
  260. package/es/pisell-materials.tw.css +1 -1
  261. package/lib/components/Pagination/index.d.ts +1 -0
  262. package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -0
  263. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -0
  264. package/lib/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +1 -0
  265. package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
  266. package/lib/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +1 -0
  267. package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +1 -0
  268. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +1 -0
  269. package/lib/components/PisellCards/index.d.ts +1 -0
  270. package/lib/components/PisellFields/index.d.ts +1 -0
  271. package/lib/components/PisellLayouts/index.d.ts +2 -1
  272. package/lib/components/appVersionControl/index.d.ts +1 -0
  273. package/lib/components/auto-complete-number/index.d.ts +1 -0
  274. package/lib/components/badge/index.d.ts +1 -0
  275. package/lib/components/batch-editor/fields/index.d.ts +1 -0
  276. package/lib/components/batch-editor/index.d.ts +1 -0
  277. package/lib/components/calendar/index.d.ts +1 -0
  278. package/lib/components/cardPro/index.d.ts +1 -0
  279. package/lib/components/checkbox/index.d.ts +1 -0
  280. package/lib/components/classicLayout/index.d.ts +1 -0
  281. package/lib/components/config-provider/index.d.ts +1 -0
  282. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  283. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  284. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  285. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  286. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  287. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
  288. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  289. package/lib/components/dataSourceComponents/fields/index.d.ts +6 -6
  290. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  291. package/lib/components/date-picker/index.d.ts +1 -0
  292. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  293. package/lib/components/drag-sort-tree/index.d.ts +1 -0
  294. package/lib/components/dropdown/index.d.ts +1 -0
  295. package/lib/components/filter/index.d.ts +1 -0
  296. package/lib/components/list/index.d.ts +1 -0
  297. package/lib/components/lowCodePage/index.d.ts +1 -0
  298. package/lib/components/page/index.d.ts +1 -0
  299. package/lib/components/pisellAdjustPrice/index.d.ts +1 -0
  300. package/lib/components/pisellCard/index.d.ts +1 -0
  301. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  302. package/lib/components/pisellFilter/index.d.ts +1 -0
  303. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +2 -1
  304. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +1 -1
  305. package/lib/components/pisellFloorMapLayout/types.d.ts +7 -7
  306. package/lib/components/pisellGridPro/GridView/index.d.ts +1 -0
  307. package/lib/components/pisellGridPro/components/DataCard/index.d.ts +1 -0
  308. package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  309. package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
  310. package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
  311. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  312. package/lib/components/pisellInput/index.d.ts +1 -0
  313. package/lib/components/pisellLoading/index.d.ts +1 -0
  314. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  315. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  316. package/lib/components/pisellModal/components/index.d.ts +1 -0
  317. package/lib/components/pisellRecordBoard/index.d.ts +1 -1
  318. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
  319. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +892 -0
  320. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +323 -0
  321. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +5 -1
  322. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js +7 -6
  323. package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +23 -0
  324. package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.js +268 -0
  325. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +4 -0
  326. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +53 -0
  327. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +1 -1
  328. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +36 -0
  329. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +98 -0
  330. package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +3 -0
  331. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
  332. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.js +306 -0
  333. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +17 -0
  334. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.js +111 -0
  335. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +9 -0
  336. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.js +96 -0
  337. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
  338. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.js +92 -0
  339. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +232 -0
  340. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +666 -0
  341. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +13 -0
  342. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.js +90 -0
  343. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +56 -0
  344. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +812 -0
  345. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +18 -0
  346. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +219 -0
  347. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +27 -0
  348. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +352 -0
  349. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
  350. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.js +57 -0
  351. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +2 -1
  352. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.js +44 -9
  353. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +4 -2
  354. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +54 -129
  355. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +3 -3
  356. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +36 -178
  357. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
  358. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.js +163 -0
  359. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
  360. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +136 -0
  361. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +8 -0
  362. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +18 -0
  363. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.js +175 -0
  364. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +6 -4
  365. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +61 -88
  366. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +2 -0
  367. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.js +29 -0
  368. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +42 -0
  369. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +139 -0
  370. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +26 -0
  371. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +30 -2
  372. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +47 -4
  373. package/lib/components/pisellRecordBoard/shellFrame/index.js +29 -13
  374. package/lib/components/pisellRecordBoard/types.d.ts +95 -3
  375. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +34 -2
  376. package/lib/components/pisellShellFrame/PisellShellFrame.less +5 -2
  377. package/lib/components/pisellSort/index.d.ts +1 -0
  378. package/lib/components/pisellTooltip/index.d.ts +1 -0
  379. package/lib/components/pisellUpload/index.d.ts +1 -0
  380. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
  381. package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +1 -0
  382. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
  383. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
  384. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +1 -0
  385. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
  386. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  387. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
  388. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
  389. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
  390. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
  391. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  392. package/lib/components/productCard/cartSkuCard/index.d.ts +1 -0
  393. package/lib/components/productCard/components/Action/index.d.ts +1 -0
  394. package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
  395. package/lib/components/productCard/components/Divider/index.d.ts +1 -0
  396. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  397. package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  398. package/lib/components/productCard/components/Header/index.d.ts +1 -0
  399. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  400. package/lib/components/productCard/components/Note/index.d.ts +1 -0
  401. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  402. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  403. package/lib/components/productCard/components/Packages/index.d.ts +1 -0
  404. package/lib/components/productCard/components/Sales/index.d.ts +1 -0
  405. package/lib/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  406. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  407. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
  408. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  409. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  410. package/lib/components/productCard/components/Time/index.d.ts +1 -0
  411. package/lib/components/qrcode/index.d.ts +1 -0
  412. package/lib/components/radio/index.d.ts +1 -0
  413. package/lib/components/segmented/index.d.ts +1 -0
  414. package/lib/components/select-time/RightPanel/index.d.ts +1 -0
  415. package/lib/components/select-time/index.d.ts +1 -0
  416. package/lib/components/skeleton/index.d.ts +1 -0
  417. package/lib/components/slider/index.d.ts +1 -0
  418. package/lib/components/sort/components/InlineMenu/index.d.ts +1 -0
  419. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  420. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  421. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  422. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  423. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  424. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  425. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  426. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  427. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  428. package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  429. package/lib/components/table/Actions/index.d.ts +1 -0
  430. package/lib/components/table/BasicTable/index.d.ts +1 -0
  431. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  432. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  433. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  434. package/lib/components/table/Summary/index.d.ts +1 -0
  435. package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
  436. package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
  437. package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  438. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  439. package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
  440. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  441. package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  442. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  443. package/lib/components/table/Table/fields/index.d.ts +1 -0
  444. package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
  445. package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
  446. package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  447. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  448. package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
  449. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  450. package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  451. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  452. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  453. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  454. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  455. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  456. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  457. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  458. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  459. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  460. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  461. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  462. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  463. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  464. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  465. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  466. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  467. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  468. package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
  469. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  470. package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  471. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  472. package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
  473. package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
  474. package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  475. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  476. package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
  477. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  478. package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  479. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  480. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  481. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  482. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  483. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  484. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  485. package/lib/components/table/Table/utils.d.ts +1 -1
  486. package/lib/components/table/TableFilter/SortIcon.d.ts +1 -0
  487. package/lib/components/table/View/index.d.ts +1 -0
  488. package/lib/components/time-picker/index.d.ts +1 -0
  489. package/lib/components/upload/index.d.ts +1 -0
  490. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
  491. package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
  492. package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
  493. package/lib/components/walletCard/Guest/index.d.ts +1 -0
  494. package/lib/components/walletCard/Guide/index.d.ts +1 -0
  495. package/lib/hooks/useResponsive.d.ts +1 -1
  496. package/lib/index.d.ts +1 -1
  497. package/lib/locales/en-US.d.ts +74 -0
  498. package/lib/locales/en-US.js +75 -0
  499. package/lib/locales/ja.d.ts +74 -0
  500. package/lib/locales/ja.js +75 -0
  501. package/lib/locales/pt.d.ts +74 -0
  502. package/lib/locales/pt.js +75 -0
  503. package/lib/locales/zh-CN.d.ts +74 -0
  504. package/lib/locales/zh-CN.js +75 -0
  505. package/lib/locales/zh-TW.d.ts +74 -0
  506. package/lib/locales/zh-TW.js +75 -0
  507. package/lib/pisell-materials.tw.css +1 -1
  508. package/package.json +1 -2
  509. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +0 -3
  510. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.js +0 -6233
  511. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +0 -3
  512. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.js +0 -7079
@@ -0,0 +1,28 @@
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
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 _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; } }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
+ import { getText } from "../../../../locales";
8
+
9
+ /** 日历视图文案:占位符 `{name}`、`{date}` 等由调用方替换 */
10
+ export function tCal(id, vars) {
11
+ var raw = getText(id);
12
+ if (typeof raw === 'function') {
13
+ return id;
14
+ }
15
+ var s = String(raw !== null && raw !== void 0 ? raw : '');
16
+ if (vars) {
17
+ for (var _i = 0, _Object$entries = Object.entries(vars); _i < _Object$entries.length; _i++) {
18
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
19
+ k = _Object$entries$_i[0],
20
+ v = _Object$entries$_i[1];
21
+ s = s.split("{".concat(k, "}")).join(String(v));
22
+ }
23
+ }
24
+ return s;
25
+ }
26
+
27
+ /** 月/周表头:周一为 0(与 rangeDays / startOfWeek 一致) */
28
+ export var CALENDAR_WEEKDAY_IDS = ['pisell2.recordBoard.calendar.weekday.mon', 'pisell2.recordBoard.calendar.weekday.tue', 'pisell2.recordBoard.calendar.weekday.wed', 'pisell2.recordBoard.calendar.weekday.thu', 'pisell2.recordBoard.calendar.weekday.fri', 'pisell2.recordBoard.calendar.weekday.sat', 'pisell2.recordBoard.calendar.weekday.sun'];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  /** 日历内会改本地预约数据的动作类型,供业务层拦截(如平面图未支持写接口时 toast) */
3
- export declare type CalendarPersistKind = 'moveBooking' | 'applyConflictMove' | 'createBooking' | 'removeBlocks' | 'createBlock' | 'confirmBlockWithConflicts' | 'checkin' | 'checkinReschedule' | 'mergeOrder' | 'other';
3
+ export declare type CalendarPersistKind = 'moveBooking' | 'createBooking' | 'removeBlocks' | 'createBlock' | 'checkin' | 'checkinReschedule' | 'mergeOrder' | 'other';
4
4
  export interface CalendarPersistContextValue {
5
5
  /**
6
6
  * 返回 false 时日历组件应取消本次本地数据变更(由调用方决定是否已 toast)。
@@ -0,0 +1,36 @@
1
+ /** BookingCalendarDemo:布局数值与虚拟列表高度等(无演示种子数据)。 */
2
+ export declare const timeSliceMinutes = 60;
3
+ /** 未传 timelineRange 时默认营业日界钟 */
4
+ export declare const DEFAULT_CALENDAR_TIMELINE: {
5
+ start: string;
6
+ end: string;
7
+ };
8
+ export declare const frozenColWidth = 132;
9
+ export declare const dayColWidth = 92;
10
+ export declare const dayRowHeight = 122;
11
+ export declare const groupRowHeight = 54;
12
+ export declare const dayHeaderHeight = 56;
13
+ /** 日视图同一资源行内竖向分带的最小高度(须容下标题+时间两行 + py-2/py-3);并行时抬高该行 */
14
+ export declare const DAY_OVERLAY_LANE_MIN_PX = 64;
15
+ export declare const DAY_OVERLAY_INNER_TOP = 8;
16
+ export declare const DAY_OVERLAY_INNER_BOTTOM = 8;
17
+ export declare const DAY_OVERLAY_LANE_GAP = 2;
18
+ /** 同一重叠簇内最多展示的预约条数;超出合并为第 4 行的 +N(与日/周时间轴 overlay 一致) */
19
+ export declare const DAY_OVERLAY_VISIBLE_BOOKING_CAP = 3;
20
+ /** 低于该宽度时日视图预约条内难以排下两行文案,默认用 Tooltip 展示完整信息 */
21
+ export declare const DAY_BOOKING_NARROW_PX = 88;
22
+ /** 低于该宽度时条内仅保留居中首字/圆点,避免文字竖排或完全不可读 */
23
+ export declare const DAY_BOOKING_MICRO_PX = 32;
24
+ /** 日视图横向:视口外多渲染的槽列数(减轻快速滚动白边) */
25
+ export declare const DAY_VIEW_COL_BUFFER = 5;
26
+ /** 日视图纵向:视口外多渲染的像素边距 */
27
+ export declare const DAY_VIEW_ROW_BUFFER_PX = 240;
28
+ /** 月格「+N」悬停层:卡片区约 64px + 行间 8px,与 react-window itemSize 一致 */
29
+ export declare const MONTH_OVERFLOW_POPOVER_CARD_H = 64;
30
+ export declare const MONTH_OVERFLOW_POPOVER_ROW_GAP = 8;
31
+ export declare const MONTH_OVERFLOW_POPOVER_ITEM_H: number;
32
+ export declare const MONTH_OVERFLOW_POPOVER_LIST_MAX_H = 280;
33
+ export declare const OVERFLOW_MODAL_CARD_H = 100;
34
+ export declare const OVERFLOW_MODAL_ROW_GAP = 8;
35
+ export declare const OVERFLOW_MODAL_ROW_H: number;
36
+ export declare const OVERFLOW_MODAL_LIST_MAX_H = 420;
@@ -0,0 +1,38 @@
1
+ /** BookingCalendarDemo:布局数值与虚拟列表高度等(无演示种子数据)。 */
2
+
3
+ export var timeSliceMinutes = 60;
4
+ /** 未传 timelineRange 时默认营业日界钟 */
5
+ export var DEFAULT_CALENDAR_TIMELINE = {
6
+ start: '02:00',
7
+ end: '02:00'
8
+ };
9
+ export var frozenColWidth = 132;
10
+ export var dayColWidth = 92;
11
+ export var dayRowHeight = 122;
12
+ export var groupRowHeight = 54;
13
+ export var dayHeaderHeight = 56;
14
+ /** 日视图同一资源行内竖向分带的最小高度(须容下标题+时间两行 + py-2/py-3);并行时抬高该行 */
15
+ export var DAY_OVERLAY_LANE_MIN_PX = 64;
16
+ export var DAY_OVERLAY_INNER_TOP = 8;
17
+ export var DAY_OVERLAY_INNER_BOTTOM = 8;
18
+ export var DAY_OVERLAY_LANE_GAP = 2;
19
+ /** 同一重叠簇内最多展示的预约条数;超出合并为第 4 行的 +N(与日/周时间轴 overlay 一致) */
20
+ export var DAY_OVERLAY_VISIBLE_BOOKING_CAP = 3;
21
+ /** 低于该宽度时日视图预约条内难以排下两行文案,默认用 Tooltip 展示完整信息 */
22
+ export var DAY_BOOKING_NARROW_PX = 88;
23
+ /** 低于该宽度时条内仅保留居中首字/圆点,避免文字竖排或完全不可读 */
24
+ export var DAY_BOOKING_MICRO_PX = 32;
25
+ /** 日视图横向:视口外多渲染的槽列数(减轻快速滚动白边) */
26
+ export var DAY_VIEW_COL_BUFFER = 5;
27
+ /** 日视图纵向:视口外多渲染的像素边距 */
28
+ export var DAY_VIEW_ROW_BUFFER_PX = 240;
29
+
30
+ /** 月格「+N」悬停层:卡片区约 64px + 行间 8px,与 react-window itemSize 一致 */
31
+ export var MONTH_OVERFLOW_POPOVER_CARD_H = 64;
32
+ export var MONTH_OVERFLOW_POPOVER_ROW_GAP = 8;
33
+ export var MONTH_OVERFLOW_POPOVER_ITEM_H = MONTH_OVERFLOW_POPOVER_CARD_H + MONTH_OVERFLOW_POPOVER_ROW_GAP;
34
+ export var MONTH_OVERFLOW_POPOVER_LIST_MAX_H = 280;
35
+ export var OVERFLOW_MODAL_CARD_H = 100;
36
+ export var OVERFLOW_MODAL_ROW_GAP = 8;
37
+ export var OVERFLOW_MODAL_ROW_H = OVERFLOW_MODAL_CARD_H + OVERFLOW_MODAL_ROW_GAP;
38
+ export var OVERFLOW_MODAL_LIST_MAX_H = 420;
@@ -1,3 +1,6 @@
1
+ /**
2
+ * 看板日历子模块导出:持久化守卫、日历根视图、Shell 槽位占位组件。
3
+ */
1
4
  export { CalendarPersistProvider, useCalendarPersist, } from './calendarPersistGuard';
2
5
  export type { CalendarPersistContextValue, CalendarPersistKind, } from './calendarPersistGuard';
3
6
  export { PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, } from './PisellRecordBoardCalendarView';
@@ -1,3 +1,6 @@
1
+ /**
2
+ * 看板日历子模块导出:持久化守卫、日历根视图、Shell 槽位占位组件。
3
+ */
1
4
  export { CalendarPersistProvider, useCalendarPersist } from "./calendarPersistGuard";
2
5
  export { PisellRecordBoardCalendarView } from "./PisellRecordBoardCalendarView";
3
6
  export { default as RecordBoardCalendar } from "./RecordBoardCalendar";
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ /** 拖拽改期后的确认弹窗(Court / 日期 / 起止时间) */
3
+ export declare function MoveConfirmModal({ moveConfirm, moveDraft, setMoveDraft, panelRef, isLight, courts, visibleCourts, hourSlots, isBusinessHour, firstTimelineHour, endTimelineExclusive, onConfirm, onClose, }: {
4
+ moveConfirm: any;
5
+ moveDraft: any;
6
+ setMoveDraft: any;
7
+ panelRef: any;
8
+ isLight: any;
9
+ courts: any;
10
+ visibleCourts: any;
11
+ hourSlots: any;
12
+ isBusinessHour: any;
13
+ firstTimelineHour: any;
14
+ endTimelineExclusive: any;
15
+ onConfirm: any;
16
+ onClose: any;
17
+ }): JSX.Element | null;
@@ -0,0 +1,197 @@
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 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; }
3
+ 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; }
4
+ 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; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ 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); }
7
+ // @ts-nocheck
8
+ import React from 'react';
9
+ import { formatHourLabel, getBookingDetailData } from "../utils/bookingCalendarDateUtils";
10
+ import { tCal } from "../calendarI18n";
11
+
12
+ /** 拖拽改期后的确认弹窗(Court / 日期 / 起止时间) */
13
+ export function MoveConfirmModal(_ref) {
14
+ var _detail$customer, _detail$customer2, _detail$customer3, _courts$find, _courts$find2, _moveDraft$targetHour;
15
+ var moveConfirm = _ref.moveConfirm,
16
+ moveDraft = _ref.moveDraft,
17
+ setMoveDraft = _ref.setMoveDraft,
18
+ panelRef = _ref.panelRef,
19
+ isLight = _ref.isLight,
20
+ courts = _ref.courts,
21
+ visibleCourts = _ref.visibleCourts,
22
+ hourSlots = _ref.hourSlots,
23
+ isBusinessHour = _ref.isBusinessHour,
24
+ firstTimelineHour = _ref.firstTimelineHour,
25
+ endTimelineExclusive = _ref.endTimelineExclusive,
26
+ onConfirm = _ref.onConfirm,
27
+ onClose = _ref.onClose;
28
+ if (!moveConfirm) return null;
29
+ var detail = getBookingDetailData(moveConfirm.item, courts);
30
+ var currentCustomer = {
31
+ name: ((_detail$customer = detail.customer) === null || _detail$customer === void 0 ? void 0 : _detail$customer.name) || detail.headerSummary.customerName,
32
+ phone: ((_detail$customer2 = detail.customer) === null || _detail$customer2 === void 0 ? void 0 : _detail$customer2.phone) || '',
33
+ email: ((_detail$customer3 = detail.customer) === null || _detail$customer3 === void 0 ? void 0 : _detail$customer3.email) || ''
34
+ };
35
+ var originalCourtName = ((_courts$find = courts.find(function (c) {
36
+ return c.id === moveConfirm.item.courtId;
37
+ })) === null || _courts$find === void 0 ? void 0 : _courts$find.name) || detail.headerSummary.resourceLabel || tCal('pisell2.recordBoard.calendar.move.courtFallback');
38
+ var nextCourtName = ((_courts$find2 = courts.find(function (c) {
39
+ return c.id === ((moveDraft === null || moveDraft === void 0 ? void 0 : moveDraft.targetCourtId) || moveConfirm.targetCourtId);
40
+ })) === null || _courts$find2 === void 0 ? void 0 : _courts$find2.name) || tCal('pisell2.recordBoard.calendar.move.courtFallback');
41
+ var originalDate = moveConfirm.item.date;
42
+ var originalStart = formatHourLabel(moveConfirm.item.startHour);
43
+ var originalEnd = formatHourLabel(moveConfirm.item.endHour);
44
+ var nextDate = (moveDraft === null || moveDraft === void 0 ? void 0 : moveDraft.targetDate) || moveConfirm.targetDate;
45
+ var nextStartHour = (_moveDraft$targetHour = moveDraft === null || moveDraft === void 0 ? void 0 : moveDraft.targetHour) !== null && _moveDraft$targetHour !== void 0 ? _moveDraft$targetHour : moveConfirm.targetHour;
46
+ var duration = moveConfirm.item.endHour - moveConfirm.item.startHour;
47
+ var nextEndHour = nextStartHour + duration;
48
+ var changed = originalDate !== nextDate || moveConfirm.item.courtId !== ((moveDraft === null || moveDraft === void 0 ? void 0 : moveDraft.targetCourtId) || moveConfirm.targetCourtId) || moveConfirm.item.startHour !== nextStartHour;
49
+ var isDragScenario = moveConfirm.item.date !== moveConfirm.targetDate || moveConfirm.item.startHour !== moveConfirm.targetHour || moveConfirm.item.courtId !== moveConfirm.targetCourtId;
50
+ var slotDisabledLabel = function slotDisabledLabel(hour) {
51
+ return tCal('pisell2.recordBoard.calendar.move.slotDisabled', {
52
+ time: formatHourLabel(hour)
53
+ });
54
+ };
55
+ return /*#__PURE__*/React.createElement("div", {
56
+ className: "fixed inset-0 z-[72] bg-black/45 backdrop-blur-sm flex items-center justify-center p-4"
57
+ }, /*#__PURE__*/React.createElement("div", {
58
+ ref: panelRef,
59
+ className: "w-full max-w-[980px] rounded-3xl border p-6 shadow-2xl ".concat(isLight ? 'theme-panel theme-border soft-shadow' : 'border-zinc-700 bg-[#121217]')
60
+ }, /*#__PURE__*/React.createElement("div", {
61
+ className: "text-[22px] font-semibold"
62
+ }, tCal('pisell2.recordBoard.calendar.move.title')), /*#__PURE__*/React.createElement("div", {
63
+ className: "mt-2 text-sm ".concat(isLight ? 'theme-text-muted' : 'text-zinc-400')
64
+ }, tCal('pisell2.recordBoard.calendar.move.subtitle')), /*#__PURE__*/React.createElement("div", {
65
+ className: "mt-5 space-y-4"
66
+ }, /*#__PURE__*/React.createElement("div", {
67
+ className: "rounded-3xl border p-5 ".concat(isLight ? 'theme-panel-alt theme-border' : 'border-zinc-700 bg-[#171820]')
68
+ }, /*#__PURE__*/React.createElement("div", {
69
+ className: "min-w-0 flex-1"
70
+ }, /*#__PURE__*/React.createElement("div", {
71
+ className: "text-xs uppercase tracking-[0.14em] ".concat(isLight ? 'theme-text-muted' : 'text-zinc-500')
72
+ }, tCal('pisell2.recordBoard.calendar.move.customer')), /*#__PURE__*/React.createElement("div", {
73
+ className: "mt-3 text-[20px] font-semibold ".concat(isLight ? 'theme-text' : 'text-white')
74
+ }, currentCustomer.name), /*#__PURE__*/React.createElement("div", {
75
+ className: "mt-2 text-sm ".concat(isLight ? 'theme-text-muted' : 'text-zinc-400')
76
+ }, currentCustomer.phone || tCal('pisell2.recordBoard.calendar.move.noPhone')), /*#__PURE__*/React.createElement("div", {
77
+ className: "mt-1 text-sm ".concat(isLight ? 'theme-text-muted' : 'text-zinc-400')
78
+ }, currentCustomer.email || tCal('pisell2.recordBoard.calendar.move.noEmail')))), /*#__PURE__*/React.createElement("div", {
79
+ className: "grid min-w-0 gap-4 md:grid-cols-2"
80
+ }, /*#__PURE__*/React.createElement("div", {
81
+ className: "min-w-0"
82
+ }, /*#__PURE__*/React.createElement("label", {
83
+ className: "mb-2 block text-sm ".concat(isLight ? 'theme-text-muted' : 'text-zinc-400')
84
+ }, tCal('pisell2.recordBoard.calendar.move.court')), /*#__PURE__*/React.createElement("select", {
85
+ value: (moveDraft === null || moveDraft === void 0 ? void 0 : moveDraft.targetCourtId) || moveConfirm.targetCourtId,
86
+ onChange: function onChange(e) {
87
+ return setMoveDraft(function (prev) {
88
+ return _objectSpread(_objectSpread({}, prev || {}), {}, {
89
+ targetCourtId: e.target.value
90
+ });
91
+ });
92
+ },
93
+ className: "min-w-0 w-full rounded-2xl px-4 py-4 outline-none ".concat(isLight ? 'theme-input theme-text' : 'border border-zinc-700 bg-[#171820] text-white')
94
+ }, visibleCourts.map(function (court) {
95
+ return /*#__PURE__*/React.createElement("option", {
96
+ key: court.id,
97
+ value: court.id
98
+ }, court.name);
99
+ }))), /*#__PURE__*/React.createElement("div", {
100
+ className: "min-w-0"
101
+ }, /*#__PURE__*/React.createElement("label", {
102
+ className: "mb-2 block text-sm ".concat(isLight ? 'theme-text-muted' : 'text-zinc-400')
103
+ }, tCal('pisell2.recordBoard.calendar.move.newDate')), /*#__PURE__*/React.createElement("input", {
104
+ type: "date",
105
+ value: (moveDraft === null || moveDraft === void 0 ? void 0 : moveDraft.targetDate) || moveConfirm.targetDate,
106
+ onChange: function onChange(e) {
107
+ return setMoveDraft(function (prev) {
108
+ return _objectSpread(_objectSpread({}, prev || {}), {}, {
109
+ targetDate: e.target.value
110
+ });
111
+ });
112
+ },
113
+ className: "min-w-0 w-full rounded-2xl py-4 pl-4 pr-11 outline-none [color-scheme:dark] [&::-webkit-calendar-picker-indicator]:ml-auto [&::-webkit-calendar-picker-indicator]:mr-1 ".concat(isLight ? 'theme-input theme-text [color-scheme:light]' : 'border border-zinc-700 bg-[#171820] text-white')
114
+ }))), /*#__PURE__*/React.createElement("div", {
115
+ className: "grid min-w-0 gap-4 md:grid-cols-2"
116
+ }, /*#__PURE__*/React.createElement("div", {
117
+ className: "min-w-0"
118
+ }, /*#__PURE__*/React.createElement("label", {
119
+ className: "mb-2 block text-sm ".concat(isLight ? 'theme-text-muted' : 'text-zinc-400')
120
+ }, tCal('pisell2.recordBoard.calendar.move.newStartTime')), /*#__PURE__*/React.createElement("select", {
121
+ value: nextStartHour,
122
+ onChange: function onChange(e) {
123
+ return setMoveDraft(function (prev) {
124
+ return _objectSpread(_objectSpread({}, prev || {}), {}, {
125
+ targetHour: Number(e.target.value)
126
+ });
127
+ });
128
+ },
129
+ className: "min-w-0 w-full rounded-2xl px-4 py-4 outline-none ".concat(isLight ? 'theme-input theme-text' : 'border border-zinc-700 bg-[#171820] text-white')
130
+ }, hourSlots.filter(isBusinessHour).map(function (hour) {
131
+ var disabled = hour + duration > endTimelineExclusive;
132
+ return /*#__PURE__*/React.createElement("option", {
133
+ key: hour,
134
+ value: hour,
135
+ disabled: disabled
136
+ }, disabled ? slotDisabledLabel(hour) : formatHourLabel(hour));
137
+ }))), /*#__PURE__*/React.createElement("div", {
138
+ className: "min-w-0"
139
+ }, /*#__PURE__*/React.createElement("label", {
140
+ className: "mb-2 block text-sm ".concat(isLight ? 'theme-text-muted' : 'text-zinc-400')
141
+ }, tCal('pisell2.recordBoard.calendar.move.newEndTime')), /*#__PURE__*/React.createElement("select", {
142
+ value: nextEndHour,
143
+ onChange: function onChange(e) {
144
+ var nextEnd = Number(e.target.value);
145
+ setMoveDraft(function (prev) {
146
+ return _objectSpread(_objectSpread({}, prev || {}), {}, {
147
+ targetHour: nextEnd - duration
148
+ });
149
+ });
150
+ },
151
+ className: "min-w-0 w-full rounded-2xl px-4 py-4 outline-none ".concat(isLight ? 'theme-input theme-text' : 'border border-zinc-700 bg-[#171820] text-white')
152
+ }, hourSlots.filter(isBusinessHour).map(function (hour) {
153
+ var startHour = hour - duration;
154
+ var disabled = startHour < firstTimelineHour;
155
+ return /*#__PURE__*/React.createElement("option", {
156
+ key: "end-".concat(hour),
157
+ value: hour,
158
+ disabled: disabled
159
+ }, disabled ? slotDisabledLabel(hour) : formatHourLabel(hour));
160
+ })))), changed && /*#__PURE__*/React.createElement("div", {
161
+ className: "rounded-3xl border p-5 ".concat(isLight ? 'theme-panel-alt theme-border' : 'border-zinc-700 bg-[#171820]')
162
+ }, /*#__PURE__*/React.createElement("div", {
163
+ className: "text-xs uppercase tracking-[0.14em] ".concat(isLight ? 'theme-text-muted' : 'text-zinc-500')
164
+ }, tCal('pisell2.recordBoard.calendar.move.previousInfo')), /*#__PURE__*/React.createElement("div", {
165
+ className: "mt-3 grid gap-3 md:grid-cols-2"
166
+ }, /*#__PURE__*/React.createElement("div", {
167
+ className: "rounded-2xl p-4 ".concat(isLight ? 'theme-panel' : 'bg-[#101117]')
168
+ }, /*#__PURE__*/React.createElement("div", {
169
+ className: "text-xs ".concat(isLight ? 'theme-text-muted' : 'text-zinc-500')
170
+ }, tCal('pisell2.recordBoard.calendar.move.original')), /*#__PURE__*/React.createElement("div", {
171
+ className: "mt-2 text-sm ".concat(isLight ? 'theme-text-soft' : 'text-zinc-300')
172
+ }, originalCourtName), /*#__PURE__*/React.createElement("div", {
173
+ className: "mt-1 text-sm ".concat(isLight ? 'theme-text-soft' : 'text-zinc-300')
174
+ }, originalDate), /*#__PURE__*/React.createElement("div", {
175
+ className: "mt-1 text-sm ".concat(isLight ? 'theme-text-soft' : 'text-zinc-300')
176
+ }, originalStart, " - ", originalEnd)), /*#__PURE__*/React.createElement("div", {
177
+ className: "rounded-2xl p-4 ".concat(isLight ? 'theme-brand-surface border border-[var(--brand-light)]' : 'bg-violet-600/10 border border-violet-500/30')
178
+ }, /*#__PURE__*/React.createElement("div", {
179
+ className: "text-xs ".concat(isLight ? 'theme-brand-text' : 'text-violet-300')
180
+ }, isDragScenario ? tCal('pisell2.recordBoard.calendar.move.dropTarget') : tCal('pisell2.recordBoard.calendar.move.updated')), /*#__PURE__*/React.createElement("div", {
181
+ className: "mt-2 text-sm ".concat(isLight ? 'theme-text' : 'text-white')
182
+ }, nextCourtName), /*#__PURE__*/React.createElement("div", {
183
+ className: "mt-1 text-sm ".concat(isLight ? 'theme-text' : 'text-white')
184
+ }, nextDate), /*#__PURE__*/React.createElement("div", {
185
+ className: "mt-1 text-sm ".concat(isLight ? 'theme-text' : 'text-white')
186
+ }, formatHourLabel(nextStartHour), " -", ' ', formatHourLabel(nextEndHour)))))), /*#__PURE__*/React.createElement("div", {
187
+ className: "mt-6 flex justify-end gap-3"
188
+ }, /*#__PURE__*/React.createElement("button", {
189
+ type: "button",
190
+ onClick: onClose,
191
+ className: "rounded-2xl px-5 py-3 ".concat(isLight ? 'btn-neutral' : 'border border-zinc-700 text-zinc-300 hover:bg-zinc-800')
192
+ }, tCal('pisell2.recordBoard.calendar.common.cancel')), /*#__PURE__*/React.createElement("button", {
193
+ type: "button",
194
+ onClick: onConfirm,
195
+ className: "rounded-2xl bg-violet-600 px-6 py-3 font-semibold text-white hover:bg-violet-500"
196
+ }, tCal('pisell2.recordBoard.calendar.move.confirm')))));
197
+ }
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { type CalendarBookingSegmentInput } from '../utils/bookingCalendarDateUtils';
3
+ export declare type OverflowListModalVirtualListProps = {
4
+ items: CalendarBookingSegmentInput[];
5
+ dateKey: string;
6
+ listWidth: number;
7
+ onPickItem: (item: CalendarBookingSegmentInput) => void;
8
+ onClose: () => void;
9
+ /**
10
+ * 为 true 时按日视图逻辑展示状态徽标与状态底色(如日视图 lane 溢出列表)。
11
+ * 月 / 周打开的列表传 false,仅默认 booking / block 样式。
12
+ * @default true
13
+ */
14
+ showStatusUi?: boolean;
15
+ };
16
+ /** 溢出预约全屏列表弹层内的虚拟列表(overflowListModal) */
17
+ export declare function OverflowListModalVirtualList({ items, dateKey, listWidth, onPickItem, onClose, showStatusUi, }: OverflowListModalVirtualListProps): JSX.Element | null;
@@ -0,0 +1,65 @@
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 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; }
3
+ 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; }
4
+ 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; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ 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); }
7
+ import React, { useCallback } from 'react';
8
+ import { FixedSizeList } from 'react-window';
9
+ import { OVERFLOW_MODAL_LIST_MAX_H, OVERFLOW_MODAL_ROW_GAP, OVERFLOW_MODAL_ROW_H } from "../const/bookingCalendarConstants";
10
+ import { formatHourLabel, getDisplayStatusTag } from "../utils/bookingCalendarDateUtils";
11
+ import { statusTagMeta } from "../bookingCalendarViewShared";
12
+ import { getBookingStateClasses, getGridBookingRowStateClasses } from "../utils/BookingCalendarStyle";
13
+ /** 溢出预约全屏列表弹层内的虚拟列表(overflowListModal) */
14
+ export function OverflowListModalVirtualList(_ref) {
15
+ var items = _ref.items,
16
+ dateKey = _ref.dateKey,
17
+ listWidth = _ref.listWidth,
18
+ onPickItem = _ref.onPickItem,
19
+ onClose = _ref.onClose,
20
+ _ref$showStatusUi = _ref.showStatusUi,
21
+ showStatusUi = _ref$showStatusUi === void 0 ? true : _ref$showStatusUi;
22
+ if (!(items !== null && items !== void 0 && items.length)) return null;
23
+ var listH = Math.min(items.length * OVERFLOW_MODAL_ROW_H, OVERFLOW_MODAL_LIST_MAX_H);
24
+ var Row = useCallback(function (_ref2) {
25
+ var index = _ref2.index,
26
+ style = _ref2.style;
27
+ var extraItem = items[index];
28
+ if (!extraItem) return null;
29
+ var displayTag = showStatusUi ? getDisplayStatusTag(extraItem, dateKey) : null;
30
+ var tagMeta = showStatusUi && displayTag ? statusTagMeta(displayTag) : null;
31
+ var rowStateClass = showStatusUi ? getBookingStateClasses(extraItem, dateKey) : getGridBookingRowStateClasses(extraItem);
32
+ return /*#__PURE__*/React.createElement("div", {
33
+ style: _objectSpread(_objectSpread({}, style), {}, {
34
+ boxSizing: 'border-box',
35
+ paddingLeft: 4,
36
+ paddingRight: 4,
37
+ paddingBottom: OVERFLOW_MODAL_ROW_GAP
38
+ })
39
+ }, /*#__PURE__*/React.createElement("button", {
40
+ type: "button",
41
+ onClick: function onClick() {
42
+ onClose();
43
+ onPickItem(extraItem);
44
+ },
45
+ className: "flex h-full min-h-0 w-full flex-col justify-center rounded-xl px-4 py-3 text-left text-white hover:bg-violet-600 ".concat(rowStateClass)
46
+ }, /*#__PURE__*/React.createElement("div", {
47
+ className: "font-medium"
48
+ }, extraItem.name), /*#__PURE__*/React.createElement("div", {
49
+ className: "mt-1 text-sm opacity-85"
50
+ }, formatHourLabel(extraItem.startHour), " -", ' ', formatHourLabel(extraItem.endHour)), tagMeta && /*#__PURE__*/React.createElement("div", {
51
+ className: "mt-2 flex justify-end"
52
+ }, /*#__PURE__*/React.createElement("span", {
53
+ className: "rounded-lg px-2 py-0.5 text-[10px] font-semibold ".concat(tagMeta.className, " backdrop-blur-[2px]")
54
+ }, tagMeta.label))));
55
+ }, [items, dateKey, onPickItem, onClose, showStatusUi]);
56
+ return /*#__PURE__*/React.createElement(FixedSizeList, {
57
+ height: listH,
58
+ itemCount: items.length,
59
+ itemSize: OVERFLOW_MODAL_ROW_H,
60
+ width: listWidth,
61
+ style: {
62
+ overflowX: 'hidden'
63
+ }
64
+ }, Row);
65
+ }
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { type CalendarBookingSegmentInput } from '../utils/bookingCalendarDateUtils';
3
+ export declare type MonthGridOverflowVirtualListProps = {
4
+ items: CalendarBookingSegmentInput[];
5
+ listWidth: number;
6
+ onPickItem: (item: CalendarBookingSegmentInput) => void;
7
+ };
8
+ /** 月/周格「+N」悬停层内的虚拟列表(overflowPopover) */
9
+ export declare function MonthGridOverflowVirtualList({ items, listWidth, onPickItem, }: MonthGridOverflowVirtualListProps): JSX.Element | null;
@@ -0,0 +1,52 @@
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 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; }
3
+ 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; }
4
+ 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; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ 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); }
7
+ import React, { useCallback } from 'react';
8
+ import { FixedSizeList } from 'react-window';
9
+ import { MONTH_OVERFLOW_POPOVER_ITEM_H, MONTH_OVERFLOW_POPOVER_LIST_MAX_H, MONTH_OVERFLOW_POPOVER_ROW_GAP } from "../const/bookingCalendarConstants";
10
+ import { formatHourLabel } from "../utils/bookingCalendarDateUtils";
11
+ /** 月/周格「+N」悬停层内的虚拟列表(overflowPopover) */
12
+ export function MonthGridOverflowVirtualList(_ref) {
13
+ var items = _ref.items,
14
+ listWidth = _ref.listWidth,
15
+ onPickItem = _ref.onPickItem;
16
+ if (!(items !== null && items !== void 0 && items.length)) return null;
17
+ var listH = Math.min(items.length * MONTH_OVERFLOW_POPOVER_ITEM_H, MONTH_OVERFLOW_POPOVER_LIST_MAX_H);
18
+ var Row = useCallback(function (_ref2) {
19
+ var index = _ref2.index,
20
+ style = _ref2.style;
21
+ var extraItem = items[index];
22
+ if (!extraItem) return null;
23
+ return /*#__PURE__*/React.createElement("div", {
24
+ style: _objectSpread(_objectSpread({}, style), {}, {
25
+ boxSizing: 'border-box',
26
+ paddingLeft: 2,
27
+ paddingRight: 6,
28
+ paddingBottom: MONTH_OVERFLOW_POPOVER_ROW_GAP
29
+ })
30
+ }, /*#__PURE__*/React.createElement("button", {
31
+ type: "button",
32
+ onClick: function onClick(e) {
33
+ e.stopPropagation();
34
+ onPickItem(extraItem);
35
+ },
36
+ className: "flex h-full min-h-0 w-full flex-col justify-center rounded-lg px-3 py-2 text-xs text-left ".concat(extraItem.kind === 'block' ? 'bg-red-700/70 text-red-100' : 'bg-violet-700/90 text-violet-50')
37
+ }, /*#__PURE__*/React.createElement("div", {
38
+ className: "truncate"
39
+ }, extraItem.name), /*#__PURE__*/React.createElement("div", {
40
+ className: "mt-1 opacity-80"
41
+ }, formatHourLabel(extraItem.startHour), " -", ' ', formatHourLabel(extraItem.endHour))));
42
+ }, [items, onPickItem]);
43
+ return /*#__PURE__*/React.createElement(FixedSizeList, {
44
+ height: listH,
45
+ itemCount: items.length,
46
+ itemSize: MONTH_OVERFLOW_POPOVER_ITEM_H,
47
+ width: listWidth,
48
+ style: {
49
+ overflowX: 'hidden'
50
+ }
51
+ }, Row);
52
+ }
@@ -0,0 +1,10 @@
1
+ import { type CalendarBookingSegmentInput } from './bookingCalendarDateUtils';
2
+ export declare function getDrawerStatusTheme(item: CalendarBookingSegmentInput, dateKey: string): "bg-red-700/88 border-b-4 border-red-300/55" | "bg-zinc-700/88 border-b-4 border-zinc-400/45" | "bg-zinc-700/88 border-b-4 border-red-400/75" | "bg-violet-700/92 border-b-4 border-amber-400/95" | "bg-violet-700/92 border-b-4 border-zinc-300/45" | "bg-violet-700/92 border-b-4 border-violet-300/30";
3
+ export declare function paymentTagClass(label: string, isLight?: boolean): "theme-success-chip border" | "bg-emerald-500 text-white" | "theme-warning-chip border" | "bg-amber-500 text-white" | "theme-info-chip border" | "bg-sky-500 text-white" | "theme-danger-chip border" | "bg-red-500 text-white";
4
+ export declare function fulfillmentTagClass(label: string, isLight?: boolean): "theme-success-chip border" | "theme-warning-chip border" | "bg-amber-500 text-white" | "theme-info-chip border" | "theme-danger-chip border" | "bg-emerald-600 text-white" | "bg-cyan-500 text-white" | "bg-red-600 text-white" | "border border-[var(--border-strong)] bg-[var(--bg-input)] theme-text-soft" | "bg-zinc-600 text-white" | "border border-[var(--brand-light)] bg-[var(--brand-surface)] theme-brand-text" | "bg-violet-600 text-white";
5
+ export declare function getBookingStateClasses(item: CalendarBookingSegmentInput, dateKey: string): "bg-zinc-700/55 border border-zinc-500/70 text-zinc-100 grayscale-[0.2]" | "bg-zinc-700/55 border border-red-500/70 text-zinc-200 grayscale-[0.15]" | "bg-violet-700/90 border border-amber-400/80 text-violet-50" | "bg-red-700/70 text-red-100" | "bg-violet-700/90 text-violet-50";
6
+ /**
7
+ * 月 / 周紧凑格:不按签到/取消/迟到等状态变色,仅区分 booking(默认紫)与 block(红)。
8
+ * 与 {@link getBookingStateClasses} 在无状态分支时一致,但不读取 `dateKey`。
9
+ */
10
+ export declare function getGridBookingRowStateClasses(item: CalendarBookingSegmentInput): string;
@@ -0,0 +1,58 @@
1
+ import { getDisplayStatusTag } from "./bookingCalendarDateUtils";
2
+ export function getDrawerStatusTheme(item, dateKey) {
3
+ var tag = getDisplayStatusTag(item, dateKey);
4
+ if (item.kind === 'block') return 'bg-red-700/88 border-b-4 border-red-300/55';
5
+ if (tag === 'cancel') return 'bg-zinc-700/88 border-b-4 border-zinc-400/45';
6
+ if (tag === 'no_show') return 'bg-zinc-700/88 border-b-4 border-red-400/75';
7
+ if (tag === 'late') return 'bg-violet-700/92 border-b-4 border-amber-400/95';
8
+ if (tag === 'checked_in') return 'bg-violet-700/92 border-b-4 border-zinc-300/45';
9
+ return 'bg-violet-700/92 border-b-4 border-violet-300/30';
10
+ }
11
+ export function paymentTagClass(label) {
12
+ var isLight = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
13
+ switch (label) {
14
+ case 'Paid':
15
+ return isLight ? 'theme-success-chip border' : 'bg-emerald-500 text-white';
16
+ case 'Partial paid':
17
+ return isLight ? 'theme-warning-chip border' : 'bg-amber-500 text-white';
18
+ case 'Refunded':
19
+ return isLight ? 'theme-info-chip border' : 'bg-sky-500 text-white';
20
+ case 'Unpaid':
21
+ default:
22
+ return isLight ? 'theme-danger-chip border' : 'bg-red-500 text-white';
23
+ }
24
+ }
25
+ export function fulfillmentTagClass(label) {
26
+ var isLight = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
27
+ switch (label) {
28
+ case 'Finished':
29
+ return isLight ? 'theme-success-chip border' : 'bg-emerald-600 text-white';
30
+ case 'Arrived':
31
+ return isLight ? 'theme-info-chip border' : 'bg-cyan-500 text-white';
32
+ case 'Late':
33
+ return isLight ? 'theme-warning-chip border' : 'bg-amber-500 text-white';
34
+ case 'No-show':
35
+ return isLight ? 'theme-danger-chip border' : 'bg-red-600 text-white';
36
+ case 'Cancelled':
37
+ return isLight ? 'border border-[var(--border-strong)] bg-[var(--bg-input)] theme-text-soft' : 'bg-zinc-600 text-white';
38
+ default:
39
+ return isLight ? 'border border-[var(--brand-light)] bg-[var(--brand-surface)] theme-brand-text' : 'bg-violet-600 text-white';
40
+ }
41
+ }
42
+ export function getBookingStateClasses(item, dateKey) {
43
+ var displayTag = getDisplayStatusTag(item, dateKey);
44
+ if (displayTag === 'cancel') return 'bg-zinc-700/55 border border-zinc-500/70 text-zinc-100 grayscale-[0.2]';
45
+ if (displayTag === 'no_show') return 'bg-zinc-700/55 border border-red-500/70 text-zinc-200 grayscale-[0.15]';
46
+ if (displayTag === 'late') return 'bg-violet-700/90 border border-amber-400/80 text-violet-50';
47
+ if (item.kind === 'block') return 'bg-red-700/70 text-red-100';
48
+ return 'bg-violet-700/90 text-violet-50';
49
+ }
50
+
51
+ /**
52
+ * 月 / 周紧凑格:不按签到/取消/迟到等状态变色,仅区分 booking(默认紫)与 block(红)。
53
+ * 与 {@link getBookingStateClasses} 在无状态分支时一致,但不读取 `dateKey`。
54
+ */
55
+ export function getGridBookingRowStateClasses(item) {
56
+ if (item.kind === 'block') return 'bg-red-700/70 text-red-100';
57
+ return 'bg-violet-700/90 text-violet-50';
58
+ }