@pisell/materials 6.11.37 → 6.11.39
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.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +26 -56
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +26 -56
- package/es/components/Pagination/index.d.ts +1 -0
- package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -0
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -0
- package/es/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +1 -0
- package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
- package/es/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +1 -0
- package/es/components/PisellCards/components/TabCard/TabCard.d.ts +1 -0
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +1 -0
- package/es/components/PisellCards/index.d.ts +1 -0
- package/es/components/PisellFields/index.d.ts +1 -0
- package/es/components/PisellLayouts/index.d.ts +2 -1
- package/es/components/appVersionControl/index.d.ts +1 -0
- package/es/components/auto-complete-number/index.d.ts +1 -0
- package/es/components/badge/index.d.ts +1 -0
- package/es/components/batch-editor/fields/index.d.ts +1 -0
- package/es/components/batch-editor/index.d.ts +1 -0
- package/es/components/calendar/index.d.ts +1 -0
- package/es/components/cardPro/index.d.ts +1 -0
- package/es/components/checkbox/index.d.ts +1 -0
- package/es/components/classicLayout/index.d.ts +1 -0
- package/es/components/config-provider/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +6 -6
- package/es/components/date-picker/datePickerCpt.d.ts +1 -0
- package/es/components/date-picker/index.d.ts +1 -0
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/es/components/drag-sort-tree/index.d.ts +1 -0
- package/es/components/dropdown/index.d.ts +1 -0
- package/es/components/filter/index.d.ts +1 -0
- package/es/components/list/index.d.ts +1 -0
- package/es/components/lowCodePage/index.d.ts +1 -0
- package/es/components/page/index.d.ts +1 -0
- package/es/components/pisellAdjustPrice/index.d.ts +1 -0
- package/es/components/pisellCard/index.d.ts +1 -0
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
- package/es/components/pisellFilter/index.d.ts +1 -0
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +2 -1
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +47 -3
- package/es/components/pisellFloorMapLayout/types.d.ts +7 -7
- package/es/components/pisellFloorMapLayout/types.js +2 -2
- package/es/components/pisellGridPro/GridView/index.d.ts +1 -0
- package/es/components/pisellGridPro/components/DataCard/index.d.ts +1 -0
- package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
- package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/es/components/pisellInput/index.d.ts +1 -0
- package/es/components/pisellLoading/index.d.ts +1 -0
- package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
- package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
- package/es/components/pisellModal/components/index.d.ts +1 -0
- package/es/components/pisellRecordBoard/index.d.ts +1 -1
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +1039 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +323 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +5 -1
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js +10 -10
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +23 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.js +287 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +4 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +28 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +1 -1
- package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +36 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +38 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +3 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.js +3 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.js +197 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.js +65 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +9 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.js +52 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.js +58 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +232 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +735 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +13 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.js +37 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +56 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +682 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +155 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +27 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +259 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.js +19 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +2 -1
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.js +44 -14
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +4 -2
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +100 -112
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +3 -3
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +41 -234
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.js +143 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +128 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +8 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.js +115 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +6 -4
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +63 -120
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +2 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.js +2 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +42 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +114 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +26 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +52 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +60 -11
- package/es/components/pisellRecordBoard/shellFrame/index.js +34 -7
- package/es/components/pisellRecordBoard/types.d.ts +95 -3
- package/es/components/pisellRecordBoard/types.js +16 -1
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +34 -2
- package/es/components/pisellShellFrame/PisellShellFrame.less +5 -2
- package/es/components/pisellSort/index.d.ts +1 -0
- package/es/components/pisellTooltip/index.d.ts +1 -0
- package/es/components/pisellUpload/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +1 -0
- package/es/components/productCard/components/Action/index.d.ts +1 -0
- package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
- package/es/components/productCard/components/Divider/index.d.ts +1 -0
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
- package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
- package/es/components/productCard/components/Header/index.d.ts +1 -0
- package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
- package/es/components/productCard/components/Note/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/index.d.ts +1 -0
- package/es/components/productCard/components/Sales/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/Like/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/es/components/productCard/components/Time/index.d.ts +1 -0
- package/es/components/qrcode/index.d.ts +1 -0
- package/es/components/radio/index.d.ts +1 -0
- package/es/components/segmented/index.d.ts +1 -0
- package/es/components/select-time/RightPanel/index.d.ts +1 -0
- package/es/components/select-time/index.d.ts +1 -0
- package/es/components/skeleton/index.d.ts +1 -0
- package/es/components/slider/index.d.ts +1 -0
- package/es/components/sort/components/InlineMenu/index.d.ts +1 -0
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
- package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
- package/es/components/table/Actions/component/Group/index.d.ts +1 -0
- package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
- package/es/components/table/Actions/index.d.ts +1 -0
- package/es/components/table/BasicTable/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
- package/es/components/table/Summary/index.d.ts +1 -0
- package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/date/index.d.ts +1 -0
- package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/image/index.d.ts +1 -0
- package/es/components/table/Table/fields/index.d.ts +1 -0
- package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/link/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
- package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
- package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
- package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/TableFilter/SortIcon.d.ts +1 -0
- package/es/components/table/View/index.d.ts +1 -0
- package/es/components/time-picker/index.d.ts +1 -0
- package/es/components/upload/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
- package/es/components/walletCard/Guest/index.d.ts +1 -0
- package/es/components/walletCard/Guide/index.d.ts +1 -0
- package/es/hooks/useResponsive.d.ts +1 -1
- package/es/index.d.ts +1 -1
- package/es/locales/en-US.d.ts +74 -0
- package/es/locales/en-US.js +75 -0
- package/es/locales/ja.d.ts +74 -0
- package/es/locales/ja.js +75 -0
- package/es/locales/pt.d.ts +74 -0
- package/es/locales/pt.js +75 -0
- package/es/locales/zh-CN.d.ts +74 -0
- package/es/locales/zh-CN.js +75 -0
- package/es/locales/zh-TW.d.ts +74 -0
- package/es/locales/zh-TW.js +75 -0
- package/es/pisell-materials.tw.css +1 -1
- package/lib/components/Pagination/index.d.ts +1 -0
- package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -0
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -0
- package/lib/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +1 -0
- package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
- package/lib/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +1 -0
- package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +1 -0
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +1 -0
- package/lib/components/PisellCards/index.d.ts +1 -0
- package/lib/components/PisellFields/index.d.ts +1 -0
- package/lib/components/PisellLayouts/index.d.ts +2 -1
- package/lib/components/appVersionControl/index.d.ts +1 -0
- package/lib/components/auto-complete-number/index.d.ts +1 -0
- package/lib/components/badge/index.d.ts +1 -0
- package/lib/components/batch-editor/fields/index.d.ts +1 -0
- package/lib/components/batch-editor/index.d.ts +1 -0
- package/lib/components/calendar/index.d.ts +1 -0
- package/lib/components/cardPro/index.d.ts +1 -0
- package/lib/components/checkbox/index.d.ts +1 -0
- package/lib/components/classicLayout/index.d.ts +1 -0
- package/lib/components/config-provider/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +6 -6
- package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
- package/lib/components/date-picker/index.d.ts +1 -0
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/lib/components/drag-sort-tree/index.d.ts +1 -0
- package/lib/components/dropdown/index.d.ts +1 -0
- package/lib/components/filter/index.d.ts +1 -0
- package/lib/components/list/index.d.ts +1 -0
- package/lib/components/lowCodePage/index.d.ts +1 -0
- package/lib/components/page/index.d.ts +1 -0
- package/lib/components/pisellAdjustPrice/index.d.ts +1 -0
- package/lib/components/pisellCard/index.d.ts +1 -0
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
- package/lib/components/pisellFilter/index.d.ts +1 -0
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +2 -1
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +1 -1
- package/lib/components/pisellFloorMapLayout/types.d.ts +7 -7
- package/lib/components/pisellGridPro/GridView/index.d.ts +1 -0
- package/lib/components/pisellGridPro/components/DataCard/index.d.ts +1 -0
- package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
- package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/lib/components/pisellInput/index.d.ts +1 -0
- package/lib/components/pisellLoading/index.d.ts +1 -0
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
- package/lib/components/pisellModal/components/index.d.ts +1 -0
- package/lib/components/pisellRecordBoard/index.d.ts +1 -1
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +892 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +323 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +5 -1
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js +7 -6
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +23 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.js +268 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +4 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +53 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +1 -1
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +36 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +98 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +3 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.js +306 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.js +111 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +9 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.js +96 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.js +92 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +232 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +666 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +13 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.js +90 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +56 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +812 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +219 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +27 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +352 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.js +57 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +2 -1
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.js +44 -9
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +4 -2
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +54 -129
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +3 -3
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +36 -178
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.js +163 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +136 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.js +175 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +6 -4
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +61 -88
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +2 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.js +29 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +42 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +139 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +26 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +30 -2
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +47 -4
- package/lib/components/pisellRecordBoard/shellFrame/index.js +29 -13
- package/lib/components/pisellRecordBoard/types.d.ts +95 -3
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +34 -2
- package/lib/components/pisellShellFrame/PisellShellFrame.less +5 -2
- package/lib/components/pisellSort/index.d.ts +1 -0
- package/lib/components/pisellTooltip/index.d.ts +1 -0
- package/lib/components/pisellUpload/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +1 -0
- package/lib/components/productCard/components/Action/index.d.ts +1 -0
- package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
- package/lib/components/productCard/components/Divider/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/index.d.ts +1 -0
- package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
- package/lib/components/productCard/components/Note/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/index.d.ts +1 -0
- package/lib/components/productCard/components/Sales/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/Like/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/index.d.ts +1 -0
- package/lib/components/qrcode/index.d.ts +1 -0
- package/lib/components/radio/index.d.ts +1 -0
- package/lib/components/segmented/index.d.ts +1 -0
- package/lib/components/select-time/RightPanel/index.d.ts +1 -0
- package/lib/components/select-time/index.d.ts +1 -0
- package/lib/components/skeleton/index.d.ts +1 -0
- package/lib/components/slider/index.d.ts +1 -0
- package/lib/components/sort/components/InlineMenu/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
- package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
- package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
- package/lib/components/table/Actions/index.d.ts +1 -0
- package/lib/components/table/BasicTable/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
- package/lib/components/table/Summary/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/index.d.ts +1 -0
- package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/image/index.d.ts +1 -0
- package/lib/components/table/Table/fields/index.d.ts +1 -0
- package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/link/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
- package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
- package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
- package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/TableFilter/SortIcon.d.ts +1 -0
- package/lib/components/table/View/index.d.ts +1 -0
- package/lib/components/time-picker/index.d.ts +1 -0
- package/lib/components/upload/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
- package/lib/components/walletCard/Guest/index.d.ts +1 -0
- package/lib/components/walletCard/Guide/index.d.ts +1 -0
- package/lib/hooks/useResponsive.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/locales/en-US.d.ts +74 -0
- package/lib/locales/en-US.js +75 -0
- package/lib/locales/ja.d.ts +74 -0
- package/lib/locales/ja.js +75 -0
- package/lib/locales/pt.d.ts +74 -0
- package/lib/locales/pt.js +75 -0
- package/lib/locales/zh-CN.d.ts +74 -0
- package/lib/locales/zh-CN.js +75 -0
- package/lib/locales/zh-TW.d.ts +74 -0
- package/lib/locales/zh-TW.js +75 -0
- package/lib/pisell-materials.tw.css +1 -1
- package/package.json +2 -3
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +0 -3
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.js +0 -6233
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +0 -3
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.js +0 -7079
|
@@ -0,0 +1,812 @@
|
|
|
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/view/BookingCalendarDayView.tsx
|
|
30
|
+
var BookingCalendarDayView_exports = {};
|
|
31
|
+
__export(BookingCalendarDayView_exports, {
|
|
32
|
+
BookingCalendarDayView: () => BookingCalendarDayView
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(BookingCalendarDayView_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_icons = require("@ant-design/icons");
|
|
37
|
+
var import_pisellDateTimeDisplay = require("../../../../pisellDateTimeDisplay");
|
|
38
|
+
var import_bookingCalendarDateUtils = require("../utils/bookingCalendarDateUtils");
|
|
39
|
+
var import_bookingCalendarConstants = require("../const/bookingCalendarConstants");
|
|
40
|
+
var import_bookingCalendarViewShared = require("../bookingCalendarViewShared");
|
|
41
|
+
var import_calendarI18n = require("../calendarI18n");
|
|
42
|
+
var import_BookingCalendarDaySelectionBar = require("./BookingCalendarDaySelectionBar");
|
|
43
|
+
var import_bookingCalendarDayViewContext = require("./bookingCalendarDayViewContext");
|
|
44
|
+
function BookingCalendarDayView(dayProps) {
|
|
45
|
+
var _a, _b, _c;
|
|
46
|
+
const props = dayProps.calendarProps;
|
|
47
|
+
const {
|
|
48
|
+
isLight,
|
|
49
|
+
view,
|
|
50
|
+
anchorDate,
|
|
51
|
+
dayKey,
|
|
52
|
+
hourSlots,
|
|
53
|
+
resolvedSlotMinutes,
|
|
54
|
+
slotColWidth,
|
|
55
|
+
firstTimelineHour,
|
|
56
|
+
endTimelineExclusive,
|
|
57
|
+
isBusinessHour,
|
|
58
|
+
dayHourRemaining,
|
|
59
|
+
timelinePxPerHour,
|
|
60
|
+
dayContentHeight,
|
|
61
|
+
dayRowHeights,
|
|
62
|
+
visibleCourtRows,
|
|
63
|
+
overlayBookings,
|
|
64
|
+
dayOverlayOverflowPluses,
|
|
65
|
+
setCollapsedGroups,
|
|
66
|
+
visibleCourts,
|
|
67
|
+
bookings,
|
|
68
|
+
slotStepHours,
|
|
69
|
+
isFreeSelected,
|
|
70
|
+
isBlockSelected,
|
|
71
|
+
toggleSlot,
|
|
72
|
+
handleDropMove,
|
|
73
|
+
hiddenDayOverlayIdSet,
|
|
74
|
+
courtDayDisplayLaneCount,
|
|
75
|
+
openBookingDetail,
|
|
76
|
+
setDraggingItem,
|
|
77
|
+
setNavDirection,
|
|
78
|
+
commitAnchor,
|
|
79
|
+
setFocusedCourtId,
|
|
80
|
+
setOverflowListModal,
|
|
81
|
+
selectedFreeSlots,
|
|
82
|
+
selectedBlockSlots,
|
|
83
|
+
deselectAll,
|
|
84
|
+
openSelectedBlocks,
|
|
85
|
+
onOpenBlockPanel,
|
|
86
|
+
createBookingFromSelection,
|
|
87
|
+
focusedCourtId,
|
|
88
|
+
dayRowRemainingByCourt
|
|
89
|
+
} = dayProps;
|
|
90
|
+
const dayScrollRef = (0, import_react.useRef)(null);
|
|
91
|
+
const dayBodyGridRef = (0, import_react.useRef)(null);
|
|
92
|
+
const dayVirtRafRef = (0, import_react.useRef)(null);
|
|
93
|
+
const dayDragRef = (0, import_react.useRef)({
|
|
94
|
+
dragging: false,
|
|
95
|
+
startX: 0,
|
|
96
|
+
startY: 0,
|
|
97
|
+
startLeft: 0,
|
|
98
|
+
startTop: 0,
|
|
99
|
+
moved: false
|
|
100
|
+
});
|
|
101
|
+
const [dayVirt, setDayVirt] = (0, import_react.useState)({
|
|
102
|
+
i0: 0,
|
|
103
|
+
i1: 0,
|
|
104
|
+
r0: 0,
|
|
105
|
+
r1: 0,
|
|
106
|
+
ready: false
|
|
107
|
+
});
|
|
108
|
+
const [dayDragging, setDayDragging] = (0, import_react.useState)(false);
|
|
109
|
+
const dayRowPrefixTop = (0, import_react.useMemo)(() => {
|
|
110
|
+
const p = [0];
|
|
111
|
+
for (let i = 0; i < dayRowHeights.length; i++) {
|
|
112
|
+
p.push(p[i] + (dayRowHeights[i] ?? import_bookingCalendarConstants.dayRowHeight));
|
|
113
|
+
}
|
|
114
|
+
return p;
|
|
115
|
+
}, [dayRowHeights]);
|
|
116
|
+
const updateDayViewport = (0, import_react.useCallback)(() => {
|
|
117
|
+
const root = dayScrollRef.current;
|
|
118
|
+
const body = dayBodyGridRef.current;
|
|
119
|
+
if (!root || !body) return;
|
|
120
|
+
if (props.renderTimelineHeader) {
|
|
121
|
+
setDayVirt({
|
|
122
|
+
i0: 0,
|
|
123
|
+
i1: Math.max(0, hourSlots.length - 1),
|
|
124
|
+
r0: 0,
|
|
125
|
+
r1: Math.max(0, visibleCourtRows.length - 1),
|
|
126
|
+
ready: false
|
|
127
|
+
});
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
const n = hourSlots.length;
|
|
131
|
+
const nr = visibleCourtRows.length;
|
|
132
|
+
if (n <= 0 || nr <= 0) return;
|
|
133
|
+
const W = slotColWidth;
|
|
134
|
+
const FC = import_bookingCalendarConstants.frozenColWidth;
|
|
135
|
+
const sl = root.scrollLeft;
|
|
136
|
+
const st = root.scrollTop;
|
|
137
|
+
const vw = root.clientWidth;
|
|
138
|
+
const vh = root.clientHeight;
|
|
139
|
+
const bodyTop = body.offsetTop;
|
|
140
|
+
let i0 = Math.floor((sl - FC) / W) - import_bookingCalendarConstants.DAY_VIEW_COL_BUFFER;
|
|
141
|
+
let i1 = Math.ceil((sl + vw - FC) / W) - 1 + import_bookingCalendarConstants.DAY_VIEW_COL_BUFFER;
|
|
142
|
+
i0 = Math.max(0, i0);
|
|
143
|
+
i1 = Math.min(n - 1, i1);
|
|
144
|
+
if (i0 > i1) {
|
|
145
|
+
i0 = 0;
|
|
146
|
+
i1 = n - 1;
|
|
147
|
+
}
|
|
148
|
+
const vTop = st;
|
|
149
|
+
const vBot = st + vh;
|
|
150
|
+
const buf = import_bookingCalendarConstants.DAY_VIEW_ROW_BUFFER_PX;
|
|
151
|
+
let r0 = 0;
|
|
152
|
+
let r1 = nr - 1;
|
|
153
|
+
const pfx = dayRowPrefixTop;
|
|
154
|
+
for (let r = 0; r < nr; r++) {
|
|
155
|
+
const y0 = bodyTop + (pfx[r] ?? 0);
|
|
156
|
+
const y1 = bodyTop + (pfx[r + 1] ?? 0);
|
|
157
|
+
if (y1 > vTop - buf) {
|
|
158
|
+
r0 = r;
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
for (let r = nr - 1; r >= 0; r--) {
|
|
163
|
+
const y0 = bodyTop + (pfx[r] ?? 0);
|
|
164
|
+
if (y0 < vBot + buf) {
|
|
165
|
+
r1 = r;
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
if (r0 > r1) {
|
|
170
|
+
r0 = 0;
|
|
171
|
+
r1 = nr - 1;
|
|
172
|
+
}
|
|
173
|
+
setDayVirt((prev) => {
|
|
174
|
+
if (prev.ready && prev.i0 === i0 && prev.i1 === i1 && prev.r0 === r0 && prev.r1 === r1) {
|
|
175
|
+
return prev;
|
|
176
|
+
}
|
|
177
|
+
return { i0, i1, r0, r1, ready: true };
|
|
178
|
+
});
|
|
179
|
+
}, [
|
|
180
|
+
props.renderTimelineHeader,
|
|
181
|
+
hourSlots.length,
|
|
182
|
+
visibleCourtRows.length,
|
|
183
|
+
slotColWidth,
|
|
184
|
+
import_bookingCalendarConstants.frozenColWidth,
|
|
185
|
+
dayRowPrefixTop
|
|
186
|
+
]);
|
|
187
|
+
const scheduleDayViewportUpdate = (0, import_react.useCallback)(() => {
|
|
188
|
+
if (dayVirtRafRef.current != null) return;
|
|
189
|
+
dayVirtRafRef.current = requestAnimationFrame(() => {
|
|
190
|
+
dayVirtRafRef.current = null;
|
|
191
|
+
updateDayViewport();
|
|
192
|
+
});
|
|
193
|
+
}, [updateDayViewport]);
|
|
194
|
+
(0, import_react.useLayoutEffect)(() => {
|
|
195
|
+
const root = dayScrollRef.current;
|
|
196
|
+
if (!root) return void 0;
|
|
197
|
+
scheduleDayViewportUpdate();
|
|
198
|
+
const onScroll = () => scheduleDayViewportUpdate();
|
|
199
|
+
root.addEventListener("scroll", onScroll, { passive: true });
|
|
200
|
+
let ro;
|
|
201
|
+
if (typeof ResizeObserver !== "undefined") {
|
|
202
|
+
ro = new ResizeObserver(() => scheduleDayViewportUpdate());
|
|
203
|
+
try {
|
|
204
|
+
ro.observe(root);
|
|
205
|
+
} catch {
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
return () => {
|
|
209
|
+
root.removeEventListener("scroll", onScroll);
|
|
210
|
+
if (ro) ro.disconnect();
|
|
211
|
+
if (dayVirtRafRef.current != null) {
|
|
212
|
+
cancelAnimationFrame(dayVirtRafRef.current);
|
|
213
|
+
dayVirtRafRef.current = null;
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
}, [
|
|
217
|
+
dayKey,
|
|
218
|
+
scheduleDayViewportUpdate,
|
|
219
|
+
hourSlots.length,
|
|
220
|
+
visibleCourtRows.length
|
|
221
|
+
]);
|
|
222
|
+
(0, import_react.useEffect)(() => {
|
|
223
|
+
if (!focusedCourtId || !dayScrollRef.current) return;
|
|
224
|
+
const timer = setTimeout(() => {
|
|
225
|
+
var _a2;
|
|
226
|
+
const el = (_a2 = dayScrollRef.current) == null ? void 0 : _a2.querySelector(
|
|
227
|
+
`[data-court-row="${focusedCourtId}"]`
|
|
228
|
+
);
|
|
229
|
+
if (el) el.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
230
|
+
}, 180);
|
|
231
|
+
return () => clearTimeout(timer);
|
|
232
|
+
}, [focusedCourtId, anchorDate, dayKey]);
|
|
233
|
+
const handleDayMouseMove = (0, import_react.useCallback)(
|
|
234
|
+
(e) => {
|
|
235
|
+
if (!dayDragRef.current.dragging || !dayScrollRef.current) return;
|
|
236
|
+
const dx = e.clientX - dayDragRef.current.startX;
|
|
237
|
+
const dy = e.clientY - dayDragRef.current.startY;
|
|
238
|
+
if (Math.abs(dx) > 3 || Math.abs(dy) > 3) dayDragRef.current.moved = true;
|
|
239
|
+
dayScrollRef.current.scrollLeft = dayDragRef.current.startLeft - dx;
|
|
240
|
+
dayScrollRef.current.scrollTop = dayDragRef.current.startTop - dy;
|
|
241
|
+
scheduleDayViewportUpdate();
|
|
242
|
+
},
|
|
243
|
+
[scheduleDayViewportUpdate]
|
|
244
|
+
);
|
|
245
|
+
const handleDayMouseUp = (0, import_react.useCallback)(() => {
|
|
246
|
+
dayDragRef.current.dragging = false;
|
|
247
|
+
setDayDragging(false);
|
|
248
|
+
}, []);
|
|
249
|
+
const handleDayMouseDown = (0, import_react.useCallback)((e) => {
|
|
250
|
+
if (!dayScrollRef.current) return;
|
|
251
|
+
const interactive = e.target.closest(
|
|
252
|
+
"button, input, select, textarea, a, label"
|
|
253
|
+
);
|
|
254
|
+
if (interactive) return;
|
|
255
|
+
const dragHost = e.target.closest("[draggable]");
|
|
256
|
+
if (dragHost instanceof HTMLElement && dragHost.draggable) return;
|
|
257
|
+
const el = dayScrollRef.current;
|
|
258
|
+
dayDragRef.current = {
|
|
259
|
+
dragging: true,
|
|
260
|
+
startX: e.clientX,
|
|
261
|
+
startY: e.clientY,
|
|
262
|
+
startLeft: el.scrollLeft,
|
|
263
|
+
startTop: el.scrollTop,
|
|
264
|
+
moved: false
|
|
265
|
+
};
|
|
266
|
+
setDayDragging(true);
|
|
267
|
+
e.preventDefault();
|
|
268
|
+
}, []);
|
|
269
|
+
(0, import_react.useEffect)(() => {
|
|
270
|
+
window.addEventListener("mousemove", handleDayMouseMove);
|
|
271
|
+
window.addEventListener("mouseup", handleDayMouseUp);
|
|
272
|
+
return () => {
|
|
273
|
+
window.removeEventListener("mousemove", handleDayMouseMove);
|
|
274
|
+
window.removeEventListener("mouseup", handleDayMouseUp);
|
|
275
|
+
};
|
|
276
|
+
}, [anchorDate, visibleCourts.length, handleDayMouseMove, handleDayMouseUp]);
|
|
277
|
+
const daySlotVirtEnabled = !props.renderTimelineHeader && dayVirt.ready;
|
|
278
|
+
const dayVirtI0 = daySlotVirtEnabled ? dayVirt.i0 : 0;
|
|
279
|
+
const dayVirtI1 = daySlotVirtEnabled ? dayVirt.i1 : Math.max(0, hourSlots.length - 1);
|
|
280
|
+
const dayVirtR0 = daySlotVirtEnabled ? dayVirt.r0 : 0;
|
|
281
|
+
const dayVirtR1 = daySlotVirtEnabled ? dayVirt.r1 : Math.max(0, visibleCourtRows.length - 1);
|
|
282
|
+
const dayVisibleSlotIndices = (0, import_react.useMemo)(() => {
|
|
283
|
+
const out = [];
|
|
284
|
+
for (let hi = dayVirtI0; hi <= dayVirtI1; hi++) out.push(hi);
|
|
285
|
+
return out;
|
|
286
|
+
}, [dayVirtI0, dayVirtI1]);
|
|
287
|
+
const courtRowIndexById = (0, import_react.useMemo)(() => {
|
|
288
|
+
const m = /* @__PURE__ */ new Map();
|
|
289
|
+
visibleCourtRows.forEach((row, idx) => {
|
|
290
|
+
if (row.kind === "court") m.set(row.id, idx);
|
|
291
|
+
});
|
|
292
|
+
return m;
|
|
293
|
+
}, [visibleCourtRows]);
|
|
294
|
+
const visibleDayOverlayBookings = (0, import_react.useMemo)(() => {
|
|
295
|
+
if (!daySlotVirtEnabled) return overlayBookings;
|
|
296
|
+
const t0 = hourSlots[dayVirtI0];
|
|
297
|
+
const t1 = hourSlots[dayVirtI1] + slotStepHours;
|
|
298
|
+
return overlayBookings.filter((b) => {
|
|
299
|
+
if (b.rowIndex < dayVirtR0 || b.rowIndex > dayVirtR1) return false;
|
|
300
|
+
const bs = b.start;
|
|
301
|
+
const be = b.start + b.span;
|
|
302
|
+
return be > t0 - 1e-6 && bs < t1 + 1e-6;
|
|
303
|
+
});
|
|
304
|
+
}, [
|
|
305
|
+
daySlotVirtEnabled,
|
|
306
|
+
overlayBookings,
|
|
307
|
+
hourSlots,
|
|
308
|
+
dayVirtI0,
|
|
309
|
+
dayVirtI1,
|
|
310
|
+
dayVirtR0,
|
|
311
|
+
dayVirtR1,
|
|
312
|
+
slotStepHours
|
|
313
|
+
]);
|
|
314
|
+
const visibleDayOverflowPluses = (0, import_react.useMemo)(() => {
|
|
315
|
+
if (!daySlotVirtEnabled) return dayOverlayOverflowPluses;
|
|
316
|
+
const t0 = hourSlots[dayVirtI0];
|
|
317
|
+
const t1 = hourSlots[dayVirtI1] + slotStepHours;
|
|
318
|
+
return dayOverlayOverflowPluses.filter((pill) => {
|
|
319
|
+
const ri = courtRowIndexById.get(pill.courtId);
|
|
320
|
+
if (ri == null || ri < dayVirtR0 || ri > dayVirtR1) return false;
|
|
321
|
+
const ps = pill.start;
|
|
322
|
+
const pe = pill.start + pill.span;
|
|
323
|
+
return pe > t0 - 1e-6 && ps < t1 + 1e-6;
|
|
324
|
+
});
|
|
325
|
+
}, [
|
|
326
|
+
daySlotVirtEnabled,
|
|
327
|
+
dayOverlayOverflowPluses,
|
|
328
|
+
hourSlots,
|
|
329
|
+
dayVirtI0,
|
|
330
|
+
dayVirtI1,
|
|
331
|
+
dayVirtR0,
|
|
332
|
+
dayVirtR1,
|
|
333
|
+
slotStepHours,
|
|
334
|
+
courtRowIndexById
|
|
335
|
+
]);
|
|
336
|
+
const dayChromeValue = (0, import_react.useMemo)(
|
|
337
|
+
() => ({ calendarProps: props, isLight }),
|
|
338
|
+
[props, isLight]
|
|
339
|
+
);
|
|
340
|
+
return /* @__PURE__ */ import_react.default.createElement(import_bookingCalendarDayViewContext.BookingCalendarDayChromeProvider, { value: dayChromeValue }, /* @__PURE__ */ import_react.default.createElement("div", { key: `day-${dayKey}`, className: "flex min-h-0 flex-1 flex-col" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "relative flex min-h-0 flex-1 flex-col p-2 md:p-4" }, /* @__PURE__ */ import_react.default.createElement(
|
|
341
|
+
"div",
|
|
342
|
+
{
|
|
343
|
+
ref: dayScrollRef,
|
|
344
|
+
onMouseDown: handleDayMouseDown,
|
|
345
|
+
onMouseMove: handleDayMouseMove,
|
|
346
|
+
onMouseUp: handleDayMouseUp,
|
|
347
|
+
onMouseLeave: handleDayMouseUp,
|
|
348
|
+
className: `pisell-scroll-hidden relative rounded-3xl border min-h-0 max-h-none flex-1 overflow-auto overscroll-contain touch-pan-x touch-pan-y select-none ${isLight ? "theme-panel theme-border" : "border-zinc-800 bg-[#121217]"} ${dayDragging ? "cursor-grabbing" : "cursor-grab"}`
|
|
349
|
+
},
|
|
350
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
351
|
+
"div",
|
|
352
|
+
{
|
|
353
|
+
className: "relative",
|
|
354
|
+
style: {
|
|
355
|
+
minWidth: `${import_bookingCalendarConstants.frozenColWidth + hourSlots.length * slotColWidth}px`,
|
|
356
|
+
minHeight: `${dayContentHeight}px`
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
360
|
+
"div",
|
|
361
|
+
{
|
|
362
|
+
className: "grid sticky top-0 z-50",
|
|
363
|
+
style: {
|
|
364
|
+
gridTemplateColumns: `${import_bookingCalendarConstants.frozenColWidth}px repeat(${hourSlots.length}, ${slotColWidth}px)`,
|
|
365
|
+
...((_a = props.timelineHeaderGroups) == null ? void 0 : _a.length) && !props.renderTimelineHeader ? { gridTemplateRows: "auto auto" } : {}
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
369
|
+
"div",
|
|
370
|
+
{
|
|
371
|
+
className: `sticky left-0 top-0 z-[60] w-[132px] min-w-[132px] max-w-[132px] px-3 py-4 font-semibold border-b shadow-[8px_0_16px_rgba(0,0,0,0.08)] ${isLight ? "surface-brand-side text-slate-900" : "bg-[#241d40] border-zinc-800 text-zinc-100"}`,
|
|
372
|
+
style: ((_b = props.timelineHeaderGroups) == null ? void 0 : _b.length) && !props.renderTimelineHeader ? { gridRow: "1 / span 2" } : void 0
|
|
373
|
+
},
|
|
374
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
375
|
+
import_pisellDateTimeDisplay.PisellDateTimeDisplay,
|
|
376
|
+
{
|
|
377
|
+
value: anchorDate,
|
|
378
|
+
disableAutoRefresh: true,
|
|
379
|
+
layout: "vertical",
|
|
380
|
+
textAlign: "left",
|
|
381
|
+
fields: {
|
|
382
|
+
showTime: false,
|
|
383
|
+
showWeekday: false,
|
|
384
|
+
fieldOrder: ["date"]
|
|
385
|
+
},
|
|
386
|
+
dateFormat: {
|
|
387
|
+
showYear: true,
|
|
388
|
+
showChineseUnit: true
|
|
389
|
+
},
|
|
390
|
+
style: { color: "inherit" },
|
|
391
|
+
dateStyle: {
|
|
392
|
+
color: "inherit",
|
|
393
|
+
fontWeight: 600,
|
|
394
|
+
fontSize: 14
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
)
|
|
398
|
+
),
|
|
399
|
+
props.renderTimelineHeader ? /* @__PURE__ */ import_react.default.createElement("div", { style: { display: "contents" } }, props.renderTimelineHeader({
|
|
400
|
+
anchorDate,
|
|
401
|
+
hourSlots,
|
|
402
|
+
slotStepMinutes: resolvedSlotMinutes,
|
|
403
|
+
slotColWidthPx: slotColWidth,
|
|
404
|
+
isLight,
|
|
405
|
+
firstTimelineHour,
|
|
406
|
+
endTimelineExclusive,
|
|
407
|
+
isBusinessHour,
|
|
408
|
+
formatHourLabel: import_bookingCalendarDateUtils.formatHourLabel,
|
|
409
|
+
getSlotStartHour: (i) => hourSlots[i],
|
|
410
|
+
slotCount: hourSlots.length,
|
|
411
|
+
dayHourRemaining
|
|
412
|
+
})) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, (_c = props.timelineHeaderGroups) == null ? void 0 : _c.map((g, gi) => {
|
|
413
|
+
if (daySlotVirtEnabled && (g.endSlotIndex < dayVirtI0 || g.startSlotIndex > dayVirtI1)) {
|
|
414
|
+
return null;
|
|
415
|
+
}
|
|
416
|
+
const span = g.endSlotIndex - g.startSlotIndex + 1;
|
|
417
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
418
|
+
"div",
|
|
419
|
+
{
|
|
420
|
+
key: `cal-hdr-g-${gi}`,
|
|
421
|
+
className: `border-b border-l px-2 py-1.5 text-center text-xs font-semibold ${isLight ? "theme-border theme-panel-soft theme-text-soft" : "border-zinc-800 bg-[#1e1a32] text-zinc-200"}`,
|
|
422
|
+
style: {
|
|
423
|
+
gridColumn: `${2 + g.startSlotIndex} / span ${span}`,
|
|
424
|
+
gridRow: 1
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
g.label
|
|
428
|
+
);
|
|
429
|
+
}), (daySlotVirtEnabled ? dayVisibleSlotIndices : hourSlots.map((_, hi) => hi)).map((hi) => {
|
|
430
|
+
var _a2;
|
|
431
|
+
const hour = hourSlots[hi];
|
|
432
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
433
|
+
"div",
|
|
434
|
+
{
|
|
435
|
+
key: `hdr-${hi}-${hour}`,
|
|
436
|
+
className: `border-b border-l px-2 py-2.5 text-center text-sm font-medium ${isLight ? "theme-border" : "border-zinc-800"} ${isBusinessHour(hour) ? isLight ? "theme-panel-soft theme-text-soft" : "bg-[#1a1a22] text-zinc-300" : isLight ? "bg-slate-100 theme-text-faint" : "bg-zinc-800/80 text-zinc-500"}`,
|
|
437
|
+
style: ((_a2 = props.timelineHeaderGroups) == null ? void 0 : _a2.length) ? { gridRow: 2, gridColumn: hi + 2 } : { gridColumn: hi + 2 }
|
|
438
|
+
},
|
|
439
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "flex items-center justify-center gap-1" }, /* @__PURE__ */ import_react.default.createElement(import_icons.ClockCircleOutlined, { style: { fontSize: 14 } }), " ", (0, import_bookingCalendarDateUtils.formatHourLabel)(hour)),
|
|
440
|
+
isBusinessHour(hour) && dayHourRemaining[hour] && /* @__PURE__ */ import_react.default.createElement(
|
|
441
|
+
"div",
|
|
442
|
+
{
|
|
443
|
+
className: `mt-1 text-[11px] font-semibold ${(0, import_bookingCalendarViewShared.getRemainingToneClass)(
|
|
444
|
+
dayHourRemaining[hour].ratio,
|
|
445
|
+
isLight
|
|
446
|
+
)}`
|
|
447
|
+
},
|
|
448
|
+
(0, import_calendarI18n.tCal)("pisell2.recordBoard.calendar.day.freeRatio", {
|
|
449
|
+
remaining: dayHourRemaining[hour].remaining,
|
|
450
|
+
total: dayHourRemaining[hour].total
|
|
451
|
+
})
|
|
452
|
+
)
|
|
453
|
+
);
|
|
454
|
+
}))
|
|
455
|
+
),
|
|
456
|
+
dayKey === (0, import_bookingCalendarDateUtils.getViewNowReference)().dateKey && /* @__PURE__ */ import_react.default.createElement(
|
|
457
|
+
"div",
|
|
458
|
+
{
|
|
459
|
+
className: "pointer-events-none absolute inset-y-0 z-20",
|
|
460
|
+
style: {
|
|
461
|
+
left: `${import_bookingCalendarConstants.frozenColWidth + ((0, import_bookingCalendarDateUtils.getViewNowReference)().hourFloat - firstTimelineHour) * timelinePxPerHour}px`
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "relative h-full" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "absolute inset-y-0 w-[2px] bg-emerald-400/95 shadow-[0_0_10px_rgba(16,185,129,0.65)]" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "sticky top-2 z-30 -translate-x-1/2 rounded-full bg-emerald-500 px-2 py-0.5 text-[10px] font-semibold text-white shadow-lg w-fit" }, (0, import_bookingCalendarDateUtils.currentTimeLabel)()))
|
|
465
|
+
),
|
|
466
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
467
|
+
"div",
|
|
468
|
+
{
|
|
469
|
+
ref: dayBodyGridRef,
|
|
470
|
+
className: "grid relative",
|
|
471
|
+
style: {
|
|
472
|
+
gridTemplateColumns: `${import_bookingCalendarConstants.frozenColWidth}px repeat(${hourSlots.length}, ${slotColWidth}px)`,
|
|
473
|
+
gridTemplateRows: dayRowHeights.map((h) => `${h}px`).join(" ")
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
visibleCourtRows.map(
|
|
477
|
+
(row, rowIndex) => daySlotVirtEnabled && (rowIndex < dayVirtR0 || rowIndex > dayVirtR1) ? /* @__PURE__ */ import_react.default.createElement(
|
|
478
|
+
"div",
|
|
479
|
+
{
|
|
480
|
+
key: `${row.id}-skip`,
|
|
481
|
+
className: `pointer-events-none border-b ${isLight ? "theme-border" : "border-zinc-800"}`,
|
|
482
|
+
style: {
|
|
483
|
+
gridColumn: "1 / -1",
|
|
484
|
+
gridRow: rowIndex + 1
|
|
485
|
+
},
|
|
486
|
+
"aria-hidden": true
|
|
487
|
+
}
|
|
488
|
+
) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, { key: row.id }, row.kind === "group" ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
|
|
489
|
+
"div",
|
|
490
|
+
{
|
|
491
|
+
className: `sticky left-0 z-30 w-[132px] min-w-[132px] max-w-[132px] border-b px-2.5 py-2 shadow-[8px_0_16px_rgba(0,0,0,0.08)] ${isLight ? "border-slate-200 bg-gradient-to-b from-slate-100 to-slate-50" : "border-zinc-800/80 bg-gradient-to-b from-[#252038] to-[#1a1628]"}`,
|
|
492
|
+
style: daySlotVirtEnabled ? {
|
|
493
|
+
gridRow: rowIndex + 1,
|
|
494
|
+
gridColumn: 1
|
|
495
|
+
} : void 0
|
|
496
|
+
},
|
|
497
|
+
props.renderResourceCell ? props.renderResourceCell({
|
|
498
|
+
view: "day",
|
|
499
|
+
row: {
|
|
500
|
+
kind: "group",
|
|
501
|
+
id: row.id,
|
|
502
|
+
label: row.label,
|
|
503
|
+
count: row.count,
|
|
504
|
+
collapsed: row.collapsed
|
|
505
|
+
},
|
|
506
|
+
isLight,
|
|
507
|
+
onToggleGroup: (label) => setCollapsedGroups((prev) => ({
|
|
508
|
+
...prev,
|
|
509
|
+
[label]: !prev[label]
|
|
510
|
+
}))
|
|
511
|
+
}) : /* @__PURE__ */ import_react.default.createElement(
|
|
512
|
+
"button",
|
|
513
|
+
{
|
|
514
|
+
type: "button",
|
|
515
|
+
"aria-expanded": !row.collapsed,
|
|
516
|
+
onClick: () => setCollapsedGroups((prev) => ({
|
|
517
|
+
...prev,
|
|
518
|
+
[row.label]: !prev[row.label]
|
|
519
|
+
})),
|
|
520
|
+
className: `flex w-full items-center gap-2 rounded-lg px-1 py-1 text-left transition-colors ${isLight ? "hover:bg-white/60" : "hover:bg-white/[0.04] active:bg-white/[0.07]"}`
|
|
521
|
+
},
|
|
522
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
523
|
+
import_icons.DownOutlined,
|
|
524
|
+
{
|
|
525
|
+
style: { fontSize: 15 },
|
|
526
|
+
className: `shrink-0 transition-transform duration-200 ${isLight ? "text-slate-500" : "text-zinc-500"} ${row.collapsed ? "-rotate-90" : "rotate-0"}`,
|
|
527
|
+
"aria-hidden": true
|
|
528
|
+
}
|
|
529
|
+
),
|
|
530
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "flex min-w-0 flex-1 items-center gap-1.5" }, /* @__PURE__ */ import_react.default.createElement(
|
|
531
|
+
"span",
|
|
532
|
+
{
|
|
533
|
+
className: `truncate text-[13px] font-semibold leading-snug ${isLight ? "text-slate-800" : "text-zinc-100"}`
|
|
534
|
+
},
|
|
535
|
+
row.label
|
|
536
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
537
|
+
"span",
|
|
538
|
+
{
|
|
539
|
+
className: `shrink-0 rounded-md px-1.5 py-0.5 text-[10px] font-semibold tabular-nums ${isLight ? "bg-violet-100 text-violet-800" : "bg-zinc-800/90 text-zinc-300 ring-1 ring-zinc-600/40"}`
|
|
540
|
+
},
|
|
541
|
+
row.count
|
|
542
|
+
))
|
|
543
|
+
)
|
|
544
|
+
), (daySlotVirtEnabled ? dayVisibleSlotIndices : hourSlots.map((_, hi) => hi)).map((hi) => {
|
|
545
|
+
const hour = hourSlots[hi];
|
|
546
|
+
const groupCourts = visibleCourts.filter(
|
|
547
|
+
(court) => court.type === row.label
|
|
548
|
+
);
|
|
549
|
+
const remaining = groupCourts.filter(
|
|
550
|
+
(court) => !(0, import_bookingCalendarDateUtils.dayOccupancy)(
|
|
551
|
+
court.id,
|
|
552
|
+
dayKey,
|
|
553
|
+
bookings,
|
|
554
|
+
hourSlots,
|
|
555
|
+
slotStepHours
|
|
556
|
+
)[hour]
|
|
557
|
+
).length;
|
|
558
|
+
const ratio = groupCourts.length > 0 ? remaining / groupCourts.length : 0;
|
|
559
|
+
const outsideBusiness = !isBusinessHour(hour);
|
|
560
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
561
|
+
"div",
|
|
562
|
+
{
|
|
563
|
+
key: `${row.id}-${hour}-${hi}`,
|
|
564
|
+
className: `border-b border-l px-2 py-1.5 text-center text-sm font-medium ${isLight ? "theme-border" : "border-zinc-800"} ${outsideBusiness ? isLight ? "bg-slate-100 theme-text-faint" : "bg-zinc-800/80 text-zinc-500" : isLight ? "theme-panel-soft" : "bg-[#151a2f] text-zinc-300"}`,
|
|
565
|
+
style: daySlotVirtEnabled ? {
|
|
566
|
+
gridRow: rowIndex + 1,
|
|
567
|
+
gridColumn: hi + 2
|
|
568
|
+
} : void 0
|
|
569
|
+
},
|
|
570
|
+
outsideBusiness ? /* @__PURE__ */ import_react.default.createElement("div", { className: "text-xs opacity-60" }, "—") : /* @__PURE__ */ import_react.default.createElement(
|
|
571
|
+
"div",
|
|
572
|
+
{
|
|
573
|
+
className: `text-xs font-semibold ${(0, import_bookingCalendarViewShared.getRemainingToneClass)(
|
|
574
|
+
ratio,
|
|
575
|
+
isLight
|
|
576
|
+
)}`
|
|
577
|
+
},
|
|
578
|
+
remaining,
|
|
579
|
+
"/",
|
|
580
|
+
groupCourts.length,
|
|
581
|
+
" free"
|
|
582
|
+
)
|
|
583
|
+
);
|
|
584
|
+
})) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
|
|
585
|
+
"div",
|
|
586
|
+
{
|
|
587
|
+
"data-court-row": row.id,
|
|
588
|
+
className: `sticky left-0 z-30 flex h-full min-h-0 w-[132px] min-w-[132px] max-w-[132px] flex-col border-b px-3 py-3 shadow-[8px_0_16px_rgba(0,0,0,0.06)] ${isLight ? focusedCourtId === row.id ? "surface-brand-side ring-2 ring-[var(--brand-light)]/70" : "surface-brand-side-muted" : focusedCourtId === row.id ? "ring-2 ring-violet-400/70 bg-violet-900/20 border-zinc-800" : "bg-[#1a1a22] border-zinc-800"}`,
|
|
589
|
+
style: daySlotVirtEnabled ? {
|
|
590
|
+
gridRow: rowIndex + 1,
|
|
591
|
+
gridColumn: 1
|
|
592
|
+
} : void 0
|
|
593
|
+
},
|
|
594
|
+
props.renderResourceCell ? props.renderResourceCell({
|
|
595
|
+
view: "day",
|
|
596
|
+
row: {
|
|
597
|
+
kind: "court",
|
|
598
|
+
id: row.id,
|
|
599
|
+
name: row.name,
|
|
600
|
+
type: row.type
|
|
601
|
+
},
|
|
602
|
+
isLight
|
|
603
|
+
}) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "font-semibold text-base leading-tight break-all" }, row.name), dayRowRemainingByCourt[row.id] && /* @__PURE__ */ import_react.default.createElement(
|
|
604
|
+
"div",
|
|
605
|
+
{
|
|
606
|
+
className: `mt-2 text-xs font-semibold ${(0, import_bookingCalendarViewShared.getRemainingToneClass)(
|
|
607
|
+
dayRowRemainingByCourt[row.id].ratio,
|
|
608
|
+
isLight
|
|
609
|
+
)}`
|
|
610
|
+
},
|
|
611
|
+
dayRowRemainingByCourt[row.id].remaining,
|
|
612
|
+
"/",
|
|
613
|
+
dayRowRemainingByCourt[row.id].total,
|
|
614
|
+
" slots free"
|
|
615
|
+
))
|
|
616
|
+
), (daySlotVirtEnabled ? dayVisibleSlotIndices : hourSlots.map((_, hi) => hi)).map((hi) => {
|
|
617
|
+
const hour = hourSlots[hi];
|
|
618
|
+
const item = (0, import_bookingCalendarDateUtils.dayOccupancy)(
|
|
619
|
+
row.id,
|
|
620
|
+
dayKey,
|
|
621
|
+
bookings,
|
|
622
|
+
hourSlots,
|
|
623
|
+
slotStepHours
|
|
624
|
+
)[hour];
|
|
625
|
+
const isBlock = (item == null ? void 0 : item.kind) === "block";
|
|
626
|
+
const isOccupied = !!item;
|
|
627
|
+
const freeSelected = isFreeSelected(row.id, hour);
|
|
628
|
+
const blockSelected = isBlockSelected(row.id, hour);
|
|
629
|
+
const outsideBusiness = !isBusinessHour(hour);
|
|
630
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
631
|
+
"button",
|
|
632
|
+
{
|
|
633
|
+
key: `${row.id}-${hour}-${hi}`,
|
|
634
|
+
style: daySlotVirtEnabled ? {
|
|
635
|
+
gridRow: rowIndex + 1,
|
|
636
|
+
gridColumn: hi + 2
|
|
637
|
+
} : void 0,
|
|
638
|
+
onClick: () => !outsideBusiness && toggleSlot(row.id, hour),
|
|
639
|
+
onDragOver: (e) => {
|
|
640
|
+
if (!outsideBusiness) e.preventDefault();
|
|
641
|
+
},
|
|
642
|
+
onDrop: (e) => {
|
|
643
|
+
if (!outsideBusiness) {
|
|
644
|
+
e.preventDefault();
|
|
645
|
+
handleDropMove(row.id, dayKey, hour);
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
className: `relative h-full min-h-0 p-2 text-left transition outline-none ${isOccupied && !outsideBusiness ? "border-l-transparent border-b-transparent" : `border-b border-l ${isLight ? "theme-border" : "border-zinc-700"}`} ${outsideBusiness ? isLight ? "bg-slate-100 theme-text-faint" : "bg-zinc-800/80 text-zinc-500 border-zinc-700" : isBlock ? blockSelected ? "bg-red-500/25 border-red-400 ring-2 ring-red-400/60" : isLight ? "bg-red-50 border-red-200" : "bg-red-900/50 border-red-700/50" : isOccupied ? "bg-transparent" : freeSelected ? isLight ? "bg-violet-50 border-violet-300 ring-2 ring-violet-300/60" : "bg-white/10 border-violet-400 ring-2 ring-violet-400/60" : isLight ? "theme-grid-cell hover:bg-violet-50/60" : "bg-zinc-900 border-zinc-700 hover:bg-zinc-800"}`
|
|
649
|
+
},
|
|
650
|
+
outsideBusiness ? /* @__PURE__ */ import_react.default.createElement("div", { className: "flex h-full items-center justify-center rounded-xl border border-dashed border-zinc-700 text-xs text-zinc-500" }, (0, import_calendarI18n.tCal)(
|
|
651
|
+
"pisell2.recordBoard.calendar.day.outsideHours"
|
|
652
|
+
)) : (item == null ? void 0 : item.kind) === "block" ? /* @__PURE__ */ import_react.default.createElement("div", { className: "flex h-full w-full flex-col justify-center rounded-xl px-3 text-sm font-medium" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "truncate" }, blockSelected ? (0, import_calendarI18n.tCal)(
|
|
653
|
+
"pisell2.recordBoard.calendar.day.selectedBlock"
|
|
654
|
+
) : item.name), item.note && /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-1 text-xs text-zinc-300/90 truncate" }, item.note), (0, import_bookingCalendarViewShared.getBlockMetaLine)(item) && /* @__PURE__ */ import_react.default.createElement("div", { className: "mt-1 text-[10px] text-zinc-400 truncate" }, (0, import_bookingCalendarViewShared.getBlockMetaLine)(item))) : !item ? /* @__PURE__ */ import_react.default.createElement(
|
|
655
|
+
"div",
|
|
656
|
+
{
|
|
657
|
+
className: `flex h-full items-center justify-center rounded-xl border border-dashed ${isLight ? "border-[#d8d0eb] text-[#8f86a9] hover:border-violet-300 hover:text-violet-500" : "border-zinc-600 text-zinc-500 hover:border-violet-500 hover:text-violet-300"}`
|
|
658
|
+
},
|
|
659
|
+
freeSelected ? (0, import_calendarI18n.tCal)(
|
|
660
|
+
"pisell2.recordBoard.calendar.day.selected"
|
|
661
|
+
) : (0, import_calendarI18n.tCal)(
|
|
662
|
+
"pisell2.recordBoard.calendar.day.tapToSelect"
|
|
663
|
+
)
|
|
664
|
+
) : null
|
|
665
|
+
);
|
|
666
|
+
})))
|
|
667
|
+
),
|
|
668
|
+
visibleDayOverlayBookings.map((booking) => {
|
|
669
|
+
if (hiddenDayOverlayIdSet.has(
|
|
670
|
+
(0, import_bookingCalendarDateUtils.dayOverlayHiddenKey)(booking.item, dayKey, booking.courtId)
|
|
671
|
+
)) {
|
|
672
|
+
return null;
|
|
673
|
+
}
|
|
674
|
+
const left = import_bookingCalendarConstants.frozenColWidth + (booking.start - firstTimelineHour) * timelinePxPerHour;
|
|
675
|
+
const width = booking.span * timelinePxPerHour;
|
|
676
|
+
const rowH = booking.rowHeight ?? import_bookingCalendarConstants.dayRowHeight;
|
|
677
|
+
const totalInner = Math.max(
|
|
678
|
+
40,
|
|
679
|
+
rowH - import_bookingCalendarConstants.DAY_OVERLAY_INNER_TOP - import_bookingCalendarConstants.DAY_OVERLAY_INNER_BOTTOM
|
|
680
|
+
);
|
|
681
|
+
const laneCount = Math.max(
|
|
682
|
+
1,
|
|
683
|
+
courtDayDisplayLaneCount[booking.courtId] ?? 1
|
|
684
|
+
);
|
|
685
|
+
const lane = Number.isFinite(booking.lane) && booking.lane >= 0 ? booking.lane : 0;
|
|
686
|
+
const laneGeom = (0, import_bookingCalendarDateUtils.dayOverlayLaneMetrics)(
|
|
687
|
+
totalInner,
|
|
688
|
+
laneCount,
|
|
689
|
+
import_bookingCalendarConstants.DAY_OVERLAY_LANE_GAP
|
|
690
|
+
);
|
|
691
|
+
const styleTop = booking.rowTop + import_bookingCalendarConstants.DAY_OVERLAY_INNER_TOP + laneGeom.topFor(lane);
|
|
692
|
+
const styleHeight = laneGeom.heightFor(lane);
|
|
693
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
694
|
+
"div",
|
|
695
|
+
{
|
|
696
|
+
key: `${booking.item.id}-${dayKey}`,
|
|
697
|
+
className: "absolute z-[25] isolate",
|
|
698
|
+
style: {
|
|
699
|
+
left,
|
|
700
|
+
top: styleTop,
|
|
701
|
+
width,
|
|
702
|
+
height: styleHeight
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
props.renderBooking ? props.renderBooking({
|
|
706
|
+
booking,
|
|
707
|
+
dayKey,
|
|
708
|
+
calendarView: view,
|
|
709
|
+
isLight,
|
|
710
|
+
overlayWidthPx: width,
|
|
711
|
+
onOpenDetail: openBookingDetail,
|
|
712
|
+
onDragStart: setDraggingItem,
|
|
713
|
+
onJumpNext: () => {
|
|
714
|
+
const nextDay = (0, import_bookingCalendarDateUtils.parseDate)(dayKey);
|
|
715
|
+
nextDay.setDate(nextDay.getDate() + 1);
|
|
716
|
+
setNavDirection(1);
|
|
717
|
+
commitAnchor(nextDay);
|
|
718
|
+
setFocusedCourtId(booking.courtId);
|
|
719
|
+
}
|
|
720
|
+
}) : /* @__PURE__ */ import_react.default.createElement(
|
|
721
|
+
import_bookingCalendarViewShared.BookingCard,
|
|
722
|
+
{
|
|
723
|
+
booking,
|
|
724
|
+
dayKey,
|
|
725
|
+
overlayWidthPx: width,
|
|
726
|
+
onOpenDetail: openBookingDetail,
|
|
727
|
+
onDragStart: setDraggingItem,
|
|
728
|
+
onJumpNext: () => {
|
|
729
|
+
const nextDay = (0, import_bookingCalendarDateUtils.parseDate)(dayKey);
|
|
730
|
+
nextDay.setDate(nextDay.getDate() + 1);
|
|
731
|
+
setNavDirection(1);
|
|
732
|
+
commitAnchor(nextDay);
|
|
733
|
+
setFocusedCourtId(booking.courtId);
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
)
|
|
737
|
+
);
|
|
738
|
+
}),
|
|
739
|
+
visibleDayOverflowPluses.map((pill) => {
|
|
740
|
+
const left = import_bookingCalendarConstants.frozenColWidth + (pill.start - firstTimelineHour) * timelinePxPerHour;
|
|
741
|
+
const width = pill.span * timelinePxPerHour;
|
|
742
|
+
const rowH = pill.rowHeight ?? import_bookingCalendarConstants.dayRowHeight;
|
|
743
|
+
const totalInner = Math.max(
|
|
744
|
+
40,
|
|
745
|
+
rowH - import_bookingCalendarConstants.DAY_OVERLAY_INNER_TOP - import_bookingCalendarConstants.DAY_OVERLAY_INNER_BOTTOM
|
|
746
|
+
);
|
|
747
|
+
const laneCount = Math.max(
|
|
748
|
+
1,
|
|
749
|
+
courtDayDisplayLaneCount[pill.courtId] ?? 1
|
|
750
|
+
);
|
|
751
|
+
const laneGeom = (0, import_bookingCalendarDateUtils.dayOverlayLaneMetrics)(
|
|
752
|
+
totalInner,
|
|
753
|
+
laneCount,
|
|
754
|
+
import_bookingCalendarConstants.DAY_OVERLAY_LANE_GAP
|
|
755
|
+
);
|
|
756
|
+
const lane = import_bookingCalendarConstants.DAY_OVERLAY_VISIBLE_BOOKING_CAP;
|
|
757
|
+
const styleTop = pill.rowTop + import_bookingCalendarConstants.DAY_OVERLAY_INNER_TOP + laneGeom.topFor(lane);
|
|
758
|
+
const styleHeight = laneGeom.heightFor(lane);
|
|
759
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
760
|
+
"div",
|
|
761
|
+
{
|
|
762
|
+
key: pill.key,
|
|
763
|
+
className: "absolute z-[26] isolate",
|
|
764
|
+
style: {
|
|
765
|
+
left,
|
|
766
|
+
top: styleTop,
|
|
767
|
+
width,
|
|
768
|
+
height: styleHeight
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
772
|
+
"button",
|
|
773
|
+
{
|
|
774
|
+
type: "button",
|
|
775
|
+
onClick: (e) => {
|
|
776
|
+
e.stopPropagation();
|
|
777
|
+
setOverflowListModal({
|
|
778
|
+
scope: `day-lane-overflow-${pill.key}`,
|
|
779
|
+
date: dayKey,
|
|
780
|
+
title: (0, import_calendarI18n.tCal)(
|
|
781
|
+
"pisell2.recordBoard.calendar.overflow.moreCount",
|
|
782
|
+
{ count: pill.plusCount }
|
|
783
|
+
),
|
|
784
|
+
items: pill.overflowItems
|
|
785
|
+
});
|
|
786
|
+
},
|
|
787
|
+
className: `flex h-full w-full items-center justify-center rounded-xl px-2 text-sm font-semibold text-white shadow-sm ${isLight ? "bg-zinc-500/90" : "bg-zinc-600/90 hover:bg-zinc-500/90"}`
|
|
788
|
+
},
|
|
789
|
+
"+",
|
|
790
|
+
pill.plusCount
|
|
791
|
+
)
|
|
792
|
+
);
|
|
793
|
+
})
|
|
794
|
+
)
|
|
795
|
+
)
|
|
796
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
797
|
+
import_BookingCalendarDaySelectionBar.BookingCalendarDaySelectionBar,
|
|
798
|
+
{
|
|
799
|
+
slotStepHours,
|
|
800
|
+
selectedFreeSlots,
|
|
801
|
+
selectedBlockSlots,
|
|
802
|
+
deselectAll,
|
|
803
|
+
openSelectedBlocks,
|
|
804
|
+
onOpenBlockPanel,
|
|
805
|
+
createBookingFromSelection
|
|
806
|
+
}
|
|
807
|
+
))));
|
|
808
|
+
}
|
|
809
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
810
|
+
0 && (module.exports = {
|
|
811
|
+
BookingCalendarDayView
|
|
812
|
+
});
|