@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
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PisellTimeRangeDisplay } from './PisellTimeRangeDisplay';
|
|
3
|
+
/**
|
|
4
|
+
* PisellTimeRangeDisplay 组件 Storybook
|
|
5
|
+
* 用于时间区间 + 持续时长的展示(同一天 / 跨天)
|
|
6
|
+
*/
|
|
7
|
+
declare const meta: Meta<typeof PisellTimeRangeDisplay>;
|
|
8
|
+
export default meta;
|
|
9
|
+
declare type Story = StoryObj<typeof PisellTimeRangeDisplay>;
|
|
10
|
+
/**
|
|
11
|
+
* 默认:同一天时间区间 + 持续时长
|
|
12
|
+
*/
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
/**
|
|
15
|
+
* 同一天 + 显示日期与星期
|
|
16
|
+
*/
|
|
17
|
+
export declare const SameDayWithDate: Story;
|
|
18
|
+
/**
|
|
19
|
+
* 跨天时间区间
|
|
20
|
+
*/
|
|
21
|
+
export declare const CrossDay: Story;
|
|
22
|
+
/**
|
|
23
|
+
* 跨年
|
|
24
|
+
*/
|
|
25
|
+
export declare const CrossYear: Story;
|
|
26
|
+
/**
|
|
27
|
+
* 持续时间在中间(默认 fieldOrder)
|
|
28
|
+
*/
|
|
29
|
+
export declare const DurationInMiddle: Story;
|
|
30
|
+
/**
|
|
31
|
+
* 持续时长在前
|
|
32
|
+
*/
|
|
33
|
+
export declare const DurationFirst: Story;
|
|
34
|
+
/**
|
|
35
|
+
* 持续时长显示秒
|
|
36
|
+
*/
|
|
37
|
+
export declare const DurationWithSeconds: Story;
|
|
38
|
+
/**
|
|
39
|
+
* 仅时间区间 + 持续时长(不显示日期星期)
|
|
40
|
+
*/
|
|
41
|
+
export declare const TimeAndDurationOnly: Story;
|
|
42
|
+
/**
|
|
43
|
+
* 12 小时制
|
|
44
|
+
*/
|
|
45
|
+
export declare const Time12Hour: Story;
|
|
46
|
+
/**
|
|
47
|
+
* 中文(日期 + 持续时长「天/时/分/秒」i18n)
|
|
48
|
+
*/
|
|
49
|
+
export declare const LocaleZhCN: Story;
|
|
50
|
+
/**
|
|
51
|
+
* 英文(日期 + 持续时长 d/h/m/s)
|
|
52
|
+
*/
|
|
53
|
+
export declare const LocaleEn: Story;
|
|
54
|
+
/**
|
|
55
|
+
* 小宽度:容器较窄时按块换行
|
|
56
|
+
*/
|
|
57
|
+
export declare const NarrowWidth: Story;
|
|
58
|
+
/**
|
|
59
|
+
* 自定义容器样式
|
|
60
|
+
*/
|
|
61
|
+
export declare const CustomContainerStyle: Story;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type Dayjs } from 'dayjs';
|
|
3
|
+
import type { DateFormatConfig, TextStyleConfig } from '../types';
|
|
4
|
+
export interface DateBlockProps {
|
|
5
|
+
/** 日期对象 */
|
|
6
|
+
date: Dayjs;
|
|
7
|
+
/** 日期格式配置(含 showRelativeDay:今天/昨天/明天) */
|
|
8
|
+
format?: DateFormatConfig;
|
|
9
|
+
/** 参考日期,用于相对日判定,默认 dayjs() */
|
|
10
|
+
referenceDate?: Dayjs;
|
|
11
|
+
/** 文本样式 */
|
|
12
|
+
style?: TextStyleConfig;
|
|
13
|
+
/** 自定义类名 */
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 日期展示块(复用 PisellDateTimeDisplay 的 formatDate 与相对日逻辑)
|
|
18
|
+
*/
|
|
19
|
+
export declare const DateBlock: React.FC<DateBlockProps>;
|
|
20
|
+
export default DateBlock;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TextStyleConfig } from '../types';
|
|
3
|
+
export interface DurationBlockProps {
|
|
4
|
+
/** 持续时间(毫秒) */
|
|
5
|
+
durationMs: number;
|
|
6
|
+
/** 是否显示秒 */
|
|
7
|
+
showSeconds?: boolean;
|
|
8
|
+
/** 语言代码,zh 时使用「天/时/分/秒」 */
|
|
9
|
+
locale?: string;
|
|
10
|
+
/** 文本样式 */
|
|
11
|
+
style?: TextStyleConfig;
|
|
12
|
+
/** 自定义类名 */
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 持续时长展示块(d h m s 或 天/时/分/秒,按 locale i18n)
|
|
17
|
+
*/
|
|
18
|
+
export declare const DurationBlock: React.FC<DurationBlockProps>;
|
|
19
|
+
export default DurationBlock;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type Dayjs } from 'dayjs';
|
|
3
|
+
import type { TimeFormatConfig, DateFormatConfig, WeekdayFormatConfig, TextStyleConfig } from '../types';
|
|
4
|
+
export interface TimeRangeBlockProps {
|
|
5
|
+
/** 开始时间 */
|
|
6
|
+
start: Dayjs;
|
|
7
|
+
/** 结束时间 */
|
|
8
|
+
end: Dayjs;
|
|
9
|
+
/** 是否同一天 */
|
|
10
|
+
isSameDay: boolean;
|
|
11
|
+
/** 时间格式配置 */
|
|
12
|
+
timeFormat?: TimeFormatConfig;
|
|
13
|
+
/** 日期格式配置(跨天时用于起止日期,含 showRelativeDay) */
|
|
14
|
+
dateFormat?: DateFormatConfig;
|
|
15
|
+
/** 星期格式配置(跨天时用于「Sat, 22 Jan」) */
|
|
16
|
+
weekdayFormat?: WeekdayFormatConfig;
|
|
17
|
+
/** 跨天时是否展示星期 */
|
|
18
|
+
showWeekdayInCrossDay?: boolean;
|
|
19
|
+
/** 参考日期,用于相对日判定,默认 dayjs() */
|
|
20
|
+
referenceDate?: Dayjs;
|
|
21
|
+
/** 文本样式 */
|
|
22
|
+
style?: TextStyleConfig;
|
|
23
|
+
/** 开始时间文本样式,会覆盖 style 中的同名字段 */
|
|
24
|
+
startStyle?: TextStyleConfig;
|
|
25
|
+
/** 结束时间文本样式,会覆盖 style 中的同名字段 */
|
|
26
|
+
endStyle?: TextStyleConfig;
|
|
27
|
+
/** 自定义类名 */
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 时间区间展示块
|
|
32
|
+
* - 同一天:HH:mm-HH:mm
|
|
33
|
+
* - 跨天:起止完整日期时间;若某端为相对日(今天/昨天/明天)则只显示「时间 相对日」,不显示星期+日期
|
|
34
|
+
*/
|
|
35
|
+
export declare const TimeRangeBlock: React.FC<TimeRangeBlockProps>;
|
|
36
|
+
export default TimeRangeBlock;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Dayjs } from 'dayjs';
|
|
3
|
+
import type { WeekdayFormatConfig, TextStyleConfig } from '../types';
|
|
4
|
+
export interface WeekdayBlockProps {
|
|
5
|
+
/** 日期对象(用于获取星期) */
|
|
6
|
+
weekday: Dayjs;
|
|
7
|
+
/** 星期格式配置 */
|
|
8
|
+
format?: WeekdayFormatConfig;
|
|
9
|
+
/** 文本样式 */
|
|
10
|
+
style?: TextStyleConfig;
|
|
11
|
+
/** 自定义类名 */
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 星期展示块(复用 PisellDateTimeDisplay 的 formatWeekday)
|
|
16
|
+
*/
|
|
17
|
+
export declare const WeekdayBlock: React.FC<WeekdayBlockProps>;
|
|
18
|
+
export default WeekdayBlock;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { TimeRangeBlock } from './TimeRangeBlock';
|
|
2
|
+
export { DateBlock } from './DateBlock';
|
|
3
|
+
export { WeekdayBlock } from './WeekdayBlock';
|
|
4
|
+
export { DurationBlock } from './DurationBlock';
|
|
5
|
+
export type { TimeRangeBlockProps } from './TimeRangeBlock';
|
|
6
|
+
export type { DateBlockProps } from './DateBlock';
|
|
7
|
+
export type { WeekdayBlockProps } from './WeekdayBlock';
|
|
8
|
+
export type { DurationBlockProps } from './DurationBlock';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { PisellTimeRangeDisplay, default } from './PisellTimeRangeDisplay';
|
|
2
|
+
export type { PisellTimeRangeDisplayProps, LayoutDirection, TimeRangeFieldType, TimeRangeFieldConfig, DurationFormatConfig, DayjsLike, } from './types';
|
|
3
|
+
export type { TimeFormatConfig, DateFormatConfig, WeekdayFormatConfig, ContainerStyleConfig, TextStyleConfig, TextAlign, } from './types';
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { Dayjs } from 'dayjs';
|
|
3
|
+
import type { TimeFormatConfig, DateFormatConfig, WeekdayFormatConfig, ContainerStyleConfig, TextStyleConfig, TextAlign } from '../pisellDateTimeDisplay/types';
|
|
4
|
+
export type { TimeFormatConfig, DateFormatConfig, WeekdayFormatConfig, ContainerStyleConfig, TextStyleConfig, TextAlign, };
|
|
5
|
+
/**
|
|
6
|
+
* 字段类型(时间区间、日期、星期、持续时长)
|
|
7
|
+
* - time: 时间区间块(HH:mm-HH:mm 或跨天起止)
|
|
8
|
+
* - date: 日期块
|
|
9
|
+
* - weekday: 星期块
|
|
10
|
+
* - duration: 持续时长块
|
|
11
|
+
*/
|
|
12
|
+
export declare type TimeRangeFieldType = 'time' | 'date' | 'weekday' | 'duration';
|
|
13
|
+
/**
|
|
14
|
+
* 持续时长格式配置
|
|
15
|
+
*/
|
|
16
|
+
export interface DurationFormatConfig {
|
|
17
|
+
/**
|
|
18
|
+
* 是否显示秒
|
|
19
|
+
* @default false
|
|
20
|
+
* @example true -> "2h30m23s" | false -> "2h30m"
|
|
21
|
+
*/
|
|
22
|
+
showSeconds?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* 字段配置
|
|
26
|
+
*/
|
|
27
|
+
export interface TimeRangeFieldConfig {
|
|
28
|
+
/**
|
|
29
|
+
* 是否显示时间区间块
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
32
|
+
showTimeRange?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* 是否显示日期块
|
|
35
|
+
* @default true
|
|
36
|
+
*/
|
|
37
|
+
showDate?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* 是否显示星期块
|
|
40
|
+
* @default true
|
|
41
|
+
*/
|
|
42
|
+
showWeekday?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* 是否显示持续时长块
|
|
45
|
+
* @default true
|
|
46
|
+
*/
|
|
47
|
+
showDuration?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* 字段顺序(四类块可任意排序;默认 时间 日期 星期 持续时长,可实现「持续时间在前」等)
|
|
50
|
+
* @default ['weekday', 'date', 'time', 'duration'] 换行顺序:先持续时间 → 结束时间(跨天)→ 开始/结束时间与日期 → 星期
|
|
51
|
+
*/
|
|
52
|
+
fieldOrder?: TimeRangeFieldType[];
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* startAt / endAt 的 dayjs 兼容值
|
|
56
|
+
*/
|
|
57
|
+
export declare type DayjsLike = Dayjs | string | number;
|
|
58
|
+
/**
|
|
59
|
+
* PisellTimeRangeDisplay 组件 Props
|
|
60
|
+
*/
|
|
61
|
+
export interface PisellTimeRangeDisplayProps {
|
|
62
|
+
/**
|
|
63
|
+
* 开始时间(dayjs 兼容值)
|
|
64
|
+
*/
|
|
65
|
+
startAt: DayjsLike;
|
|
66
|
+
/**
|
|
67
|
+
* 结束时间(dayjs 兼容值)
|
|
68
|
+
*/
|
|
69
|
+
endAt: DayjsLike;
|
|
70
|
+
/**
|
|
71
|
+
* 文本对齐方式(单行/多行均生效)
|
|
72
|
+
* @default 'center'
|
|
73
|
+
*/
|
|
74
|
+
textAlign?: TextAlign;
|
|
75
|
+
/**
|
|
76
|
+
* 字段显示与排序配置
|
|
77
|
+
*/
|
|
78
|
+
fields?: TimeRangeFieldConfig;
|
|
79
|
+
/**
|
|
80
|
+
* 同一天时是否显示具体日期
|
|
81
|
+
* @default true
|
|
82
|
+
*/
|
|
83
|
+
showDateForSameDay?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* 时间格式配置(复用 PisellDateTimeDisplay)
|
|
86
|
+
*/
|
|
87
|
+
timeFormat?: TimeFormatConfig;
|
|
88
|
+
/**
|
|
89
|
+
* 日期格式配置(复用 PisellDateTimeDisplay)
|
|
90
|
+
*/
|
|
91
|
+
dateFormat?: DateFormatConfig;
|
|
92
|
+
/**
|
|
93
|
+
* 星期格式配置(复用 PisellDateTimeDisplay)
|
|
94
|
+
*/
|
|
95
|
+
weekdayFormat?: WeekdayFormatConfig;
|
|
96
|
+
/**
|
|
97
|
+
* 持续时长格式配置
|
|
98
|
+
*/
|
|
99
|
+
durationFormat?: DurationFormatConfig;
|
|
100
|
+
/**
|
|
101
|
+
* 容器样式
|
|
102
|
+
*/
|
|
103
|
+
containerStyle?: ContainerStyleConfig;
|
|
104
|
+
/**
|
|
105
|
+
* 时间区间文本样式
|
|
106
|
+
*/
|
|
107
|
+
timeStyle?: TextStyleConfig;
|
|
108
|
+
/**
|
|
109
|
+
* 开始时间文本样式,会覆盖 timeStyle 中的同名字段
|
|
110
|
+
*/
|
|
111
|
+
startTimeStyle?: TextStyleConfig;
|
|
112
|
+
/**
|
|
113
|
+
* 结束时间文本样式,会覆盖 timeStyle 中的同名字段
|
|
114
|
+
*/
|
|
115
|
+
endTimeStyle?: TextStyleConfig;
|
|
116
|
+
/**
|
|
117
|
+
* 日期文本样式
|
|
118
|
+
*/
|
|
119
|
+
dateStyle?: TextStyleConfig;
|
|
120
|
+
/**
|
|
121
|
+
* 星期文本样式
|
|
122
|
+
*/
|
|
123
|
+
weekdayStyle?: TextStyleConfig;
|
|
124
|
+
/**
|
|
125
|
+
* 持续时长文本样式
|
|
126
|
+
*/
|
|
127
|
+
durationStyle?: TextStyleConfig;
|
|
128
|
+
/**
|
|
129
|
+
* dayjs locale(语言代码)
|
|
130
|
+
* @default 优先使用全局配置,其次浏览器语言
|
|
131
|
+
*/
|
|
132
|
+
locale?: string;
|
|
133
|
+
/**
|
|
134
|
+
* 自定义类名
|
|
135
|
+
*/
|
|
136
|
+
className?: string;
|
|
137
|
+
/**
|
|
138
|
+
* 自定义样式
|
|
139
|
+
*/
|
|
140
|
+
style?: CSSProperties;
|
|
141
|
+
/**
|
|
142
|
+
* 点击回调
|
|
143
|
+
*/
|
|
144
|
+
onClick?: () => void;
|
|
145
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 将毫秒数格式化为持续时间字符串(d h m s 或 天/时/分/秒)
|
|
3
|
+
*
|
|
4
|
+
* @param ms 持续时间(毫秒)
|
|
5
|
+
* @param showSeconds 是否显示秒,默认 false
|
|
6
|
+
* @param locale 语言代码,zh 时使用「天/时/分/秒」,否则使用 d/h/m/s
|
|
7
|
+
* @returns 如 "2h30m"、"1d2h30m23s" 或 "2时30分"、"1天2时30分23秒"
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* formatDuration(9000000, false) // => "2h30m"
|
|
11
|
+
* formatDuration(9000000, false, 'zh-cn') // => "2时30分"
|
|
12
|
+
* formatDuration(86400000, false) // => "1d"
|
|
13
|
+
*/
|
|
14
|
+
export declare function formatDuration(ms: number, showSeconds?: boolean, locale?: string): string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { parseTimeRange } from './parseTimeRange';
|
|
2
|
+
export type { ParseTimeRangeResult } from './parseTimeRange';
|
|
3
|
+
export { formatDuration } from './formatDuration';
|
|
4
|
+
export { formatTime, formatDate, formatWeekday, getDayjsLocale, getRelativeDay, getRelativeDayLabel, getDatePartDisplay, } from '../../pisellDateTimeDisplay/utils';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type Dayjs } from 'dayjs';
|
|
2
|
+
import type { DayjsLike } from '../types';
|
|
3
|
+
export interface ParseTimeRangeResult {
|
|
4
|
+
/** 开始时间(已应用 locale) */
|
|
5
|
+
start: Dayjs;
|
|
6
|
+
/** 结束时间(已应用 locale) */
|
|
7
|
+
end: Dayjs;
|
|
8
|
+
/** 是否同一天(按本地时区自然日判定) */
|
|
9
|
+
isSameDay: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 解析 startAt / endAt 为 Dayjs,并判定是否同一天
|
|
13
|
+
*
|
|
14
|
+
* @param startAt 开始时间(dayjs 兼容值)
|
|
15
|
+
* @param endAt 结束时间(dayjs 兼容值)
|
|
16
|
+
* @param locale dayjs locale,可选
|
|
17
|
+
* @returns { start, end, isSameDay }
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* parseTimeRange('2026-02-04 09:00', '2026-02-04 18:00', 'zh-cn')
|
|
21
|
+
* // => { start: Dayjs, end: Dayjs, isSameDay: true }
|
|
22
|
+
*/
|
|
23
|
+
export declare function parseTimeRange(startAt: DayjsLike, endAt: DayjsLike, locale?: string): ParseTimeRangeResult;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PisellUrl } from './PisellUrl';
|
|
3
|
+
/**
|
|
4
|
+
* PisellUrl 是一个 URL 地址输入/展示组件。
|
|
5
|
+
*
|
|
6
|
+
* ## 功能特性
|
|
7
|
+
* - 支持三种状态:只读、编辑、禁用
|
|
8
|
+
* - URL 格式校验
|
|
9
|
+
* - 协议自动补全
|
|
10
|
+
* - 链接跳转(新窗口,安全性保障)
|
|
11
|
+
* - 协议/路径显示控制
|
|
12
|
+
* - 协议白名单限制
|
|
13
|
+
*/
|
|
14
|
+
declare const meta: Meta<typeof PisellUrl>;
|
|
15
|
+
export default meta;
|
|
16
|
+
declare type Story = StoryObj<typeof PisellUrl>;
|
|
17
|
+
/**
|
|
18
|
+
* 基础编辑态
|
|
19
|
+
*/
|
|
20
|
+
export declare const Basic: Story;
|
|
21
|
+
/**
|
|
22
|
+
* 协议自动补全
|
|
23
|
+
*/
|
|
24
|
+
export declare const WithProtocolAutoComplete: Story;
|
|
25
|
+
/**
|
|
26
|
+
* 只读态 - 可跳转
|
|
27
|
+
*/
|
|
28
|
+
export declare const ReadMode: Story;
|
|
29
|
+
/**
|
|
30
|
+
* 只读态 - 隐藏协议
|
|
31
|
+
*/
|
|
32
|
+
export declare const ReadModeHideProtocol: Story;
|
|
33
|
+
/**
|
|
34
|
+
* 只读态 - 仅域名
|
|
35
|
+
*/
|
|
36
|
+
export declare const ReadModeDomainOnly: Story;
|
|
37
|
+
/**
|
|
38
|
+
* 禁用态(编辑)
|
|
39
|
+
*/
|
|
40
|
+
export declare const DisabledEdit: Story;
|
|
41
|
+
/**
|
|
42
|
+
* 禁用态(只读)
|
|
43
|
+
*/
|
|
44
|
+
export declare const DisabledRead: Story;
|
|
45
|
+
/**
|
|
46
|
+
* 必填校验
|
|
47
|
+
*/
|
|
48
|
+
export declare const Required: Story;
|
|
49
|
+
/**
|
|
50
|
+
* 格式校验(实时)
|
|
51
|
+
*/
|
|
52
|
+
export declare const FormatValidation: Story;
|
|
53
|
+
/**
|
|
54
|
+
* 协议限制(仅 HTTPS)
|
|
55
|
+
*/
|
|
56
|
+
export declare const HttpsOnly: Story;
|
|
57
|
+
/**
|
|
58
|
+
* 协议必需
|
|
59
|
+
*/
|
|
60
|
+
export declare const RequireProtocol: Story;
|
|
61
|
+
/**
|
|
62
|
+
* 显示清空按钮
|
|
63
|
+
*/
|
|
64
|
+
export declare const WithClearButton: Story;
|
|
65
|
+
/**
|
|
66
|
+
* 自动聚焦
|
|
67
|
+
*/
|
|
68
|
+
export declare const WithAutoFocus: Story;
|
|
69
|
+
/**
|
|
70
|
+
* 自定义样式(只读态)
|
|
71
|
+
*/
|
|
72
|
+
export declare const CustomStyle: Story;
|
|
73
|
+
/**
|
|
74
|
+
* 显示控制对比
|
|
75
|
+
*/
|
|
76
|
+
export declare const DisplayFormatComparison: Story;
|
|
77
|
+
/**
|
|
78
|
+
* 校验时机对比
|
|
79
|
+
*/
|
|
80
|
+
export declare const ValidateTriggerComparison: Story;
|
|
81
|
+
/**
|
|
82
|
+
* 所有状态展示
|
|
83
|
+
*/
|
|
84
|
+
export declare const AllStates: Story;
|
|
85
|
+
/**
|
|
86
|
+
* 完整功能示例
|
|
87
|
+
*/
|
|
88
|
+
export declare const CompleteExample: Story;
|
|
89
|
+
/**
|
|
90
|
+
* 协议补全演示
|
|
91
|
+
*/
|
|
92
|
+
export declare const ProtocolCompleteDemo: Story;
|
|
93
|
+
/**
|
|
94
|
+
* 链接跳转演示
|
|
95
|
+
*/
|
|
96
|
+
export declare const LinkClickDemo: Story;
|
|
97
|
+
/**
|
|
98
|
+
* 协议限制演示
|
|
99
|
+
*/
|
|
100
|
+
export declare const ProtocolRestrictionDemo: Story;
|
|
101
|
+
/**
|
|
102
|
+
* 完整交互示例
|
|
103
|
+
*/
|
|
104
|
+
export declare const InteractiveExample: Story;
|
|
105
|
+
/**
|
|
106
|
+
* 协议默认值对比
|
|
107
|
+
*/
|
|
108
|
+
export declare const ProtocolDefaultComparison: Story;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellUrlProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* PisellUrl 禁用态视图组件
|
|
5
|
+
*
|
|
6
|
+
* 职责:
|
|
7
|
+
* - 渲染禁用状态的 URL 组件
|
|
8
|
+
* - 根据原始 mode 选择渲染 ReadOnlyView 或 EditView
|
|
9
|
+
* - 应用禁用样式(透明度 40%)
|
|
10
|
+
*
|
|
11
|
+
* @param props 组件 Props
|
|
12
|
+
*/
|
|
13
|
+
declare const DisabledView: React.FC<PisellUrlProps>;
|
|
14
|
+
export default DisabledView;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellUrlProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* PisellUrl 只读态视图组件
|
|
5
|
+
*
|
|
6
|
+
* 职责:
|
|
7
|
+
* - 渲染只读态 URL 链接展示
|
|
8
|
+
* - 支持点击新窗口打开链接(安全性保障)
|
|
9
|
+
* - 支持协议/路径隐藏
|
|
10
|
+
* - 支持链接图标
|
|
11
|
+
*
|
|
12
|
+
* @param props 组件 Props
|
|
13
|
+
*/
|
|
14
|
+
declare const ReadOnlyView: React.FC<PisellUrlProps>;
|
|
15
|
+
export default ReadOnlyView;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* URL 格式化工具函数
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* 格式化 URL 显示
|
|
6
|
+
* @param url URL 地址
|
|
7
|
+
* @param options 格式化选项
|
|
8
|
+
* @returns 格式化后的 URL
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* formatUrlDisplay('https://www.example.com/path', { showProtocol: false })
|
|
12
|
+
* // 'www.example.com/path'
|
|
13
|
+
*/
|
|
14
|
+
export declare function formatUrlDisplay(url: string, options: {
|
|
15
|
+
showProtocol?: boolean;
|
|
16
|
+
showWww?: boolean;
|
|
17
|
+
showPathname?: boolean;
|
|
18
|
+
displayFormat?: 'full' | 'domain' | 'custom';
|
|
19
|
+
customFormat?: (url: string) => string;
|
|
20
|
+
}): string;
|
|
21
|
+
/**
|
|
22
|
+
* 隐藏 URL 协议
|
|
23
|
+
* @param url URL 地址
|
|
24
|
+
* @returns 隐藏协议后的 URL
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* hideUrlProtocol('https://example.com') // 'example.com'
|
|
28
|
+
*/
|
|
29
|
+
export declare function hideUrlProtocol(url: string): string;
|
|
30
|
+
/**
|
|
31
|
+
* 隐藏 www 前缀
|
|
32
|
+
* @param url URL 地址
|
|
33
|
+
* @returns 隐藏 www 后的 URL
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* hideWwwPrefix('https://www.example.com') // 'https://example.com'
|
|
37
|
+
*/
|
|
38
|
+
export declare function hideWwwPrefix(url: string): string;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* URL 辅助函数
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* 规范化 URL(补全协议)
|
|
6
|
+
* @param url URL 地址
|
|
7
|
+
* @param defaultProtocol 默认协议
|
|
8
|
+
* @returns 规范化后的 URL
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* normalizeUrl('example.com', 'https://') // 'https://example.com'
|
|
12
|
+
* normalizeUrl('http://example.com', 'https://') // 'http://example.com'
|
|
13
|
+
*/
|
|
14
|
+
export declare function normalizeUrl(url: string, defaultProtocol?: string): string;
|
|
15
|
+
/**
|
|
16
|
+
* 智能补全协议(识别 localhost)
|
|
17
|
+
* @param url URL 地址
|
|
18
|
+
* @returns 规范化后的 URL
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* smartNormalizeUrl('localhost:3000') // 'http://localhost:3000'
|
|
22
|
+
* smartNormalizeUrl('example.com') // 'https://example.com'
|
|
23
|
+
*/
|
|
24
|
+
export declare function smartNormalizeUrl(url: string): string;
|
|
25
|
+
/**
|
|
26
|
+
* 提取域名
|
|
27
|
+
* @param url URL 地址
|
|
28
|
+
* @returns 域名
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* extractDomain('https://www.example.com/path') // 'www.example.com'
|
|
32
|
+
*/
|
|
33
|
+
export declare function extractDomain(url: string): string;
|
|
34
|
+
/**
|
|
35
|
+
* 处理链接跳转(安全性保障)
|
|
36
|
+
* @param url URL 地址
|
|
37
|
+
* @param openInNewWindow 是否新窗口打开
|
|
38
|
+
* @param defaultProtocol 默认协议
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* handleUrlClick('example.com', true, 'https://')
|
|
42
|
+
*/
|
|
43
|
+
export declare function handleUrlClick(url: string, openInNewWindow?: boolean, defaultProtocol?: string): void;
|
|
44
|
+
/**
|
|
45
|
+
* 检测是否为安全链接(HTTPS)
|
|
46
|
+
* @param url URL 地址
|
|
47
|
+
* @returns 是否为 HTTPS
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* isSecureUrl('https://example.com') // true
|
|
51
|
+
* isSecureUrl('http://example.com') // false
|
|
52
|
+
*/
|
|
53
|
+
export declare function isSecureUrl(url: string): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* 提取 URL 参数
|
|
56
|
+
* @param url URL 地址
|
|
57
|
+
* @returns 参数对象
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* extractUrlParams('https://example.com?foo=bar&baz=qux')
|
|
61
|
+
* // { foo: 'bar', baz: 'qux' }
|
|
62
|
+
*/
|
|
63
|
+
export declare function extractUrlParams(url: string): Record<string, string>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* URL 校验工具函数
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* URL 格式校验(使用 URL 构造函数)
|
|
6
|
+
* @param url URL 地址
|
|
7
|
+
* @returns 是否通过校验
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* validateUrl('https://example.com') // true
|
|
11
|
+
* validateUrl('invalid-url') // false
|
|
12
|
+
*/
|
|
13
|
+
export declare function validateUrl(url: string): boolean;
|
|
14
|
+
/**
|
|
15
|
+
* URL 正则校验(备选方法)
|
|
16
|
+
* @param url URL 地址
|
|
17
|
+
* @returns 是否通过校验
|
|
18
|
+
*/
|
|
19
|
+
export declare function validateUrlByRegex(url: string): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* 解析 URL 各部分
|
|
22
|
+
* @param url URL 地址
|
|
23
|
+
* @returns URL 各部分或 null
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* parseUrl('https://example.com:8080/path?key=value#hash')
|
|
27
|
+
* // { protocol: 'https', host: 'example.com', port: '8080', ... }
|
|
28
|
+
*/
|
|
29
|
+
export declare function parseUrl(url: string): {
|
|
30
|
+
protocol: string;
|
|
31
|
+
host: string;
|
|
32
|
+
port: string;
|
|
33
|
+
pathname: string;
|
|
34
|
+
search: string;
|
|
35
|
+
hash: string;
|
|
36
|
+
} | null;
|
|
37
|
+
/**
|
|
38
|
+
* 协议白名单校验
|
|
39
|
+
* @param url URL 地址
|
|
40
|
+
* @param allowedProtocols 允许的协议列表
|
|
41
|
+
* @returns 校验结果
|
|
42
|
+
*/
|
|
43
|
+
export declare function validateUrlProtocol(url: string, allowedProtocols: string[]): {
|
|
44
|
+
isValid: boolean;
|
|
45
|
+
errors: string[];
|
|
46
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface BookingItemProps {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
isShowRelatedProduct?: boolean;
|
|
6
|
+
isShowDelete?: boolean;
|
|
7
|
+
dataSource: any;
|
|
8
|
+
}
|
|
9
|
+
declare const BookingItem: (props: BookingItemProps) => JSX.Element;
|
|
10
|
+
export default BookingItem;
|