@pisell/materials 6.11.223 → 6.11.225
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 +7 -7
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.js +15 -15
- package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +9 -0
- package/es/components/PisellBasicGrid/hooks/index.d.ts +1 -0
- package/es/components/PisellBasicGrid/hooks/useGridStyle.d.ts +37 -0
- package/es/components/PisellBasicGrid/index.d.ts +6 -0
- package/es/components/PisellBasicGrid/types.d.ts +221 -0
- package/es/components/PisellBasicGrid/utils/index.d.ts +63 -0
- package/es/components/PisellCards/PisellCards.d.ts +8 -0
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +9 -0
- package/es/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
- package/es/components/PisellCards/components/GraphicTextCard/components/GraphicArea.d.ts +24 -0
- package/es/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
- package/es/components/PisellCards/components/GraphicTextCard/components/index.d.ts +6 -0
- package/es/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
- package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
- package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
- package/es/components/PisellCards/components/GraphicTextCard/index.d.ts +5 -0
- package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
- package/es/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
- package/es/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +19 -0
- package/es/components/PisellCards/components/MultilevelCard/components/CardWrapper.d.ts +7 -0
- package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +7 -0
- package/es/components/PisellCards/components/MultilevelCard/components/index.d.ts +2 -0
- package/es/components/PisellCards/components/MultilevelCard/hooks/index.d.ts +2 -0
- package/es/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +31 -0
- package/es/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardHover.d.ts +28 -0
- package/es/components/PisellCards/components/MultilevelCard/index.d.ts +2 -0
- package/es/components/PisellCards/components/MultilevelCard/types.d.ts +202 -0
- package/es/components/PisellCards/components/MultilevelCard/utils/index.d.ts +6 -0
- package/es/components/PisellCards/components/PisellImageCard/components/index.d.ts +0 -0
- package/es/components/PisellCards/components/PisellImageCard/hooks/index.d.ts +5 -0
- package/es/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +11 -0
- package/es/components/PisellCards/components/PisellImageCard/hooks/usePisellImageCardStyle.d.ts +10 -0
- package/es/components/PisellCards/components/PisellImageCard/index.d.ts +5 -0
- package/es/components/PisellCards/components/PisellImageCard/types.d.ts +74 -0
- package/es/components/PisellCards/components/PisellImageCard/utils/getImageObjectFit.d.ts +7 -0
- package/es/components/PisellCards/components/PisellImageCard/utils/getTruncatedText.d.ts +7 -0
- package/es/components/PisellCards/components/PisellImageCard/utils/index.d.ts +5 -0
- package/es/components/PisellCards/components/TabCard/TabCard.d.ts +3 -0
- package/es/components/PisellCards/components/TabCard/index.d.ts +5 -0
- package/es/components/PisellCards/components/TabCard/types.d.ts +70 -0
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +7 -0
- package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
- package/es/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
- package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
- package/es/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
- package/es/components/PisellCards/components/TextCard/hooks/index.d.ts +0 -0
- package/es/components/PisellCards/components/TextCard/index.d.ts +5 -0
- package/es/components/PisellCards/components/TextCard/types.d.ts +270 -0
- package/es/components/PisellCards/components/TextCard/utils/index.d.ts +0 -0
- package/es/components/PisellCards/components/index.d.ts +10 -0
- package/es/components/PisellCards/hooks/index.d.ts +0 -0
- package/es/components/PisellCards/index.d.ts +15 -0
- package/es/components/PisellCards/types.d.ts +48 -0
- package/es/components/PisellCards/utils/index.d.ts +0 -0
- package/es/components/PisellFields/index.d.ts +37 -0
- package/es/components/PisellLayouts/index.d.ts +0 -1
- package/es/components/PisellMetrics/index.d.ts +24 -0
- package/es/components/PisellProcedure/PisellProcedure.d.ts +22 -0
- package/es/components/PisellProcedure/PisellProcedure.stories.d.ts +163 -0
- package/es/components/PisellProcedure/components/FooterActions.d.ts +24 -0
- package/es/components/PisellProcedure/components/ProcedureBody.d.ts +41 -0
- package/es/components/PisellProcedure/components/ProcedureContent.d.ts +23 -0
- package/es/components/PisellProcedure/components/ProcedureSidebar.d.ts +38 -0
- package/es/components/PisellProcedure/components/index.d.ts +12 -0
- package/es/components/PisellProcedure/hooks/index.d.ts +8 -0
- package/es/components/PisellProcedure/hooks/useElementSize.d.ts +38 -0
- package/es/components/PisellProcedure/hooks/useOverflowActions.d.ts +43 -0
- package/es/components/PisellProcedure/hooks/useResponsiveClass.d.ts +6 -0
- package/es/components/PisellProcedure/hooks/useSidebarHeight.d.ts +16 -0
- package/es/components/PisellProcedure/hooks/useStepManager.d.ts +50 -0
- package/es/components/PisellProcedure/index.d.ts +5 -0
- package/es/components/PisellProcedure/types.d.ts +363 -0
- package/es/components/PisellProcedure/utils/classNames.d.ts +33 -0
- package/es/components/PisellProcedure/utils/extractText.d.ts +20 -0
- package/es/components/PisellProcedure/utils/footerPosition.d.ts +41 -0
- package/es/components/PisellProcedure/utils/index.d.ts +8 -0
- package/es/components/PisellProcedure/utils/layoutRatio.d.ts +42 -0
- package/es/components/PisellProcedure/utils/slotHelper.d.ts +27 -0
- package/es/components/PisellScrollView/PisellScrollView.d.ts +5 -0
- package/es/components/PisellScrollView/PisellScrollView.stories.d.ts +87 -0
- package/es/components/PisellScrollView/components/Actions/index.d.ts +18 -0
- package/es/components/PisellScrollView/hooks/index.d.ts +3 -0
- package/es/components/PisellScrollView/hooks/useIntersection.d.ts +8 -0
- package/es/components/PisellScrollView/hooks/useScrollEvents.d.ts +20 -0
- package/es/components/PisellScrollView/hooks/useScrollState.d.ts +13 -0
- package/es/components/PisellScrollView/index.d.ts +3 -0
- package/es/components/PisellScrollView/types.d.ts +203 -0
- package/es/components/PisellScrollView/utils/index.d.ts +0 -0
- package/es/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/es/components/PisellSteps/PisellSteps.stories.d.ts +155 -0
- package/es/components/PisellSteps/hooks/index.d.ts +4 -0
- package/es/components/PisellSteps/hooks/useAnchor.d.ts +9 -0
- package/es/components/PisellSteps/hooks/useResponsive.d.ts +8 -0
- package/es/components/PisellSteps/hooks/useStepClick.d.ts +11 -0
- package/es/components/PisellSteps/hooks/useStepsState.d.ts +9 -0
- package/es/components/PisellSteps/index.d.ts +3 -0
- package/es/components/PisellSteps/types.d.ts +257 -0
- package/es/components/PisellSteps/utils/index.d.ts +54 -0
- package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +8 -0
- package/es/components/PisellSuperTabs/components/index.d.ts +0 -0
- package/es/components/PisellSuperTabs/hooks/index.d.ts +1 -0
- package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +7 -0
- package/es/components/PisellSuperTabs/index.d.ts +3 -0
- package/es/components/PisellSuperTabs/types.d.ts +212 -0
- package/es/components/PisellSuperTabs/utils/getRowKey.d.ts +8 -0
- package/es/components/PisellSuperTabs/utils/index.d.ts +1 -0
- package/es/components/PisellTabbar/PisellTabbar.d.ts +20 -0
- package/es/components/PisellTabbar/constants.d.ts +47 -0
- package/es/components/PisellTabbar/hooks/index.d.ts +2 -0
- package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
- package/es/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
- package/es/components/PisellTabbar/index.d.ts +9 -0
- package/es/components/PisellTabbar/locales.d.ts +23 -0
- package/es/components/PisellTabbar/mock.d.ts +47 -0
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
- package/es/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/es/components/PisellTabbar/template/Template1/index.d.ts +6 -0
- package/es/components/PisellTabbar/template/Template1/utils/index.d.ts +35 -0
- package/es/components/PisellTabbar/template/index.d.ts +0 -0
- package/es/components/PisellTabbar/types.d.ts +92 -0
- package/es/components/PisellTabbar/utils/index.d.ts +69 -0
- package/es/components/PisellTabbar2/PisellTabbar.d.ts +23 -0
- package/es/components/PisellTabbar2/components/TabbarLevel.d.ts +8 -0
- package/es/components/PisellTabbar2/components/index.d.ts +1 -0
- package/es/components/PisellTabbar2/constants.d.ts +46 -0
- package/es/components/PisellTabbar2/hooks/index.d.ts +2 -0
- package/es/components/PisellTabbar2/hooks/useActiveKey.d.ts +50 -0
- package/es/components/PisellTabbar2/hooks/useExpand.d.ts +41 -0
- package/es/components/PisellTabbar2/index.d.ts +6 -0
- package/es/components/PisellTabbar2/locales.d.ts +23 -0
- package/es/components/PisellTabbar2/mock.d.ts +205 -0
- package/es/components/PisellTabbar2/types.d.ts +117 -0
- package/es/components/PisellTabbar2/utils/index.d.ts +35 -0
- package/es/components/PisellTabbar3/PisellTabbar.d.ts +20 -0
- package/es/components/PisellTabbar3/index.d.ts +6 -0
- package/es/components/PisellTabbar3/locales.d.ts +23 -0
- package/es/components/PisellTabbar3/mock.d.ts +47 -0
- package/es/components/PisellTabbar3/types.d.ts +111 -0
- package/es/components/SafeAreaTop/index.d.ts +5 -0
- package/es/components/SafeAreaTop/types.d.ts +9 -0
- package/es/components/Template/PisellSteps.d.ts +0 -0
- package/es/components/Template/components/index.d.ts +0 -0
- package/es/components/Template/hooks/index.d.ts +0 -0
- package/es/components/Template/index.d.ts +0 -0
- package/es/components/Template/types.d.ts +0 -0
- package/es/components/Template/utils/index.d.ts +0 -0
- package/es/components/appVersionControl/index.d.ts +0 -1
- package/es/components/buttonGroupPreview/index.d.ts +19 -0
- package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +18 -0
- package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +8 -0
- package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +35 -0
- package/es/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +24 -0
- package/es/components/dataSourceComponents/dataSourceSubForm/index.d.ts +13 -0
- package/es/components/dataSourceComponents/dataSourceSubForm/types.d.ts +117 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +26 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +27 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +9 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/WithMode.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +12 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +87 -0
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
- package/es/components/dataSourceComponents/fields/Tabs/WithMode.d.ts +6 -0
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +13 -0
- package/es/components/dataSourceComponents/fields/Tabs/type.d.ts +38 -0
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Translation/type.d.ts +22 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +2 -2
- package/es/components/dataSourceComponents/hooks/useFormSettingParams.d.ts +7 -0
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +121 -0
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
- package/es/components/filter/components/Dropdown/types.d.ts +15 -0
- package/es/components/filter/components/FilterButton/types.d.ts +29 -0
- package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +21 -0
- package/es/components/filter/types.d.ts +52 -0
- package/es/components/keyboard/index.d.ts +22 -0
- package/es/components/pisellBatchActionBar/index.d.ts +6 -0
- package/es/components/pisellBatchActionBar/types.d.ts +237 -0
- package/es/components/pisellCurrency/PisellCurrency.stories.d.ts +56 -0
- package/es/components/pisellCurrency/components/DisabledView.d.ts +11 -0
- package/es/components/pisellCurrency/components/ReadOnlyView.d.ts +17 -0
- package/es/components/pisellCurrency/components/index.d.ts +6 -0
- package/es/components/pisellCurrency/index.d.ts +7 -0
- package/es/components/pisellCurrency/utils/index.d.ts +5 -0
- package/es/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +4 -0
- package/es/components/pisellDataSourceContainer/components/Filter/FilterButton.d.ts +7 -0
- package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +6 -0
- package/es/components/pisellDataSourceContainer/components/Sort/index.d.ts +9 -0
- package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +9 -0
- package/es/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +14 -0
- package/es/components/pisellDataSourceContainer/hooks/useContainerContext.d.ts +3 -0
- package/es/components/pisellDataSourceContainer/hooks/useHandleAction.d.ts +32 -0
- package/es/components/pisellDataSourceContainer/provider/ChildComponentProps.d.ts +13 -0
- package/es/components/pisellDataSourceContainer/provider/RefManager.d.ts +9 -0
- package/es/components/pisellDataSourceContainer/type.d.ts +84 -0
- package/es/components/pisellDataSourceContainer/utils/formatData.d.ts +9 -0
- package/es/components/pisellDataSourceContainer/utils/withContainer.d.ts +9 -0
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +35 -0
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +195 -0
- package/es/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +48 -0
- package/es/components/pisellDateTimeDisplay/components/TimeDisplay.d.ts +42 -0
- package/es/components/pisellDateTimeDisplay/components/WeekdayDisplay.d.ts +57 -0
- package/es/components/pisellDateTimeDisplay/components/index.d.ts +6 -0
- package/es/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +7 -0
- package/es/components/pisellDateTimeDisplay/formats/index.d.ts +1 -0
- package/es/components/pisellDateTimeDisplay/hooks/index.d.ts +2 -0
- package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +46 -0
- package/es/components/pisellDateTimeDisplay/index.d.ts +3 -0
- package/es/components/pisellDateTimeDisplay/types.d.ts +352 -0
- package/es/components/pisellDateTimeDisplay/utils/formatDate.d.ts +21 -0
- package/es/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +17 -0
- package/es/components/pisellDateTimeDisplay/utils/formatTime.d.ts +19 -0
- package/es/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +30 -0
- package/es/components/pisellDateTimeDisplay/utils/getRefreshInterval.d.ts +18 -0
- package/es/components/pisellDateTimeDisplay/utils/index.d.ts +7 -0
- package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +24 -0
- package/es/components/pisellEmail/PisellEmail.stories.d.ts +116 -0
- package/es/components/pisellEmail/components/DisabledView.d.ts +14 -0
- package/es/components/pisellEmail/components/ReadOnlyView.d.ts +15 -0
- package/es/components/pisellEmail/constants/emailDomains.d.ts +5 -0
- package/es/components/pisellEmail/constants/emailRegex.d.ts +13 -0
- package/es/components/pisellEmail/index.d.ts +7 -0
- package/es/components/pisellEmail/utils/domainSuggestions.d.ts +15 -0
- package/es/components/pisellEmail/utils/emailHelper.d.ts +66 -0
- package/es/components/pisellEmail/utils/emailValidator.d.ts +45 -0
- package/es/components/pisellEmail/utils/index.d.ts +6 -0
- package/es/components/pisellFilter/index.d.ts +4 -0
- package/es/components/pisellFilter/type.d.ts +7 -0
- package/es/components/pisellFind/PisellFind.stories.d.ts +45 -0
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +59 -0
- package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +29 -0
- package/es/components/pisellFloorMapLayout/components/EdgeLayer.d.ts +37 -0
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +89 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +23 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +49 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +7 -0
- package/es/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +39 -0
- package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +59 -0
- package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +27 -0
- package/es/components/pisellFloorMapLayout/components/NodePortMarkers.d.ts +20 -0
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +28 -0
- package/es/components/pisellFloorMapLayout/components/index.d.ts +23 -0
- package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
- package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +35 -0
- package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +25 -0
- package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +18 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.d.ts +61 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +15 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +21 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +91 -0
- package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
- package/es/components/pisellFloorMapLayout/index.d.ts +39 -0
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +184 -0
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +184 -0
- package/es/components/pisellFloorMapLayout/locales.d.ts +969 -0
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +18 -0
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +80 -0
- package/es/components/pisellFloorMapLayout/types.d.ts +769 -0
- package/es/components/pisellFloorMapLayout/utils/alignSnap.d.ts +64 -0
- package/es/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.d.ts +45 -0
- package/es/components/pisellFloorMapLayout/utils/edgeRouting.d.ts +267 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapBuiltinShapes.d.ts +59 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasStage.d.ts +83 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +21 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +8 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +33 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +50 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.d.ts +44 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +17 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +27 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +109 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapSelectionZone.d.ts +24 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +8 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.d.ts +34 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
- package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
- package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
- package/es/components/pisellFloorMapLayout/utils/snap.d.ts +10 -0
- package/es/components/pisellGridPro/GridPro.d.ts +9 -0
- package/es/components/pisellGridPro/GridView/index.d.ts +5 -0
- package/es/components/pisellGridPro/GridView/type.d.ts +3 -0
- package/es/components/pisellGridPro/ToolBar/index.d.ts +6 -0
- package/es/components/pisellGridPro/ToolBar/type.d.ts +10 -0
- package/es/components/pisellGridPro/components/DataCard/components/StatCard/index.d.ts +10 -0
- package/es/components/pisellGridPro/components/DataCard/index.d.ts +5 -0
- package/es/components/pisellGridPro/components/DataCard/types.d.ts +70 -0
- package/es/components/pisellGridPro/components/Footer/index.d.ts +9 -0
- package/es/components/pisellGridPro/components/Header/index.d.ts +12 -0
- package/es/components/pisellGridPro/index.d.ts +4 -0
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
- package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
- package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
- package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
- package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
- package/es/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
- package/es/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
- package/es/components/pisellLayout/index.d.ts +14 -0
- package/es/components/pisellLongText/PisellLongText.stories.d.ts +123 -0
- package/es/components/pisellLongText/components/DisabledView.d.ts +16 -0
- package/es/components/pisellLongText/components/ReadOnlyView.d.ts +18 -0
- package/es/components/pisellLongText/index.d.ts +7 -0
- package/es/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/es/components/pisellLookup/PisellLookup.stories.d.ts +129 -0
- package/es/components/pisellLookup/components/HotWords.d.ts +7 -0
- package/es/components/pisellLookup/components/LookupAuxiliary.d.ts +7 -0
- package/es/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/es/components/pisellLookup/components/SearchHistory.d.ts +7 -0
- package/es/components/pisellLookup/components/SuggestWords.d.ts +7 -0
- package/es/components/pisellLookup/components/index.d.ts +9 -0
- package/es/components/pisellLookup/hooks/index.d.ts +6 -0
- package/es/components/pisellLookup/hooks/useDebounceSearch.d.ts +40 -0
- package/es/components/pisellLookup/hooks/useSearchHistory.d.ts +48 -0
- package/es/components/pisellLookup/hooks/useSearchState.d.ts +80 -0
- package/es/components/pisellLookup/index.d.ts +6 -0
- package/es/components/pisellLookup/types.d.ts +761 -0
- package/es/components/pisellLookup/utils/index.d.ts +5 -0
- package/es/components/pisellLookup/utils/storage.d.ts +42 -0
- package/es/components/pisellLookup/utils/trigger.d.ts +42 -0
- package/es/components/pisellMetricCard/PisellMetricCard.d.ts +35 -0
- package/es/components/pisellMetricCard/PisellMetricCard.stories.d.ts +17 -0
- package/es/components/pisellMetricCard/components/MetricComparison.d.ts +14 -0
- package/es/components/pisellMetricCard/components/MetricTitle.d.ts +12 -0
- package/es/components/pisellMetricCard/components/MetricValue.d.ts +12 -0
- package/es/components/pisellMetricCard/components/TrendIcon.d.ts +14 -0
- package/es/components/pisellMetricCard/components/index.d.ts +7 -0
- package/es/components/pisellMetricCard/index.d.ts +6 -0
- package/es/components/pisellMetricCard/types.d.ts +201 -0
- package/es/components/pisellMetricCard/utils/calculateTrend.d.ts +14 -0
- package/es/components/pisellMetricCard/utils/index.d.ts +5 -0
- package/es/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.d.ts +8 -0
- package/es/components/pisellMobileDateRangePicker/index.d.ts +2 -0
- package/es/components/pisellMobileDateRangePicker/types.d.ts +28 -0
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.stories.d.ts +70 -0
- package/es/components/pisellMultipleSelect/components/DisabledView.d.ts +8 -0
- package/es/components/pisellMultipleSelect/index.d.ts +7 -0
- package/es/components/pisellNumber/PisellNumber.stories.d.ts +66 -0
- package/es/components/pisellNumber/components/DisabledView.d.ts +11 -0
- package/es/components/pisellNumber/components/index.d.ts +6 -0
- package/es/components/pisellNumber/index.d.ts +7 -0
- package/es/components/pisellPercent/PisellPercent.stories.d.ts +52 -0
- package/es/components/pisellPercent/components/DisabledView.d.ts +11 -0
- package/es/components/pisellPercent/components/ReadOnlyView.d.ts +14 -0
- package/es/components/pisellPercent/components/index.d.ts +6 -0
- package/es/components/pisellPercent/index.d.ts +7 -0
- package/es/components/pisellPercent/utils/index.d.ts +6 -0
- package/es/components/pisellPercent/utils/rangeConverter.d.ts +36 -0
- package/es/components/pisellPhone/PisellPhone.stories.d.ts +80 -0
- package/es/components/pisellPhone/components/DisabledView.d.ts +16 -0
- package/es/components/pisellPhone/components/ReadOnlyView.d.ts +17 -0
- package/es/components/pisellPhone/constants/countryCodes.d.ts +20 -0
- package/es/components/pisellPhone/index.d.ts +8 -0
- package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/es/components/pisellPhone/utils/index.d.ts +6 -0
- package/es/components/pisellPhone/utils/phoneFormatter.d.ts +39 -0
- package/es/components/pisellQuickFilter/type.d.ts +12 -0
- package/es/components/pisellRating/PisellRating.stories.d.ts +53 -0
- package/es/components/pisellRating/index.d.ts +7 -0
- package/es/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
- package/es/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
- package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
- package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
- package/es/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +8 -1
- package/es/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
- package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +11 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +37 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +34 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +4 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +102 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +7 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.d.ts +26 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +30 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarAxis.d.ts +32 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +330 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.d.ts +7 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +21 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +52 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +23 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +22 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +57 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +26 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.d.ts +11 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.d.ts +3 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.d.ts +3 -0
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +12 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +50 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +22 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +2 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +58 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +64 -0
- package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +24 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +8 -0
- package/es/components/pisellRecordBoard/types.d.ts +899 -0
- package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +23 -0
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
- package/es/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +27 -0
- package/es/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
- package/es/components/pisellReservationSchedule/locales.d.ts +43 -0
- package/es/components/pisellReservationSchedule/types.d.ts +52 -0
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
- package/es/components/pisellReservationScheduleBand/index.d.ts +3 -0
- package/es/components/pisellReservationScheduleBand/types.d.ts +68 -0
- package/es/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.d.ts +9 -0
- package/es/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
- package/es/components/pisellShellFrame/PisellShellFrame.stories.d.ts +15 -0
- package/es/components/pisellShellFrame/index.d.ts +2 -0
- package/es/components/pisellShellFrame/types.d.ts +62 -0
- package/es/components/pisellSingleLineText/PisellSingleLineText.stories.d.ts +102 -0
- package/es/components/pisellSingleLineText/components/DisabledView.d.ts +16 -0
- package/es/components/pisellSingleLineText/components/ReadOnlyView.d.ts +20 -0
- package/es/components/pisellSingleLineText/index.d.ts +7 -0
- package/es/components/pisellSingleSelect/PisellSingleSelect.stories.d.ts +66 -0
- package/es/components/pisellSingleSelect/components/DisabledView.d.ts +8 -0
- package/es/components/pisellSingleSelect/index.d.ts +7 -0
- package/es/components/pisellSort/index.d.ts +3 -0
- package/es/components/pisellSort/type.d.ts +7 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
- package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +29 -0
- package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +41 -0
- package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +40 -0
- package/es/components/pisellTimeNavigator/components/index.d.ts +5 -0
- package/es/components/pisellTimeNavigator/hooks/index.d.ts +5 -0
- package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
- package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
- package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +37 -0
- package/es/components/pisellTimeNavigator/index.d.ts +5 -0
- package/es/components/pisellTimeNavigator/locales.d.ts +22 -0
- package/es/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +20 -0
- package/es/components/pisellTimeNavigator/types.d.ts +175 -0
- package/es/components/pisellTimeNavigator/utils/index.d.ts +79 -0
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +61 -0
- package/es/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +20 -0
- package/es/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +19 -0
- package/es/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +36 -0
- package/es/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +18 -0
- package/es/components/pisellTimeRangeDisplay/components/index.d.ts +8 -0
- package/es/components/pisellTimeRangeDisplay/index.d.ts +3 -0
- package/es/components/pisellTimeRangeDisplay/types.d.ts +145 -0
- package/es/components/pisellTimeRangeDisplay/utils/formatDuration.d.ts +14 -0
- package/es/components/pisellTimeRangeDisplay/utils/index.d.ts +4 -0
- package/es/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +23 -0
- package/es/components/pisellUrl/PisellUrl.stories.d.ts +108 -0
- package/es/components/pisellUrl/components/DisabledView.d.ts +14 -0
- package/es/components/pisellUrl/components/ReadOnlyView.d.ts +15 -0
- package/es/components/pisellUrl/index.d.ts +7 -0
- package/es/components/pisellUrl/utils/index.d.ts +6 -0
- package/es/components/pisellUrl/utils/urlFormatter.d.ts +38 -0
- package/es/components/pisellUrl/utils/urlHelper.d.ts +63 -0
- package/es/components/pisellUrl/utils/urlValidator.d.ts +46 -0
- package/es/components/productCard/cartSkuCard/components/BookingItem/index.d.ts +10 -0
- package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/locales.d.ts +203 -0
- package/es/components/productCard/lineItem/BookingLineItem.js +1 -32
- package/es/components/productCard/lineItem/components/Holders/index.js +6 -7
- package/es/components/productCard/lineItem/components/Resources/index.d.ts +6 -0
- package/es/components/productCard/lineItem/locales.d.ts +38 -0
- package/es/components/productCard/lineItem/types.d.ts +13 -0
- package/es/components/productCard/status.d.ts +32 -0
- package/es/components/productCard/types.d.ts +96 -0
- package/es/components/select/index.d.ts +9 -0
- package/es/components/sort/types.d.ts +39 -0
- package/es/components/table/Actions/component/ViewMode/index.d.ts +8 -0
- package/es/components/table/Table/fields/select/Edit/index.d.ts +4 -0
- package/es/components/table/Table/fields/types/index.d.ts +33 -0
- package/es/components/versionSelect/index.d.ts +1 -0
- package/es/components/virtualInput/BaseVirtualInput/index.d.ts +44 -0
- package/es/components/virtualInput/index.d.ts +29 -0
- package/es/hooks/useMobile.d.ts +8 -0
- package/es/hooks/useThemeTokens.d.ts +7 -0
- package/es/locales/en-US.d.ts +566 -0
- package/es/locales/index.d.ts +1 -0
- package/es/locales/ja.d.ts +534 -0
- package/es/locales/pt.d.ts +534 -0
- package/es/locales/zh-CN.d.ts +561 -0
- package/es/locales/zh-TW.d.ts +561 -0
- package/es/theme/tokens.d.ts +22 -0
- package/es/utils/tagColor.d.ts +7 -0
- package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +9 -0
- package/lib/components/PisellBasicGrid/hooks/index.d.ts +1 -0
- package/lib/components/PisellBasicGrid/hooks/useGridStyle.d.ts +37 -0
- package/lib/components/PisellBasicGrid/index.d.ts +6 -0
- package/lib/components/PisellBasicGrid/types.d.ts +221 -0
- package/lib/components/PisellBasicGrid/utils/index.d.ts +63 -0
- package/lib/components/PisellCards/PisellCards.d.ts +8 -0
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +9 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/GraphicArea.d.ts +24 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/index.d.ts +6 -0
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
- package/lib/components/PisellCards/components/GraphicTextCard/index.d.ts +5 -0
- package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
- package/lib/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
- package/lib/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +19 -0
- package/lib/components/PisellCards/components/MultilevelCard/components/CardWrapper.d.ts +7 -0
- package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +7 -0
- package/lib/components/PisellCards/components/MultilevelCard/components/index.d.ts +2 -0
- package/lib/components/PisellCards/components/MultilevelCard/hooks/index.d.ts +2 -0
- package/lib/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +31 -0
- package/lib/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardHover.d.ts +28 -0
- package/lib/components/PisellCards/components/MultilevelCard/index.d.ts +2 -0
- package/lib/components/PisellCards/components/MultilevelCard/types.d.ts +202 -0
- package/lib/components/PisellCards/components/MultilevelCard/utils/index.d.ts +6 -0
- package/lib/components/PisellCards/components/PisellImageCard/components/index.d.ts +0 -0
- package/lib/components/PisellCards/components/PisellImageCard/hooks/index.d.ts +5 -0
- package/lib/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +11 -0
- package/lib/components/PisellCards/components/PisellImageCard/hooks/usePisellImageCardStyle.d.ts +10 -0
- package/lib/components/PisellCards/components/PisellImageCard/index.d.ts +5 -0
- package/lib/components/PisellCards/components/PisellImageCard/types.d.ts +74 -0
- package/lib/components/PisellCards/components/PisellImageCard/utils/getImageObjectFit.d.ts +7 -0
- package/lib/components/PisellCards/components/PisellImageCard/utils/getTruncatedText.d.ts +7 -0
- package/lib/components/PisellCards/components/PisellImageCard/utils/index.d.ts +5 -0
- package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +3 -0
- package/lib/components/PisellCards/components/TabCard/index.d.ts +5 -0
- package/lib/components/PisellCards/components/TabCard/types.d.ts +70 -0
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +7 -0
- package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
- package/lib/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
- package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
- package/lib/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
- package/lib/components/PisellCards/components/TextCard/hooks/index.d.ts +0 -0
- package/lib/components/PisellCards/components/TextCard/index.d.ts +5 -0
- package/lib/components/PisellCards/components/TextCard/types.d.ts +270 -0
- package/lib/components/PisellCards/components/TextCard/utils/index.d.ts +0 -0
- package/lib/components/PisellCards/components/index.d.ts +10 -0
- package/lib/components/PisellCards/hooks/index.d.ts +0 -0
- package/lib/components/PisellCards/index.d.ts +15 -0
- package/lib/components/PisellCards/types.d.ts +48 -0
- package/lib/components/PisellCards/utils/index.d.ts +0 -0
- package/lib/components/PisellFields/index.d.ts +37 -0
- package/lib/components/PisellLayouts/index.d.ts +0 -1
- package/lib/components/PisellMetrics/index.d.ts +24 -0
- package/lib/components/PisellProcedure/PisellProcedure.d.ts +22 -0
- package/lib/components/PisellProcedure/PisellProcedure.stories.d.ts +163 -0
- package/lib/components/PisellProcedure/components/FooterActions.d.ts +24 -0
- package/lib/components/PisellProcedure/components/ProcedureBody.d.ts +41 -0
- package/lib/components/PisellProcedure/components/ProcedureContent.d.ts +23 -0
- package/lib/components/PisellProcedure/components/ProcedureSidebar.d.ts +38 -0
- package/lib/components/PisellProcedure/components/index.d.ts +12 -0
- package/lib/components/PisellProcedure/hooks/index.d.ts +8 -0
- package/lib/components/PisellProcedure/hooks/useElementSize.d.ts +38 -0
- package/lib/components/PisellProcedure/hooks/useOverflowActions.d.ts +43 -0
- package/lib/components/PisellProcedure/hooks/useResponsiveClass.d.ts +6 -0
- package/lib/components/PisellProcedure/hooks/useSidebarHeight.d.ts +16 -0
- package/lib/components/PisellProcedure/hooks/useStepManager.d.ts +50 -0
- package/lib/components/PisellProcedure/index.d.ts +5 -0
- package/lib/components/PisellProcedure/types.d.ts +363 -0
- package/lib/components/PisellProcedure/utils/classNames.d.ts +33 -0
- package/lib/components/PisellProcedure/utils/extractText.d.ts +20 -0
- package/lib/components/PisellProcedure/utils/footerPosition.d.ts +41 -0
- package/lib/components/PisellProcedure/utils/index.d.ts +8 -0
- package/lib/components/PisellProcedure/utils/layoutRatio.d.ts +42 -0
- package/lib/components/PisellProcedure/utils/slotHelper.d.ts +27 -0
- package/lib/components/PisellScrollView/PisellScrollView.d.ts +5 -0
- package/lib/components/PisellScrollView/PisellScrollView.stories.d.ts +87 -0
- package/lib/components/PisellScrollView/components/Actions/index.d.ts +18 -0
- package/lib/components/PisellScrollView/hooks/index.d.ts +3 -0
- package/lib/components/PisellScrollView/hooks/useIntersection.d.ts +8 -0
- package/lib/components/PisellScrollView/hooks/useScrollEvents.d.ts +20 -0
- package/lib/components/PisellScrollView/hooks/useScrollState.d.ts +13 -0
- package/lib/components/PisellScrollView/index.d.ts +3 -0
- package/lib/components/PisellScrollView/types.d.ts +203 -0
- package/lib/components/PisellScrollView/utils/index.d.ts +0 -0
- package/lib/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/lib/components/PisellSteps/PisellSteps.stories.d.ts +155 -0
- package/lib/components/PisellSteps/hooks/index.d.ts +4 -0
- package/lib/components/PisellSteps/hooks/useAnchor.d.ts +9 -0
- package/lib/components/PisellSteps/hooks/useResponsive.d.ts +8 -0
- package/lib/components/PisellSteps/hooks/useStepClick.d.ts +11 -0
- package/lib/components/PisellSteps/hooks/useStepsState.d.ts +9 -0
- package/lib/components/PisellSteps/index.d.ts +3 -0
- package/lib/components/PisellSteps/types.d.ts +257 -0
- package/lib/components/PisellSteps/utils/index.d.ts +54 -0
- package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +8 -0
- package/lib/components/PisellSuperTabs/components/index.d.ts +0 -0
- package/lib/components/PisellSuperTabs/hooks/index.d.ts +1 -0
- package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +7 -0
- package/lib/components/PisellSuperTabs/index.d.ts +3 -0
- package/lib/components/PisellSuperTabs/types.d.ts +212 -0
- package/lib/components/PisellSuperTabs/utils/getRowKey.d.ts +8 -0
- package/lib/components/PisellSuperTabs/utils/index.d.ts +1 -0
- package/lib/components/PisellTabbar/PisellTabbar.d.ts +20 -0
- package/lib/components/PisellTabbar/constants.d.ts +47 -0
- package/lib/components/PisellTabbar/hooks/index.d.ts +2 -0
- package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
- package/lib/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
- package/lib/components/PisellTabbar/index.d.ts +9 -0
- package/lib/components/PisellTabbar/locales.d.ts +23 -0
- package/lib/components/PisellTabbar/mock.d.ts +47 -0
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
- package/lib/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/lib/components/PisellTabbar/template/Template1/index.d.ts +6 -0
- package/lib/components/PisellTabbar/template/Template1/utils/index.d.ts +35 -0
- package/lib/components/PisellTabbar/template/index.d.ts +0 -0
- package/lib/components/PisellTabbar/types.d.ts +92 -0
- package/lib/components/PisellTabbar/utils/index.d.ts +69 -0
- package/lib/components/PisellTabbar2/PisellTabbar.d.ts +23 -0
- package/lib/components/PisellTabbar2/components/TabbarLevel.d.ts +8 -0
- package/lib/components/PisellTabbar2/components/index.d.ts +1 -0
- package/lib/components/PisellTabbar2/constants.d.ts +46 -0
- package/lib/components/PisellTabbar2/hooks/index.d.ts +2 -0
- package/lib/components/PisellTabbar2/hooks/useActiveKey.d.ts +50 -0
- package/lib/components/PisellTabbar2/hooks/useExpand.d.ts +41 -0
- package/lib/components/PisellTabbar2/index.d.ts +6 -0
- package/lib/components/PisellTabbar2/locales.d.ts +23 -0
- package/lib/components/PisellTabbar2/mock.d.ts +205 -0
- package/lib/components/PisellTabbar2/types.d.ts +117 -0
- package/lib/components/PisellTabbar2/utils/index.d.ts +35 -0
- package/lib/components/PisellTabbar3/PisellTabbar.d.ts +20 -0
- package/lib/components/PisellTabbar3/index.d.ts +6 -0
- package/lib/components/PisellTabbar3/locales.d.ts +23 -0
- package/lib/components/PisellTabbar3/mock.d.ts +47 -0
- package/lib/components/PisellTabbar3/types.d.ts +111 -0
- package/lib/components/SafeAreaTop/index.d.ts +5 -0
- package/lib/components/SafeAreaTop/types.d.ts +9 -0
- package/lib/components/Template/PisellSteps.d.ts +0 -0
- package/lib/components/Template/components/index.d.ts +0 -0
- package/lib/components/Template/hooks/index.d.ts +0 -0
- package/lib/components/Template/index.d.ts +0 -0
- package/lib/components/Template/types.d.ts +0 -0
- package/lib/components/Template/utils/index.d.ts +0 -0
- package/lib/components/appVersionControl/index.d.ts +0 -1
- package/lib/components/buttonGroupPreview/index.d.ts +19 -0
- package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +18 -0
- package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +8 -0
- package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +35 -0
- package/lib/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +24 -0
- package/lib/components/dataSourceComponents/dataSourceSubForm/index.d.ts +13 -0
- package/lib/components/dataSourceComponents/dataSourceSubForm/types.d.ts +117 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +26 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +27 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +9 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/WithMode.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +12 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +87 -0
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
- package/lib/components/dataSourceComponents/fields/Tabs/WithMode.d.ts +6 -0
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +13 -0
- package/lib/components/dataSourceComponents/fields/Tabs/type.d.ts +38 -0
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +22 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/hooks/useFormSettingParams.d.ts +7 -0
- package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +121 -0
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
- package/lib/components/filter/components/Dropdown/types.d.ts +15 -0
- package/lib/components/filter/components/FilterButton/types.d.ts +29 -0
- package/lib/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +21 -0
- package/lib/components/filter/types.d.ts +52 -0
- package/lib/components/keyboard/index.d.ts +22 -0
- package/lib/components/pisellBatchActionBar/index.d.ts +6 -0
- package/lib/components/pisellBatchActionBar/types.d.ts +237 -0
- package/lib/components/pisellCurrency/PisellCurrency.stories.d.ts +56 -0
- package/lib/components/pisellCurrency/components/DisabledView.d.ts +11 -0
- package/lib/components/pisellCurrency/components/ReadOnlyView.d.ts +17 -0
- package/lib/components/pisellCurrency/components/index.d.ts +6 -0
- package/lib/components/pisellCurrency/index.d.ts +7 -0
- package/lib/components/pisellCurrency/utils/index.d.ts +5 -0
- package/lib/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +4 -0
- package/lib/components/pisellDataSourceContainer/components/Filter/FilterButton.d.ts +7 -0
- package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +6 -0
- package/lib/components/pisellDataSourceContainer/components/Sort/index.d.ts +9 -0
- package/lib/components/pisellDataSourceContainer/components/Table/index.d.ts +9 -0
- package/lib/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +14 -0
- package/lib/components/pisellDataSourceContainer/hooks/useContainerContext.d.ts +3 -0
- package/lib/components/pisellDataSourceContainer/hooks/useHandleAction.d.ts +32 -0
- package/lib/components/pisellDataSourceContainer/provider/ChildComponentProps.d.ts +13 -0
- package/lib/components/pisellDataSourceContainer/provider/RefManager.d.ts +9 -0
- package/lib/components/pisellDataSourceContainer/type.d.ts +84 -0
- package/lib/components/pisellDataSourceContainer/utils/formatData.d.ts +9 -0
- package/lib/components/pisellDataSourceContainer/utils/withContainer.d.ts +9 -0
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +35 -0
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +195 -0
- package/lib/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +48 -0
- package/lib/components/pisellDateTimeDisplay/components/TimeDisplay.d.ts +42 -0
- package/lib/components/pisellDateTimeDisplay/components/WeekdayDisplay.d.ts +57 -0
- package/lib/components/pisellDateTimeDisplay/components/index.d.ts +6 -0
- package/lib/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +7 -0
- package/lib/components/pisellDateTimeDisplay/formats/index.d.ts +1 -0
- package/lib/components/pisellDateTimeDisplay/hooks/index.d.ts +2 -0
- package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +46 -0
- package/lib/components/pisellDateTimeDisplay/index.d.ts +3 -0
- package/lib/components/pisellDateTimeDisplay/types.d.ts +352 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatDate.d.ts +21 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +17 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatTime.d.ts +19 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +30 -0
- package/lib/components/pisellDateTimeDisplay/utils/getRefreshInterval.d.ts +18 -0
- package/lib/components/pisellDateTimeDisplay/utils/index.d.ts +7 -0
- package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +24 -0
- package/lib/components/pisellEmail/PisellEmail.stories.d.ts +116 -0
- package/lib/components/pisellEmail/components/DisabledView.d.ts +14 -0
- package/lib/components/pisellEmail/components/ReadOnlyView.d.ts +15 -0
- package/lib/components/pisellEmail/constants/emailDomains.d.ts +5 -0
- package/lib/components/pisellEmail/constants/emailRegex.d.ts +13 -0
- package/lib/components/pisellEmail/index.d.ts +7 -0
- package/lib/components/pisellEmail/utils/domainSuggestions.d.ts +15 -0
- package/lib/components/pisellEmail/utils/emailHelper.d.ts +66 -0
- package/lib/components/pisellEmail/utils/emailValidator.d.ts +45 -0
- package/lib/components/pisellEmail/utils/index.d.ts +6 -0
- package/lib/components/pisellFilter/index.d.ts +4 -0
- package/lib/components/pisellFilter/type.d.ts +7 -0
- package/lib/components/pisellFind/PisellFind.stories.d.ts +45 -0
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +59 -0
- package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +29 -0
- package/lib/components/pisellFloorMapLayout/components/EdgeLayer.d.ts +37 -0
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +89 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +23 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +49 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +7 -0
- package/lib/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +39 -0
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +59 -0
- package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +27 -0
- package/lib/components/pisellFloorMapLayout/components/NodePortMarkers.d.ts +20 -0
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +28 -0
- package/lib/components/pisellFloorMapLayout/components/index.d.ts +23 -0
- package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
- package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +35 -0
- package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +25 -0
- package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +18 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.d.ts +61 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +15 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +21 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +91 -0
- package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
- package/lib/components/pisellFloorMapLayout/index.d.ts +39 -0
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +184 -0
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +184 -0
- package/lib/components/pisellFloorMapLayout/locales.d.ts +969 -0
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +18 -0
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +80 -0
- package/lib/components/pisellFloorMapLayout/types.d.ts +769 -0
- package/lib/components/pisellFloorMapLayout/utils/alignSnap.d.ts +64 -0
- package/lib/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.d.ts +45 -0
- package/lib/components/pisellFloorMapLayout/utils/edgeRouting.d.ts +267 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapBuiltinShapes.d.ts +59 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasStage.d.ts +83 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +21 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +8 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +33 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +50 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.d.ts +44 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +17 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +27 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +109 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapSelectionZone.d.ts +24 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +8 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.d.ts +34 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
- package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
- package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
- package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +10 -0
- package/lib/components/pisellGridPro/GridPro.d.ts +9 -0
- package/lib/components/pisellGridPro/GridView/index.d.ts +5 -0
- package/lib/components/pisellGridPro/GridView/type.d.ts +3 -0
- package/lib/components/pisellGridPro/ToolBar/index.d.ts +6 -0
- package/lib/components/pisellGridPro/ToolBar/type.d.ts +10 -0
- package/lib/components/pisellGridPro/components/DataCard/components/StatCard/index.d.ts +10 -0
- package/lib/components/pisellGridPro/components/DataCard/index.d.ts +5 -0
- package/lib/components/pisellGridPro/components/DataCard/types.d.ts +70 -0
- package/lib/components/pisellGridPro/components/Footer/index.d.ts +9 -0
- package/lib/components/pisellGridPro/components/Header/index.d.ts +12 -0
- package/lib/components/pisellGridPro/index.d.ts +4 -0
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
- package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
- package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
- package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
- package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
- package/lib/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
- package/lib/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
- package/lib/components/pisellLayout/index.d.ts +14 -0
- package/lib/components/pisellLongText/PisellLongText.stories.d.ts +123 -0
- package/lib/components/pisellLongText/components/DisabledView.d.ts +16 -0
- package/lib/components/pisellLongText/components/ReadOnlyView.d.ts +18 -0
- package/lib/components/pisellLongText/index.d.ts +7 -0
- package/lib/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/lib/components/pisellLookup/PisellLookup.stories.d.ts +129 -0
- package/lib/components/pisellLookup/components/HotWords.d.ts +7 -0
- package/lib/components/pisellLookup/components/LookupAuxiliary.d.ts +7 -0
- package/lib/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/lib/components/pisellLookup/components/SearchHistory.d.ts +7 -0
- package/lib/components/pisellLookup/components/SuggestWords.d.ts +7 -0
- package/lib/components/pisellLookup/components/index.d.ts +9 -0
- package/lib/components/pisellLookup/hooks/index.d.ts +6 -0
- package/lib/components/pisellLookup/hooks/useDebounceSearch.d.ts +40 -0
- package/lib/components/pisellLookup/hooks/useSearchHistory.d.ts +48 -0
- package/lib/components/pisellLookup/hooks/useSearchState.d.ts +80 -0
- package/lib/components/pisellLookup/index.d.ts +6 -0
- package/lib/components/pisellLookup/types.d.ts +761 -0
- package/lib/components/pisellLookup/utils/index.d.ts +5 -0
- package/lib/components/pisellLookup/utils/storage.d.ts +42 -0
- package/lib/components/pisellLookup/utils/trigger.d.ts +42 -0
- package/lib/components/pisellMetricCard/PisellMetricCard.d.ts +35 -0
- package/lib/components/pisellMetricCard/PisellMetricCard.stories.d.ts +17 -0
- package/lib/components/pisellMetricCard/components/MetricComparison.d.ts +14 -0
- package/lib/components/pisellMetricCard/components/MetricTitle.d.ts +12 -0
- package/lib/components/pisellMetricCard/components/MetricValue.d.ts +12 -0
- package/lib/components/pisellMetricCard/components/TrendIcon.d.ts +14 -0
- package/lib/components/pisellMetricCard/components/index.d.ts +7 -0
- package/lib/components/pisellMetricCard/index.d.ts +6 -0
- package/lib/components/pisellMetricCard/types.d.ts +201 -0
- package/lib/components/pisellMetricCard/utils/calculateTrend.d.ts +14 -0
- package/lib/components/pisellMetricCard/utils/index.d.ts +5 -0
- package/lib/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.d.ts +8 -0
- package/lib/components/pisellMobileDateRangePicker/index.d.ts +2 -0
- package/lib/components/pisellMobileDateRangePicker/types.d.ts +28 -0
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.stories.d.ts +70 -0
- package/lib/components/pisellMultipleSelect/components/DisabledView.d.ts +8 -0
- package/lib/components/pisellMultipleSelect/index.d.ts +7 -0
- package/lib/components/pisellNumber/PisellNumber.stories.d.ts +66 -0
- package/lib/components/pisellNumber/components/DisabledView.d.ts +11 -0
- package/lib/components/pisellNumber/components/index.d.ts +6 -0
- package/lib/components/pisellNumber/index.d.ts +7 -0
- package/lib/components/pisellPercent/PisellPercent.stories.d.ts +52 -0
- package/lib/components/pisellPercent/components/DisabledView.d.ts +11 -0
- package/lib/components/pisellPercent/components/ReadOnlyView.d.ts +14 -0
- package/lib/components/pisellPercent/components/index.d.ts +6 -0
- package/lib/components/pisellPercent/index.d.ts +7 -0
- package/lib/components/pisellPercent/utils/index.d.ts +6 -0
- package/lib/components/pisellPercent/utils/rangeConverter.d.ts +36 -0
- package/lib/components/pisellPhone/PisellPhone.stories.d.ts +80 -0
- package/lib/components/pisellPhone/components/DisabledView.d.ts +16 -0
- package/lib/components/pisellPhone/components/ReadOnlyView.d.ts +17 -0
- package/lib/components/pisellPhone/constants/countryCodes.d.ts +20 -0
- package/lib/components/pisellPhone/index.d.ts +8 -0
- package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/lib/components/pisellPhone/utils/index.d.ts +6 -0
- package/lib/components/pisellPhone/utils/phoneFormatter.d.ts +39 -0
- package/lib/components/pisellQuickFilter/type.d.ts +12 -0
- package/lib/components/pisellRating/PisellRating.stories.d.ts +53 -0
- package/lib/components/pisellRating/index.d.ts +7 -0
- package/lib/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
- package/lib/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
- package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
- package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
- package/lib/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +2 -1
- package/lib/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
- package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +11 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +37 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +34 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +4 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +102 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +7 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.d.ts +26 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +30 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarAxis.d.ts +32 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +330 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.d.ts +7 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +21 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +52 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +23 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +22 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +57 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +26 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.d.ts +11 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.d.ts +3 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.d.ts +3 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +12 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +50 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +22 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +2 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +58 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +64 -0
- package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +24 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +8 -0
- package/lib/components/pisellRecordBoard/types.d.ts +899 -0
- package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +23 -0
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
- package/lib/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +27 -0
- package/lib/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
- package/lib/components/pisellReservationSchedule/locales.d.ts +43 -0
- package/lib/components/pisellReservationSchedule/types.d.ts +52 -0
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
- package/lib/components/pisellReservationScheduleBand/index.d.ts +3 -0
- package/lib/components/pisellReservationScheduleBand/types.d.ts +68 -0
- package/lib/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.d.ts +9 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.stories.d.ts +15 -0
- package/lib/components/pisellShellFrame/index.d.ts +2 -0
- package/lib/components/pisellShellFrame/types.d.ts +62 -0
- package/lib/components/pisellSingleLineText/PisellSingleLineText.stories.d.ts +102 -0
- package/lib/components/pisellSingleLineText/components/DisabledView.d.ts +16 -0
- package/lib/components/pisellSingleLineText/components/ReadOnlyView.d.ts +20 -0
- package/lib/components/pisellSingleLineText/index.d.ts +7 -0
- package/lib/components/pisellSingleSelect/PisellSingleSelect.stories.d.ts +66 -0
- package/lib/components/pisellSingleSelect/components/DisabledView.d.ts +8 -0
- package/lib/components/pisellSingleSelect/index.d.ts +7 -0
- package/lib/components/pisellSort/index.d.ts +3 -0
- package/lib/components/pisellSort/type.d.ts +7 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
- package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +29 -0
- package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +41 -0
- package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +40 -0
- package/lib/components/pisellTimeNavigator/components/index.d.ts +5 -0
- package/lib/components/pisellTimeNavigator/hooks/index.d.ts +5 -0
- package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
- package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
- package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +37 -0
- package/lib/components/pisellTimeNavigator/index.d.ts +5 -0
- package/lib/components/pisellTimeNavigator/locales.d.ts +22 -0
- package/lib/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +20 -0
- package/lib/components/pisellTimeNavigator/types.d.ts +175 -0
- package/lib/components/pisellTimeNavigator/utils/index.d.ts +79 -0
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +61 -0
- package/lib/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +20 -0
- package/lib/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +19 -0
- package/lib/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +36 -0
- package/lib/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +18 -0
- package/lib/components/pisellTimeRangeDisplay/components/index.d.ts +8 -0
- package/lib/components/pisellTimeRangeDisplay/index.d.ts +3 -0
- package/lib/components/pisellTimeRangeDisplay/types.d.ts +145 -0
- package/lib/components/pisellTimeRangeDisplay/utils/formatDuration.d.ts +14 -0
- package/lib/components/pisellTimeRangeDisplay/utils/index.d.ts +4 -0
- package/lib/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +23 -0
- package/lib/components/pisellUrl/PisellUrl.stories.d.ts +108 -0
- package/lib/components/pisellUrl/components/DisabledView.d.ts +14 -0
- package/lib/components/pisellUrl/components/ReadOnlyView.d.ts +15 -0
- package/lib/components/pisellUrl/index.d.ts +7 -0
- package/lib/components/pisellUrl/utils/index.d.ts +6 -0
- package/lib/components/pisellUrl/utils/urlFormatter.d.ts +38 -0
- package/lib/components/pisellUrl/utils/urlHelper.d.ts +63 -0
- package/lib/components/pisellUrl/utils/urlValidator.d.ts +46 -0
- package/lib/components/productCard/cartSkuCard/components/BookingItem/index.d.ts +10 -0
- package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/locales.d.ts +203 -0
- package/lib/components/productCard/lineItem/BookingLineItem.js +2 -8
- package/lib/components/productCard/lineItem/components/Holders/index.js +4 -4
- package/lib/components/productCard/lineItem/components/Resources/index.d.ts +6 -0
- package/lib/components/productCard/lineItem/locales.d.ts +38 -0
- package/lib/components/productCard/lineItem/types.d.ts +13 -0
- package/lib/components/productCard/status.d.ts +32 -0
- package/lib/components/productCard/types.d.ts +96 -0
- package/lib/components/select/index.d.ts +9 -0
- package/lib/components/sort/types.d.ts +39 -0
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +8 -0
- package/lib/components/table/Table/fields/select/Edit/index.d.ts +4 -0
- package/lib/components/table/Table/fields/types/index.d.ts +33 -0
- package/lib/components/versionSelect/index.d.ts +1 -0
- package/lib/components/virtualInput/BaseVirtualInput/index.d.ts +44 -0
- package/lib/components/virtualInput/index.d.ts +29 -0
- package/lib/hooks/useMobile.d.ts +8 -0
- package/lib/hooks/useThemeTokens.d.ts +7 -0
- package/lib/locales/en-US.d.ts +566 -0
- package/lib/locales/index.d.ts +1 -0
- package/lib/locales/ja.d.ts +534 -0
- package/lib/locales/pt.d.ts +534 -0
- package/lib/locales/zh-CN.d.ts +561 -0
- package/lib/locales/zh-TW.d.ts +561 -0
- package/lib/theme/tokens.d.ts +22 -0
- package/lib/utils/tagColor.d.ts +7 -0
- package/package.json +3 -3
package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts
ADDED
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import type { Dayjs } from 'dayjs';
|
|
2
|
+
import type { RecordBoardCalendarBookingLike } from '../../../types';
|
|
3
|
+
/**
|
|
4
|
+
* 日历日期与时间轴纯函数:`fmtDate`、占用矩阵、月格、overlay 分段、周范围等,供 BookingCalendar 三视图共用。
|
|
5
|
+
*/
|
|
6
|
+
/** 与 {@link RecordBoardCalendarBookingLike} 一致,并支持跨日 endDate */
|
|
7
|
+
export declare type CalendarBookingSegmentInput = RecordBoardCalendarBookingLike & {
|
|
8
|
+
endDate?: string;
|
|
9
|
+
};
|
|
10
|
+
export interface BookingSegmentForDate {
|
|
11
|
+
startHour: number;
|
|
12
|
+
endHour: number;
|
|
13
|
+
continuesPrev: boolean;
|
|
14
|
+
continuesNext: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface ViewNowReference {
|
|
17
|
+
dateKey: string;
|
|
18
|
+
hourFloat: number;
|
|
19
|
+
}
|
|
20
|
+
export declare function fmtDate(date: Date): string;
|
|
21
|
+
/** 本地当前日期键与「日历时」小数小时,用于状态徽标与当前时刻线 */
|
|
22
|
+
export declare function getViewNowReference(): ViewNowReference;
|
|
23
|
+
export declare function parseDate(str: string): Date;
|
|
24
|
+
export declare function addDays(date: Date, n: number): Date;
|
|
25
|
+
export declare function startOfWeek(date: Date): Date;
|
|
26
|
+
export declare function rangeDays(anchor: Date): Date[];
|
|
27
|
+
/**
|
|
28
|
+
* 锚定日所在自然月的每一天(1 号至月末),用于资源视图横向「日」列。
|
|
29
|
+
*/
|
|
30
|
+
export declare function monthCalendarDays(anchor: Date): Date[];
|
|
31
|
+
export declare function isHourInTimelineSlots(hour: number, hourSlots: number[] | undefined): boolean;
|
|
32
|
+
export declare function formatHourLabel(hour: number): string;
|
|
33
|
+
/**
|
|
34
|
+
* `YYYY-MM-DD` → `M/D`,跨日 booking 的 pill 内时间行用这个短日期前缀,
|
|
35
|
+
* 视觉上不挤占 pill 宽度(24px 左右)。
|
|
36
|
+
*/
|
|
37
|
+
export declare function formatShortMonthDay(dateKey: string): string;
|
|
38
|
+
export declare function buildTimeOptions(start?: number, end?: number, sliceMinutes?: number): number[];
|
|
39
|
+
export declare function monthGrid(date: Date, bookings: CalendarBookingSegmentInput[], courtsList: {
|
|
40
|
+
id: string;
|
|
41
|
+
}[] | undefined, hourSlotsIn: number[] | undefined, slotStepHours?: number): {
|
|
42
|
+
date: Date;
|
|
43
|
+
key: string;
|
|
44
|
+
inMonth: boolean;
|
|
45
|
+
bookingCount: number;
|
|
46
|
+
blockCount: number;
|
|
47
|
+
fullyBooked: boolean;
|
|
48
|
+
}[];
|
|
49
|
+
export declare function getBookingSegmentForDate(item: CalendarBookingSegmentInput, dateKey: string): BookingSegmentForDate | null;
|
|
50
|
+
/**
|
|
51
|
+
* 是否跨自然日(`endDate` 存在且与 `date` 不同)。单日 booking 返回 false。
|
|
52
|
+
*/
|
|
53
|
+
export declare function isCrossDayBooking(item: CalendarBookingSegmentInput): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* 把 booking 整段转成绝对毫秒区间:
|
|
56
|
+
* - `startMs = parseDate(date).setHours(...)`,按浮点小时拆出小时 / 分钟(30 min 步进)
|
|
57
|
+
* - `endMs` 同理;`endHour = 24` 时归一为「次日 00:00」
|
|
58
|
+
*
|
|
59
|
+
* 用于跨视图统一的 lane 抢占与重叠判定,避免「按格切」假设。
|
|
60
|
+
*/
|
|
61
|
+
export declare function getBookingFullSpanMs(item: CalendarBookingSegmentInput): {
|
|
62
|
+
startMs: number;
|
|
63
|
+
endMs: number;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* 同 court 内两条 booking 的时间区间是否相交(`[startMs, endMs)` 半开区间,端点相邻不算交)。
|
|
67
|
+
* 跨 court 永远不算冲突(不同资源各画各的)。
|
|
68
|
+
*/
|
|
69
|
+
export declare function bookingsOverlap(a: CalendarBookingSegmentInput, b: CalendarBookingSegmentInput): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* 把 booking 整段转成「按日」的毫秒区间:
|
|
72
|
+
* - `startMs = parseDate(date).getTime()`
|
|
73
|
+
* - `endMs = parseDate(endDate ?? date).getTime() + 1 day`
|
|
74
|
+
*
|
|
75
|
+
* 用于资源 / 月视图这类「一格 = 一天」的视图:同一天内不同小时的两条 booking
|
|
76
|
+
* 视觉上需要垂直 stack(占两个 lane),即使时间不重叠也不能合并到同一 lane。
|
|
77
|
+
*/
|
|
78
|
+
export declare function getBookingDaySpanMs(item: CalendarBookingSegmentInput): {
|
|
79
|
+
startMs: number;
|
|
80
|
+
endMs: number;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* booking 的 day-span `[date, endDate]` 是否与 `[windowFirstKey, windowLastKey]` 相交。
|
|
84
|
+
*
|
|
85
|
+
* 用于 lane 抢占 / 行高计算阶段过滤掉与当前视口不相交的 booking:
|
|
86
|
+
* 后端为支持跨日 banner 续画把 `booking_time_start_between` 的下界外推 30 天,
|
|
87
|
+
* 这会把上月/前周的 booking 也带回 `bookings` 列表;视图层若直接用全量算 lane,
|
|
88
|
+
* 切到「当月没数据但上月有」的资源行时会保留上月 lane 数 → 行高被撑高。
|
|
89
|
+
*
|
|
90
|
+
* 只比较 `YYYY-MM-DD` 字符串(同 `monthGrid` 的 key 格式),不构造 Date 对象。
|
|
91
|
+
*/
|
|
92
|
+
export declare function bookingIntersectsDateWindow(item: {
|
|
93
|
+
date?: unknown;
|
|
94
|
+
endDate?: unknown;
|
|
95
|
+
} | null | undefined, windowFirstKey: string, windowLastKey: string): boolean;
|
|
96
|
+
/**
|
|
97
|
+
* 将 booking 的 day-span 截断到窗口 `[windowFirstKey, windowLastKey]`,超出窗口的部分裁掉,
|
|
98
|
+
* 用于月视图「按周独立 lane 抢占 + 跨周续画」:
|
|
99
|
+
* - 与窗口完全不相交 → 返回 `null`;
|
|
100
|
+
* - `date` 早于窗口 → 起点截到 `windowFirstKey`(视觉上 `clippedLeft`);
|
|
101
|
+
* - `endDate` 晚于窗口 → 终点截到 `windowLastKey`(视觉上 `clippedRight`);
|
|
102
|
+
* - 截断后只占一天的,回退为单日(`endDate` 设为 `undefined`)。
|
|
103
|
+
*
|
|
104
|
+
* 截断后的对象保留原 `id`、`courtId` 等字段,让 lane 抢占在窗口内独立判断重叠。
|
|
105
|
+
*/
|
|
106
|
+
export declare function clipBookingDaySpanToWindow(item: CalendarBookingSegmentInput, windowFirstKey: string, windowLastKey: string): CalendarBookingSegmentInput | null;
|
|
107
|
+
/**
|
|
108
|
+
* 月 / 资源视图按日 lane:跨日 booking 在命中各日占**同一** lane;单日 booking 再逐日找空位。
|
|
109
|
+
*
|
|
110
|
+
* 1. 跨日优先(跨度长的先占),在 span 覆盖的每个自然日上取同一最小可用 lane;
|
|
111
|
+
* 2. 单日 booking 仅在各自命中日抢剩余 lane,不影响跨日条的纵向对齐。
|
|
112
|
+
*/
|
|
113
|
+
export declare function assignPerDateLanesCrossDayUnified(items: CalendarBookingSegmentInput[], dateKeysInOrder: string[]): {
|
|
114
|
+
perDateLanes: Map<string, Map<string, number>>;
|
|
115
|
+
laneCount: number;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* 通用 lane 分配:返回 `Map<itemId, laneIndex>` 与 `laneCount`。
|
|
119
|
+
*
|
|
120
|
+
* @param granularity
|
|
121
|
+
* - `'hour'`(默认,周 / 日视图):用 `getBookingFullSpanMs`,同小时内不重叠的两条
|
|
122
|
+
* booking 可以共享同一 lane(`bookingTime` 紧排)。
|
|
123
|
+
* - `'day'`(资源 / 月视图):用 `getBookingDaySpanMs`,同一天的两条 booking 一定占两 lane,
|
|
124
|
+
* 即使小时不重叠也要垂直 stack(一格只有一天宽,无法在水平方向区分)。
|
|
125
|
+
*
|
|
126
|
+
* 排序优先级(与设计约定一致):
|
|
127
|
+
* 1. 跨日 booking 优先(先排,整段占顶 lane);
|
|
128
|
+
* 2. 同类内按「跨度(endMs - startMs)降序」:跨度更长的先占 lane 0/1,
|
|
129
|
+
* 保证视觉上"长 pill 顶贴",避免短 pill 把长 pill 推到下方造成"上方一周空白";
|
|
130
|
+
* 3. 同跨度按 `startMs` 升序(更早开始的先占);
|
|
131
|
+
* 4. 仍相同则按 `id` 字典序,保证渲染稳定。
|
|
132
|
+
*
|
|
133
|
+
* 然后逐条分配到第一个 `lastEndMs <= 当前 startMs` 的 lane(贪心区间着色)。
|
|
134
|
+
*/
|
|
135
|
+
export declare function assignLanesByInterval(items: CalendarBookingSegmentInput[], granularity?: 'hour' | 'day'): {
|
|
136
|
+
lanes: Map<string, number>;
|
|
137
|
+
laneCount: number;
|
|
138
|
+
};
|
|
139
|
+
export declare function dayOccupancy(courtId: string, dateKey: string, bookings: CalendarBookingSegmentInput[], hourSlots: number[] | undefined, slotStepHours: number): Record<number, CalendarBookingSegmentInput | null>;
|
|
140
|
+
export interface SelectedSlotLike {
|
|
141
|
+
courtId: string;
|
|
142
|
+
date: string;
|
|
143
|
+
hour: number;
|
|
144
|
+
}
|
|
145
|
+
export declare function groupSelectedSlots(slots: SelectedSlotLike[], slotStepHours?: number): Array<{
|
|
146
|
+
courtId: string;
|
|
147
|
+
date: string;
|
|
148
|
+
startHour: number;
|
|
149
|
+
endHour: number;
|
|
150
|
+
}>;
|
|
151
|
+
/**
|
|
152
|
+
* 日视图空闲格:仅当全部为同一 court、同一日,且时间上首尾相接成一段时返回 true(与 {@link groupSelectedSlots} 合并规则一致)。
|
|
153
|
+
*/
|
|
154
|
+
export declare function isFreeSelectionContiguousSameResource(slots: SelectedSlotLike[], slotStepHours?: number): boolean;
|
|
155
|
+
export declare function hasConflict(bookings: CalendarBookingSegmentInput[], courtId: string, date: string, startHour: number, endHour: number, ignoreId?: string | null): boolean;
|
|
156
|
+
export declare function overlappingBookings(bookings: CalendarBookingSegmentInput[], courtId: string, date: string, startHour: number, endHour: number): CalendarBookingSegmentInput[];
|
|
157
|
+
export declare function courtDaySummary(courtId: string, dateKey: string, bookings: CalendarBookingSegmentInput[], hourSlots: number[] | undefined, slotStepHours: number): {
|
|
158
|
+
occupiedHours: number[];
|
|
159
|
+
hasBlock: boolean;
|
|
160
|
+
fullyBooked: boolean;
|
|
161
|
+
items: CalendarBookingSegmentInput[];
|
|
162
|
+
};
|
|
163
|
+
export declare function sameSlot(a: SelectedSlotLike, b: SelectedSlotLike): boolean;
|
|
164
|
+
/** 营业日 `dateStr` + 浮点小时(含半格)→ dayjs */
|
|
165
|
+
export declare function dayAndHourToDayjs(dateStr: string, hourFloat: number): Dayjs;
|
|
166
|
+
export declare function getDisplayStatusTag(item: CalendarBookingSegmentInput, dateKey: string): string | null;
|
|
167
|
+
export declare function getLateMinutes(item: CalendarBookingSegmentInput, dateKey: string): number | null;
|
|
168
|
+
export declare function currentTimeLabel(): string;
|
|
169
|
+
export declare function formatDateLoose(str: string | undefined): string;
|
|
170
|
+
export declare function formatTimelineStamp(value: string | undefined | null): {
|
|
171
|
+
date: string;
|
|
172
|
+
time: string;
|
|
173
|
+
};
|
|
174
|
+
/** 日视图 overlay 条(可原地写入 lane) */
|
|
175
|
+
export declare type DayOverlayLaneMutable = {
|
|
176
|
+
courtId: string;
|
|
177
|
+
start: number;
|
|
178
|
+
span: number;
|
|
179
|
+
lane?: number;
|
|
180
|
+
laneCount?: number;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* 同一 court 上时间重叠的 overlay 分配纵向 lane,避免多张卡片完全叠在同一矩形里。
|
|
184
|
+
* 使用按开始时间排序 + 贪心:每条预约放入「上一条已结束时间不晚于本段开始」的最小编号线。
|
|
185
|
+
*/
|
|
186
|
+
export declare function assignDayOverlapLanesInPlace(overlays: DayOverlayLaneMutable[]): void;
|
|
187
|
+
/** 扫描时间轴:同一 court 在任一时刻的最大并行条数(用于行高,与分 lane 一致) */
|
|
188
|
+
export declare function maxConcurrentBookingsOnCourt(overlays: Array<{
|
|
189
|
+
courtId: string;
|
|
190
|
+
start: number;
|
|
191
|
+
span: number;
|
|
192
|
+
}>, courtId: string): number;
|
|
193
|
+
/** 并行超过 cap 时:cap 条内容 + 1 行「+N」占位 */
|
|
194
|
+
export declare function effectiveDayOverlayDisplayLaneCount(rawConcurrent: number): number;
|
|
195
|
+
/** 同一 court 下时间轴区间相交的 overlay 归为一簇(用于 3+N 合并展示) */
|
|
196
|
+
export declare function clusterDayCourtOverlaysByOverlap<T extends {
|
|
197
|
+
courtId: string;
|
|
198
|
+
start: number;
|
|
199
|
+
span: number;
|
|
200
|
+
}>(overlays: T[], courtId: string): T[][];
|
|
201
|
+
export declare function dayOverlayHiddenKey(item: {
|
|
202
|
+
id?: string | number;
|
|
203
|
+
} | null | undefined, dayKey: string, courtId: string): string;
|
|
204
|
+
/**
|
|
205
|
+
* 将 totalInner 像素整数分给 n 条竖向 lane(含缝),保证 Σheight + Σgap === totalInner,消除底部留白缝。
|
|
206
|
+
*/
|
|
207
|
+
export declare function dayOverlayLaneMetrics(totalInner: number, laneCount: number, gap: number): {
|
|
208
|
+
topFor: (lane: number) => number;
|
|
209
|
+
heightFor: (lane: number) => number;
|
|
210
|
+
};
|
|
211
|
+
export interface BuildOverlayBookingRow {
|
|
212
|
+
kind: string;
|
|
213
|
+
id: string;
|
|
214
|
+
}
|
|
215
|
+
export interface BuiltDayOverlay {
|
|
216
|
+
item: CalendarBookingSegmentInput;
|
|
217
|
+
rowIndex: number;
|
|
218
|
+
rowTop: number;
|
|
219
|
+
rowHeight: number;
|
|
220
|
+
courtId: string;
|
|
221
|
+
start: number;
|
|
222
|
+
end: number;
|
|
223
|
+
span: number;
|
|
224
|
+
continuesNext?: boolean;
|
|
225
|
+
continuesPrev?: boolean;
|
|
226
|
+
lane?: number;
|
|
227
|
+
laneCount?: number;
|
|
228
|
+
}
|
|
229
|
+
export declare function buildOverlayBookings(visibleCourtRows: BuildOverlayBookingRow[], dayKey: string, bookings: CalendarBookingSegmentInput[], rowTopMap: Record<string, number> | undefined, hourSlots: number[] | undefined, dayRowHeights: number[], slotStepHours?: number): BuiltDayOverlay[];
|
|
230
|
+
/** 日视图:按行高累加每行 rowTop(court / group) */
|
|
231
|
+
export declare function buildDayRowTopMap(visibleCourtRows: Array<{
|
|
232
|
+
id: string;
|
|
233
|
+
}>, heights: number[]): Record<string, number>;
|
|
234
|
+
/** 日历状态徽标:返回 i18n key + className;文案在 UI 层通过 tCal 解析,便于 utils 单测 */
|
|
235
|
+
export declare function statusTagMetaParts(tag: string | null | undefined): {
|
|
236
|
+
labelI18nKey: string;
|
|
237
|
+
className: string;
|
|
238
|
+
} | null;
|
|
239
|
+
export declare type CalendarCourtNameRow = {
|
|
240
|
+
id: string;
|
|
241
|
+
name?: string | null;
|
|
242
|
+
};
|
|
243
|
+
export declare function getBookingDetailData(item: CalendarBookingSegmentInput, courtsList?: CalendarCourtNameRow[]): {
|
|
244
|
+
rawSales: null;
|
|
245
|
+
bookingId: string;
|
|
246
|
+
orderNumber: string;
|
|
247
|
+
shopOrderNumber: string;
|
|
248
|
+
orderStatus: string;
|
|
249
|
+
appointmentStatus: string;
|
|
250
|
+
paymentStatus: string;
|
|
251
|
+
customer: {
|
|
252
|
+
id: null;
|
|
253
|
+
name: string;
|
|
254
|
+
email: string;
|
|
255
|
+
phone: string;
|
|
256
|
+
};
|
|
257
|
+
guestCount: number;
|
|
258
|
+
checkedInCount: number;
|
|
259
|
+
guests: never[];
|
|
260
|
+
schedule: {
|
|
261
|
+
startDate: string;
|
|
262
|
+
startTime: string;
|
|
263
|
+
endDate: string;
|
|
264
|
+
endTime: string;
|
|
265
|
+
duration: number;
|
|
266
|
+
arrivedAt: null;
|
|
267
|
+
completedAt: null;
|
|
268
|
+
};
|
|
269
|
+
resources: never[];
|
|
270
|
+
summaryItems: never[];
|
|
271
|
+
items: never[];
|
|
272
|
+
note: string;
|
|
273
|
+
files: {
|
|
274
|
+
form: never[];
|
|
275
|
+
uploaded: never[];
|
|
276
|
+
invoice: never[];
|
|
277
|
+
};
|
|
278
|
+
payments: never[];
|
|
279
|
+
history: never[];
|
|
280
|
+
summary: {};
|
|
281
|
+
paymentSummary: {
|
|
282
|
+
totalAmount: number;
|
|
283
|
+
paidAmount: number;
|
|
284
|
+
balanceAmount: number;
|
|
285
|
+
currencySymbol: string;
|
|
286
|
+
isFullyPaid: boolean;
|
|
287
|
+
};
|
|
288
|
+
itemSummary: {
|
|
289
|
+
itemCount: number;
|
|
290
|
+
itemQtyTotal: number;
|
|
291
|
+
};
|
|
292
|
+
headerSummary: {
|
|
293
|
+
customerName: string;
|
|
294
|
+
guestCount: number;
|
|
295
|
+
checkedInCount: number;
|
|
296
|
+
timeLabel: string;
|
|
297
|
+
resourceLabel: string;
|
|
298
|
+
};
|
|
299
|
+
headerTags: {
|
|
300
|
+
paymentTag: string;
|
|
301
|
+
fulfillmentTag: string;
|
|
302
|
+
hasNote: boolean;
|
|
303
|
+
paymentStatus: string;
|
|
304
|
+
orderStatus: string;
|
|
305
|
+
};
|
|
306
|
+
fileCount: number;
|
|
307
|
+
canChangeCustomer: boolean;
|
|
308
|
+
noteCount: number;
|
|
309
|
+
noteGroups: {
|
|
310
|
+
internal: never[];
|
|
311
|
+
order: {
|
|
312
|
+
id: string;
|
|
313
|
+
label: string;
|
|
314
|
+
text: string;
|
|
315
|
+
}[];
|
|
316
|
+
item: never[];
|
|
317
|
+
};
|
|
318
|
+
metaFlags: {
|
|
319
|
+
itemsChanged: boolean;
|
|
320
|
+
paymentsChanged: boolean;
|
|
321
|
+
guestChanged: boolean;
|
|
322
|
+
filesChanged: boolean;
|
|
323
|
+
notesChanged: boolean;
|
|
324
|
+
formChanged: boolean;
|
|
325
|
+
uploadedChanged: boolean;
|
|
326
|
+
invoiceChanged: boolean;
|
|
327
|
+
historyChanged: boolean;
|
|
328
|
+
};
|
|
329
|
+
actions: never[];
|
|
330
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ResourceCellPick } from '../bookingCalendarInternalTypes';
|
|
2
|
+
/**
|
|
3
|
+
* 资源视图选区是否「同一 court + 连续多天」:
|
|
4
|
+
* 仅当满足时才允许 Block / Create Booking(与日视图「同 court 连续多小时」语义对应)。
|
|
5
|
+
* 单天选中(n === 1)也算连续。
|
|
6
|
+
*/
|
|
7
|
+
export declare function isResourceSelectionContiguousSameCourt(selections: ResourceCellPick[]): boolean;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type SelectedSlotLike } from '../utils/bookingCalendarDateUtils';
|
|
3
|
+
export declare type BookingCalendarDaySelectionBarProps = {
|
|
4
|
+
slotStepHours: number;
|
|
5
|
+
selectedFreeSlots: SelectedSlotLike[];
|
|
6
|
+
/**
|
|
7
|
+
* 资源视图:真实选中记在「按日格子」上,不向栏传入展开后的小时槽数组(避免与格数等价的巨数组 + 栏内重复排序)。
|
|
8
|
+
* 传此对象时,用其字段驱动显隐与锁台按钮,忽略 selected*Slots 的长度(传 [] 即可)。
|
|
9
|
+
*/
|
|
10
|
+
resourceSelectionSummary?: {
|
|
11
|
+
freePickCount: number;
|
|
12
|
+
blockPickCount: number;
|
|
13
|
+
/** 资源视图:仅单选时可点「屏蔽」 */
|
|
14
|
+
freeAllowsBlockPanel: boolean;
|
|
15
|
+
} | null;
|
|
16
|
+
deselectAll: () => void;
|
|
17
|
+
onOpenBlockPanel: () => void;
|
|
18
|
+
createBookingFromSelection: () => void;
|
|
19
|
+
};
|
|
20
|
+
/** 日视图底部:多选空闲 / 锁台后的固定操作条 */
|
|
21
|
+
export declare function BookingCalendarDaySelectionBar({ slotStepHours, selectedFreeSlots, resourceSelectionSummary, deselectAll, onOpenBlockPanel, createBookingFromSelection, }: BookingCalendarDaySelectionBarProps): JSX.Element | null;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/** 日视图:横向虚拟滚动时间轴 + 资源行,预约条按 lane 叠放与 +N 溢出 */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { type TickFillMode } from '../utils/bookingCalendarAxis';
|
|
4
|
+
import type { RecordBoardCalendarProps } from '../../../types';
|
|
5
|
+
/** 日视图(含底部多选操作条) */
|
|
6
|
+
export declare function BookingCalendarDayView(dayProps: {
|
|
7
|
+
calendarProps: RecordBoardCalendarProps;
|
|
8
|
+
isLight: boolean;
|
|
9
|
+
view: string;
|
|
10
|
+
anchorDate: Date;
|
|
11
|
+
dayKey: string;
|
|
12
|
+
hourSlots: number[];
|
|
13
|
+
resolvedSlotMinutes: number;
|
|
14
|
+
slotColWidth: number;
|
|
15
|
+
firstTimelineHour: number;
|
|
16
|
+
endTimelineExclusive: number;
|
|
17
|
+
isBusinessHour: (h: number) => boolean;
|
|
18
|
+
dayHourRemaining: Record<number, {
|
|
19
|
+
remaining: number;
|
|
20
|
+
total: number;
|
|
21
|
+
ratio: number;
|
|
22
|
+
}>;
|
|
23
|
+
timelinePxPerHour: number;
|
|
24
|
+
dayContentHeight: number;
|
|
25
|
+
dayRowHeights: number[];
|
|
26
|
+
visibleCourtRows: any[];
|
|
27
|
+
overlayBookings: any[];
|
|
28
|
+
dayOverlayOverflowPluses: any[];
|
|
29
|
+
setCollapsedGroups: React.Dispatch<React.SetStateAction<any>>;
|
|
30
|
+
visibleCourts: any[];
|
|
31
|
+
bookings: any[];
|
|
32
|
+
slotStepHours: number;
|
|
33
|
+
isFreeSelected: (courtId: string, hour: number) => boolean;
|
|
34
|
+
isBlockSelected: (courtId: string, hour: number) => boolean;
|
|
35
|
+
toggleSlot: (courtId: string, hour: number) => void;
|
|
36
|
+
handleDropMove: (courtId: string, date: string, hour: number) => void;
|
|
37
|
+
hiddenDayOverlayIdSet: Set<string>;
|
|
38
|
+
courtDayDisplayLaneCount: Record<string, number>;
|
|
39
|
+
openBookingDetail: (item: any) => void;
|
|
40
|
+
setDraggingItem: (item: any) => void;
|
|
41
|
+
setNavDirection: (n: number) => void;
|
|
42
|
+
commitAnchor: (d: Date) => void;
|
|
43
|
+
setFocusedCourtId: (id: string | null) => void;
|
|
44
|
+
setOverflowListModal: React.Dispatch<React.SetStateAction<any>>;
|
|
45
|
+
selectedFreeSlots: any[];
|
|
46
|
+
selectedBlockSlots: any[];
|
|
47
|
+
focusedCourtId: string | null;
|
|
48
|
+
/** >0 表示刚从周/月切入日视图,需将横向滚动对准「当前时间」(仅当 dayKey 为今天时生效) */
|
|
49
|
+
dayTimelineScrollToNowToken: number;
|
|
50
|
+
/** 预约条在主轴刻度上的填充方式(由 BookingCalendar 按视图默认解析后传入) */
|
|
51
|
+
tickFillMode: TickFillMode;
|
|
52
|
+
}): JSX.Element;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 日视图 / 周视图共用的分组头左侧 sticky 单元(折叠箭头 + 分组名 + 数量角标)。
|
|
3
|
+
* 样式单点维护,与 {@link buildGroupedCourtRows} 的 group 行对应。
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import type { RecordBoardCalendarProps } from '../../../types';
|
|
7
|
+
export interface BookingCalendarGroupRowModel {
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
count: number;
|
|
11
|
+
collapsed: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface BookingCalendarGroupRowHeaderProps {
|
|
14
|
+
isLight: boolean;
|
|
15
|
+
/** 透传给 `renderResourceCell`(低代码自定义左侧格) */
|
|
16
|
+
view: 'day' | 'week' | 'resource';
|
|
17
|
+
row: BookingCalendarGroupRowModel;
|
|
18
|
+
renderResourceCell?: RecordBoardCalendarProps['renderResourceCell'];
|
|
19
|
+
setCollapsedGroups: React.Dispatch<React.SetStateAction<Record<string, boolean>>>;
|
|
20
|
+
/** 日视图虚拟格子/grid 定位时使用 */
|
|
21
|
+
style?: React.CSSProperties;
|
|
22
|
+
}
|
|
23
|
+
export declare function BookingCalendarGroupRowHeader(props: BookingCalendarGroupRowHeaderProps): JSX.Element;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* 月视图:5 行 × 7 列。
|
|
4
|
+
*
|
|
5
|
+
* 跨日 booking 用 absolute overlay 跨日列 banner 渲染(M1:跨自然周边界续画 + 端部 ◀/▶):
|
|
6
|
+
* - 每周内跨日 booking 占统一 lane,单日 booking 逐日填剩余空位;
|
|
7
|
+
* - 行高内自适应 effectiveMaxLane,超出 → cell 级 `+N` tile;
|
|
8
|
+
* - cell 层只负责日期 header / 点击跳日 / drop 改期,不再渲染 booking 列表(被 overlay 替代)。
|
|
9
|
+
*/
|
|
10
|
+
export declare function BookingCalendarMonthView({ isLight, anchorDate, monthDays, bookings, goToDayFromCell, handleGridDropMove, setDraggingItem, openBookingDetail, setOverflowListModal, renderMonthWeekBooking, tickFillMode, }: {
|
|
11
|
+
isLight: any;
|
|
12
|
+
anchorDate: any;
|
|
13
|
+
monthDays: any;
|
|
14
|
+
bookings: any;
|
|
15
|
+
goToDayFromCell: any;
|
|
16
|
+
handleGridDropMove: any;
|
|
17
|
+
setDraggingItem: any;
|
|
18
|
+
openBookingDetail: any;
|
|
19
|
+
setOverflowListModal: any;
|
|
20
|
+
renderMonthWeekBooking: any;
|
|
21
|
+
tickFillMode: any;
|
|
22
|
+
}): JSX.Element;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 资源视图(按月):与日视图同款骨架——冻结左列 + 横向滚动 + sticky 顶部表头。
|
|
3
|
+
*
|
|
4
|
+
* 与日视图的唯一差异:
|
|
5
|
+
* - 日视图:横轴 = 营业小时槽,cell = 一个小时;booking 通过 overlay 跨 cell 横铺。
|
|
6
|
+
* - 资源视图:横轴 = 当月每一天,cell = 一个 (court, date);booking 通过 overlay 在 cell 内
|
|
7
|
+
* 垂直 stack 渲染(最多 3 条 + `+N` 溢出 tile)。
|
|
8
|
+
*
|
|
9
|
+
* 性能策略(与日视图对齐):
|
|
10
|
+
* - cell 是「轻 placeholder」:只渲染背景色 + selected ring + 空 dashed slot/Selected 文本。
|
|
11
|
+
* - 所有 booking 卡片 / `+N` tile 由 `BookingOverlay` 单独 absolute 渲染,独立于 grid。
|
|
12
|
+
* - 这样 grid 内 DOM 极轻,浏览器每帧 paint/layout 与日视图同档(cell 内含复杂 booking
|
|
13
|
+
* 卡片时实测每列 ~7ms paint 成本,整月 30 列 → ~150ms;overlay 化后接近零)。
|
|
14
|
+
*
|
|
15
|
+
* 选中:与日视图 `toggleSlot(courtId, hour)` 等价的「`toggleResourceCell(courtId, dateKey)`」。
|
|
16
|
+
* 选中态合并到 cell 自身 className(与日视图一致),不插入额外 grid item,避免 CSS Grid 整表 reflow。
|
|
17
|
+
*/
|
|
18
|
+
import React from 'react';
|
|
19
|
+
import { type TickFillMode } from '../utils/bookingCalendarAxis';
|
|
20
|
+
import type { RecordBoardCalendarProps } from '../../../types';
|
|
21
|
+
declare type ResourceCellPick = {
|
|
22
|
+
courtId: string;
|
|
23
|
+
dateKey: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const BookingCalendarResourceView: React.MemoExoticComponent<typeof BookingCalendarResourceViewInner>;
|
|
26
|
+
declare function BookingCalendarResourceViewInner({ calendarProps, isLight, anchorDate, monthDays, slotColWidth, bookings, visibleCourts, visibleCourtRows, hourSlots, slotStepHours, handleGridDropMove, openBookingDetail, setDraggingItem, setCollapsedGroups, setOverflowListModal, resourceMonthScrollToTodayToken, resourceDayHeaderRemaining, toggleResourceCell, selectedResourceCells, tickFillMode, }: {
|
|
27
|
+
calendarProps: RecordBoardCalendarProps;
|
|
28
|
+
isLight: boolean;
|
|
29
|
+
anchorDate: Date;
|
|
30
|
+
monthDays: Date[];
|
|
31
|
+
slotColWidth: number;
|
|
32
|
+
bookings: any[];
|
|
33
|
+
visibleCourts: any[];
|
|
34
|
+
visibleCourtRows: any[];
|
|
35
|
+
hourSlots: number[];
|
|
36
|
+
slotStepHours: number;
|
|
37
|
+
handleGridDropMove: (dateKey: string, courtId?: string | null) => void;
|
|
38
|
+
openBookingDetail: (item: any) => void;
|
|
39
|
+
setDraggingItem: (item: any) => void;
|
|
40
|
+
setCollapsedGroups: React.Dispatch<React.SetStateAction<any>>;
|
|
41
|
+
setOverflowListModal: React.Dispatch<React.SetStateAction<any>>;
|
|
42
|
+
/** 切入资源视图时递增,用于将横向滚动对准「今天」列 */
|
|
43
|
+
resourceMonthScrollToTodayToken: number;
|
|
44
|
+
/** 顶部表头当日空闲率(与日视图 freeRatio 同口径) */
|
|
45
|
+
resourceDayHeaderRemaining: Record<string, {
|
|
46
|
+
remaining: number;
|
|
47
|
+
total: number;
|
|
48
|
+
ratio: number;
|
|
49
|
+
}>;
|
|
50
|
+
/** 与日视图 `toggleSlot` 同义:点击 cell 切换 (court, date) 的整天选中态 */
|
|
51
|
+
toggleResourceCell: (courtId: string, dateKey: string) => void;
|
|
52
|
+
/** 当前所有「资源月视图」选中的 cell(同 court 连续多天 → SelectionBar 显示 Block/Create) */
|
|
53
|
+
selectedResourceCells: ResourceCellPick[];
|
|
54
|
+
/** 预约条在主轴刻度上的填充方式(由 BookingCalendar 按视图默认解析后传入) */
|
|
55
|
+
tickFillMode: TickFillMode;
|
|
56
|
+
}): JSX.Element;
|
|
57
|
+
export {};
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RecordBoardCalendarProps } from '../../../types';
|
|
3
|
+
import { type TickFillMode } from '../utils/bookingCalendarAxis';
|
|
4
|
+
/**
|
|
5
|
+
* 周视图:7 日网格 + 左侧分组(可折叠),单元格调起日视图;格内 drop 触发改期草稿。
|
|
6
|
+
*/
|
|
7
|
+
export declare function BookingCalendarWeekView({ calendarProps, isLight, weekDays, bookings, courts, hourSlots, slotStepHours, visibleCourts, visibleCourtRows, isBusinessHour, goToDayFromCell, handleGridDropMove, openBookingDetail, setDraggingItem, setCollapsedGroups, setOverflowListModal, tickFillMode, }: {
|
|
8
|
+
calendarProps: RecordBoardCalendarProps;
|
|
9
|
+
isLight: boolean;
|
|
10
|
+
weekDays: Date[];
|
|
11
|
+
bookings: any[];
|
|
12
|
+
courts: any[];
|
|
13
|
+
hourSlots: number[];
|
|
14
|
+
slotStepHours: number;
|
|
15
|
+
visibleCourts: any[];
|
|
16
|
+
visibleCourtRows: any[];
|
|
17
|
+
isBusinessHour: (h: number) => boolean;
|
|
18
|
+
goToDayFromCell: (d: Date, courtId: string | null, src: string) => void;
|
|
19
|
+
handleGridDropMove: (dateKey: string, courtId?: string | null) => void;
|
|
20
|
+
openBookingDetail: (item: any) => void;
|
|
21
|
+
setDraggingItem: (item: any) => void;
|
|
22
|
+
setCollapsedGroups: React.Dispatch<React.SetStateAction<any>>;
|
|
23
|
+
setOverflowListModal: React.Dispatch<React.SetStateAction<any>>;
|
|
24
|
+
/** 预约条在主轴刻度上的填充方式(由 BookingCalendar 按视图默认解析后传入) */
|
|
25
|
+
tickFillMode: TickFillMode;
|
|
26
|
+
}): JSX.Element;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RecordBoardCalendarProps } from '../../../types';
|
|
3
|
+
/** 供日视图拆分出的子组件读取 `calendarProps` / 明暗,避免每层透传(可选使用) */
|
|
4
|
+
export declare type BookingCalendarDayChromeContextValue = {
|
|
5
|
+
calendarProps: RecordBoardCalendarProps;
|
|
6
|
+
isLight: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare function BookingCalendarDayChromeProvider({ children, value, }: {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
value: BookingCalendarDayChromeContextValue;
|
|
11
|
+
}): JSX.Element;
|
|
12
|
+
export declare function useBookingCalendarDayChrome(): BookingCalendarDayChromeContextValue;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CalendarBookingSegmentInput } from '../../utils/bookingCalendarDateUtils';
|
|
2
|
+
export declare function useBookingCalendarDayHourRemaining(visibleCourts: Array<{
|
|
3
|
+
id: string;
|
|
4
|
+
}>, dayKey: string, bookings: CalendarBookingSegmentInput[], hourSlots: number[], slotStepHours: number, isBusinessHour: (h: number) => boolean): {
|
|
5
|
+
[k: string]: {
|
|
6
|
+
remaining: number;
|
|
7
|
+
total: number;
|
|
8
|
+
ratio: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { type CalendarBookingSegmentInput } from '../../utils/bookingCalendarDateUtils';
|
|
3
|
+
import type { FreeSlotSelection } from '../../bookingCalendarInternalTypes';
|
|
4
|
+
export declare function useBookingCalendarDaySelection(dayKey: string, bookings: CalendarBookingSegmentInput[], hourSlots: number[], slotStepHours: number, courts: Array<{
|
|
5
|
+
id: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
}>, selectedFreeSlots: FreeSlotSelection[], selectedBlockSlots: FreeSlotSelection[], setSelectedFreeSlots: Dispatch<SetStateAction<FreeSlotSelection[]>>, setSelectedBlockSlots: Dispatch<SetStateAction<FreeSlotSelection[]>>): {
|
|
8
|
+
isFreeSelected: (courtId: string, hour: number) => boolean;
|
|
9
|
+
isBlockSelected: (courtId: string, hour: number) => boolean;
|
|
10
|
+
toggleSlot: (courtId: string, hour: number) => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import type { ResourceCellPick } from '../../bookingCalendarInternalTypes';
|
|
3
|
+
export declare function useBookingCalendarResourceCellToggle(setSelectedResourceCells: Dispatch<SetStateAction<ResourceCellPick[]>>): (courtId: string, dateKey: string) => void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CalendarBookingSegmentInput } from '../../utils/bookingCalendarDateUtils';
|
|
2
|
+
export declare function useBookingCalendarResourceDayHeaderRemaining(resourceMonthDays: Date[], visibleCourts: Array<{
|
|
3
|
+
id: string;
|
|
4
|
+
}>, bookings: CalendarBookingSegmentInput[], hourSlots: number[], slotStepHours: number): Record<string, {
|
|
5
|
+
remaining: number;
|
|
6
|
+
total: number;
|
|
7
|
+
ratio: number;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import type { CalendarViewMode, FreeSlotSelection, ResourceCellPick, TransitioningToDayState } from '../bookingCalendarInternalTypes';
|
|
3
|
+
export declare function useBookingCalendarGoToDayFromCell(anchorDate: Date, commitAnchor: (d: Date) => void, commitView: (v: CalendarViewMode) => void, setNavDirection: Dispatch<SetStateAction<number>>, setTransitioningToDay: Dispatch<SetStateAction<TransitioningToDayState | null>>, setSelectedFreeSlots: Dispatch<SetStateAction<FreeSlotSelection[]>>, setSelectedBlockSlots: Dispatch<SetStateAction<FreeSlotSelection[]>>, setSelectedResourceCells: Dispatch<SetStateAction<ResourceCellPick[]>>, setFocusedCourtId: Dispatch<SetStateAction<string | null>>): (day: Date, courtId: string | null, source: string) => void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RecordBoardFloorMapProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* RecordBoard 平面图槽位:仅在 PisellRecordBoard.ShellFrame 内使用,本身不渲染 DOM。
|
|
5
|
+
* 将 PisellFloorMapLayout 所需 props 声明在树结构上;与 GridLayout 并存时出现「表格 / 平面图」切换。
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* <PisellRecordBoard.ShellFrame>
|
|
9
|
+
* <PisellRecordBoard.GridLayout />
|
|
10
|
+
* <PisellRecordBoard.FloorMap floorMapConfig={...} dataSources={...} />
|
|
11
|
+
* </PisellRecordBoard.ShellFrame>
|
|
12
|
+
*/
|
|
13
|
+
declare const RecordBoardFloorMap: React.FC<RecordBoardFloorMapProps>;
|
|
14
|
+
export default RecordBoardFloorMap;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
import type { RecordBoardContextValue } from '../../types';
|
|
4
|
+
export interface RecordBoardPaginationProps extends Partial<Pick<RecordBoardContextValue, 'pagination' | 'total' | 'onPageChange' | 'loading'>> {
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
render?: (ctx: RecordBoardContextValue) => React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* RecordBoard 下的分页:接入 packages/materials 的 Pagination,从 context 取 pagination / total / onPageChange;可透传 childComponentProps.pagination。
|
|
11
|
+
* 当 context 中 pagination 缺失时使用默认分页,避免在 Storybook 或未完整注入 context 时报错。
|
|
12
|
+
*/
|
|
13
|
+
declare const RecordBoardPagination: React.FC<RecordBoardPaginationProps>;
|
|
14
|
+
export default RecordBoardPagination;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './VenueWallMarquee.less';
|
|
3
|
+
export interface NoteTickerProps {
|
|
4
|
+
text: string;
|
|
5
|
+
color: string;
|
|
6
|
+
/** 跑完一整段所需秒数 */
|
|
7
|
+
duration?: number;
|
|
8
|
+
shouldMarquee: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 底部说明条:短文案省略静态展示,长文案无缝跑马灯(多段 copy 与 `VenueWallMarquee.less` 中 -33.333% 动画配套)。
|
|
12
|
+
* 系统「减少动态效果」时强制静态展示;跑马灯区对读屏 `aria-hidden` 避免重复朗读。
|
|
13
|
+
*/
|
|
14
|
+
export declare const NoteTicker: React.NamedExoticComponent<NoteTickerProps>;
|