@pisell/materials 1.0.1085 → 1.0.1086
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/meta.js +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.js +2 -2
- package/es/components/batch-editor/index.d.ts +0 -1
- package/es/components/table/hooks/useTableSetting.js +38 -2
- package/lib/components/batch-editor/index.d.ts +0 -1
- package/lib/components/table/hooks/useTableSetting.js +21 -2
- package/package.json +1 -1
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +0 -163
- package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -301
- package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -8
- package/es/components/PisellCards/components/TextCard/TextCard.stories.d.ts +0 -183
- package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -27
- package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
- package/es/components/PisellCards/components/TextCard/types.d.ts +0 -277
- package/es/components/PisellCards/index.d.ts +0 -18
- package/es/components/PisellContactBrief/PisellContactBrief.d.ts +0 -13
- package/es/components/PisellContactBrief/PisellContactBrief.stories.d.ts +0 -31
- package/es/components/PisellContactBrief/components/ContactFormModal.d.ts +0 -23
- package/es/components/PisellContactBrief/components/index.d.ts +0 -5
- package/es/components/PisellContactBrief/index.d.ts +0 -6
- package/es/components/PisellContactBrief/locales.d.ts +0 -55
- package/es/components/PisellContactBrief/types.d.ts +0 -82
- package/es/components/PisellLayouts/index.d.ts +0 -38
- package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
- package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
- package/es/components/PisellSuperTabs/types.d.ts +0 -212
- package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
- package/es/components/PisellTabbar/constants.d.ts +0 -47
- package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
- package/es/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/es/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
- package/es/components/PisellTabbar/types.d.ts +0 -90
- package/es/components/PisellTabbar/utils/index.d.ts +0 -69
- package/es/components/Template/[ComponentName].d.ts +0 -0
- package/es/components/appVersionControl/index.d.ts +0 -5
- package/es/components/cardPro/index.d.ts +0 -4
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -8
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +0 -48
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -101
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -85
- package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -7
- package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -11
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
- package/es/components/drag-sort-tree/index.d.ts +0 -4
- package/es/components/hardwareErrorTip/demo.d.ts +0 -3
- package/es/components/hardwareErrorTip/errorCard/index.d.ts +0 -29
- package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +0 -13
- package/es/components/hardwareErrorTip/index.d.ts +0 -19
- package/es/components/hardwareErrorTip/logCard/index.d.ts +0 -28
- package/es/components/hardwareErrorTip/types.d.ts +0 -28
- package/es/components/iconfont/index.d.ts +0 -8
- package/es/components/login-and-register/index.d.ts +0 -82
- package/es/components/page/index.d.ts +0 -9
- 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/pisellActionPanel/PisellActionPanel.d.ts +0 -13
- package/es/components/pisellActionPanel/PisellActionPanel.stories.d.ts +0 -19
- package/es/components/pisellActionPanel/index.d.ts +0 -6
- package/es/components/pisellActionPanel/types.d.ts +0 -83
- package/es/components/pisellAdjustPrice/index.d.ts +0 -5
- package/es/components/pisellAdjustPrice/status.d.ts +0 -32
- package/es/components/pisellAdjustPrice/type.d.ts +0 -22
- package/es/components/pisellBaseCard/PisellBaseCard.d.ts +0 -8
- package/es/components/pisellBaseCard/PisellBaseCard.stories.d.ts +0 -19
- package/es/components/pisellBaseCard/index.d.ts +0 -5
- package/es/components/pisellBaseCard/types.d.ts +0 -45
- package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/es/components/pisellCurrency/PisellCurrency.d.ts +0 -39
- package/es/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +0 -15
- package/es/components/pisellCustomerBrief/PisellCustomerBrief.stories.d.ts +0 -23
- package/es/components/pisellCustomerBrief/index.d.ts +0 -6
- package/es/components/pisellCustomerBrief/types.d.ts +0 -82
- package/es/components/pisellEmail/PisellEmail.d.ts +0 -37
- package/es/components/pisellEmpty/index.d.ts +0 -19
- package/es/components/pisellEntityCard/PisellEntityCard.d.ts +0 -8
- package/es/components/pisellEntityCard/PisellEntityCard.stories.d.ts +0 -47
- package/es/components/pisellEntityCard/index.d.ts +0 -5
- package/es/components/pisellEntityCard/types.d.ts +0 -144
- package/es/components/pisellExport/PisellExport.d.ts +0 -9
- package/es/components/pisellExport/PisellExport.stories.d.ts +0 -45
- package/es/components/pisellExport/index.d.ts +0 -2
- package/es/components/pisellExport/types.d.ts +0 -63
- package/es/components/pisellFilter/index.d.ts +0 -4
- package/es/components/pisellFilter/type.d.ts +0 -7
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -12
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -39
- package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -11
- package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -38
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -35
- package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -53
- package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -46
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -19
- package/es/components/pisellFloorMapLayout/components/index.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -66
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -67
- package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/es/components/pisellFloorMapLayout/index.d.ts +0 -25
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +0 -113
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +0 -113
- package/es/components/pisellFloorMapLayout/locales.d.ts +0 -551
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
- package/es/components/pisellFloorMapLayout/types.d.ts +0 -604
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
- package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
- package/es/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
- package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
- package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
- package/es/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
- package/es/components/pisellGridPro/index.d.ts +0 -4
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
- package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
- package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
- package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
- package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
- package/es/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
- package/es/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
- package/es/components/pisellImport/PisellImport.d.ts +0 -9
- package/es/components/pisellImport/PisellImport.stories.d.ts +0 -49
- package/es/components/pisellImport/index.d.ts +0 -2
- package/es/components/pisellImport/types.d.ts +0 -85
- package/es/components/pisellLongText/PisellLongText.d.ts +0 -39
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
- package/es/components/pisellModal/index.d.ts +0 -62
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
- package/es/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/es/components/pisellNumber/PisellNumber.d.ts +0 -42
- package/es/components/pisellPhone/PisellPhone.d.ts +0 -36
- package/es/components/pisellPhone/components/EditView.d.ts +0 -19
- package/es/components/pisellPhone/constants/countryCodes.d.ts +0 -21
- package/es/components/pisellPhone/types.d.ts +0 -209
- package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
- package/es/components/pisellRating/PisellRating.d.ts +0 -31
- package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
- package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -89
- package/es/components/pisellRecordBoard/index.d.ts +0 -45
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +0 -3
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -7
- package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -4
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -21
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +0 -12
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +0 -23
- package/es/components/pisellRecordBoard/types.d.ts +0 -468
- package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -20
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
- package/es/components/pisellReservationSchedule/index.d.ts +0 -2
- package/es/components/pisellReservationSchedule/locales.d.ts +0 -25
- package/es/components/pisellReservationSchedule/types.d.ts +0 -47
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
- package/es/components/pisellReservationScheduleBand/index.d.ts +0 -2
- package/es/components/pisellReservationScheduleBand/types.d.ts +0 -57
- package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
- package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
- package/es/components/pisellStatisticList/index.d.ts +0 -22
- package/es/components/pisellText/components/Amount/index.d.ts +0 -20
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
- package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -25
- package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -33
- package/es/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
- package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
- package/es/components/pisellTimeNavigator/components/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
- package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
- package/es/components/pisellTimeNavigator/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/locales.d.ts +0 -22
- package/es/components/pisellTimeNavigator/types.d.ts +0 -160
- package/es/components/pisellTimeNavigator/utils/index.d.ts +0 -35
- package/es/components/pisellToast/index.d.ts +0 -17
- 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/pisellUrl/PisellUrl.d.ts +0 -37
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -29
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -13
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -11
- package/es/components/productCard/cartSkuCard/locales.d.ts +0 -163
- package/es/components/productCard/components/Action/index.d.ts +0 -4
- package/es/components/productCard/components/Header/Actions/index.d.ts +0 -4
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
- package/es/components/productCard/components/Header/index.d.ts +0 -4
- package/es/components/productCard/components/Sales/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
- package/es/components/productCard/components/Time/index.d.ts +0 -4
- package/es/components/productCard/locales.d.ts +0 -138
- package/es/components/productCard/status.d.ts +0 -32
- package/es/components/productCard/types.d.ts +0 -85
- package/es/components/productCard/utils.d.ts +0 -33
- package/es/components/sort/index.d.ts +0 -5
- package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -8
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -9
- package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -9
- package/es/components/table/BasicTable/index.d.ts +0 -4
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
- package/es/components/table/Gallery/index.d.ts +0 -5
- package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
- package/es/components/table/Table/index.d.ts +0 -4
- package/es/components/table/Table/utils.d.ts +0 -167
- package/es/components/table/hooks/useTransDataSource.d.ts +0 -12
- package/es/components/table/types.d.ts +0 -270
- package/es/components/translation/index.d.ts +0 -18
- package/es/components/versionModal/index.d.ts +0 -24
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -6
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/Amount/types.d.ts +0 -45
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -6
- 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/es/components/virtual-keyboard/index.d.ts +0 -25
- package/es/locales/en-US.d.ts +0 -439
- package/es/locales/ja.d.ts +0 -360
- package/es/locales/pt.d.ts +0 -360
- package/es/locales/zh-CN.d.ts +0 -434
- package/es/locales/zh-TW.d.ts +0 -434
- package/es/theme/pisell-components.d.ts +0 -14
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +0 -163
- package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -301
- package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -8
- package/lib/components/PisellCards/components/TextCard/TextCard.stories.d.ts +0 -183
- package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -27
- package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
- package/lib/components/PisellCards/components/TextCard/types.d.ts +0 -277
- package/lib/components/PisellCards/index.d.ts +0 -18
- package/lib/components/PisellContactBrief/PisellContactBrief.d.ts +0 -13
- package/lib/components/PisellContactBrief/PisellContactBrief.stories.d.ts +0 -31
- package/lib/components/PisellContactBrief/components/ContactFormModal.d.ts +0 -23
- package/lib/components/PisellContactBrief/components/index.d.ts +0 -5
- package/lib/components/PisellContactBrief/index.d.ts +0 -6
- package/lib/components/PisellContactBrief/locales.d.ts +0 -55
- package/lib/components/PisellContactBrief/types.d.ts +0 -82
- package/lib/components/PisellLayouts/index.d.ts +0 -38
- package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
- package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
- package/lib/components/PisellSuperTabs/types.d.ts +0 -212
- package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
- package/lib/components/PisellTabbar/constants.d.ts +0 -47
- package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
- package/lib/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/lib/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
- package/lib/components/PisellTabbar/types.d.ts +0 -90
- package/lib/components/PisellTabbar/utils/index.d.ts +0 -69
- package/lib/components/Template/[ComponentName].d.ts +0 -0
- package/lib/components/appVersionControl/index.d.ts +0 -5
- package/lib/components/cardPro/index.d.ts +0 -4
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -8
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +0 -48
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -101
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -85
- package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -7
- package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -11
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
- package/lib/components/drag-sort-tree/index.d.ts +0 -4
- package/lib/components/hardwareErrorTip/demo.d.ts +0 -3
- package/lib/components/hardwareErrorTip/errorCard/index.d.ts +0 -29
- package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +0 -13
- package/lib/components/hardwareErrorTip/index.d.ts +0 -19
- package/lib/components/hardwareErrorTip/logCard/index.d.ts +0 -28
- package/lib/components/hardwareErrorTip/types.d.ts +0 -28
- package/lib/components/iconfont/index.d.ts +0 -8
- package/lib/components/login-and-register/index.d.ts +0 -82
- package/lib/components/page/index.d.ts +0 -9
- 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/pisellActionPanel/PisellActionPanel.d.ts +0 -13
- package/lib/components/pisellActionPanel/PisellActionPanel.stories.d.ts +0 -19
- package/lib/components/pisellActionPanel/index.d.ts +0 -6
- package/lib/components/pisellActionPanel/types.d.ts +0 -83
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -5
- package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
- package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
- package/lib/components/pisellBaseCard/PisellBaseCard.d.ts +0 -8
- package/lib/components/pisellBaseCard/PisellBaseCard.stories.d.ts +0 -19
- package/lib/components/pisellBaseCard/index.d.ts +0 -5
- package/lib/components/pisellBaseCard/types.d.ts +0 -45
- package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/lib/components/pisellCurrency/PisellCurrency.d.ts +0 -39
- package/lib/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +0 -15
- package/lib/components/pisellCustomerBrief/PisellCustomerBrief.stories.d.ts +0 -23
- package/lib/components/pisellCustomerBrief/index.d.ts +0 -6
- package/lib/components/pisellCustomerBrief/types.d.ts +0 -82
- package/lib/components/pisellEmail/PisellEmail.d.ts +0 -37
- package/lib/components/pisellEmpty/index.d.ts +0 -19
- package/lib/components/pisellEntityCard/PisellEntityCard.d.ts +0 -8
- package/lib/components/pisellEntityCard/PisellEntityCard.stories.d.ts +0 -47
- package/lib/components/pisellEntityCard/index.d.ts +0 -5
- package/lib/components/pisellEntityCard/types.d.ts +0 -144
- package/lib/components/pisellExport/PisellExport.d.ts +0 -9
- package/lib/components/pisellExport/PisellExport.stories.d.ts +0 -45
- package/lib/components/pisellExport/index.d.ts +0 -2
- package/lib/components/pisellExport/types.d.ts +0 -63
- package/lib/components/pisellFilter/index.d.ts +0 -4
- package/lib/components/pisellFilter/type.d.ts +0 -7
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -12
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -39
- package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -11
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -38
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -35
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -53
- package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -46
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -19
- package/lib/components/pisellFloorMapLayout/components/index.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -66
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -67
- package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/lib/components/pisellFloorMapLayout/index.d.ts +0 -25
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +0 -113
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +0 -113
- package/lib/components/pisellFloorMapLayout/locales.d.ts +0 -551
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
- package/lib/components/pisellFloorMapLayout/types.d.ts +0 -604
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
- package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
- package/lib/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
- package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
- package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
- package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
- package/lib/components/pisellGridPro/index.d.ts +0 -4
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
- package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
- package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
- package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
- package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
- package/lib/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
- package/lib/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
- package/lib/components/pisellImport/PisellImport.d.ts +0 -9
- package/lib/components/pisellImport/PisellImport.stories.d.ts +0 -49
- package/lib/components/pisellImport/index.d.ts +0 -2
- package/lib/components/pisellImport/types.d.ts +0 -85
- package/lib/components/pisellLongText/PisellLongText.d.ts +0 -39
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
- package/lib/components/pisellModal/index.d.ts +0 -62
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
- package/lib/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/lib/components/pisellNumber/PisellNumber.d.ts +0 -42
- package/lib/components/pisellPhone/PisellPhone.d.ts +0 -36
- package/lib/components/pisellPhone/components/EditView.d.ts +0 -19
- package/lib/components/pisellPhone/constants/countryCodes.d.ts +0 -21
- package/lib/components/pisellPhone/types.d.ts +0 -209
- package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
- package/lib/components/pisellRating/PisellRating.d.ts +0 -31
- package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
- package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -89
- package/lib/components/pisellRecordBoard/index.d.ts +0 -45
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +0 -3
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -7
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -4
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -21
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +0 -12
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +0 -23
- package/lib/components/pisellRecordBoard/types.d.ts +0 -468
- package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -20
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
- package/lib/components/pisellReservationSchedule/index.d.ts +0 -2
- package/lib/components/pisellReservationSchedule/locales.d.ts +0 -25
- package/lib/components/pisellReservationSchedule/types.d.ts +0 -47
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
- package/lib/components/pisellReservationScheduleBand/index.d.ts +0 -2
- package/lib/components/pisellReservationScheduleBand/types.d.ts +0 -57
- package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
- package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
- package/lib/components/pisellStatisticList/index.d.ts +0 -22
- package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -25
- package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -33
- package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
- package/lib/components/pisellTimeNavigator/components/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
- package/lib/components/pisellTimeNavigator/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/locales.d.ts +0 -22
- package/lib/components/pisellTimeNavigator/types.d.ts +0 -160
- package/lib/components/pisellTimeNavigator/utils/index.d.ts +0 -35
- package/lib/components/pisellToast/index.d.ts +0 -17
- 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/pisellUrl/PisellUrl.d.ts +0 -37
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -29
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -13
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -11
- package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -163
- package/lib/components/productCard/components/Action/index.d.ts +0 -4
- package/lib/components/productCard/components/Header/Actions/index.d.ts +0 -4
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
- package/lib/components/productCard/components/Header/index.d.ts +0 -4
- package/lib/components/productCard/components/Sales/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
- package/lib/components/productCard/components/Time/index.d.ts +0 -4
- package/lib/components/productCard/locales.d.ts +0 -138
- package/lib/components/productCard/status.d.ts +0 -32
- package/lib/components/productCard/types.d.ts +0 -85
- package/lib/components/productCard/utils.d.ts +0 -33
- package/lib/components/sort/index.d.ts +0 -5
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -8
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -9
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -9
- package/lib/components/table/BasicTable/index.d.ts +0 -4
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
- package/lib/components/table/Gallery/index.d.ts +0 -5
- package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
- package/lib/components/table/Table/index.d.ts +0 -4
- package/lib/components/table/Table/utils.d.ts +0 -167
- package/lib/components/table/hooks/useTransDataSource.d.ts +0 -12
- package/lib/components/table/types.d.ts +0 -270
- package/lib/components/translation/index.d.ts +0 -18
- package/lib/components/versionModal/index.d.ts +0 -24
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -6
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -45
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -6
- 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
- package/lib/components/virtual-keyboard/index.d.ts +0 -25
- package/lib/locales/en-US.d.ts +0 -439
- package/lib/locales/ja.d.ts +0 -360
- package/lib/locales/pt.d.ts +0 -360
- package/lib/locales/zh-CN.d.ts +0 -434
- package/lib/locales/zh-TW.d.ts +0 -434
- package/lib/theme/pisell-components.d.ts +0 -14
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
/**
|
|
4
|
-
* loginAndRegister组件的属性接口
|
|
5
|
-
*/
|
|
6
|
-
export interface loginAndRegisterProps {
|
|
7
|
-
/** Logo相关配置 */
|
|
8
|
-
showLogo?: boolean;
|
|
9
|
-
logo?: string;
|
|
10
|
-
logoPosition?: 'left' | 'center' | 'right';
|
|
11
|
-
logoSize?: {
|
|
12
|
-
width?: number;
|
|
13
|
-
height?: number;
|
|
14
|
-
};
|
|
15
|
-
/** 标题相关配置 */
|
|
16
|
-
title?: string;
|
|
17
|
-
showTitle?: boolean;
|
|
18
|
-
titleAlign?: 'left' | 'center' | 'right';
|
|
19
|
-
/** 副标题相关配置 */
|
|
20
|
-
subtitle?: string;
|
|
21
|
-
showSubtitle?: boolean;
|
|
22
|
-
subtitleAlign?: 'left' | 'center' | 'right';
|
|
23
|
-
/** 登录方式配置 */
|
|
24
|
-
loginMethods?: ('email' | 'google' | 'facebook' | 'apple')[];
|
|
25
|
-
defaultLoginMethod?: 'email' | 'google' | 'facebook' | 'apple';
|
|
26
|
-
/** 表单配置 */
|
|
27
|
-
emailLabel?: string;
|
|
28
|
-
passwordLabel?: string;
|
|
29
|
-
emailPlaceholder?: string;
|
|
30
|
-
passwordPlaceholder?: string;
|
|
31
|
-
emailRules?: any[];
|
|
32
|
-
buttonText?: string;
|
|
33
|
-
rememberMeText?: string;
|
|
34
|
-
forgotPasswordText?: string;
|
|
35
|
-
showRememberMe?: boolean;
|
|
36
|
-
showForgotPassword?: boolean;
|
|
37
|
-
/** 社交登录配置 */
|
|
38
|
-
socialLoginTexts?: {
|
|
39
|
-
google?: string;
|
|
40
|
-
facebook?: string;
|
|
41
|
-
apple?: string;
|
|
42
|
-
};
|
|
43
|
-
/** 底部配置 */
|
|
44
|
-
showFooter?: boolean;
|
|
45
|
-
showSignUp?: boolean;
|
|
46
|
-
signUpText?: string;
|
|
47
|
-
signUpLink?: string;
|
|
48
|
-
signUpPosition?: 'left' | 'center' | 'right';
|
|
49
|
-
otherLinks?: Array<{
|
|
50
|
-
text: string;
|
|
51
|
-
url: string;
|
|
52
|
-
}>;
|
|
53
|
-
otherLinksPosition?: 'left' | 'center' | 'right';
|
|
54
|
-
/** 登录/注册切换配置 */
|
|
55
|
-
showTabs?: boolean;
|
|
56
|
-
loginTabText?: string;
|
|
57
|
-
registerTabText?: string;
|
|
58
|
-
/** 注册表单配置 */
|
|
59
|
-
registerEmailPlaceholder?: string;
|
|
60
|
-
registerPasswordPlaceholder?: string;
|
|
61
|
-
registerButtonText?: string;
|
|
62
|
-
/** 事件回调 */
|
|
63
|
-
onLogin?: (values: {
|
|
64
|
-
email: string;
|
|
65
|
-
loginMethod: string;
|
|
66
|
-
}) => void;
|
|
67
|
-
onSocialLogin?: (type: 'google' | 'facebook' | 'apple') => void;
|
|
68
|
-
onSignUp?: () => void;
|
|
69
|
-
onRegister?: (values: {
|
|
70
|
-
email: string;
|
|
71
|
-
password: string;
|
|
72
|
-
}) => void;
|
|
73
|
-
/** 新增背景图片属性 */
|
|
74
|
-
backgroundImage?: string;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Saas登录组件
|
|
78
|
-
* @param props - 组件属性
|
|
79
|
-
* @returns React组件
|
|
80
|
-
*/
|
|
81
|
-
declare const loginAndRegister: React.FC<loginAndRegisterProps>;
|
|
82
|
-
export default loginAndRegister;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ConfigProviderProps } from '../config-provider';
|
|
3
|
-
interface PageProps extends ConfigProviderProps {
|
|
4
|
-
variablesConfig?: {
|
|
5
|
-
disabledHistoryListener?: boolean;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
declare const Page: (props: PageProps) => JSX.Element;
|
|
9
|
-
export default Page;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface PisellContextType {
|
|
3
|
-
platform: 'h5' | 'pc' | 'ipad';
|
|
4
|
-
/** 货币符号 */
|
|
5
|
-
symbol?: string;
|
|
6
|
-
/** 当前语言环境 */
|
|
7
|
-
locale?: string;
|
|
8
|
-
/** 获取货币符号 */
|
|
9
|
-
getSymbolic?: () => string;
|
|
10
|
-
}
|
|
11
|
-
export declare const PisellContext: import("react").Context<PisellContextType>;
|
|
12
|
-
/**
|
|
13
|
-
* provider外获取当前全局配置
|
|
14
|
-
*/
|
|
15
|
-
declare class GlobalConfig {
|
|
16
|
-
private config;
|
|
17
|
-
constructor();
|
|
18
|
-
setConfig(config: PisellContextType): void;
|
|
19
|
-
getConfig(): PisellContextType;
|
|
20
|
-
}
|
|
21
|
-
export declare const globalConfig: GlobalConfig;
|
|
22
|
-
export default PisellContext;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellContextType } from './context';
|
|
3
|
-
interface PisellConfigProviderType {
|
|
4
|
-
platform?: PisellContextType['platform'];
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
/** 货币符号 */
|
|
7
|
-
symbol?: string;
|
|
8
|
-
/** 当前语言环境 */
|
|
9
|
-
locale?: string;
|
|
10
|
-
getSymbolic?: () => string;
|
|
11
|
-
}
|
|
12
|
-
declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
|
|
13
|
-
export default PisellConfigProvider;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { PisellActionPanelProps } from './types';
|
|
3
|
-
import './PisellActionPanel.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellActionPanel 操作面板
|
|
6
|
-
* 用于统一承载、编排和呈现一组用户可执行操作(Actions)的 Pro 组件。
|
|
7
|
-
* 支持分组、布局、对齐、主/次/危险层级与条件显隐。
|
|
8
|
-
*
|
|
9
|
-
* 设计文档:Action Panel (pcp_ge_actionPanel_V1.0)
|
|
10
|
-
*
|
|
11
|
-
* @param props 组件 Props
|
|
12
|
-
*/
|
|
13
|
-
export declare function PisellActionPanel({ groups, layout, align, overflowStrategy, groupGap, itemGap, className, style, }: PisellActionPanelProps): JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { PisellActionPanel } from './PisellActionPanel';
|
|
3
|
-
declare const meta: Meta<typeof PisellActionPanel>;
|
|
4
|
-
export default meta;
|
|
5
|
-
declare type Story = StoryObj<typeof PisellActionPanel>;
|
|
6
|
-
/** 默认:单组两按钮 */
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
/** 右对齐(表单底部常见) */
|
|
9
|
-
export declare const AlignRight: Story;
|
|
10
|
-
/** 多组:主操作 + 危险操作 */
|
|
11
|
-
export declare const MultipleGroups: Story;
|
|
12
|
-
/** 竖向布局 */
|
|
13
|
-
export declare const VerticalLayout: Story;
|
|
14
|
-
/** 条件显隐(某条 visible: false) */
|
|
15
|
-
export declare const ConditionalVisible: Story;
|
|
16
|
-
/** 居中 */
|
|
17
|
-
export declare const AlignCenter: Story;
|
|
18
|
-
/** space-between 两端对齐 */
|
|
19
|
-
export declare const SpaceBetween: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellActionPanel 组件导出
|
|
3
|
-
* 操作面板:统一承载、编排一组用户可执行操作
|
|
4
|
-
*/
|
|
5
|
-
export { PisellActionPanel } from './PisellActionPanel';
|
|
6
|
-
export type { PisellActionPanelProps, PisellActionPanelGroup, PisellActionPanelItem, ActionPanelLayout, ActionPanelAlign, ActionPanelOverflowStrategy, ActionPanelItemPriority, } from './types';
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* 操作项层级(主/次/危险)
|
|
4
|
-
*/
|
|
5
|
-
export declare type ActionPanelItemPriority = 'primary' | 'secondary' | 'danger' | 'default';
|
|
6
|
-
/**
|
|
7
|
-
* Action Panel 单条操作项
|
|
8
|
-
* 对应设计文档 Action Item,可渲染为 Button / IconButton
|
|
9
|
-
*/
|
|
10
|
-
export interface PisellActionPanelItem {
|
|
11
|
-
/** 唯一 key,用于 React key;不传则用 index */
|
|
12
|
-
key?: string;
|
|
13
|
-
/** 展示文案(Button 时显示) */
|
|
14
|
-
label?: string;
|
|
15
|
-
/** 图标节点(可单独图标或与 label 同显) */
|
|
16
|
-
icon?: ReactNode;
|
|
17
|
-
/** 点击回调 */
|
|
18
|
-
onClick?: () => void;
|
|
19
|
-
/** 是否禁用 */
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
/** 是否显示(条件显隐) @default true */
|
|
22
|
-
visible?: boolean;
|
|
23
|
-
/** 层级:主/次/危险/默认,影响按钮样式 */
|
|
24
|
-
priority?: ActionPanelItemPriority;
|
|
25
|
-
/** 单项内联样式 */
|
|
26
|
-
style?: CSSProperties;
|
|
27
|
-
/** 单项类名 */
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Action Panel 分组
|
|
32
|
-
* 对应设计文档 Action Group,内包含多个 Action Item
|
|
33
|
-
*/
|
|
34
|
-
export interface PisellActionPanelGroup {
|
|
35
|
-
/** 唯一 key;不传则用 index */
|
|
36
|
-
key?: string;
|
|
37
|
-
/** 本组操作项 */
|
|
38
|
-
items: PisellActionPanelItem[];
|
|
39
|
-
/** 组内整体优先级(可影响组内按钮默认 priority) */
|
|
40
|
-
priority?: ActionPanelItemPriority;
|
|
41
|
-
/** 是否显示该组 @default true */
|
|
42
|
-
visible?: boolean;
|
|
43
|
-
/** 组内对齐方式(组内多个 item 时的对齐) */
|
|
44
|
-
align?: 'start' | 'center' | 'end';
|
|
45
|
-
/** 组容器类名 */
|
|
46
|
-
className?: string;
|
|
47
|
-
/** 组容器样式 */
|
|
48
|
-
style?: CSSProperties;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Panel 布局方式
|
|
52
|
-
*/
|
|
53
|
-
export declare type ActionPanelLayout = 'horizontal' | 'vertical' | 'grid';
|
|
54
|
-
/**
|
|
55
|
-
* Panel 对齐方式
|
|
56
|
-
*/
|
|
57
|
-
export declare type ActionPanelAlign = 'left' | 'center' | 'right' | 'space-between';
|
|
58
|
-
/**
|
|
59
|
-
* 溢出策略:换行 / 滚动 / 更多菜单收纳
|
|
60
|
-
*/
|
|
61
|
-
export declare type ActionPanelOverflowStrategy = 'wrap' | 'scroll' | 'moreMenu';
|
|
62
|
-
/**
|
|
63
|
-
* PisellActionPanel 组件 Props
|
|
64
|
-
* 设计文档:Action Panel (pcp_ge_actionPanel_V1.0)
|
|
65
|
-
*/
|
|
66
|
-
export interface PisellActionPanelProps {
|
|
67
|
-
/** 操作分组列表,顺序即展示顺序 */
|
|
68
|
-
groups: PisellActionPanelGroup[];
|
|
69
|
-
/** 布局方式 @default 'horizontal' */
|
|
70
|
-
layout?: ActionPanelLayout;
|
|
71
|
-
/** 整体对齐方式 @default 'left' */
|
|
72
|
-
align?: ActionPanelAlign;
|
|
73
|
-
/** 溢出策略 @default 'wrap' */
|
|
74
|
-
overflowStrategy?: ActionPanelOverflowStrategy;
|
|
75
|
-
/** 组与组之间的间距(CSS gap 或 number px) */
|
|
76
|
-
groupGap?: number | string;
|
|
77
|
-
/** 组内操作项之间的间距(CSS gap 或 number px) */
|
|
78
|
-
itemGap?: number | string;
|
|
79
|
-
/** 根节点类名 */
|
|
80
|
-
className?: string;
|
|
81
|
-
/** 根节点样式 */
|
|
82
|
-
style?: CSSProperties;
|
|
83
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const defaultConfig: {
|
|
2
|
-
dark: {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
containerBackgroundColor: string;
|
|
5
|
-
buttonBackgroundColor: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
resetButtonBackgroundColor: string;
|
|
8
|
-
resetButtonTextColor: string;
|
|
9
|
-
isDoneButtonFollowTheme: boolean;
|
|
10
|
-
doneButtonBackgroundColor: string;
|
|
11
|
-
doneButtonTextColor: string;
|
|
12
|
-
isShowMainText: boolean;
|
|
13
|
-
mainTextColor: string;
|
|
14
|
-
isShowSubText: boolean;
|
|
15
|
-
subTextColor: string;
|
|
16
|
-
};
|
|
17
|
-
light: {
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
containerBackgroundColor: string;
|
|
20
|
-
buttonBackgroundColor: string;
|
|
21
|
-
textColor: string;
|
|
22
|
-
resetButtonBackgroundColor: string;
|
|
23
|
-
resetButtonTextColor: string;
|
|
24
|
-
isDoneButtonFollowTheme: boolean;
|
|
25
|
-
doneButtonBackgroundColor: string;
|
|
26
|
-
doneButtonTextColor: string;
|
|
27
|
-
isShowMainText: boolean;
|
|
28
|
-
mainTextColor: string;
|
|
29
|
-
isShowSubText: boolean;
|
|
30
|
-
subTextColor: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface PisellAdjustPriceProps {
|
|
2
|
-
value?: number;
|
|
3
|
-
originValue: number;
|
|
4
|
-
defaultValue?: number;
|
|
5
|
-
onChange?: (val: number) => void;
|
|
6
|
-
selectType?: 'light' | 'dark';
|
|
7
|
-
backgroundColor?: string;
|
|
8
|
-
containerBackgroundColor?: string;
|
|
9
|
-
buttonBackgroundColor?: string;
|
|
10
|
-
textColor?: string;
|
|
11
|
-
resetButtonBackgroundColor?: string;
|
|
12
|
-
resetButtonTextColor?: string;
|
|
13
|
-
isDoneButtonFollowTheme?: boolean;
|
|
14
|
-
doneButtonBackgroundColor?: string;
|
|
15
|
-
doneButtonTextColor?: string;
|
|
16
|
-
isShowMainText?: boolean;
|
|
17
|
-
mainTextColor?: string;
|
|
18
|
-
isShowSubText?: boolean;
|
|
19
|
-
subTextColor?: string;
|
|
20
|
-
resetText?: string;
|
|
21
|
-
doneText?: string;
|
|
22
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { PisellBaseCardProps } from './types';
|
|
3
|
-
import './PisellBaseCard.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellBaseCard 基础卡片容器
|
|
6
|
-
* 提供可定制的容器用于承载子内容,支持默认/悬停/按下/禁用四态样式,可点击时支持焦点与键盘触发
|
|
7
|
-
*/
|
|
8
|
-
export declare function PisellBaseCard({ children, className, style, hoverStyle, activeStyle, disabledStyle, clickable, disabled, onClick, }: PisellBaseCardProps): JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { PisellBaseCard } from './PisellBaseCard';
|
|
3
|
-
declare const meta: Meta<typeof PisellBaseCard>;
|
|
4
|
-
export default meta;
|
|
5
|
-
declare type Story = StoryObj<typeof PisellBaseCard>;
|
|
6
|
-
/** 默认:可点击、无内容 */
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
/** 带内容 */
|
|
9
|
-
export declare const WithChildren: Story;
|
|
10
|
-
/** 可点击并带点击回调 */
|
|
11
|
-
export declare const Clickable: Story;
|
|
12
|
-
/** 禁用态 */
|
|
13
|
-
export declare const Disabled: Story;
|
|
14
|
-
/** 不可点击(仅容器) */
|
|
15
|
-
export declare const NotClickable: Story;
|
|
16
|
-
/** 自定义默认样式 */
|
|
17
|
-
export declare const CustomStyle: Story;
|
|
18
|
-
/** 悬停/按下/禁用样式 */
|
|
19
|
-
export declare const StateStyles: Story;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* PisellBaseCard 组件 Props
|
|
4
|
-
* @description 基础卡片容器,支持四态样式与可点击配置,无选中逻辑(选中由低代码处理)
|
|
5
|
-
*/
|
|
6
|
-
export interface PisellBaseCardProps {
|
|
7
|
-
/**
|
|
8
|
-
* 卡片内容,由低代码插槽或直接传入
|
|
9
|
-
*/
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
/**
|
|
12
|
-
* 自定义类名,应用于根节点
|
|
13
|
-
*/
|
|
14
|
-
className?: string;
|
|
15
|
-
/**
|
|
16
|
-
* 默认状态下的内联样式(背景、圆角、边框、阴影、padding、宽高等)
|
|
17
|
-
*/
|
|
18
|
-
style?: CSSProperties;
|
|
19
|
-
/**
|
|
20
|
-
* 悬停时的样式覆盖,与 style 合并后应用
|
|
21
|
-
*/
|
|
22
|
-
hoverStyle?: CSSProperties;
|
|
23
|
-
/**
|
|
24
|
-
* 按下(active)时的样式覆盖,与 style 合并后应用
|
|
25
|
-
*/
|
|
26
|
-
activeStyle?: CSSProperties;
|
|
27
|
-
/**
|
|
28
|
-
* 禁用时的样式覆盖,与 style 合并后应用
|
|
29
|
-
*/
|
|
30
|
-
disabledStyle?: CSSProperties;
|
|
31
|
-
/**
|
|
32
|
-
* 是否可点击(可聚焦并触发 onClick)
|
|
33
|
-
* @default true
|
|
34
|
-
*/
|
|
35
|
-
clickable?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* 是否禁用,禁用时应用 disabledStyle 且不响应点击与焦点
|
|
38
|
-
* @default false
|
|
39
|
-
*/
|
|
40
|
-
disabled?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* 点击回调,仅在 clickable 且非 disabled 时触发
|
|
43
|
-
*/
|
|
44
|
-
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
45
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellContextType } from '../pisell-config-provider/context';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface PisellCheckboxGroupOption {
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
error?: boolean;
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
}
|
|
11
|
-
declare type PisellCheckboxGroupValue = string | string[] | any;
|
|
12
|
-
export interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
13
|
-
platform?: PisellContextType['platform'];
|
|
14
|
-
direction?: 'horizontal' | 'vertical';
|
|
15
|
-
fullWidth?: boolean;
|
|
16
|
-
gap?: number;
|
|
17
|
-
padding?: number;
|
|
18
|
-
options: PisellCheckboxGroupOption[];
|
|
19
|
-
onChange?: (value: PisellCheckboxGroupValue, item: PisellCheckboxGroupOption) => void;
|
|
20
|
-
value?: PisellCheckboxGroupValue;
|
|
21
|
-
renderOption?: (option: PisellCheckboxGroupOption, active: boolean, index: number) => React.ReactNode;
|
|
22
|
-
rowKey?: string;
|
|
23
|
-
mode?: 'multiple' | 'single';
|
|
24
|
-
iconPosition?: 'left' | 'right' | 'hide';
|
|
25
|
-
optionClassName?: string;
|
|
26
|
-
optionActiveClassName?: string;
|
|
27
|
-
onChangeDebounce?: boolean;
|
|
28
|
-
onItemClick?: (e: React.MouseEvent<HTMLDivElement>, option: PisellCheckboxGroupOption) => void;
|
|
29
|
-
showActiveBackground?: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @title: PisellCheckboxGroup
|
|
33
|
-
* @description: 选中组件
|
|
34
|
-
* @param {PisellCheckboxGroupProps} props
|
|
35
|
-
* @return {*}
|
|
36
|
-
* @Author: zhiwei.Wang
|
|
37
|
-
* @Date: 2024-08-16 10:34
|
|
38
|
-
*/
|
|
39
|
-
declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => JSX.Element;
|
|
40
|
-
export default PisellCheckboxGroup;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellCurrencyProps } from './types';
|
|
3
|
-
import './PisellCurrency.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellCurrency 货币组件
|
|
6
|
-
*
|
|
7
|
-
* 基于 PisellNumber 派生,专门处理货币数据。
|
|
8
|
-
* 默认启用千分位和2位小数,符合财务规范。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 受控模式
|
|
14
|
-
* const [price, setPrice] = useState(0);
|
|
15
|
-
* <PisellCurrency
|
|
16
|
-
* value={price}
|
|
17
|
-
* onChange={setPrice}
|
|
18
|
-
* currencySymbol="¥"
|
|
19
|
-
* />
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* // 非受控模式
|
|
23
|
-
* <PisellCurrency
|
|
24
|
-
* defaultValue={100}
|
|
25
|
-
* currencySymbol="$"
|
|
26
|
-
* />
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* // 只读态
|
|
30
|
-
* <PisellCurrency
|
|
31
|
-
* mode="read"
|
|
32
|
-
* value={1234.56}
|
|
33
|
-
* currencySymbol="¥"
|
|
34
|
-
* />
|
|
35
|
-
* // 显示: ¥1,234.56
|
|
36
|
-
*/
|
|
37
|
-
export declare const PisellCurrency: React.FC<PisellCurrencyProps>;
|
|
38
|
-
declare const MemoizedPisellCurrency: React.NamedExoticComponent<PisellCurrencyProps>;
|
|
39
|
-
export default MemoizedPisellCurrency;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { PisellCustomerBriefProps } from './types';
|
|
3
|
-
import './PisellCustomerBrief.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellCustomerBrief 客户简要卡片
|
|
6
|
-
* 基于 PisellEntityCard,用于展示客户(Customer)实体的核心识别信息与客户级属性。
|
|
7
|
-
* 设计文档:Customer Info (pcl_customerInfon_V1.0)
|
|
8
|
-
*
|
|
9
|
-
* - 无头像时显示默认占位 Avatar
|
|
10
|
-
* - 文本过长按配置省略
|
|
11
|
-
* - Actions 为空时不占位
|
|
12
|
-
*
|
|
13
|
-
* @param props 组件 Props
|
|
14
|
-
*/
|
|
15
|
-
export declare function PisellCustomerBrief({ name, subtitle, avatar, email, address, company, date, extendedFields, tags, actions, showActions, showAvatar, showPrimaryText, showSubtitle, showExtended, showTags, density, layout, width, swipeToDelete, onDelete, tagPosition, contentGap, primaryLineClamp, secondaryLineClamp, renderMedia, renderPrimary, renderSubtitle, renderSecondary, renderTags, renderActions, className, style, hoverStyle, activeStyle, disabledStyle, clickable, disabled, onClick, }: PisellCustomerBriefProps): JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { PisellCustomerBrief } from './PisellCustomerBrief';
|
|
3
|
-
declare const meta: Meta<typeof PisellCustomerBrief>;
|
|
4
|
-
export default meta;
|
|
5
|
-
declare type Story = StoryObj<typeof PisellCustomerBrief>;
|
|
6
|
-
/** 默认:客户名称 + 副标题 + 扩展信息 + 标签 */
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
/** 无头像(默认占位) */
|
|
9
|
-
export declare const NoAvatar: Story;
|
|
10
|
-
/** 有头像 */
|
|
11
|
-
export declare const WithAvatar: Story;
|
|
12
|
-
/** B5 密度:扩展信息多行 */
|
|
13
|
-
export declare const B5Extended: Story;
|
|
14
|
-
/** 带操作区:图标 + 文本 + 按钮 */
|
|
15
|
-
export declare const WithActions: Story;
|
|
16
|
-
/** 竖向布局 */
|
|
17
|
-
export declare const VerticalLayout: Story;
|
|
18
|
-
/** 左滑删除 */
|
|
19
|
-
export declare const SwipeToDelete: Story;
|
|
20
|
-
/** 可点击卡片 */
|
|
21
|
-
export declare const Clickable: Story;
|
|
22
|
-
/** 禁用态 */
|
|
23
|
-
export declare const Disabled: Story;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { PisellBaseCardProps } from '../pisellBaseCard/types';
|
|
3
|
-
import type { EntityCardActionItem, EntityCardDensity, EntityCardLayout, EntityCardTagItem, EntityCardWidth } from '../pisellEntityCard/types';
|
|
4
|
-
/**
|
|
5
|
-
* 客户简要卡片扩展字段项(用于 B5/B9 等多行展示)
|
|
6
|
-
* 与 Entity Card 的 secondaryTexts 对应,语义为客户领域
|
|
7
|
-
*/
|
|
8
|
-
export interface CustomerBriefExtendedField {
|
|
9
|
-
/** 展示文案(如 Email、Address、Company、Date、自定义属性) */
|
|
10
|
-
text: string;
|
|
11
|
-
/** 是否显示提示图标 */
|
|
12
|
-
showTooltip?: boolean;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* PisellCustomerBrief 组件 Props
|
|
16
|
-
* 基于 PisellEntityCard,用于展示客户(Customer)实体的核心识别信息与客户级属性
|
|
17
|
-
* 设计文档:Customer Info (pcl_customerInfon_V1.0)
|
|
18
|
-
*/
|
|
19
|
-
export interface PisellCustomerBriefProps extends Pick<PisellBaseCardProps, 'className' | 'style' | 'hoverStyle' | 'activeStyle' | 'disabledStyle' | 'clickable' | 'disabled' | 'onClick'> {
|
|
20
|
-
/** 客户名称(主文案) */
|
|
21
|
-
name: string;
|
|
22
|
-
/** 副标题,与主标题同行(如电话、客户编号) */
|
|
23
|
-
subtitle?: string;
|
|
24
|
-
/** 头像图片地址;不传则显示默认占位 Avatar */
|
|
25
|
-
avatar?: string;
|
|
26
|
-
/** 邮箱 */
|
|
27
|
-
email?: string;
|
|
28
|
-
/** 地址 */
|
|
29
|
-
address?: string;
|
|
30
|
-
/** 公司 */
|
|
31
|
-
company?: string;
|
|
32
|
-
/** 日期类信息(如创建日期、跟进日期) */
|
|
33
|
-
date?: string;
|
|
34
|
-
/** 自定义扩展字段,顺序即展示顺序 */
|
|
35
|
-
extendedFields?: CustomerBriefExtendedField[];
|
|
36
|
-
/** 标签列表(如等级、状态) */
|
|
37
|
-
tags?: EntityCardTagItem[];
|
|
38
|
-
/** 操作项:仅图标 / 图标+文本 / 按钮 */
|
|
39
|
-
actions?: EntityCardActionItem[];
|
|
40
|
-
/** 是否显示操作区 @default false */
|
|
41
|
-
showActions?: boolean;
|
|
42
|
-
/** 是否显示头像 @default true */
|
|
43
|
-
showAvatar?: boolean;
|
|
44
|
-
/** 是否显示主文案 @default true */
|
|
45
|
-
showPrimaryText?: boolean;
|
|
46
|
-
/** 是否显示副标题 @default true */
|
|
47
|
-
showSubtitle?: boolean;
|
|
48
|
-
/** 是否显示扩展信息(email/address/company/date/extendedFields) @default true */
|
|
49
|
-
showExtended?: boolean;
|
|
50
|
-
/** 是否显示标签 @default true */
|
|
51
|
-
showTags?: boolean;
|
|
52
|
-
/** 信息密度 @default 'B2' */
|
|
53
|
-
density?: EntityCardDensity;
|
|
54
|
-
/** 布局方向 @default 'horizontal' */
|
|
55
|
-
layout?: EntityCardLayout;
|
|
56
|
-
/** 卡片宽度 @default 'content' */
|
|
57
|
-
width?: EntityCardWidth;
|
|
58
|
-
/** 是否开启左滑删除 @default false */
|
|
59
|
-
swipeToDelete?: boolean;
|
|
60
|
-
/** 左滑删除回调 */
|
|
61
|
-
onDelete?: () => void;
|
|
62
|
-
/** 标签位置 @default 'below' */
|
|
63
|
-
tagPosition?: 'inline' | 'below';
|
|
64
|
-
/** 内容区间距 */
|
|
65
|
-
contentGap?: number | string;
|
|
66
|
-
/** 主文案行数限制 */
|
|
67
|
-
primaryLineClamp?: number;
|
|
68
|
-
/** 扩展信息行数限制(按密度有默认值) */
|
|
69
|
-
secondaryLineClamp?: number;
|
|
70
|
-
/** 自定义渲染媒体区 */
|
|
71
|
-
renderMedia?: () => ReactNode;
|
|
72
|
-
/** 自定义渲染主文案区 */
|
|
73
|
-
renderPrimary?: () => ReactNode;
|
|
74
|
-
/** 自定义渲染副标题区 */
|
|
75
|
-
renderSubtitle?: () => ReactNode;
|
|
76
|
-
/** 自定义渲染扩展信息区 */
|
|
77
|
-
renderSecondary?: () => ReactNode;
|
|
78
|
-
/** 自定义渲染标签区 */
|
|
79
|
-
renderTags?: () => ReactNode;
|
|
80
|
-
/** 自定义渲染操作区 */
|
|
81
|
-
renderActions?: () => ReactNode;
|
|
82
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellEmailProps } from './types';
|
|
3
|
-
import './PisellEmail.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellEmail 邮箱地址组件
|
|
6
|
-
*
|
|
7
|
-
* 邮箱地址输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design AutoComplete 和 Input 组件开发,提供邮箱格式校验、域名智能补全、
|
|
9
|
-
* mailto 邮件发送和域名隐藏功能。
|
|
10
|
-
*
|
|
11
|
-
* @param props 组件 Props
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* // 编辑态(邮箱输入)
|
|
15
|
-
* <PisellEmail
|
|
16
|
-
* placeholder="请输入邮箱地址"
|
|
17
|
-
* required
|
|
18
|
-
* />
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* // 只读态(可发邮件)
|
|
22
|
-
* <PisellEmail
|
|
23
|
-
* mode="read"
|
|
24
|
-
* value="user@example.com"
|
|
25
|
-
* enableMailto
|
|
26
|
-
* />
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* // 域名补全
|
|
30
|
-
* <PisellEmail
|
|
31
|
-
* enableAutoComplete
|
|
32
|
-
* autoCompleteDomains={['gmail.com', 'company.com']}
|
|
33
|
-
* />
|
|
34
|
-
*/
|
|
35
|
-
export declare const PisellEmail: React.FC<PisellEmailProps>;
|
|
36
|
-
declare const _default: React.NamedExoticComponent<PisellEmailProps>;
|
|
37
|
-
export default _default;
|