@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,85 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* 展示形态
|
|
4
|
-
* @description icon:仅图标;button:图标 + 文案
|
|
5
|
-
*/
|
|
6
|
-
export declare type VariantType = 'icon' | 'button';
|
|
7
|
-
/**
|
|
8
|
-
* 尺寸
|
|
9
|
-
* @description 小、中、大三种尺寸,对应设计稿 padding 与字体
|
|
10
|
-
*/
|
|
11
|
-
export declare type SizeType = 'small' | 'medium' | 'large';
|
|
12
|
-
/**
|
|
13
|
-
* 视觉类型
|
|
14
|
-
* @description default:默认边框/灰字;primary:主色描边或填充
|
|
15
|
-
*/
|
|
16
|
-
export declare type ImportButtonType = 'default' | 'primary';
|
|
17
|
-
/**
|
|
18
|
-
* PisellImport 组件 Props
|
|
19
|
-
* @description 导入触发器 UI 组件,仅负责展示与点击回调,不内置导入逻辑
|
|
20
|
-
*/
|
|
21
|
-
export interface PisellImportProps {
|
|
22
|
-
/**
|
|
23
|
-
* 展示形态
|
|
24
|
-
* @default 'button'
|
|
25
|
-
*/
|
|
26
|
-
variant?: VariantType;
|
|
27
|
-
/**
|
|
28
|
-
* 尺寸
|
|
29
|
-
* @default 'medium'
|
|
30
|
-
*/
|
|
31
|
-
size?: SizeType;
|
|
32
|
-
/**
|
|
33
|
-
* 视觉类型(默认样式 / 主色样式)
|
|
34
|
-
* @default 'default'
|
|
35
|
-
*/
|
|
36
|
-
type?: ImportButtonType;
|
|
37
|
-
/**
|
|
38
|
-
* 是否禁用
|
|
39
|
-
* @default false
|
|
40
|
-
*/
|
|
41
|
-
disabled?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Button 形态下的文案,不传时使用国际化默认文案
|
|
44
|
-
*/
|
|
45
|
-
label?: ReactNode;
|
|
46
|
-
/**
|
|
47
|
-
* 自定义图标,不传时使用内置上传/导入图标
|
|
48
|
-
*/
|
|
49
|
-
icon?: ReactNode;
|
|
50
|
-
/**
|
|
51
|
-
* 接受的文件类型
|
|
52
|
-
* @description 与 input[type=file] 的 accept 一致,如 ".xlsx,.csv" 或 "application/vnd.ms-excel"
|
|
53
|
-
*/
|
|
54
|
-
accept?: string;
|
|
55
|
-
/**
|
|
56
|
-
* 是否允许多选
|
|
57
|
-
* @default false
|
|
58
|
-
*/
|
|
59
|
-
multiple?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* 单文件最大体积(MB),超出时不会调用 onImport,并调用 onError
|
|
62
|
-
*/
|
|
63
|
-
maxSize?: number;
|
|
64
|
-
/**
|
|
65
|
-
* 选择文件并校验通过后回调
|
|
66
|
-
* @description 用户选择文件后触发,e 为 input 的 change 事件
|
|
67
|
-
*/
|
|
68
|
-
onImport?: (files: File[], e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
69
|
-
/**
|
|
70
|
-
* 校验失败时回调(如文件过大)
|
|
71
|
-
*/
|
|
72
|
-
onError?: (error: {
|
|
73
|
-
type: 'MAX_SIZE';
|
|
74
|
-
message: string;
|
|
75
|
-
file: File;
|
|
76
|
-
}) => void;
|
|
77
|
-
/**
|
|
78
|
-
* 自定义类名
|
|
79
|
-
*/
|
|
80
|
-
className?: string;
|
|
81
|
-
/**
|
|
82
|
-
* 自定义样式
|
|
83
|
-
*/
|
|
84
|
-
style?: CSSProperties;
|
|
85
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellLongTextProps } from './types';
|
|
3
|
-
import './PisellLongText.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellLongText 长文本/多行文本组件
|
|
6
|
-
*
|
|
7
|
-
* 多行文本输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design TextArea 组件开发,提供展开/折叠功能和完整的校验框架。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 编辑态
|
|
14
|
-
* <PisellLongText
|
|
15
|
-
* placeholder="请输入内容"
|
|
16
|
-
* rows={3}
|
|
17
|
-
* maxLength={500}
|
|
18
|
-
* showCount
|
|
19
|
-
* />
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* // 只读态(展开折叠)
|
|
23
|
-
* <PisellLongText
|
|
24
|
-
* mode="read"
|
|
25
|
-
* value={longText}
|
|
26
|
-
* maxLines={3}
|
|
27
|
-
* enableExpand
|
|
28
|
-
* />
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* // 自动高度
|
|
32
|
-
* <PisellLongText
|
|
33
|
-
* autoSize={{ minRows: 3, maxRows: 10 }}
|
|
34
|
-
* placeholder="自动调整高度"
|
|
35
|
-
* />
|
|
36
|
-
*/
|
|
37
|
-
export declare const PisellLongText: React.FC<PisellLongTextProps>;
|
|
38
|
-
declare const _default: React.NamedExoticComponent<PisellLongTextProps>;
|
|
39
|
-
export default _default;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ModalProps, ButtonProps } from 'antd';
|
|
3
|
-
import { PisellContextType } from '../pisell-config-provider/context';
|
|
4
|
-
export interface PisellModalProps extends ModalProps {
|
|
5
|
-
/** 平台 */
|
|
6
|
-
platform?: PisellContextType['platform'];
|
|
7
|
-
/**
|
|
8
|
-
* 弹窗大小
|
|
9
|
-
* large 800
|
|
10
|
-
* middle 600
|
|
11
|
-
* small 400
|
|
12
|
-
* */
|
|
13
|
-
size?: 'large' | 'middle' | 'small';
|
|
14
|
-
/** 头部分割线是否展示 */
|
|
15
|
-
headerDivider?: boolean;
|
|
16
|
-
/** 底部分割线是否展示 */
|
|
17
|
-
footerDivider?: boolean;
|
|
18
|
-
/** 删除按钮props */
|
|
19
|
-
deleteButtonProps?: ButtonProps | null;
|
|
20
|
-
/** 删除事件 */
|
|
21
|
-
onDelete?: () => void;
|
|
22
|
-
/** 移动端展示时弹窗高度 默认null 在移动端全屏 */
|
|
23
|
-
mobileModalHeight?: string | number;
|
|
24
|
-
/** footer中额外操作按钮 */
|
|
25
|
-
actions?: React.ReactNode;
|
|
26
|
-
/** 取消按钮是否展示 */
|
|
27
|
-
cancelVisible?: boolean;
|
|
28
|
-
/** 确认按钮是否展示 */
|
|
29
|
-
okVisible?: boolean;
|
|
30
|
-
/** 是否展示header */
|
|
31
|
-
header?: boolean | null;
|
|
32
|
-
/**
|
|
33
|
-
* 透传至底层 Dialog 遮罩(antd Modal 运行时支持,但 ModalProps 类型未声明)
|
|
34
|
-
*/
|
|
35
|
-
maskProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
36
|
-
}
|
|
37
|
-
declare const PisellModal: {
|
|
38
|
-
(props: PisellModalProps): JSX.Element;
|
|
39
|
-
confirm: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
40
|
-
destroy: () => void;
|
|
41
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
42
|
-
};
|
|
43
|
-
info: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
44
|
-
destroy: () => void;
|
|
45
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
46
|
-
};
|
|
47
|
-
error: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
48
|
-
destroy: () => void;
|
|
49
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
50
|
-
};
|
|
51
|
-
warn: (props: import("./components/functions").PisellModalFuncProps) => any;
|
|
52
|
-
warning: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
53
|
-
destroy: () => void;
|
|
54
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
55
|
-
};
|
|
56
|
-
success: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
57
|
-
destroy: () => void;
|
|
58
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
59
|
-
};
|
|
60
|
-
Information: (props: import("./components/Information").InformationProps) => JSX.Element;
|
|
61
|
-
};
|
|
62
|
-
export default PisellModal;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellMultipleSelect - 多选下拉组件
|
|
3
|
-
* 基于 Ant Design Select 封装,提供符合 Pisell 设计规范的多选功能
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { PisellMultipleSelectProps, MultipleSelectRef } from './types';
|
|
7
|
-
import './PisellMultipleSelect.less';
|
|
8
|
-
declare const PisellMultipleSelect: React.ForwardRefExoticComponent<PisellMultipleSelectProps<string | number> & React.RefAttributes<MultipleSelectRef<string | number>>>;
|
|
9
|
-
export default PisellMultipleSelect;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellMultipleSelect - EditView (编辑态视图)
|
|
3
|
-
* 正常可编辑状态下的渲染
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { EditViewProps } from '../types';
|
|
7
|
-
declare const EditView: React.ForwardRefExoticComponent<EditViewProps<string | number> & React.RefAttributes<any>>;
|
|
8
|
-
export default EditView;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellNumberProps } from './types';
|
|
3
|
-
import './PisellNumber.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellNumber 数值组件
|
|
6
|
-
*
|
|
7
|
-
* 通用的数值输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design InputNumber 组件开发,提供完整的校验框架。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 受控模式
|
|
14
|
-
* const [value, setValue] = useState(0);
|
|
15
|
-
* <PisellNumber
|
|
16
|
-
* value={value}
|
|
17
|
-
* onChange={setValue}
|
|
18
|
-
* min={0}
|
|
19
|
-
* max={100}
|
|
20
|
-
* />
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* // 非受控模式
|
|
24
|
-
* <PisellNumber
|
|
25
|
-
* defaultValue={10}
|
|
26
|
-
* min={0}
|
|
27
|
-
* max={999}
|
|
28
|
-
* step={10}
|
|
29
|
-
* />
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* // 只读态
|
|
33
|
-
* <PisellNumber
|
|
34
|
-
* mode="read"
|
|
35
|
-
* value={1234.567}
|
|
36
|
-
* precision={2}
|
|
37
|
-
* useGrouping
|
|
38
|
-
* />
|
|
39
|
-
*/
|
|
40
|
-
export declare const PisellNumber: React.FC<PisellNumberProps>;
|
|
41
|
-
declare const MemoizedPisellNumber: React.NamedExoticComponent<PisellNumberProps>;
|
|
42
|
-
export default MemoizedPisellNumber;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellPhoneProps } from './types';
|
|
3
|
-
import './PisellPhone.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellPhone 电话号码组件
|
|
6
|
-
*
|
|
7
|
-
* 电话号码输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design Input 和 Select 组件开发,提供国家码选择、自动格式化、格式校验和拨号功能。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 编辑态(中国手机号)
|
|
14
|
-
* <PisellPhone
|
|
15
|
-
* placeholder="请输入手机号"
|
|
16
|
-
* required
|
|
17
|
-
* />
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* // 只读态(可拨号)
|
|
21
|
-
* <PisellPhone
|
|
22
|
-
* mode="read"
|
|
23
|
-
* value="13800000000"
|
|
24
|
-
* countryCode="+86"
|
|
25
|
-
* />
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* // 国家码选择
|
|
29
|
-
* <PisellPhone
|
|
30
|
-
* showCountrySelector
|
|
31
|
-
* availableCountryCodes={['+86', '+1', '+44']}
|
|
32
|
-
* />
|
|
33
|
-
*/
|
|
34
|
-
export declare const PisellPhone: React.FC<PisellPhoneProps>;
|
|
35
|
-
declare const _default: React.NamedExoticComponent<PisellPhoneProps>;
|
|
36
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellPhoneProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* PisellPhone 编辑态视图组件
|
|
5
|
-
*
|
|
6
|
-
* 负责渲染编辑态的电话号码输入,包含国家码选择器和号码输入框
|
|
7
|
-
*
|
|
8
|
-
* 功能:
|
|
9
|
-
* - 国家码选择器(下拉,支持搜索)
|
|
10
|
-
* - 电话号码输入(只保留数字)
|
|
11
|
-
* - 自动格式化(根据国家码)
|
|
12
|
-
* - 动态设置最大长度(根据国家码)
|
|
13
|
-
* - 实时或失焦校验
|
|
14
|
-
* - 错误提示展示
|
|
15
|
-
*
|
|
16
|
-
* @param props 组件 Props
|
|
17
|
-
*/
|
|
18
|
-
declare const EditView: React.FC<PisellPhoneProps>;
|
|
19
|
-
export default EditView;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { CountryCode } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* 预设的国家码列表(24个常见国家)
|
|
4
|
-
* flag 使用正常文本(ISO 3166-1 alpha-2 两字母代码,如 CN、US)
|
|
5
|
-
*
|
|
6
|
-
* 包含:
|
|
7
|
-
* - 亚洲:中国、香港、澳门、台湾、日本、韩国、新加坡、马来西亚、泰国、印度
|
|
8
|
-
* - 欧洲:英国、法国、德国、意大利、西班牙、俄罗斯
|
|
9
|
-
* - 美洲:美国、加拿大、墨西哥、巴西
|
|
10
|
-
* - 大洋洲:澳大利亚、新西兰
|
|
11
|
-
* - 中东:阿联酋、沙特阿拉伯
|
|
12
|
-
*/
|
|
13
|
-
export declare const PRESET_COUNTRY_CODES: CountryCode[];
|
|
14
|
-
/**
|
|
15
|
-
* 默认国家码
|
|
16
|
-
*/
|
|
17
|
-
export declare const DEFAULT_COUNTRY_CODE = "+86";
|
|
18
|
-
/**
|
|
19
|
-
* 常用国家码(可作为默认的 commonCountryCodes)
|
|
20
|
-
*/
|
|
21
|
-
export declare const COMMON_COUNTRY_CODES: string[];
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from 'react';
|
|
2
|
-
import type { BaseTextInputProps } from '@pisell/utils';
|
|
3
|
-
/**
|
|
4
|
-
* 国家码配置类型
|
|
5
|
-
*/
|
|
6
|
-
export interface CountryCode {
|
|
7
|
-
/**
|
|
8
|
-
* 国家码
|
|
9
|
-
* @example '+86', '+1', '+44'
|
|
10
|
-
*/
|
|
11
|
-
code: string;
|
|
12
|
-
/**
|
|
13
|
-
* 国家名称
|
|
14
|
-
* @example '中国', '美国', '英国'
|
|
15
|
-
*/
|
|
16
|
-
name: string;
|
|
17
|
-
/**
|
|
18
|
-
* 国家/地区展示用标识(正常文本,如 ISO 两字母代码 CN、US)
|
|
19
|
-
* @example 'CN', 'US', 'GB', 'HK'
|
|
20
|
-
*/
|
|
21
|
-
flag: string;
|
|
22
|
-
/**
|
|
23
|
-
* 号码格式(可选,用于显示占位符)
|
|
24
|
-
* @example 'XXX XXXX XXXX', '(XXX) XXX-XXXX'
|
|
25
|
-
*/
|
|
26
|
-
format?: string;
|
|
27
|
-
/**
|
|
28
|
-
* 最大长度
|
|
29
|
-
* @example 11 (中国), 10 (美国)
|
|
30
|
-
*/
|
|
31
|
-
maxLength: number;
|
|
32
|
-
/**
|
|
33
|
-
* 校验正则
|
|
34
|
-
* @example /^1[3-9]\d{9}$/ (中国手机号)
|
|
35
|
-
*/
|
|
36
|
-
pattern: RegExp;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* PisellPhone 组件 Props 类型定义
|
|
40
|
-
*
|
|
41
|
-
* 继承 BaseTextInputProps,添加电话号码特有的配置
|
|
42
|
-
*/
|
|
43
|
-
export interface PisellPhoneProps extends BaseTextInputProps {
|
|
44
|
-
/**
|
|
45
|
-
* 状态模式
|
|
46
|
-
* @default 'edit'
|
|
47
|
-
*/
|
|
48
|
-
mode?: 'read' | 'edit';
|
|
49
|
-
/**
|
|
50
|
-
* 是否禁用
|
|
51
|
-
* @default false
|
|
52
|
-
*/
|
|
53
|
-
disabled?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* 当前选中的国家码
|
|
56
|
-
* @default '+86'
|
|
57
|
-
* @example '+86', '+1', '+44'
|
|
58
|
-
*/
|
|
59
|
-
countryCode?: string;
|
|
60
|
-
/**
|
|
61
|
-
* 默认国家码(非受控模式)
|
|
62
|
-
* @default '+86'
|
|
63
|
-
*/
|
|
64
|
-
defaultCountryCode?: string;
|
|
65
|
-
/**
|
|
66
|
-
* 是否显示国家码选择器
|
|
67
|
-
* @default true
|
|
68
|
-
*/
|
|
69
|
-
showCountrySelector?: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* 可用的国家码列表(从预设24个中过滤)
|
|
72
|
-
* @example ['+86', '+1', '+44']
|
|
73
|
-
*/
|
|
74
|
-
availableCountryCodes?: string[];
|
|
75
|
-
/**
|
|
76
|
-
* 常用国家码(置顶显示)
|
|
77
|
-
* @example ['+86', '+1']
|
|
78
|
-
*/
|
|
79
|
-
commonCountryCodes?: string[];
|
|
80
|
-
/**
|
|
81
|
-
* 完全自定义国家码列表(覆盖预设)
|
|
82
|
-
*/
|
|
83
|
-
countryCodes?: CountryCode[];
|
|
84
|
-
/**
|
|
85
|
-
* 国家码变更回调
|
|
86
|
-
* @param code 新的国家码
|
|
87
|
-
*/
|
|
88
|
-
onCountryCodeChange?: (code: string) => void;
|
|
89
|
-
/**
|
|
90
|
-
* 是否自动格式化
|
|
91
|
-
* @default true
|
|
92
|
-
*/
|
|
93
|
-
autoFormat?: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* 格式化规则
|
|
96
|
-
* @default 'auto'
|
|
97
|
-
*/
|
|
98
|
-
formatRule?: 'mobile' | 'landline' | 'auto';
|
|
99
|
-
/**
|
|
100
|
-
* 格式化分隔符
|
|
101
|
-
* @default ' '
|
|
102
|
-
*/
|
|
103
|
-
separator?: string;
|
|
104
|
-
/**
|
|
105
|
-
* 是否启用拨号(移动端)
|
|
106
|
-
* @default true
|
|
107
|
-
*/
|
|
108
|
-
enableDial?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* 是否显示拨号图标
|
|
111
|
-
* @default false
|
|
112
|
-
*/
|
|
113
|
-
showDialIcon?: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* 拨号回调
|
|
116
|
-
* @param phone 完整的电话号码(含国家码)
|
|
117
|
-
*/
|
|
118
|
-
onDial?: (phone: string) => void;
|
|
119
|
-
/**
|
|
120
|
-
* 是否脱敏显示(只读态)
|
|
121
|
-
* @default false
|
|
122
|
-
*/
|
|
123
|
-
enableMasking?: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* 脱敏模式
|
|
126
|
-
* - middle: 中间4位脱敏(138****0000)
|
|
127
|
-
* - last: 后4位脱敏(1380000****)
|
|
128
|
-
* - custom: 使用自定义函数
|
|
129
|
-
* @default 'middle'
|
|
130
|
-
*/
|
|
131
|
-
maskPattern?: 'middle' | 'last' | 'custom';
|
|
132
|
-
/**
|
|
133
|
-
* 自定义脱敏函数
|
|
134
|
-
* @param phone 电话号码
|
|
135
|
-
* @returns 脱敏后的号码
|
|
136
|
-
*/
|
|
137
|
-
customMask?: (phone: string) => string;
|
|
138
|
-
/**
|
|
139
|
-
* 是否显示国旗图标
|
|
140
|
-
* @default true
|
|
141
|
-
*/
|
|
142
|
-
showFlag?: boolean;
|
|
143
|
-
/**
|
|
144
|
-
* 字号
|
|
145
|
-
* @example '14px' 或 14
|
|
146
|
-
* @default 16
|
|
147
|
-
*/
|
|
148
|
-
fontSize?: string | number;
|
|
149
|
-
/**
|
|
150
|
-
* 字重
|
|
151
|
-
* @example 'bold' 或 600
|
|
152
|
-
* @default 500
|
|
153
|
-
*/
|
|
154
|
-
fontWeight?: string | number;
|
|
155
|
-
/**
|
|
156
|
-
* 文本颜色
|
|
157
|
-
* @example '#000000'
|
|
158
|
-
* @default '#101828'
|
|
159
|
-
*/
|
|
160
|
-
color?: string;
|
|
161
|
-
/**
|
|
162
|
-
* 占位文本
|
|
163
|
-
* @default '请输入电话号码'
|
|
164
|
-
*/
|
|
165
|
-
placeholder?: string;
|
|
166
|
-
/**
|
|
167
|
-
* 最大长度(根据国家码自动设置)
|
|
168
|
-
*/
|
|
169
|
-
maxLength?: number;
|
|
170
|
-
/**
|
|
171
|
-
* 是否显示清空按钮
|
|
172
|
-
* @default false
|
|
173
|
-
*/
|
|
174
|
-
allowClear?: boolean;
|
|
175
|
-
/**
|
|
176
|
-
* 是否自动聚焦
|
|
177
|
-
* @default false
|
|
178
|
-
*/
|
|
179
|
-
autoFocus?: boolean;
|
|
180
|
-
/**
|
|
181
|
-
* 是否校验格式
|
|
182
|
-
* @default true
|
|
183
|
-
*/
|
|
184
|
-
validateFormat?: boolean;
|
|
185
|
-
/**
|
|
186
|
-
* 自定义校验函数
|
|
187
|
-
* @param phone 电话号码(纯数字)
|
|
188
|
-
* @param countryCode 国家码
|
|
189
|
-
* @returns true 表示校验通过,string 表示错误信息
|
|
190
|
-
*/
|
|
191
|
-
customValidator?: (phone: string, countryCode: string) => boolean | string;
|
|
192
|
-
/**
|
|
193
|
-
* 自定义类名
|
|
194
|
-
*/
|
|
195
|
-
className?: string;
|
|
196
|
-
/**
|
|
197
|
-
* 自定义样式
|
|
198
|
-
*/
|
|
199
|
-
style?: CSSProperties;
|
|
200
|
-
/**
|
|
201
|
-
* ARIA 标签
|
|
202
|
-
*/
|
|
203
|
-
'aria-label'?: string;
|
|
204
|
-
/**
|
|
205
|
-
* ARIA 描述
|
|
206
|
-
*/
|
|
207
|
-
'aria-describedby'?: string;
|
|
208
|
-
}
|
|
209
|
-
export type { DisplayState, ValidationResult, TextInputState } from '@pisell/utils';
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { CountryCode, PisellPhoneProps } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* 根据国家码获取国家/地区展示标识(正常文本,如 CN、US)
|
|
4
|
-
* @param countryCode 国家码
|
|
5
|
-
* @returns 展示用标识,未匹配时返回 '--'
|
|
6
|
-
*/
|
|
7
|
-
export declare function getCountryFlag(countryCode: string): string;
|
|
8
|
-
/**
|
|
9
|
-
* 根据国家码获取最大长度(数字位数)
|
|
10
|
-
* @param countryCode 国家码
|
|
11
|
-
* @param countryCodes 国家码列表
|
|
12
|
-
* @returns 最大长度(如中国 11 位数字)
|
|
13
|
-
*/
|
|
14
|
-
export declare function getMaxLength(countryCode: string, countryCodes: CountryCode[]): number;
|
|
15
|
-
/**
|
|
16
|
-
* 根据国家码获取配置
|
|
17
|
-
* @param countryCode 国家码
|
|
18
|
-
* @param countryCodes 国家码列表
|
|
19
|
-
* @returns 国家码配置
|
|
20
|
-
*/
|
|
21
|
-
export declare function getCountryConfig(countryCode: string, countryCodes: CountryCode[]): CountryCode | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* 获取最终的国家码列表
|
|
24
|
-
*
|
|
25
|
-
* 优先级:
|
|
26
|
-
* 1. props.countryCodes(完全自定义)
|
|
27
|
-
* 2. props.availableCountryCodes(从预设中过滤)
|
|
28
|
-
* 3. PRESET_COUNTRY_CODES(默认全部24个)
|
|
29
|
-
*
|
|
30
|
-
* 然后根据 props.commonCountryCodes 排序(置顶)
|
|
31
|
-
*
|
|
32
|
-
* @param props 组件 Props
|
|
33
|
-
* @returns 国家码列表
|
|
34
|
-
*/
|
|
35
|
-
export declare function getCountryCodes(props: PisellPhoneProps): CountryCode[];
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellRatingProps } from './types';
|
|
3
|
-
import './PisellRating.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellRating 评分组件
|
|
6
|
-
*
|
|
7
|
-
* 基于 Ant Design Rate 组件开发,提供直观的星级评分交互。
|
|
8
|
-
* 支持只读、编辑、禁用三种状态。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 基础使用
|
|
14
|
-
* const [rating, setRating] = useState(0);
|
|
15
|
-
* <PisellRating value={rating} onChange={setRating} />
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* // 只读态
|
|
19
|
-
* <PisellRating mode="read" value={4.5} allowHalf />
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* // 带评分描述
|
|
23
|
-
* <PisellRating
|
|
24
|
-
* value={rating}
|
|
25
|
-
* onChange={setRating}
|
|
26
|
-
* tooltips={['很差', '差', '一般', '好', '很好']}
|
|
27
|
-
* />
|
|
28
|
-
*/
|
|
29
|
-
export declare const PisellRating: React.FC<PisellRatingProps>;
|
|
30
|
-
declare const _default: React.NamedExoticComponent<PisellRatingProps>;
|
|
31
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { RecordBoardProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* RecordBoard 容器:提供统一的 data / pagination / search 上下文。
|
|
5
|
-
* 打散 props:列表/分页/搜索/多选、grid/toolBar/…;可选根级 **floorMap**(兼容透传)。
|
|
6
|
-
* 平面图推荐在 ShellFrame 内使用 **PisellRecordBoard.FloorMap** 声明,与根级 `floorMap` 合并(子优先)。
|
|
7
|
-
*/
|
|
8
|
-
declare const PisellRecordBoard: React.FC<RecordBoardProps>;
|
|
9
|
-
export default PisellRecordBoard;
|