@pisell/materials 6.11.223 → 6.11.224
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/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +8 -0
- package/es/components/PisellCards/components/GraphicTextCard/components/GraphicArea.d.ts +24 -0
- package/es/components/PisellCards/components/GraphicTextCard/components/index.d.ts +6 -0
- package/es/components/PisellCards/components/GraphicTextCard/index.d.ts +5 -0
- package/es/components/PisellCards/components/PisellImageCard/index.d.ts +5 -0
- package/es/components/PisellCards/components/index.d.ts +10 -0
- package/es/components/PisellCards/index.d.ts +14 -0
- package/es/components/PisellFields/index.d.ts +36 -0
- package/es/components/PisellMetrics/index.d.ts +23 -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/index.d.ts +6 -0
- package/es/components/PisellTabbar3/PisellTabbar.d.ts +20 -0
- package/es/components/PisellTabbar3/index.d.ts +6 -0
- package/es/components/batch-editor/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceSubForm/index.d.ts +13 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/RecordListWrapper/WithMode.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +11 -0
- package/es/components/dataSourceComponents/fields/Tabs/WithMode.d.ts +6 -0
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +12 -0
- package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +9 -9
- package/es/components/drag-sort-tree/index.d.ts +0 -1
- package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +21 -0
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
- package/es/components/pisellBatchActionBar/index.d.ts +6 -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 +3 -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/utils/withContainer.d.ts +9 -0
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
- 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/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/utils/formatDate.d.ts +21 -0
- package/es/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +17 -0
- package/es/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +30 -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/index.d.ts +7 -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 +3 -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/FloorMapOverview.d.ts +49 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +7 -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/hooks/useFloorMapEdgeEditing.d.ts +61 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +15 -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/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/types.d.ts +769 -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/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/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/floorMapSelectionZone.d.ts +24 -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/pisellInput/components/BankCard/index.d.ts +0 -1
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
- 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.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/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/useSearchHistory.d.ts +48 -0
- package/es/components/pisellLookup/index.d.ts +6 -0
- package/es/components/pisellLookup/utils/index.d.ts +5 -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/index.d.ts +7 -0
- package/es/components/pisellMetricCard/index.d.ts +6 -0
- package/es/components/pisellMetricCard/utils/index.d.ts +5 -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/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/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/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/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/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/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/VenueWallCard.d.ts +22 -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/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/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
- package/es/components/pisellReservationScheduleBand/index.d.ts +3 -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/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/es/components/pisellTimeNavigator/components/index.d.ts +5 -0
- package/es/components/pisellTimeNavigator/index.d.ts +5 -0
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -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/utils/index.d.ts +4 -0
- package/es/components/pisellTooltip/index.d.ts +0 -1
- 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/table/Table/fields/image/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/versionSelect/index.d.ts +1 -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/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +8 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/GraphicArea.d.ts +24 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/index.d.ts +6 -0
- package/lib/components/PisellCards/components/GraphicTextCard/index.d.ts +5 -0
- package/lib/components/PisellCards/components/PisellImageCard/index.d.ts +5 -0
- package/lib/components/PisellCards/components/index.d.ts +10 -0
- package/lib/components/PisellCards/index.d.ts +14 -0
- package/lib/components/PisellFields/index.d.ts +36 -0
- package/lib/components/PisellMetrics/index.d.ts +23 -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/index.d.ts +6 -0
- package/lib/components/PisellTabbar3/PisellTabbar.d.ts +20 -0
- package/lib/components/PisellTabbar3/index.d.ts +6 -0
- package/lib/components/batch-editor/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceSubForm/index.d.ts +13 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/WithMode.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +11 -0
- package/lib/components/dataSourceComponents/fields/Tabs/WithMode.d.ts +6 -0
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +12 -0
- package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +9 -9
- package/lib/components/drag-sort-tree/index.d.ts +0 -1
- package/lib/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +21 -0
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
- package/lib/components/pisellBatchActionBar/index.d.ts +6 -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 +3 -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/utils/withContainer.d.ts +9 -0
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
- 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/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/utils/formatDate.d.ts +21 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +17 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +30 -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/index.d.ts +7 -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 +3 -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/FloorMapOverview.d.ts +49 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +7 -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/hooks/useFloorMapEdgeEditing.d.ts +61 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +15 -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/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/types.d.ts +769 -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/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/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/floorMapSelectionZone.d.ts +24 -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/pisellInput/components/BankCard/index.d.ts +0 -1
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
- 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.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/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/useSearchHistory.d.ts +48 -0
- package/lib/components/pisellLookup/index.d.ts +6 -0
- package/lib/components/pisellLookup/utils/index.d.ts +5 -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/index.d.ts +7 -0
- package/lib/components/pisellMetricCard/index.d.ts +6 -0
- package/lib/components/pisellMetricCard/utils/index.d.ts +5 -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/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/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/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/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/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/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/VenueWallCard.d.ts +22 -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/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/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
- package/lib/components/pisellReservationScheduleBand/index.d.ts +3 -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/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/lib/components/pisellTimeNavigator/components/index.d.ts +5 -0
- package/lib/components/pisellTimeNavigator/index.d.ts +5 -0
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -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/utils/index.d.ts +4 -0
- package/lib/components/pisellTooltip/index.d.ts +0 -1
- 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/table/Table/fields/image/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/versionSelect/index.d.ts +1 -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/package.json +3 -3
- package/es/components/cardPro/index.d.ts +0 -4
- package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -201
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
- package/es/components/pisell-config-provider/context.d.ts +0 -22
- package/es/components/pisell-config-provider/index.d.ts +0 -13
- package/es/components/pisellAdjustPrice/status.d.ts +0 -32
- package/es/components/pisellAdjustPrice/type.d.ts +0 -22
- package/es/components/pisellFind/index.d.ts +0 -67
- package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
- package/es/components/pisellReservationSchedule/index.d.ts +0 -2
- package/es/components/pisellToast/squareToast/index.d.ts +0 -15
- package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
- package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
- package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
- package/es/components/productCard/components/Action/index.d.ts +0 -4
- package/es/components/productCard/locales.d.ts +0 -138
- package/es/components/select-time/index.d.ts +0 -13
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
- package/lib/components/cardPro/index.d.ts +0 -4
- package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -201
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
- package/lib/components/pisell-config-provider/context.d.ts +0 -22
- package/lib/components/pisell-config-provider/index.d.ts +0 -13
- package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
- package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
- package/lib/components/pisellFind/index.d.ts +0 -67
- package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
- package/lib/components/pisellReservationSchedule/index.d.ts +0 -2
- package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
- package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
- package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
- package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
- package/lib/components/productCard/components/Action/index.d.ts +0 -4
- package/lib/components/productCard/locales.d.ts +0 -138
- package/lib/components/select-time/index.d.ts +0 -13
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PisellLongText } from './PisellLongText';
|
|
3
|
+
/**
|
|
4
|
+
* PisellLongText 是一个多行文本输入/展示组件。
|
|
5
|
+
*
|
|
6
|
+
* ## 功能特性
|
|
7
|
+
* - 支持三种状态:只读、编辑、禁用
|
|
8
|
+
* - 展开/折叠功能(只读态)
|
|
9
|
+
* - 自动高度调整
|
|
10
|
+
* - 完整的校验框架
|
|
11
|
+
* - 字数统计
|
|
12
|
+
*/
|
|
13
|
+
declare const meta: Meta<typeof PisellLongText>;
|
|
14
|
+
export default meta;
|
|
15
|
+
declare type Story = StoryObj<typeof PisellLongText>;
|
|
16
|
+
/**
|
|
17
|
+
* 基础编辑态示例
|
|
18
|
+
*/
|
|
19
|
+
export declare const Basic: Story;
|
|
20
|
+
/**
|
|
21
|
+
* 只读态示例 - 短文本
|
|
22
|
+
*/
|
|
23
|
+
export declare const ReadMode: Story;
|
|
24
|
+
/**
|
|
25
|
+
* 只读态 - 展开/折叠功能(核心)
|
|
26
|
+
*/
|
|
27
|
+
export declare const ReadModeExpandCollapse: Story;
|
|
28
|
+
/**
|
|
29
|
+
* 只读态 - 自定义展开/收起文案
|
|
30
|
+
*/
|
|
31
|
+
export declare const ReadModeCustomExpandText: Story;
|
|
32
|
+
/**
|
|
33
|
+
* 只读态 - 禁用展开功能
|
|
34
|
+
*/
|
|
35
|
+
export declare const ReadModeDisableExpand: Story;
|
|
36
|
+
/**
|
|
37
|
+
* 只读态 - 字数统计
|
|
38
|
+
*/
|
|
39
|
+
export declare const ReadModeWithWordCount: Story;
|
|
40
|
+
/**
|
|
41
|
+
* 只读态 - 展开 + 字数统计
|
|
42
|
+
*/
|
|
43
|
+
export declare const ReadModeExpandAndWordCount: Story;
|
|
44
|
+
/**
|
|
45
|
+
* 禁用态示例
|
|
46
|
+
*/
|
|
47
|
+
export declare const Disabled: Story;
|
|
48
|
+
/**
|
|
49
|
+
* 编辑态 - 默认行数
|
|
50
|
+
*/
|
|
51
|
+
export declare const EditModeCustomRows: Story;
|
|
52
|
+
/**
|
|
53
|
+
* 编辑态 - 自动高度(boolean)
|
|
54
|
+
*/
|
|
55
|
+
export declare const EditModeAutoSize: Story;
|
|
56
|
+
/**
|
|
57
|
+
* 编辑态 - 自动高度(范围限定)
|
|
58
|
+
*/
|
|
59
|
+
export declare const EditModeAutoSizeRange: Story;
|
|
60
|
+
/**
|
|
61
|
+
* 编辑态 - minRows 和 maxRows
|
|
62
|
+
*/
|
|
63
|
+
export declare const EditModeMinMaxRows: Story;
|
|
64
|
+
/**
|
|
65
|
+
* 编辑态 - 字数统计
|
|
66
|
+
*/
|
|
67
|
+
export declare const EditModeWithCount: Story;
|
|
68
|
+
/**
|
|
69
|
+
* 编辑态 - 清空按钮
|
|
70
|
+
*/
|
|
71
|
+
export declare const EditModeWithClear: Story;
|
|
72
|
+
/**
|
|
73
|
+
* 必填校验
|
|
74
|
+
*/
|
|
75
|
+
export declare const Required: Story;
|
|
76
|
+
/**
|
|
77
|
+
* 长度校验
|
|
78
|
+
*/
|
|
79
|
+
export declare const LengthValidation: Story;
|
|
80
|
+
/**
|
|
81
|
+
* 自定义校验 - 段落数量限制
|
|
82
|
+
*/
|
|
83
|
+
export declare const CustomValidatorParagraphs: Story;
|
|
84
|
+
/**
|
|
85
|
+
* 组合校验
|
|
86
|
+
*/
|
|
87
|
+
export declare const CombinedValidation: Story;
|
|
88
|
+
/**
|
|
89
|
+
* 自动高度 + 字数统计
|
|
90
|
+
*/
|
|
91
|
+
export declare const AutoSizeWithCount: Story;
|
|
92
|
+
/**
|
|
93
|
+
* 保留换行和空格
|
|
94
|
+
*/
|
|
95
|
+
export declare const PreserveWhitespace: Story;
|
|
96
|
+
/**
|
|
97
|
+
* 自定义样式(只读态)
|
|
98
|
+
*/
|
|
99
|
+
export declare const CustomStyle: Story;
|
|
100
|
+
/**
|
|
101
|
+
* 完整功能示例
|
|
102
|
+
*/
|
|
103
|
+
export declare const FullFeatures: Story;
|
|
104
|
+
/**
|
|
105
|
+
* 所有展开/折叠场景对比
|
|
106
|
+
*/
|
|
107
|
+
export declare const AllExpandScenarios: Story;
|
|
108
|
+
/**
|
|
109
|
+
* 所有自动高度场景对比
|
|
110
|
+
*/
|
|
111
|
+
export declare const AllAutoSizeScenarios: Story;
|
|
112
|
+
/**
|
|
113
|
+
* 校验场景对比
|
|
114
|
+
*/
|
|
115
|
+
export declare const ValidationScenarios: Story;
|
|
116
|
+
/**
|
|
117
|
+
* 边界情况测试
|
|
118
|
+
*/
|
|
119
|
+
export declare const EdgeCases: Story;
|
|
120
|
+
/**
|
|
121
|
+
* 完整功能演示
|
|
122
|
+
*/
|
|
123
|
+
export declare const CompleteExample: Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellLongTextProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* PisellLongText 禁用态视图组件
|
|
5
|
+
*
|
|
6
|
+
* 负责渲染禁用态视图,基于原始 mode 渲染对应的视图,并添加禁用样式
|
|
7
|
+
*
|
|
8
|
+
* 设计规则:
|
|
9
|
+
* - 基于编辑态或只读态的视觉
|
|
10
|
+
* - 透明度 40%
|
|
11
|
+
* - 禁止所有交互行为
|
|
12
|
+
*
|
|
13
|
+
* @param props 组件 Props
|
|
14
|
+
*/
|
|
15
|
+
declare const DisabledView: React.FC<PisellLongTextProps>;
|
|
16
|
+
export default DisabledView;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellLongTextProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* PisellLongText 只读态视图组件
|
|
5
|
+
*
|
|
6
|
+
* 负责渲染只读态的多行文本展示,支持展开/折叠功能
|
|
7
|
+
*
|
|
8
|
+
* 功能:
|
|
9
|
+
* - 多行文本展示
|
|
10
|
+
* - 根据 maxLines 截断内容
|
|
11
|
+
* - 展开/收起按钮(超出行数时显示)
|
|
12
|
+
* - 字数统计(可选)
|
|
13
|
+
* - 保留换行和空格(whiteSpace: 'pre-wrap')
|
|
14
|
+
*
|
|
15
|
+
* @param props 组件 Props
|
|
16
|
+
*/
|
|
17
|
+
declare const ReadOnlyView: React.FC<PisellLongTextProps>;
|
|
18
|
+
export default ReadOnlyView;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PisellLookup } from './PisellLookup';
|
|
3
|
+
/**
|
|
4
|
+
* PisellLookup 组件 Storybook
|
|
5
|
+
* 搜索交互协议组件,提供统一的搜索入口、状态管理和结果承载能力
|
|
6
|
+
*/
|
|
7
|
+
declare const meta: Meta<typeof PisellLookup>;
|
|
8
|
+
export default meta;
|
|
9
|
+
declare type Story = StoryObj<typeof PisellLookup>;
|
|
10
|
+
/**
|
|
11
|
+
* 基础示例 - Input 触发器 + Inline 展示
|
|
12
|
+
*/
|
|
13
|
+
export declare const Basic: Story;
|
|
14
|
+
/**
|
|
15
|
+
* Input 触发器 - 默认尺寸(Middle)
|
|
16
|
+
*/
|
|
17
|
+
export declare const InputTriggerMiddle: Story;
|
|
18
|
+
/**
|
|
19
|
+
* Input 触发器 - 大号尺寸
|
|
20
|
+
*/
|
|
21
|
+
export declare const InputTriggerLarge: Story;
|
|
22
|
+
/**
|
|
23
|
+
* Button 触发器 + Modal 展示
|
|
24
|
+
*/
|
|
25
|
+
export declare const ButtonTrigger: Story;
|
|
26
|
+
/**
|
|
27
|
+
* Icon 触发器 + Modal 展示
|
|
28
|
+
*/
|
|
29
|
+
export declare const IconTrigger: Story;
|
|
30
|
+
/**
|
|
31
|
+
* Text 触发器 + Modal 展示
|
|
32
|
+
*/
|
|
33
|
+
export declare const TextTrigger: Story;
|
|
34
|
+
/**
|
|
35
|
+
* 自定义触发器 + Modal 展示
|
|
36
|
+
*/
|
|
37
|
+
export declare const CustomTrigger: Story;
|
|
38
|
+
/**
|
|
39
|
+
* Drawer 展示模式
|
|
40
|
+
*/
|
|
41
|
+
export declare const DrawerDisplay: Story;
|
|
42
|
+
/**
|
|
43
|
+
* 搜索历史功能
|
|
44
|
+
*/
|
|
45
|
+
export declare const WithSearchHistory: Story;
|
|
46
|
+
/**
|
|
47
|
+
* 联想词功能
|
|
48
|
+
*/
|
|
49
|
+
export declare const WithSuggestions: Story;
|
|
50
|
+
/**
|
|
51
|
+
* 热门搜索功能
|
|
52
|
+
*/
|
|
53
|
+
export declare const WithHotWords: Story;
|
|
54
|
+
/**
|
|
55
|
+
* 完整功能 - 历史 + 联想词 + 热门搜索
|
|
56
|
+
*/
|
|
57
|
+
export declare const FullFeatures: Story;
|
|
58
|
+
/**
|
|
59
|
+
* 实时搜索模式
|
|
60
|
+
*/
|
|
61
|
+
export declare const RealtimeSearch: Story;
|
|
62
|
+
/**
|
|
63
|
+
* 确认触发模式
|
|
64
|
+
*/
|
|
65
|
+
export declare const ConfirmSearch: Story;
|
|
66
|
+
/**
|
|
67
|
+
* 受控模式示例
|
|
68
|
+
*/
|
|
69
|
+
export declare const Controlled: Story;
|
|
70
|
+
/**
|
|
71
|
+
* 加载状态
|
|
72
|
+
*/
|
|
73
|
+
export declare const Loading: Story;
|
|
74
|
+
/**
|
|
75
|
+
* 禁用状态
|
|
76
|
+
*/
|
|
77
|
+
export declare const Disabled: Story;
|
|
78
|
+
/**
|
|
79
|
+
* Modal 自定义宽度
|
|
80
|
+
*/
|
|
81
|
+
export declare const ModalCustomWidth: Story;
|
|
82
|
+
/**
|
|
83
|
+
* Modal 显示遮罩层
|
|
84
|
+
*/
|
|
85
|
+
export declare const ModalWithMask: Story;
|
|
86
|
+
/**
|
|
87
|
+
* Modal 挂载到容器并使用 100% 宽度
|
|
88
|
+
*/
|
|
89
|
+
export declare const ModalFullWidth: Story;
|
|
90
|
+
/**
|
|
91
|
+
* Drawer 不同方向
|
|
92
|
+
*/
|
|
93
|
+
export declare const DrawerPlacements: Story;
|
|
94
|
+
/**
|
|
95
|
+
* 自定义空状态
|
|
96
|
+
*/
|
|
97
|
+
export declare const CustomEmpty: Story;
|
|
98
|
+
/**
|
|
99
|
+
* 移动端场景
|
|
100
|
+
*/
|
|
101
|
+
export declare const MobileScenario: Story;
|
|
102
|
+
/**
|
|
103
|
+
* 保留搜索内容(默认行为)
|
|
104
|
+
*/
|
|
105
|
+
export declare const PreserveKeyword: Story;
|
|
106
|
+
/**
|
|
107
|
+
* 关闭时清空内容
|
|
108
|
+
*/
|
|
109
|
+
export declare const ClearOnClose: Story;
|
|
110
|
+
/**
|
|
111
|
+
* 隐藏 Lookup 按钮(输入即搜索)
|
|
112
|
+
*/
|
|
113
|
+
export declare const NoConfirmButton: Story;
|
|
114
|
+
/**
|
|
115
|
+
* 监听打开和关闭事件
|
|
116
|
+
*/
|
|
117
|
+
export declare const WithOpenCloseEvents: Story;
|
|
118
|
+
/**
|
|
119
|
+
* 使用 Ref 控制
|
|
120
|
+
*/
|
|
121
|
+
export declare const WithRef: Story;
|
|
122
|
+
/**
|
|
123
|
+
* 仅触发搜索(不展示结果)
|
|
124
|
+
*/
|
|
125
|
+
export declare const OnlyTriggerSearch: Story;
|
|
126
|
+
/**
|
|
127
|
+
* Playground - 自由配置
|
|
128
|
+
*/
|
|
129
|
+
export declare const Playground: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 子组件统一导出
|
|
3
|
+
*/
|
|
4
|
+
export { SearchHistory } from './SearchHistory';
|
|
5
|
+
export { SuggestWords } from './SuggestWords';
|
|
6
|
+
export { HotWords } from './HotWords';
|
|
7
|
+
export { LookupAuxiliary } from './LookupAuxiliary';
|
|
8
|
+
export { LookupTrigger } from './LookupTrigger';
|
|
9
|
+
export { LookupResultHost } from './LookupResultHost';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 搜索历史管理 Hook
|
|
3
|
+
*/
|
|
4
|
+
export interface UseSearchHistoryOptions {
|
|
5
|
+
/**
|
|
6
|
+
* 存储 key
|
|
7
|
+
*/
|
|
8
|
+
historyKey: string;
|
|
9
|
+
/**
|
|
10
|
+
* 最大历史记录数量
|
|
11
|
+
*/
|
|
12
|
+
maxHistoryCount: number;
|
|
13
|
+
/**
|
|
14
|
+
* 自定义加载历史记录函数
|
|
15
|
+
*/
|
|
16
|
+
onLoadHistory?: () => string[];
|
|
17
|
+
/**
|
|
18
|
+
* 自定义保存历史记录函数
|
|
19
|
+
*/
|
|
20
|
+
onSaveHistory?: (history: string[]) => void;
|
|
21
|
+
}
|
|
22
|
+
export interface UseSearchHistoryResult {
|
|
23
|
+
/**
|
|
24
|
+
* 历史记录数组
|
|
25
|
+
*/
|
|
26
|
+
history: string[];
|
|
27
|
+
/**
|
|
28
|
+
* 添加历史记录
|
|
29
|
+
*/
|
|
30
|
+
addHistory: (keyword: string) => void;
|
|
31
|
+
/**
|
|
32
|
+
* 删除历史记录
|
|
33
|
+
*/
|
|
34
|
+
removeHistory: (keyword: string) => void;
|
|
35
|
+
/**
|
|
36
|
+
* 清除全部历史记录
|
|
37
|
+
*/
|
|
38
|
+
clearAllHistory: () => void;
|
|
39
|
+
/**
|
|
40
|
+
* 重新加载历史记录
|
|
41
|
+
*/
|
|
42
|
+
reloadHistory: () => void;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 搜索历史管理 Hook
|
|
46
|
+
* 支持自定义存储逻辑
|
|
47
|
+
*/
|
|
48
|
+
export declare const useSearchHistory: (options: UseSearchHistoryOptions) => UseSearchHistoryResult;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { DisplayType, TriggerType } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* 触发器相关工具函数
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* 根据触发器类型获取默认的展示类型
|
|
7
|
+
* @param triggerType 触发器类型
|
|
8
|
+
* @param hasTrigger 是否有自定义触发器
|
|
9
|
+
* @returns 默认的展示类型
|
|
10
|
+
*/
|
|
11
|
+
export declare const getDefaultDisplayType: (triggerType?: TriggerType, hasTrigger?: boolean) => DisplayType;
|
|
12
|
+
/**
|
|
13
|
+
* 判断是否为输入框触发器
|
|
14
|
+
* @param triggerType 触发器类型
|
|
15
|
+
* @returns 是否为输入框触发器
|
|
16
|
+
*/
|
|
17
|
+
export declare const isInputTrigger: (triggerType?: TriggerType) => boolean;
|
|
18
|
+
/**
|
|
19
|
+
* 判断是否为按钮类触发器(button、icon、text、自定义)
|
|
20
|
+
* @param triggerType 触发器类型
|
|
21
|
+
* @param hasTrigger 是否有自定义触发器
|
|
22
|
+
* @returns 是否为按钮类触发器
|
|
23
|
+
*/
|
|
24
|
+
export declare const isButtonLikeTrigger: (triggerType?: TriggerType, hasTrigger?: boolean) => boolean;
|
|
25
|
+
/**
|
|
26
|
+
* 判断展示类型是否需要容器(modal、drawer)
|
|
27
|
+
* @param displayType 展示类型
|
|
28
|
+
* @returns 是否需要容器
|
|
29
|
+
*/
|
|
30
|
+
export declare const needsContainer: (displayType?: DisplayType) => boolean;
|
|
31
|
+
/**
|
|
32
|
+
* 判断展示类型是否需要浮层(popup)
|
|
33
|
+
* @param displayType 展示类型
|
|
34
|
+
* @returns 是否需要浮层
|
|
35
|
+
*/
|
|
36
|
+
export declare const needsPopup: (displayType?: DisplayType) => boolean;
|
|
37
|
+
/**
|
|
38
|
+
* 判断展示类型是否为内联(inline)
|
|
39
|
+
* @param displayType 展示类型
|
|
40
|
+
* @returns 是否为内联
|
|
41
|
+
*/
|
|
42
|
+
export declare const isInline: (displayType?: DisplayType) => boolean;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellMetricCardProps } from './types';
|
|
3
|
+
import './PisellMetricCard.less';
|
|
4
|
+
/**
|
|
5
|
+
* PisellMetricCard 指标卡片组件
|
|
6
|
+
*
|
|
7
|
+
* 用于展示单一核心指标的专业卡片组件
|
|
8
|
+
* 支持标题、数值、环比、趋势箭头、标签等信息展示
|
|
9
|
+
*
|
|
10
|
+
* @example 基础用法
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <PisellMetricCard
|
|
13
|
+
* title="Total Sales"
|
|
14
|
+
* value={1580}
|
|
15
|
+
* />
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* @example 使用对象配置
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <PisellMetricCard
|
|
21
|
+
* title="Revenue"
|
|
22
|
+
* value={1580}
|
|
23
|
+
* format={{
|
|
24
|
+
* showCurrencySymbol: true,
|
|
25
|
+
* currencySymbol: '$',
|
|
26
|
+
* useGrouping: true
|
|
27
|
+
* }}
|
|
28
|
+
* comparison={{
|
|
29
|
+
* value: 120
|
|
30
|
+
* }}
|
|
31
|
+
* />
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
declare const PisellMetricCard: React.FC<PisellMetricCardProps>;
|
|
35
|
+
export default PisellMetricCard;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import PisellMetricCard from './PisellMetricCard';
|
|
3
|
+
declare const meta: Meta<typeof PisellMetricCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
declare type Story = StoryObj<typeof PisellMetricCard>;
|
|
6
|
+
export declare const Basic: Story;
|
|
7
|
+
export declare const WithCurrency: Story;
|
|
8
|
+
export declare const PositiveTrend: Story;
|
|
9
|
+
export declare const NegativeTrend: Story;
|
|
10
|
+
export declare const WithGrouping: Story;
|
|
11
|
+
export declare const WithPrecision: Story;
|
|
12
|
+
export declare const Complete: Story;
|
|
13
|
+
export declare const WithTag: Story;
|
|
14
|
+
export declare const CustomStyle: Story;
|
|
15
|
+
export declare const Loading: Story;
|
|
16
|
+
export declare const EmptyValue: Story;
|
|
17
|
+
export declare const MultipleCards: Story;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { MetricComparisonProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* MetricComparison 环比信息组件
|
|
5
|
+
*
|
|
6
|
+
* 负责渲染环比数值和趋势箭头
|
|
7
|
+
* - 自动根据正负值显示不同颜色
|
|
8
|
+
* - 支持格式化环比数值
|
|
9
|
+
* - 集成趋势箭头组件
|
|
10
|
+
*
|
|
11
|
+
* @param props 组件属性
|
|
12
|
+
*/
|
|
13
|
+
declare const MetricComparison: React.FC<MetricComparisonProps>;
|
|
14
|
+
export default MetricComparison;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PisellMetricCard 组件导出
|
|
3
|
+
*/
|
|
4
|
+
export { default as PisellMetricCard } from './PisellMetricCard';
|
|
5
|
+
export type { PisellMetricCardProps, TrendType, FormatOptions, MetricTitleProps, MetricValueProps, MetricComparisonProps, TrendIconProps, } from './types';
|
|
6
|
+
export { default } from './PisellMetricCard';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import PisellMultipleSelect from './PisellMultipleSelect';
|
|
3
|
+
/**
|
|
4
|
+
* PisellMultipleSelect 组件 Storybook
|
|
5
|
+
*
|
|
6
|
+
* 用于展示和测试组件的各种状态和配置
|
|
7
|
+
*/
|
|
8
|
+
declare const meta: Meta<typeof PisellMultipleSelect>;
|
|
9
|
+
export default meta;
|
|
10
|
+
declare type Story = StoryObj<typeof PisellMultipleSelect>;
|
|
11
|
+
/**
|
|
12
|
+
* 基础示例
|
|
13
|
+
*/
|
|
14
|
+
export declare const Basic: Story;
|
|
15
|
+
/**
|
|
16
|
+
* 带标签
|
|
17
|
+
*/
|
|
18
|
+
export declare const WithLabel: Story;
|
|
19
|
+
/**
|
|
20
|
+
* 标签聚合功能
|
|
21
|
+
*/
|
|
22
|
+
export declare const TagAggregation: Story;
|
|
23
|
+
/**
|
|
24
|
+
* 最大可选数量限制
|
|
25
|
+
*/
|
|
26
|
+
export declare const WithMaxCount: Story;
|
|
27
|
+
/**
|
|
28
|
+
* 带搜索功能
|
|
29
|
+
*/
|
|
30
|
+
export declare const WithSearch: Story;
|
|
31
|
+
/**
|
|
32
|
+
* 带清空按钮
|
|
33
|
+
*/
|
|
34
|
+
export declare const WithClear: Story;
|
|
35
|
+
/**
|
|
36
|
+
* 禁用态
|
|
37
|
+
*/
|
|
38
|
+
export declare const Disabled: Story;
|
|
39
|
+
/**
|
|
40
|
+
* 只读态
|
|
41
|
+
*/
|
|
42
|
+
export declare const ReadOnly: Story;
|
|
43
|
+
/**
|
|
44
|
+
* 只读态 - 标签聚合
|
|
45
|
+
*/
|
|
46
|
+
export declare const ReadOnlyWithAggregation: Story;
|
|
47
|
+
/**
|
|
48
|
+
* 只读态 - 空值
|
|
49
|
+
*/
|
|
50
|
+
export declare const ReadOnlyEmpty: Story;
|
|
51
|
+
/**
|
|
52
|
+
* 错误状态
|
|
53
|
+
*/
|
|
54
|
+
export declare const WithError: Story;
|
|
55
|
+
/**
|
|
56
|
+
* 不同尺寸
|
|
57
|
+
*/
|
|
58
|
+
export declare const Sizes: Story;
|
|
59
|
+
/**
|
|
60
|
+
* 表单场景
|
|
61
|
+
*/
|
|
62
|
+
export declare const InForm: Story;
|
|
63
|
+
/**
|
|
64
|
+
* 回调事件演示
|
|
65
|
+
*/
|
|
66
|
+
export declare const WithCallbacks: Story;
|
|
67
|
+
/**
|
|
68
|
+
* 所有状态组合
|
|
69
|
+
*/
|
|
70
|
+
export declare const AllStates: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PisellMultipleSelect - DisabledView (禁用态视图)
|
|
3
|
+
* 禁用状态下的渲染
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import type { DisabledViewProps } from '../types';
|
|
7
|
+
declare const DisabledView: React.ForwardRefExoticComponent<DisabledViewProps<string | number> & React.RefAttributes<any>>;
|
|
8
|
+
export default DisabledView;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PisellMultipleSelect 组件导出
|
|
3
|
+
*/
|
|
4
|
+
import PisellMultipleSelect from './PisellMultipleSelect';
|
|
5
|
+
export { PisellMultipleSelect };
|
|
6
|
+
export type { PisellMultipleSelectProps, MultipleSelectRef, EditViewProps, DisabledViewProps, ReadOnlyViewProps, TagRendererProps, } from './types';
|
|
7
|
+
export type { SelectOption, FilterOptionFunc, SortDirection, MultipleSelectState, TagDisplayInfo, } from './types';
|