@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,53 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.ts
20
+ var calendarI18n_exports = {};
21
+ __export(calendarI18n_exports, {
22
+ CALENDAR_WEEKDAY_IDS: () => CALENDAR_WEEKDAY_IDS,
23
+ tCal: () => tCal
24
+ });
25
+ module.exports = __toCommonJS(calendarI18n_exports);
26
+ var import_locales = require("../../../../locales");
27
+ function tCal(id, vars) {
28
+ const raw = (0, import_locales.getText)(id);
29
+ if (typeof raw === "function") {
30
+ return id;
31
+ }
32
+ let s = String(raw ?? "");
33
+ if (vars) {
34
+ for (const [k, v] of Object.entries(vars)) {
35
+ s = s.split(`{${k}}`).join(String(v));
36
+ }
37
+ }
38
+ return s;
39
+ }
40
+ var CALENDAR_WEEKDAY_IDS = [
41
+ "pisell2.recordBoard.calendar.weekday.mon",
42
+ "pisell2.recordBoard.calendar.weekday.tue",
43
+ "pisell2.recordBoard.calendar.weekday.wed",
44
+ "pisell2.recordBoard.calendar.weekday.thu",
45
+ "pisell2.recordBoard.calendar.weekday.fri",
46
+ "pisell2.recordBoard.calendar.weekday.sat",
47
+ "pisell2.recordBoard.calendar.weekday.sun"
48
+ ];
49
+ // Annotate the CommonJS export names for ESM import in node:
50
+ 0 && (module.exports = {
51
+ CALENDAR_WEEKDAY_IDS,
52
+ tCal
53
+ });
@@ -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,98 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.ts
20
+ var bookingCalendarConstants_exports = {};
21
+ __export(bookingCalendarConstants_exports, {
22
+ DAY_BOOKING_MICRO_PX: () => DAY_BOOKING_MICRO_PX,
23
+ DAY_BOOKING_NARROW_PX: () => DAY_BOOKING_NARROW_PX,
24
+ DAY_OVERLAY_INNER_BOTTOM: () => DAY_OVERLAY_INNER_BOTTOM,
25
+ DAY_OVERLAY_INNER_TOP: () => DAY_OVERLAY_INNER_TOP,
26
+ DAY_OVERLAY_LANE_GAP: () => DAY_OVERLAY_LANE_GAP,
27
+ DAY_OVERLAY_LANE_MIN_PX: () => DAY_OVERLAY_LANE_MIN_PX,
28
+ DAY_OVERLAY_VISIBLE_BOOKING_CAP: () => DAY_OVERLAY_VISIBLE_BOOKING_CAP,
29
+ DAY_VIEW_COL_BUFFER: () => DAY_VIEW_COL_BUFFER,
30
+ DAY_VIEW_ROW_BUFFER_PX: () => DAY_VIEW_ROW_BUFFER_PX,
31
+ DEFAULT_CALENDAR_TIMELINE: () => DEFAULT_CALENDAR_TIMELINE,
32
+ MONTH_OVERFLOW_POPOVER_CARD_H: () => MONTH_OVERFLOW_POPOVER_CARD_H,
33
+ MONTH_OVERFLOW_POPOVER_ITEM_H: () => MONTH_OVERFLOW_POPOVER_ITEM_H,
34
+ MONTH_OVERFLOW_POPOVER_LIST_MAX_H: () => MONTH_OVERFLOW_POPOVER_LIST_MAX_H,
35
+ MONTH_OVERFLOW_POPOVER_ROW_GAP: () => MONTH_OVERFLOW_POPOVER_ROW_GAP,
36
+ OVERFLOW_MODAL_CARD_H: () => OVERFLOW_MODAL_CARD_H,
37
+ OVERFLOW_MODAL_LIST_MAX_H: () => OVERFLOW_MODAL_LIST_MAX_H,
38
+ OVERFLOW_MODAL_ROW_GAP: () => OVERFLOW_MODAL_ROW_GAP,
39
+ OVERFLOW_MODAL_ROW_H: () => OVERFLOW_MODAL_ROW_H,
40
+ dayColWidth: () => dayColWidth,
41
+ dayHeaderHeight: () => dayHeaderHeight,
42
+ dayRowHeight: () => dayRowHeight,
43
+ frozenColWidth: () => frozenColWidth,
44
+ groupRowHeight: () => groupRowHeight,
45
+ timeSliceMinutes: () => timeSliceMinutes
46
+ });
47
+ module.exports = __toCommonJS(bookingCalendarConstants_exports);
48
+ var timeSliceMinutes = 60;
49
+ var DEFAULT_CALENDAR_TIMELINE = { start: "02:00", end: "02:00" };
50
+ var frozenColWidth = 132;
51
+ var dayColWidth = 92;
52
+ var dayRowHeight = 122;
53
+ var groupRowHeight = 54;
54
+ var dayHeaderHeight = 56;
55
+ var DAY_OVERLAY_LANE_MIN_PX = 64;
56
+ var DAY_OVERLAY_INNER_TOP = 8;
57
+ var DAY_OVERLAY_INNER_BOTTOM = 8;
58
+ var DAY_OVERLAY_LANE_GAP = 2;
59
+ var DAY_OVERLAY_VISIBLE_BOOKING_CAP = 3;
60
+ var DAY_BOOKING_NARROW_PX = 88;
61
+ var DAY_BOOKING_MICRO_PX = 32;
62
+ var DAY_VIEW_COL_BUFFER = 5;
63
+ var DAY_VIEW_ROW_BUFFER_PX = 240;
64
+ var MONTH_OVERFLOW_POPOVER_CARD_H = 64;
65
+ var MONTH_OVERFLOW_POPOVER_ROW_GAP = 8;
66
+ var MONTH_OVERFLOW_POPOVER_ITEM_H = MONTH_OVERFLOW_POPOVER_CARD_H + MONTH_OVERFLOW_POPOVER_ROW_GAP;
67
+ var MONTH_OVERFLOW_POPOVER_LIST_MAX_H = 280;
68
+ var OVERFLOW_MODAL_CARD_H = 100;
69
+ var OVERFLOW_MODAL_ROW_GAP = 8;
70
+ var OVERFLOW_MODAL_ROW_H = OVERFLOW_MODAL_CARD_H + OVERFLOW_MODAL_ROW_GAP;
71
+ var OVERFLOW_MODAL_LIST_MAX_H = 420;
72
+ // Annotate the CommonJS export names for ESM import in node:
73
+ 0 && (module.exports = {
74
+ DAY_BOOKING_MICRO_PX,
75
+ DAY_BOOKING_NARROW_PX,
76
+ DAY_OVERLAY_INNER_BOTTOM,
77
+ DAY_OVERLAY_INNER_TOP,
78
+ DAY_OVERLAY_LANE_GAP,
79
+ DAY_OVERLAY_LANE_MIN_PX,
80
+ DAY_OVERLAY_VISIBLE_BOOKING_CAP,
81
+ DAY_VIEW_COL_BUFFER,
82
+ DAY_VIEW_ROW_BUFFER_PX,
83
+ DEFAULT_CALENDAR_TIMELINE,
84
+ MONTH_OVERFLOW_POPOVER_CARD_H,
85
+ MONTH_OVERFLOW_POPOVER_ITEM_H,
86
+ MONTH_OVERFLOW_POPOVER_LIST_MAX_H,
87
+ MONTH_OVERFLOW_POPOVER_ROW_GAP,
88
+ OVERFLOW_MODAL_CARD_H,
89
+ OVERFLOW_MODAL_LIST_MAX_H,
90
+ OVERFLOW_MODAL_ROW_GAP,
91
+ OVERFLOW_MODAL_ROW_H,
92
+ dayColWidth,
93
+ dayHeaderHeight,
94
+ dayRowHeight,
95
+ frozenColWidth,
96
+ groupRowHeight,
97
+ timeSliceMinutes
98
+ });
@@ -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';
@@ -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,306 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.tsx
30
+ var MoveConfirmModal_exports = {};
31
+ __export(MoveConfirmModal_exports, {
32
+ MoveConfirmModal: () => MoveConfirmModal
33
+ });
34
+ module.exports = __toCommonJS(MoveConfirmModal_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_bookingCalendarDateUtils = require("../utils/bookingCalendarDateUtils");
37
+ var import_calendarI18n = require("../calendarI18n");
38
+ function MoveConfirmModal({
39
+ moveConfirm,
40
+ moveDraft,
41
+ setMoveDraft,
42
+ panelRef,
43
+ isLight,
44
+ courts,
45
+ visibleCourts,
46
+ hourSlots,
47
+ isBusinessHour,
48
+ firstTimelineHour,
49
+ endTimelineExclusive,
50
+ onConfirm,
51
+ onClose
52
+ }) {
53
+ var _a, _b, _c, _d, _e;
54
+ if (!moveConfirm) return null;
55
+ const detail = (0, import_bookingCalendarDateUtils.getBookingDetailData)(moveConfirm.item, courts);
56
+ const currentCustomer = {
57
+ name: ((_a = detail.customer) == null ? void 0 : _a.name) || detail.headerSummary.customerName,
58
+ phone: ((_b = detail.customer) == null ? void 0 : _b.phone) || "",
59
+ email: ((_c = detail.customer) == null ? void 0 : _c.email) || ""
60
+ };
61
+ const originalCourtName = ((_d = courts.find((c) => c.id === moveConfirm.item.courtId)) == null ? void 0 : _d.name) || detail.headerSummary.resourceLabel || (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.courtFallback");
62
+ const nextCourtName = ((_e = courts.find(
63
+ (c) => c.id === ((moveDraft == null ? void 0 : moveDraft.targetCourtId) || moveConfirm.targetCourtId)
64
+ )) == null ? void 0 : _e.name) || (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.courtFallback");
65
+ const originalDate = moveConfirm.item.date;
66
+ const originalStart = (0, import_bookingCalendarDateUtils.formatHourLabel)(moveConfirm.item.startHour);
67
+ const originalEnd = (0, import_bookingCalendarDateUtils.formatHourLabel)(moveConfirm.item.endHour);
68
+ const nextDate = (moveDraft == null ? void 0 : moveDraft.targetDate) || moveConfirm.targetDate;
69
+ const nextStartHour = (moveDraft == null ? void 0 : moveDraft.targetHour) ?? moveConfirm.targetHour;
70
+ const duration = moveConfirm.item.endHour - moveConfirm.item.startHour;
71
+ const nextEndHour = nextStartHour + duration;
72
+ const changed = originalDate !== nextDate || moveConfirm.item.courtId !== ((moveDraft == null ? void 0 : moveDraft.targetCourtId) || moveConfirm.targetCourtId) || moveConfirm.item.startHour !== nextStartHour;
73
+ const isDragScenario = moveConfirm.item.date !== moveConfirm.targetDate || moveConfirm.item.startHour !== moveConfirm.targetHour || moveConfirm.item.courtId !== moveConfirm.targetCourtId;
74
+ const slotDisabledLabel = (hour) => (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.slotDisabled", {
75
+ time: (0, import_bookingCalendarDateUtils.formatHourLabel)(hour)
76
+ });
77
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "fixed inset-0 z-[72] bg-black/45 backdrop-blur-sm flex items-center justify-center p-4" }, /* @__PURE__ */ import_react.default.createElement(
78
+ "div",
79
+ {
80
+ ref: panelRef,
81
+ className: `w-full max-w-[980px] rounded-3xl border p-6 shadow-2xl ${isLight ? "theme-panel theme-border soft-shadow" : "border-zinc-700 bg-[#121217]"}`
82
+ },
83
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "text-[22px] font-semibold" }, (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.title")),
84
+ /* @__PURE__ */ import_react.default.createElement(
85
+ "div",
86
+ {
87
+ className: `mt-2 text-sm ${isLight ? "theme-text-muted" : "text-zinc-400"}`
88
+ },
89
+ (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.subtitle")
90
+ ),
91
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-5 space-y-4" }, /* @__PURE__ */ import_react.default.createElement(
92
+ "div",
93
+ {
94
+ className: `rounded-3xl border p-5 ${isLight ? "theme-panel-alt theme-border" : "border-zinc-700 bg-[#171820]"}`
95
+ },
96
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "min-w-0 flex-1" }, /* @__PURE__ */ import_react.default.createElement(
97
+ "div",
98
+ {
99
+ className: `text-xs uppercase tracking-[0.14em] ${isLight ? "theme-text-muted" : "text-zinc-500"}`
100
+ },
101
+ (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.customer")
102
+ ), /* @__PURE__ */ import_react.default.createElement(
103
+ "div",
104
+ {
105
+ className: `mt-3 text-[20px] font-semibold ${isLight ? "theme-text" : "text-white"}`
106
+ },
107
+ currentCustomer.name
108
+ ), /* @__PURE__ */ import_react.default.createElement(
109
+ "div",
110
+ {
111
+ className: `mt-2 text-sm ${isLight ? "theme-text-muted" : "text-zinc-400"}`
112
+ },
113
+ currentCustomer.phone || (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.noPhone")
114
+ ), /* @__PURE__ */ import_react.default.createElement(
115
+ "div",
116
+ {
117
+ className: `mt-1 text-sm ${isLight ? "theme-text-muted" : "text-zinc-400"}`
118
+ },
119
+ currentCustomer.email || (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.noEmail")
120
+ ))
121
+ ), /* @__PURE__ */ import_react.default.createElement("div", { className: "grid min-w-0 gap-4 md:grid-cols-2" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "min-w-0" }, /* @__PURE__ */ import_react.default.createElement(
122
+ "label",
123
+ {
124
+ className: `mb-2 block text-sm ${isLight ? "theme-text-muted" : "text-zinc-400"}`
125
+ },
126
+ (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.court")
127
+ ), /* @__PURE__ */ import_react.default.createElement(
128
+ "select",
129
+ {
130
+ value: (moveDraft == null ? void 0 : moveDraft.targetCourtId) || moveConfirm.targetCourtId,
131
+ onChange: (e) => setMoveDraft((prev) => ({
132
+ ...prev || {},
133
+ targetCourtId: e.target.value
134
+ })),
135
+ className: `min-w-0 w-full rounded-2xl px-4 py-4 outline-none ${isLight ? "theme-input theme-text" : "border border-zinc-700 bg-[#171820] text-white"}`
136
+ },
137
+ visibleCourts.map((court) => /* @__PURE__ */ import_react.default.createElement("option", { key: court.id, value: court.id }, court.name))
138
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "min-w-0" }, /* @__PURE__ */ import_react.default.createElement(
139
+ "label",
140
+ {
141
+ className: `mb-2 block text-sm ${isLight ? "theme-text-muted" : "text-zinc-400"}`
142
+ },
143
+ (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.newDate")
144
+ ), /* @__PURE__ */ import_react.default.createElement(
145
+ "input",
146
+ {
147
+ type: "date",
148
+ value: (moveDraft == null ? void 0 : moveDraft.targetDate) || moveConfirm.targetDate,
149
+ onChange: (e) => setMoveDraft((prev) => ({
150
+ ...prev || {},
151
+ targetDate: e.target.value
152
+ })),
153
+ 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 ${isLight ? "theme-input theme-text [color-scheme:light]" : "border border-zinc-700 bg-[#171820] text-white"}`
154
+ }
155
+ ))), /* @__PURE__ */ import_react.default.createElement("div", { className: "grid min-w-0 gap-4 md:grid-cols-2" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "min-w-0" }, /* @__PURE__ */ import_react.default.createElement(
156
+ "label",
157
+ {
158
+ className: `mb-2 block text-sm ${isLight ? "theme-text-muted" : "text-zinc-400"}`
159
+ },
160
+ (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.newStartTime")
161
+ ), /* @__PURE__ */ import_react.default.createElement(
162
+ "select",
163
+ {
164
+ value: nextStartHour,
165
+ onChange: (e) => setMoveDraft((prev) => ({
166
+ ...prev || {},
167
+ targetHour: Number(e.target.value)
168
+ })),
169
+ className: `min-w-0 w-full rounded-2xl px-4 py-4 outline-none ${isLight ? "theme-input theme-text" : "border border-zinc-700 bg-[#171820] text-white"}`
170
+ },
171
+ hourSlots.filter(isBusinessHour).map((hour) => {
172
+ const disabled = hour + duration > endTimelineExclusive;
173
+ return /* @__PURE__ */ import_react.default.createElement("option", { key: hour, value: hour, disabled }, disabled ? slotDisabledLabel(hour) : (0, import_bookingCalendarDateUtils.formatHourLabel)(hour));
174
+ })
175
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "min-w-0" }, /* @__PURE__ */ import_react.default.createElement(
176
+ "label",
177
+ {
178
+ className: `mb-2 block text-sm ${isLight ? "theme-text-muted" : "text-zinc-400"}`
179
+ },
180
+ (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.newEndTime")
181
+ ), /* @__PURE__ */ import_react.default.createElement(
182
+ "select",
183
+ {
184
+ value: nextEndHour,
185
+ onChange: (e) => {
186
+ const nextEnd = Number(e.target.value);
187
+ setMoveDraft((prev) => ({
188
+ ...prev || {},
189
+ targetHour: nextEnd - duration
190
+ }));
191
+ },
192
+ className: `min-w-0 w-full rounded-2xl px-4 py-4 outline-none ${isLight ? "theme-input theme-text" : "border border-zinc-700 bg-[#171820] text-white"}`
193
+ },
194
+ hourSlots.filter(isBusinessHour).map((hour) => {
195
+ const startHour = hour - duration;
196
+ const disabled = startHour < firstTimelineHour;
197
+ return /* @__PURE__ */ import_react.default.createElement("option", { key: `end-${hour}`, value: hour, disabled }, disabled ? slotDisabledLabel(hour) : (0, import_bookingCalendarDateUtils.formatHourLabel)(hour));
198
+ })
199
+ ))), changed && /* @__PURE__ */ import_react.default.createElement(
200
+ "div",
201
+ {
202
+ className: `rounded-3xl border p-5 ${isLight ? "theme-panel-alt theme-border" : "border-zinc-700 bg-[#171820]"}`
203
+ },
204
+ /* @__PURE__ */ import_react.default.createElement(
205
+ "div",
206
+ {
207
+ className: `text-xs uppercase tracking-[0.14em] ${isLight ? "theme-text-muted" : "text-zinc-500"}`
208
+ },
209
+ (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.previousInfo")
210
+ ),
211
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-3 grid gap-3 md:grid-cols-2" }, /* @__PURE__ */ import_react.default.createElement(
212
+ "div",
213
+ {
214
+ className: `rounded-2xl p-4 ${isLight ? "theme-panel" : "bg-[#101117]"}`
215
+ },
216
+ /* @__PURE__ */ import_react.default.createElement(
217
+ "div",
218
+ {
219
+ className: `text-xs ${isLight ? "theme-text-muted" : "text-zinc-500"}`
220
+ },
221
+ (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.original")
222
+ ),
223
+ /* @__PURE__ */ import_react.default.createElement(
224
+ "div",
225
+ {
226
+ className: `mt-2 text-sm ${isLight ? "theme-text-soft" : "text-zinc-300"}`
227
+ },
228
+ originalCourtName
229
+ ),
230
+ /* @__PURE__ */ import_react.default.createElement(
231
+ "div",
232
+ {
233
+ className: `mt-1 text-sm ${isLight ? "theme-text-soft" : "text-zinc-300"}`
234
+ },
235
+ originalDate
236
+ ),
237
+ /* @__PURE__ */ import_react.default.createElement(
238
+ "div",
239
+ {
240
+ className: `mt-1 text-sm ${isLight ? "theme-text-soft" : "text-zinc-300"}`
241
+ },
242
+ originalStart,
243
+ " - ",
244
+ originalEnd
245
+ )
246
+ ), /* @__PURE__ */ import_react.default.createElement(
247
+ "div",
248
+ {
249
+ className: `rounded-2xl p-4 ${isLight ? "theme-brand-surface border border-[var(--brand-light)]" : "bg-violet-600/10 border border-violet-500/30"}`
250
+ },
251
+ /* @__PURE__ */ import_react.default.createElement(
252
+ "div",
253
+ {
254
+ className: `text-xs ${isLight ? "theme-brand-text" : "text-violet-300"}`
255
+ },
256
+ isDragScenario ? (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.dropTarget") : (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.updated")
257
+ ),
258
+ /* @__PURE__ */ import_react.default.createElement(
259
+ "div",
260
+ {
261
+ className: `mt-2 text-sm ${isLight ? "theme-text" : "text-white"}`
262
+ },
263
+ nextCourtName
264
+ ),
265
+ /* @__PURE__ */ import_react.default.createElement(
266
+ "div",
267
+ {
268
+ className: `mt-1 text-sm ${isLight ? "theme-text" : "text-white"}`
269
+ },
270
+ nextDate
271
+ ),
272
+ /* @__PURE__ */ import_react.default.createElement(
273
+ "div",
274
+ {
275
+ className: `mt-1 text-sm ${isLight ? "theme-text" : "text-white"}`
276
+ },
277
+ (0, import_bookingCalendarDateUtils.formatHourLabel)(nextStartHour),
278
+ " -",
279
+ " ",
280
+ (0, import_bookingCalendarDateUtils.formatHourLabel)(nextEndHour)
281
+ )
282
+ ))
283
+ )),
284
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-6 flex justify-end gap-3" }, /* @__PURE__ */ import_react.default.createElement(
285
+ "button",
286
+ {
287
+ type: "button",
288
+ onClick: onClose,
289
+ className: `rounded-2xl px-5 py-3 ${isLight ? "btn-neutral" : "border border-zinc-700 text-zinc-300 hover:bg-zinc-800"}`
290
+ },
291
+ (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.common.cancel")
292
+ ), /* @__PURE__ */ import_react.default.createElement(
293
+ "button",
294
+ {
295
+ type: "button",
296
+ onClick: onConfirm,
297
+ className: "rounded-2xl bg-violet-600 px-6 py-3 font-semibold text-white hover:bg-violet-500"
298
+ },
299
+ (0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.move.confirm")
300
+ ))
301
+ ));
302
+ }
303
+ // Annotate the CommonJS export names for ESM import in node:
304
+ 0 && (module.exports = {
305
+ MoveConfirmModal
306
+ });
@@ -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,111 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.tsx
30
+ var OverflowListModal_exports = {};
31
+ __export(OverflowListModal_exports, {
32
+ OverflowListModalVirtualList: () => OverflowListModalVirtualList
33
+ });
34
+ module.exports = __toCommonJS(OverflowListModal_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_react_window = require("react-window");
37
+ var import_bookingCalendarConstants = require("../const/bookingCalendarConstants");
38
+ var import_bookingCalendarDateUtils = require("../utils/bookingCalendarDateUtils");
39
+ var import_bookingCalendarViewShared = require("../bookingCalendarViewShared");
40
+ var import_BookingCalendarStyle = require("../utils/BookingCalendarStyle");
41
+ function OverflowListModalVirtualList({
42
+ items,
43
+ dateKey,
44
+ listWidth,
45
+ onPickItem,
46
+ onClose,
47
+ showStatusUi = true
48
+ }) {
49
+ if (!(items == null ? void 0 : items.length)) return null;
50
+ const listH = Math.min(
51
+ items.length * import_bookingCalendarConstants.OVERFLOW_MODAL_ROW_H,
52
+ import_bookingCalendarConstants.OVERFLOW_MODAL_LIST_MAX_H
53
+ );
54
+ const Row = (0, import_react.useCallback)(
55
+ ({ index, style }) => {
56
+ const extraItem = items[index];
57
+ if (!extraItem) return null;
58
+ const displayTag = showStatusUi ? (0, import_bookingCalendarDateUtils.getDisplayStatusTag)(extraItem, dateKey) : null;
59
+ const tagMeta = showStatusUi && displayTag ? (0, import_bookingCalendarViewShared.statusTagMeta)(displayTag) : null;
60
+ const rowStateClass = showStatusUi ? (0, import_BookingCalendarStyle.getBookingStateClasses)(extraItem, dateKey) : (0, import_BookingCalendarStyle.getGridBookingRowStateClasses)(extraItem);
61
+ return /* @__PURE__ */ import_react.default.createElement(
62
+ "div",
63
+ {
64
+ style: {
65
+ ...style,
66
+ boxSizing: "border-box",
67
+ paddingLeft: 4,
68
+ paddingRight: 4,
69
+ paddingBottom: import_bookingCalendarConstants.OVERFLOW_MODAL_ROW_GAP
70
+ }
71
+ },
72
+ /* @__PURE__ */ import_react.default.createElement(
73
+ "button",
74
+ {
75
+ type: "button",
76
+ onClick: () => {
77
+ onClose();
78
+ onPickItem(extraItem);
79
+ },
80
+ 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 ${rowStateClass}`
81
+ },
82
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "font-medium" }, extraItem.name),
83
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-1 text-sm opacity-85" }, (0, import_bookingCalendarDateUtils.formatHourLabel)(extraItem.startHour), " -", " ", (0, import_bookingCalendarDateUtils.formatHourLabel)(extraItem.endHour)),
84
+ tagMeta && /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-2 flex justify-end" }, /* @__PURE__ */ import_react.default.createElement(
85
+ "span",
86
+ {
87
+ className: `rounded-lg px-2 py-0.5 text-[10px] font-semibold ${tagMeta.className} backdrop-blur-[2px]`
88
+ },
89
+ tagMeta.label
90
+ ))
91
+ )
92
+ );
93
+ },
94
+ [items, dateKey, onPickItem, onClose, showStatusUi]
95
+ );
96
+ return /* @__PURE__ */ import_react.default.createElement(
97
+ import_react_window.FixedSizeList,
98
+ {
99
+ height: listH,
100
+ itemCount: items.length,
101
+ itemSize: import_bookingCalendarConstants.OVERFLOW_MODAL_ROW_H,
102
+ width: listWidth,
103
+ style: { overflowX: "hidden" }
104
+ },
105
+ Row
106
+ );
107
+ }
108
+ // Annotate the CommonJS export names for ESM import in node:
109
+ 0 && (module.exports = {
110
+ OverflowListModalVirtualList
111
+ });