@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.
- 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 +1 -2
- 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
|
@@ -19,6 +19,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
19
19
|
// src/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.ts
|
|
20
20
|
var venueWallUtils_exports = {};
|
|
21
21
|
__export(venueWallUtils_exports, {
|
|
22
|
+
DEFAULT_RESOURCE_WALL_STATUS_SORT_FIELD_KEYS: () => DEFAULT_RESOURCE_WALL_STATUS_SORT_FIELD_KEYS,
|
|
22
23
|
VENUE_WALL_STATUS_COLOR_MAP: () => VENUE_WALL_STATUS_COLOR_MAP,
|
|
23
24
|
VENUE_WALL_STATUS_KEYS: () => VENUE_WALL_STATUS_KEYS,
|
|
24
25
|
alphaColor: () => alphaColor,
|
|
@@ -26,7 +27,10 @@ __export(venueWallUtils_exports, {
|
|
|
26
27
|
deriveVenueWallStatus: () => deriveVenueWallStatus,
|
|
27
28
|
diffVenueWallStatusToneOverrides: () => diffVenueWallStatusToneOverrides,
|
|
28
29
|
formatVenueWallCountdown: () => formatVenueWallCountdown,
|
|
29
|
-
getVenueWallStatusToneMap: () => getVenueWallStatusToneMap
|
|
30
|
+
getVenueWallStatusToneMap: () => getVenueWallStatusToneMap,
|
|
31
|
+
matchesResourceWallStatusSortField: () => matchesResourceWallStatusSortField,
|
|
32
|
+
parseRecordBoardToolbarSortParam: () => parseRecordBoardToolbarSortParam,
|
|
33
|
+
venueWallOccupiedSortRank: () => venueWallOccupiedSortRank
|
|
30
34
|
});
|
|
31
35
|
module.exports = __toCommonJS(venueWallUtils_exports);
|
|
32
36
|
var import_locales = require("../../../../locales");
|
|
@@ -107,6 +111,26 @@ function deriveVenueWallStatus(card) {
|
|
|
107
111
|
if (rm != null && rm <= 10) return "endingSoon";
|
|
108
112
|
return "inUse";
|
|
109
113
|
}
|
|
114
|
+
function parseRecordBoardToolbarSortParam(sort) {
|
|
115
|
+
if (sort == null || typeof sort !== "string") return null;
|
|
116
|
+
const idx = sort.indexOf(":");
|
|
117
|
+
if (idx <= 0) return null;
|
|
118
|
+
const field = sort.slice(0, idx);
|
|
119
|
+
const rest = sort.slice(idx + 1);
|
|
120
|
+
const dirSep = rest.indexOf(":");
|
|
121
|
+
const dirRaw = dirSep >= 0 ? rest.slice(0, dirSep) : rest;
|
|
122
|
+
if (dirRaw !== "asc" && dirRaw !== "desc") return null;
|
|
123
|
+
return { field, dir: dirRaw };
|
|
124
|
+
}
|
|
125
|
+
var DEFAULT_RESOURCE_WALL_STATUS_SORT_FIELD_KEYS = ["status"];
|
|
126
|
+
function matchesResourceWallStatusSortField(sortField, keys) {
|
|
127
|
+
const n = sortField.trim().toLowerCase();
|
|
128
|
+
return keys.some((k) => k.trim().toLowerCase() === n);
|
|
129
|
+
}
|
|
130
|
+
function venueWallOccupiedSortRank(card) {
|
|
131
|
+
const k = deriveVenueWallStatus(card);
|
|
132
|
+
return k === "inUse" || k === "endingSoon" || k === "expired" ? 1 : 0;
|
|
133
|
+
}
|
|
110
134
|
function formatDurationHM(minAbs) {
|
|
111
135
|
const safe = Number.isFinite(minAbs) ? Math.max(0, Math.floor(minAbs)) : 0;
|
|
112
136
|
if (safe < 60) return `${safe}m`;
|
|
@@ -160,6 +184,7 @@ function diffVenueWallStatusToneOverrides(draft) {
|
|
|
160
184
|
}
|
|
161
185
|
// Annotate the CommonJS export names for ESM import in node:
|
|
162
186
|
0 && (module.exports = {
|
|
187
|
+
DEFAULT_RESOURCE_WALL_STATUS_SORT_FIELD_KEYS,
|
|
163
188
|
VENUE_WALL_STATUS_COLOR_MAP,
|
|
164
189
|
VENUE_WALL_STATUS_KEYS,
|
|
165
190
|
alphaColor,
|
|
@@ -167,5 +192,8 @@ function diffVenueWallStatusToneOverrides(draft) {
|
|
|
167
192
|
deriveVenueWallStatus,
|
|
168
193
|
diffVenueWallStatusToneOverrides,
|
|
169
194
|
formatVenueWallCountdown,
|
|
170
|
-
getVenueWallStatusToneMap
|
|
195
|
+
getVenueWallStatusToneMap,
|
|
196
|
+
matchesResourceWallStatusSortField,
|
|
197
|
+
parseRecordBoardToolbarSortParam,
|
|
198
|
+
venueWallOccupiedSortRank
|
|
171
199
|
});
|
|
@@ -48,6 +48,7 @@ var import_useRecordBoardContext = require("../../hooks/useRecordBoardContext");
|
|
|
48
48
|
var import_utils = require("@pisell/utils");
|
|
49
49
|
var import_locales = require("../../../../locales");
|
|
50
50
|
var import_recordBoardColumns = require("../../utils/recordBoardColumns");
|
|
51
|
+
var import_venueWallUtils = require("../ResourceWall/venueWallUtils");
|
|
51
52
|
var import_ToolBarFilter = require("./ToolBarFilter.less");
|
|
52
53
|
var import_recordBoardToolbar = require("./recordBoardToolbar.less");
|
|
53
54
|
function getSortButtonText() {
|
|
@@ -55,6 +56,25 @@ function getSortButtonText() {
|
|
|
55
56
|
const u = import_utils.locales.getText(key);
|
|
56
57
|
return u && u !== key ? u : (0, import_locales.getText)(key) || (0, import_locales.getText)("sort-button-text");
|
|
57
58
|
}
|
|
59
|
+
function buildResourceWallStatusSortFallbackItem(sortConfig) {
|
|
60
|
+
const extras = typeof sortConfig === "object" && sortConfig !== null && Array.isArray(sortConfig.resourceWallSortFieldKeys) ? sortConfig.resourceWallSortFieldKeys.map((x) => String(x).trim()).filter(Boolean) : [];
|
|
61
|
+
const primaryKey = extras.length > 0 ? extras[0] : import_venueWallUtils.DEFAULT_RESOURCE_WALL_STATUS_SORT_FIELD_KEYS[0];
|
|
62
|
+
return {
|
|
63
|
+
name: primaryKey,
|
|
64
|
+
label: (0, import_locales.getText)("pisell2.recordBoard.toolbar.sortStatus"),
|
|
65
|
+
isCustom: true,
|
|
66
|
+
getSortItems: () => [
|
|
67
|
+
{
|
|
68
|
+
key: `${primaryKey}:asc:option`,
|
|
69
|
+
label: (0, import_locales.getText)("pisell2.recordBoard.toolbar.sortStatusFreeFirst")
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
key: `${primaryKey}:desc:option`,
|
|
73
|
+
label: (0, import_locales.getText)("pisell2.recordBoard.toolbar.sortStatusOccupiedFirst")
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
};
|
|
77
|
+
}
|
|
58
78
|
function getViewGridLabel() {
|
|
59
79
|
const key = "pisell2.recordBoard.toolbar.viewGrid";
|
|
60
80
|
const u = import_utils.locales.getText(key);
|
|
@@ -210,13 +230,36 @@ var RecordBoardToolBar = (props) => {
|
|
|
210
230
|
[onSearch, searchParams]
|
|
211
231
|
);
|
|
212
232
|
const sortList = (0, import_react.useMemo)(() => {
|
|
213
|
-
const
|
|
214
|
-
|
|
215
|
-
|
|
233
|
+
const configuredList = typeof sortConfig === "object" && sortConfig !== null && Array.isArray(sortConfig.list) ? sortConfig.list : null;
|
|
234
|
+
const base = configuredList != null && configuredList.length > 0 ? configuredList : derivedSortFromColumnsList;
|
|
235
|
+
if (bodyView !== "resourceWall") {
|
|
236
|
+
return base;
|
|
237
|
+
}
|
|
238
|
+
const extraWallKeys = typeof sortConfig === "object" && sortConfig !== null && Array.isArray(sortConfig.resourceWallSortFieldKeys) ? sortConfig.resourceWallSortFieldKeys.map(
|
|
239
|
+
String
|
|
240
|
+
) : [];
|
|
241
|
+
const allowedKeys = [
|
|
242
|
+
...import_venueWallUtils.DEFAULT_RESOURCE_WALL_STATUS_SORT_FIELD_KEYS.map(String),
|
|
243
|
+
...extraWallKeys
|
|
244
|
+
];
|
|
245
|
+
const filtered = base.filter(
|
|
246
|
+
(item) => item.name != null && (0, import_venueWallUtils.matchesResourceWallStatusSortField)(String(item.name), allowedKeys)
|
|
247
|
+
);
|
|
248
|
+
if (filtered.length > 0) return filtered;
|
|
249
|
+
return [buildResourceWallStatusSortFallbackItem(sortConfig)];
|
|
250
|
+
}, [sortConfig, derivedSortFromColumnsList, bodyView]);
|
|
251
|
+
const sortSpreadRest = typeof sortConfig === "object" && sortConfig !== null ? (() => {
|
|
252
|
+
const {
|
|
253
|
+
resourceWallSortFieldKeys: _w,
|
|
254
|
+
list: _omitList,
|
|
255
|
+
...rest
|
|
256
|
+
} = sortConfig;
|
|
257
|
+
return rest;
|
|
258
|
+
})() : {};
|
|
216
259
|
const sortNode = hideSort ? null : /* @__PURE__ */ import_react.default.createElement(
|
|
217
260
|
import_sort.default,
|
|
218
261
|
{
|
|
219
|
-
...
|
|
262
|
+
...sortSpreadRest,
|
|
220
263
|
list: sortList,
|
|
221
264
|
value: sortValue,
|
|
222
265
|
onChange: handleSortChange,
|
|
@@ -62,6 +62,18 @@ var import_RecordBoardResourceWall = __toESM(require("./ResourceWall/RecordBoard
|
|
|
62
62
|
var import_PisellRecordBoardResourceWallView = require("./ResourceWall/PisellRecordBoardResourceWallView");
|
|
63
63
|
var import_ShellBodyMetaContext = require("./ShellBodyMetaContext");
|
|
64
64
|
var import_ShellBodyMetaContext2 = require("./ShellBodyMetaContext");
|
|
65
|
+
function mergeRecordBoardSlotProps(root, child) {
|
|
66
|
+
if (!child || Object.keys(child).length === 0) {
|
|
67
|
+
return root;
|
|
68
|
+
}
|
|
69
|
+
const base = { ...root ?? {} };
|
|
70
|
+
for (const [key, val] of Object.entries(child)) {
|
|
71
|
+
if (val !== void 0) {
|
|
72
|
+
base[key] = val;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return base;
|
|
76
|
+
}
|
|
65
77
|
var FILL_HEIGHT_SCROLL_STYLE = {
|
|
66
78
|
flex: 1,
|
|
67
79
|
minHeight: 0,
|
|
@@ -122,28 +134,28 @@ var RecordBoardShellFrame = ({ children, className, style }) => {
|
|
|
122
134
|
} = (0, import_react.useMemo)(() => (0, import_partitionShellFrameChildren.partitionShellFrameChildren)(children), [children]);
|
|
123
135
|
const effectiveFloorMapProps = (0, import_react.useMemo)(() => {
|
|
124
136
|
if (hasFloorMapChild) {
|
|
125
|
-
return
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
137
|
+
return mergeRecordBoardSlotProps(
|
|
138
|
+
ctx.floorMapProps,
|
|
139
|
+
floorMapPropsFromChild
|
|
140
|
+
);
|
|
129
141
|
}
|
|
130
142
|
return ctx.floorMapProps;
|
|
131
143
|
}, [hasFloorMapChild, floorMapPropsFromChild, ctx.floorMapProps]);
|
|
132
144
|
const effectiveCalendarProps = (0, import_react.useMemo)(() => {
|
|
133
145
|
if (hasCalendarChild) {
|
|
134
|
-
return
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
146
|
+
return mergeRecordBoardSlotProps(
|
|
147
|
+
ctx.calendarProps,
|
|
148
|
+
calendarPropsFromChild
|
|
149
|
+
);
|
|
138
150
|
}
|
|
139
151
|
return ctx.calendarProps;
|
|
140
152
|
}, [hasCalendarChild, calendarPropsFromChild, ctx.calendarProps]);
|
|
141
153
|
const effectiveResourceWallProps = (0, import_react.useMemo)(() => {
|
|
142
154
|
if (hasResourceWallChild) {
|
|
143
|
-
return
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
155
|
+
return mergeRecordBoardSlotProps(
|
|
156
|
+
ctx.resourceWallProps,
|
|
157
|
+
resourceWallPropsFromChild
|
|
158
|
+
);
|
|
147
159
|
}
|
|
148
160
|
return ctx.resourceWallProps;
|
|
149
161
|
}, [hasResourceWallChild, resourceWallPropsFromChild, ctx.resourceWallProps]);
|
|
@@ -300,7 +312,11 @@ var RecordBoardShellFrame = ({ children, className, style }) => {
|
|
|
300
312
|
import_pisellShellFrame.PisellShellFrame,
|
|
301
313
|
{
|
|
302
314
|
className: (0, import_classnames.default)(className, {
|
|
303
|
-
|
|
315
|
+
/** 非表格主区:工具栏与内容区无缝(与 PisellShellFrame.less body-subview 配对) */
|
|
316
|
+
"pisell-shell-frame--body-subview": !showGrid,
|
|
317
|
+
"pisell-shell-frame--floor-map-view": showFloorMap,
|
|
318
|
+
"pisell-shell-frame--calendar-view": showCalendar,
|
|
319
|
+
"pisell-shell-frame--resource-wall-view": showResourceWall
|
|
304
320
|
}),
|
|
305
321
|
style: shellStyle,
|
|
306
322
|
config: {
|
|
@@ -226,6 +226,33 @@ export interface RecordBoardCalendarBookingRenderArgs {
|
|
|
226
226
|
onDragStart: (item: RecordBoardCalendarBookingLike) => void;
|
|
227
227
|
onJumpNext: () => void;
|
|
228
228
|
}
|
|
229
|
+
/**
|
|
230
|
+
* 月 / 周格内单条预约插槽参数。
|
|
231
|
+
* 未使用 {@link RecordBoardCalendarProps.renderMonthWeekBooking} 时,月 / 周格仅默认 booking(紫)/ block(红),不展示状态徽标与按状态的底色。
|
|
232
|
+
*/
|
|
233
|
+
export interface RecordBoardCalendarGridBookingRenderArgs {
|
|
234
|
+
item: RecordBoardCalendarBookingLike;
|
|
235
|
+
dateKey: string;
|
|
236
|
+
view: 'month' | 'week';
|
|
237
|
+
isLight: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* 日历建议的外层样式(圆角、内边距、默认 booking/block 底色),可与自定义 `className` 拼接。
|
|
240
|
+
* 宿主若完全自定义外观,可忽略本字段。
|
|
241
|
+
*/
|
|
242
|
+
layoutClassName: string;
|
|
243
|
+
onOpenDetail: (item: RecordBoardCalendarBookingLike) => void;
|
|
244
|
+
/** 开始拖拽(月视图内置会处理 `draggable`;周格当前未挂 draggable,可自行在插槽内处理) */
|
|
245
|
+
onDragStart?: (item: RecordBoardCalendarBookingLike) => void;
|
|
246
|
+
draggable: boolean;
|
|
247
|
+
}
|
|
248
|
+
/** 拖拽改期的投放目标(与日历内部确认态 moveDraft 字段一致)。 */
|
|
249
|
+
export interface RecordBoardBookingMoveDraft {
|
|
250
|
+
targetCourtId: string;
|
|
251
|
+
/** `YYYY-MM-DD` */
|
|
252
|
+
targetDate: string;
|
|
253
|
+
/** 与日历 `hourSlots` 一致的浮点起点小时(可含半格如 9.5) */
|
|
254
|
+
targetHour: number;
|
|
255
|
+
}
|
|
229
256
|
/**
|
|
230
257
|
* 对接 `POST /shop/schedule/blocked-time` 的请求体(与后台字段一致)。
|
|
231
258
|
*/
|
|
@@ -239,9 +266,40 @@ export interface RecordBoardCalendarBlockedTimePayload {
|
|
|
239
266
|
/** `YYYY-MM-DD HH:mm` */
|
|
240
267
|
end_time: string;
|
|
241
268
|
}
|
|
269
|
+
/** 日视图连续空闲槽合并后的一段(与内置锁台面版预填一致) */
|
|
270
|
+
export interface RecordBoardBlockedTimeMergedRange {
|
|
271
|
+
courtId: string;
|
|
272
|
+
/** `YYYY-MM-DD` */
|
|
273
|
+
date: string;
|
|
274
|
+
/** 与时间轴一致的浮点小时 */
|
|
275
|
+
startHour: number;
|
|
276
|
+
endHour: number;
|
|
277
|
+
}
|
|
278
|
+
/** 日视图多选的空闲格 */
|
|
279
|
+
export interface RecordBoardCalendarSelectedFreeSlot {
|
|
280
|
+
courtId: string;
|
|
281
|
+
date: string;
|
|
282
|
+
hour: number;
|
|
283
|
+
court?: string;
|
|
284
|
+
}
|
|
285
|
+
/** 宿主弹出锁台/屏蔽表单时由日历传入的上下文(替代内置锁台面版) */
|
|
286
|
+
export interface RecordBoardBlockedTimePanelPayload {
|
|
287
|
+
/** 槽位步长(小时),与日历内部 `slotStepHours` 一致 */
|
|
288
|
+
slotStepHours: number;
|
|
289
|
+
/** 与 {@link RecordBoardCalendarProps.slotStepMinutes} 一致 */
|
|
290
|
+
slotStepMinutes: number;
|
|
291
|
+
/** 日视图锚定日 `YYYY-MM-DD` */
|
|
292
|
+
dayKey: string;
|
|
293
|
+
selectedFreeSlots: RecordBoardCalendarSelectedFreeSlot[];
|
|
294
|
+
mergedRange: RecordBoardBlockedTimeMergedRange;
|
|
295
|
+
}
|
|
242
296
|
/** 日历视图槽位 props:由 Shell 合并根级与子槽后传入 PisellRecordBoardCalendarView */
|
|
243
297
|
export interface RecordBoardCalendarProps {
|
|
244
298
|
persistGuard?: CalendarPersistContextValue;
|
|
299
|
+
/**
|
|
300
|
+
* 日历画布外观:亮色切换 `theme-root.theme-light`;未传或 `dark` 为深色(默认)。
|
|
301
|
+
*/
|
|
302
|
+
appearance?: 'light' | 'dark';
|
|
245
303
|
className?: string;
|
|
246
304
|
style?: CSSProperties;
|
|
247
305
|
/** 受控:画布等资源行;不传则使用内置演示数据 */
|
|
@@ -253,8 +311,18 @@ export interface RecordBoardCalendarProps {
|
|
|
253
311
|
* 点击预约条。返回 true 表示已消费(不再打开内置详情抽屉)。
|
|
254
312
|
*/
|
|
255
313
|
onBookingClick?: (item: RecordBoardCalendarBookingLike) => boolean | void;
|
|
314
|
+
/**
|
|
315
|
+
* 拖拽预约条松手且投放合法后,由宿主接管确认与持久化(例如业务侧 booking 改约弹窗)。
|
|
316
|
+
* **传入后**日历不再弹出内置 MoveConfirmModal,也不会写入本地 bookings。
|
|
317
|
+
* 返回 `true` 表示宿主已视为完成(一般由弹窗 resolve);`false`/`undefined`/reject 表示未生效。
|
|
318
|
+
*/
|
|
319
|
+
onBookingMoveRequest?: (payload: {
|
|
320
|
+
item: RecordBoardCalendarBookingLike;
|
|
321
|
+
draft: RecordBoardBookingMoveDraft;
|
|
322
|
+
}) => Promise<boolean | void>;
|
|
256
323
|
/**
|
|
257
324
|
* 锚点日 / 视图变化(月、周、日),用于父级扩展 booking 请求时间窗。
|
|
325
|
+
* 宿主导出时建议对拉数做 **debounce**(如 200–300ms),与切 `bodyView`、切日等快速操作对齐,避免重复请求。
|
|
258
326
|
*/
|
|
259
327
|
onViewportChange?: (payload: {
|
|
260
328
|
view: string;
|
|
@@ -282,8 +350,14 @@ export interface RecordBoardCalendarProps {
|
|
|
282
350
|
/**
|
|
283
351
|
* 保存「屏蔽时间」时提交(如 `/shop/schedule/blocked-time`)。
|
|
284
352
|
* 返回 `false` 表示未成功(弹窗保持);`true` 或 `undefined` 视为成功并关闭弹窗、清空选中。
|
|
353
|
+
* 若同时传 {@link onBlockedTimePanelRequest},内置锁台面版不再展示,本回调仅在内置路径生效。
|
|
285
354
|
*/
|
|
286
355
|
onBlockedTimeSave?: (payload: RecordBoardCalendarBlockedTimePayload) => Promise<boolean | void>;
|
|
356
|
+
/**
|
|
357
|
+
* 日视图选中连续空闲槽并点「屏蔽」时,由宿主弹出锁台表单(替代内置锁台面版)。
|
|
358
|
+
* **传入后**不再渲染内置屏蔽弹层;未传时仍使用内置表单 + {@link onBlockedTimeSave}。
|
|
359
|
+
*/
|
|
360
|
+
onBlockedTimePanelRequest?: (payload: RecordBoardBlockedTimePanelPayload) => Promise<boolean | void>;
|
|
287
361
|
/** 与接口 `blocked_sales_channels` 一致;默认 `['online_store']` */
|
|
288
362
|
blockedTimeSalesChannels?: string[];
|
|
289
363
|
/**
|
|
@@ -296,8 +370,14 @@ export interface RecordBoardCalendarProps {
|
|
|
296
370
|
* 若同时传 {@link renderTimelineHeader},则仅渲染插槽,**忽略**本字段。
|
|
297
371
|
*/
|
|
298
372
|
timelineHeaderGroups?: RecordBoardCalendarTimelineHeaderGroup[];
|
|
299
|
-
/**
|
|
373
|
+
/**
|
|
374
|
+
* 自定义日视图时间轴上的预约条内容(仅日视图 overlay 生效;月 / 周见 {@link renderMonthWeekBooking})。
|
|
375
|
+
*/
|
|
300
376
|
renderBooking?: (args: RecordBoardCalendarBookingRenderArgs) => ReactNode;
|
|
377
|
+
/**
|
|
378
|
+
* 自定义月 / 周格内单条预约。未传时仅默认 booking / block 样式与名称、时间,不展示迟到/取消等状态徽标与状态变色。
|
|
379
|
+
*/
|
|
380
|
+
renderMonthWeekBooking?: (args: RecordBoardCalendarGridBookingRenderArgs) => ReactNode;
|
|
301
381
|
/** 自定义周/日视图左侧资源列单元 */
|
|
302
382
|
renderResourceCell?: (args: RecordBoardCalendarResourceRenderArgs) => ReactNode;
|
|
303
383
|
}
|
|
@@ -353,9 +433,11 @@ export interface RecordBoardResourceWallLayoutPersist {
|
|
|
353
433
|
export declare const DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST: RecordBoardResourceWallLayoutPersist;
|
|
354
434
|
/**
|
|
355
435
|
* 大屏资源墙视图 props;与 Shell 内 `PisellRecordBoard.ResourceWall` 合并(子优先)。
|
|
356
|
-
*
|
|
436
|
+
* 展示顺序默认由 `searchParams.filter.values[filterFieldKey]`(默认 `resource_wall_resource_ids`)非空 `string[]` 决定;
|
|
357
437
|
* **未写该键、值非数组、或 `[]`**:不展示卡片。**仅渲染 `cards` 中能按 `resourceId` 命中的项**;
|
|
358
438
|
* 命中不到的 id(例如磁盘残留的旧店铺 / 已删资源)直接剔除、不再回退成「数字占位卡」,磁盘清洗由宿主负责。
|
|
439
|
+
* 当 `searchParams.sort` 的字段名与 {@link RecordBoardResourceWallProps.statusSortFieldKeys} 匹配(默认 `status`)时,
|
|
440
|
+
* 在筛选顺序基础上按卡占用态重排:升序空闲在前,降序占用(inUse/将结/已结束)在前。
|
|
359
441
|
*/
|
|
360
442
|
export interface RecordBoardResourceWallProps {
|
|
361
443
|
className?: string;
|
|
@@ -368,6 +450,12 @@ export interface RecordBoardResourceWallProps {
|
|
|
368
450
|
* @default 'resource_wall_resource_ids'
|
|
369
451
|
*/
|
|
370
452
|
filterFieldKey?: string;
|
|
453
|
+
/**
|
|
454
|
+
* 与 ToolBar `searchParams.sort` 首段字段名比对(忽略大小写);命中时资源墙按卡状态重排。
|
|
455
|
+
* 列 key 不是 `status` 时传入实际字段名,例如 `['courtStatus']`。
|
|
456
|
+
* @default ['status']
|
|
457
|
+
*/
|
|
458
|
+
statusSortFieldKeys?: string[];
|
|
371
459
|
/** 六态文案/配色覆盖(与默认 map 浅合并);通常由宿主从 localStorage 水合 */
|
|
372
460
|
statusToneOverrides?: VenueWallStatusToneOverrides;
|
|
373
461
|
/** 覆盖变更时回调,宿主可写入 localStorage */
|
|
@@ -508,7 +596,11 @@ export interface RecordBoardToolBarProps {
|
|
|
508
596
|
search?: boolean | RecordBoardSearchProps;
|
|
509
597
|
/** 在 ToolBar 右侧渲染筛选:默认 PisellFilter;对象透传 PisellFilter props;false 不渲染。值存于 searchParams.filter */
|
|
510
598
|
filter?: boolean | RecordBoardFilterProps;
|
|
511
|
-
/**
|
|
599
|
+
/**
|
|
600
|
+
* 在 ToolBar 内、筛选左侧渲染排序:默认 Sort;对象可传 list、placement 等;false 不渲染。值存于 searchParams.sort。
|
|
601
|
+
* 资源墙视图:排序**菜单内**仅保留「状态」相关项(其余排序仅在表格等视图出现);若无状态列派生项,会注入「空闲优先 / 占用优先」子项。
|
|
602
|
+
* 可传 `resourceWallSortFieldKeys: string[]` 与非 `status` 列 key 对齐。表格/平面图/日历仍使用完整排序列表。
|
|
603
|
+
*/
|
|
512
604
|
sort?: boolean | Record<string, any>;
|
|
513
605
|
/**
|
|
514
606
|
* 在 ToolBar 左侧展示内联快速筛选(替代 Filter 弹层内的 quickFilter)。
|
|
@@ -45,18 +45,39 @@
|
|
|
45
45
|
border-radius: 0;
|
|
46
46
|
background: #141824;
|
|
47
47
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
48
|
+
/**
|
|
49
|
+
* 布局:auto | minmax(0,1fr) | auto
|
|
50
|
+
* - 左:标题 + 视图切换等内容宽占位
|
|
51
|
+
* - 右:「+ New」等固定贴行末
|
|
52
|
+
* - 中间:仅占左、右之间的剩余宽度;选日期 / 跟随时间文案在该「中间区域」内居中(见 .pisell-reservation-schedule-band-schedule)
|
|
53
|
+
*/
|
|
54
|
+
/** 左/右栏 min-width:max-content 后整行可能超出视口,允许横向滚动而非压扁左侧 */
|
|
55
|
+
overflow-x: auto;
|
|
56
|
+
overflow-y: visible;
|
|
48
57
|
}
|
|
49
58
|
|
|
50
59
|
.pisell-reservation-schedule-band-slot-start {
|
|
51
60
|
justify-self: start;
|
|
52
|
-
min-width:
|
|
61
|
+
/** 勿用 min-width:0:会把「标题 + Segmented」挤折行;max-content 保证左侧优先单行横排 */
|
|
62
|
+
min-width: max-content;
|
|
53
63
|
display: flex;
|
|
54
64
|
align-items: center;
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
flex-wrap: nowrap;
|
|
67
|
+
/** 中间栏内容偶发溢出绘制时压在左侧 Tab 上,保证左侧在上层 */
|
|
68
|
+
position: relative;
|
|
69
|
+
z-index: 1;
|
|
70
|
+
/** 业务侧(如预约)在插槽里再包一层 merge 时,保证子级也按内容宽参与列宽计算,避免整条 min-width:0 收缩链 */
|
|
71
|
+
> * {
|
|
72
|
+
min-width: max-content;
|
|
73
|
+
flex-shrink: 0;
|
|
74
|
+
}
|
|
55
75
|
}
|
|
56
76
|
|
|
57
77
|
.pisell-reservation-schedule-band-slot-end {
|
|
58
78
|
justify-self: end;
|
|
59
|
-
|
|
79
|
+
/** 右侧按钮区同样保留完整占位,避免被 1fr 中间列挤压 */
|
|
80
|
+
min-width: max-content;
|
|
60
81
|
display: flex;
|
|
61
82
|
align-items: center;
|
|
62
83
|
}
|
|
@@ -68,7 +89,18 @@
|
|
|
68
89
|
flex-direction: row;
|
|
69
90
|
flex-wrap: nowrap;
|
|
70
91
|
align-items: center;
|
|
92
|
+
/**
|
|
93
|
+
* 仅在 Grid 的中间列(左、右扣掉之后的剩余宽度)内居中选日区;
|
|
94
|
+
* 不与「整行居中」混淆,也不会贴死到 + New。
|
|
95
|
+
*/
|
|
71
96
|
justify-content: center;
|
|
97
|
+
@supports (justify-content: safe center) {
|
|
98
|
+
justify-content: safe center;
|
|
99
|
+
}
|
|
100
|
+
/** 中间块总宽超过中间列时在本格内滚动,避免向左绘制盖住左侧 Segmented */
|
|
101
|
+
overflow-x: auto;
|
|
102
|
+
overflow-y: visible;
|
|
103
|
+
box-sizing: border-box;
|
|
72
104
|
/** 日期与右侧「当前时间」等插槽留出间距,避免贴太紧 */
|
|
73
105
|
gap: 14px;
|
|
74
106
|
}
|
|
@@ -36,8 +36,11 @@
|
|
|
36
36
|
margin-bottom: 8px;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
/**
|
|
40
|
-
|
|
39
|
+
/**
|
|
40
|
+
* RecordBoard 非表格主区(平面图 / 日历 / 资源墙):与顶栏日程带衔接,去掉工具栏与内容区间距。
|
|
41
|
+
* `--floor-map-view` 仍可在仅平面图场景单独挂类;规则与 body-subview 一致。
|
|
42
|
+
*/
|
|
43
|
+
&--body-subview &-toolbar,
|
|
41
44
|
&--floor-map-view &-toolbar {
|
|
42
45
|
margin-bottom: 0;
|
|
43
46
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import './index.less';
|
|
2
3
|
declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
3
4
|
export default SelectHolder;
|
package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
2
3
|
export default SelectHolderMultiple;
|