@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,35 +0,0 @@
|
|
|
1
|
-
import { type Dayjs } from 'dayjs';
|
|
2
|
-
import type { TimeNavigatorValue, TimeRangeOption } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* 解析 value 为 Dayjs,无效则返回 null。
|
|
5
|
-
* 支持 dayjs 可解析的日期时间;纯时间字符串(如 '12:00'、'14:30')会基于 reference 的日期解析。
|
|
6
|
-
*/
|
|
7
|
-
export declare function parseValue(value: TimeNavigatorValue, reference?: Dayjs): Dayjs | null;
|
|
8
|
-
/**
|
|
9
|
-
* 按营业日 {@link TimeRangeOption}(如 02:00–次日 02:00)在锚定自然日零点展开,生成日视图「整点列」的槽位:
|
|
10
|
-
* 值为相对 `reference.startOf('day')` 的小时数(可 ≥24,表示次日时刻)。
|
|
11
|
-
*/
|
|
12
|
-
export declare function buildCalendarHourSlotsFromRange(range: TimeRangeOption | undefined, anchorDate: Date | Dayjs): number[];
|
|
13
|
-
/**
|
|
14
|
-
* 将 range 转为 [startDayjs, endDayjs](reference 为营业锚定日的 0 点)
|
|
15
|
-
* - 同日内:如 08:00–22:00
|
|
16
|
-
* - 跨日营业:结束钟面早于或等于开始(如 02:01–次日 02:00)时,end 解析为 reference 的次日同一时刻
|
|
17
|
-
*/
|
|
18
|
-
export declare function getRangeBounds(range: TimeRangeOption | undefined, reference: Dayjs): [Dayjs, Dayjs];
|
|
19
|
-
/**
|
|
20
|
-
* 将时间吸附到 step 分钟刻度(0、15、30、45 等):四舍五入到最近刻度。
|
|
21
|
-
*/
|
|
22
|
-
export declare function snapToStepMinutes(t: Dayjs, stepMinutes: number): Dayjs;
|
|
23
|
-
/**
|
|
24
|
-
* 判断时间是否落在任一禁用区间内(按绝对时间与区间 [start,end) 比较)
|
|
25
|
-
* 注:与主时间轴同 reference 的跨日 range 一致时需传入同一营业锚定日解析出的区间。
|
|
26
|
-
*/
|
|
27
|
-
export declare function isInDisabledRanges(t: Dayjs, disabledRanges: TimeRangeOption[] | undefined): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* 在 [rangeStart, rangeEnd] 内按 stepMinutes 生成刻度时间列表(Dayjs)
|
|
30
|
-
*/
|
|
31
|
-
export declare function getTicks(rangeStart: Dayjs, rangeEnd: Dayjs, stepMinutes: number): Dayjs[];
|
|
32
|
-
/**
|
|
33
|
-
* 横向时间轴「格」数量,与 useTimeAxis 中 totalLengthPx 算法一致(含尾格)
|
|
34
|
-
*/
|
|
35
|
-
export declare function getHorizontalAxisSlotCount(range: TimeRangeOption | undefined, referenceDate: Dayjs, stepMinutes: number): number;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellToastProps {
|
|
4
|
-
/** 提示内容 */
|
|
5
|
-
content: React.ReactNode;
|
|
6
|
-
/** 自动关闭的延时,单位秒。设为 0 时不自动关闭 */
|
|
7
|
-
duration?: number;
|
|
8
|
-
/** 是否展示action */
|
|
9
|
-
showAction?: boolean;
|
|
10
|
-
/** action文案 */
|
|
11
|
-
actionText?: string;
|
|
12
|
-
/** 关闭时触发的回调函数 */
|
|
13
|
-
onClose?: () => void;
|
|
14
|
-
}
|
|
15
|
-
declare const PisellToast: (props: PisellToastProps) => void;
|
|
16
|
-
export { useToast } from './squareToast';
|
|
17
|
-
export default PisellToast;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { clear, show, success, info, loading, fail, hide } from './methods';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ToastInstance {
|
|
4
|
-
show: typeof show;
|
|
5
|
-
clear: typeof clear;
|
|
6
|
-
success: typeof success;
|
|
7
|
-
info: typeof info;
|
|
8
|
-
loading: typeof loading;
|
|
9
|
-
fail: typeof fail;
|
|
10
|
-
error: typeof fail;
|
|
11
|
-
hide: typeof hide;
|
|
12
|
-
}
|
|
13
|
-
declare const Toast: ToastInstance;
|
|
14
|
-
export declare const useToast: () => ToastInstance;
|
|
15
|
-
export default Toast;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ToastProps } from './toast';
|
|
3
|
-
interface ToastInstance {
|
|
4
|
-
close: () => void;
|
|
5
|
-
}
|
|
6
|
-
declare const show: (configOrContent: Partial<ToastProps> | React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
|
|
7
|
-
declare const clear: () => void;
|
|
8
|
-
declare const success: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
|
|
9
|
-
declare const info: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
|
|
10
|
-
declare const loading: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
|
|
11
|
-
declare const fail: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
|
|
12
|
-
declare const hide: () => void;
|
|
13
|
-
export { show, clear, success, info, loading, fail, hide };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { Root } from 'react-dom/client';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
declare type ImperativeProps = {
|
|
5
|
-
open?: boolean;
|
|
6
|
-
onCancel?: () => void;
|
|
7
|
-
afterClose?: () => void;
|
|
8
|
-
};
|
|
9
|
-
declare type TargetElement = ReactElement<ImperativeProps>;
|
|
10
|
-
export declare type ImperativeHandler = {
|
|
11
|
-
close: () => void;
|
|
12
|
-
replace: (element: TargetElement) => void;
|
|
13
|
-
isRendered?: () => boolean;
|
|
14
|
-
};
|
|
15
|
-
export declare type UnmountType = () => Promise<void>;
|
|
16
|
-
export declare type RenderType = (node: React.ReactElement, container: Element | DocumentFragment) => UnmountType;
|
|
17
|
-
declare const MARK = "__pisell_react_root__";
|
|
18
|
-
declare type ContainerType = (Element | DocumentFragment) & {
|
|
19
|
-
[MARK]?: Root;
|
|
20
|
-
};
|
|
21
|
-
export declare function render(node: React.ReactElement, container: ContainerType): void;
|
|
22
|
-
export declare function unmount(container: ContainerType): Promise<void>;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated 设置 React 渲染函数以兼容使用。
|
|
25
|
-
*/
|
|
26
|
-
export declare function unstableSetRender(render?: RenderType): RenderType;
|
|
27
|
-
export declare function renderImperatively(element: TargetElement): ImperativeHandler;
|
|
28
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export declare type ToastType = 'success' | 'error' | 'warning' | 'info' | 'loading';
|
|
4
|
-
export interface ToastProps {
|
|
5
|
-
/** Toast 类型 */
|
|
6
|
-
icon?: ToastType | React.ReactNode;
|
|
7
|
-
/** 显示的内容,支持文本或 React 节点 */
|
|
8
|
-
content: React.ReactNode;
|
|
9
|
-
/** 是否显示 */
|
|
10
|
-
open?: boolean;
|
|
11
|
-
/** 自动关闭时间,单位毫秒,0 表示不自动关闭 */
|
|
12
|
-
duration?: number;
|
|
13
|
-
/** 关闭 */
|
|
14
|
-
onCancel?: () => void;
|
|
15
|
-
/** 关闭后回调 */
|
|
16
|
-
afterClose?: () => void;
|
|
17
|
-
/** 自定义样式类名 */
|
|
18
|
-
className?: string;
|
|
19
|
-
/** 自定义样式 */
|
|
20
|
-
style?: React.CSSProperties;
|
|
21
|
-
/** 是否显示遮罩 */
|
|
22
|
-
mask?: boolean;
|
|
23
|
-
}
|
|
24
|
-
declare const Toast: React.FC<ToastProps>;
|
|
25
|
-
export default Toast;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellUrlProps } from './types';
|
|
3
|
-
import './PisellUrl.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellUrl URL 链接组件
|
|
6
|
-
*
|
|
7
|
-
* URL 链接输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design Input 组件开发,提供 URL 格式校验、协议自动补全、
|
|
9
|
-
* 链接跳转和协议/路径显示控制功能。
|
|
10
|
-
*
|
|
11
|
-
* @param props 组件 Props
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* // 编辑态(URL 输入)
|
|
15
|
-
* <PisellUrl
|
|
16
|
-
* placeholder="请输入网址"
|
|
17
|
-
* required
|
|
18
|
-
* />
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* // 只读态(可跳转)
|
|
22
|
-
* <PisellUrl
|
|
23
|
-
* mode="read"
|
|
24
|
-
* value="https://www.example.com"
|
|
25
|
-
* enableLinkClick
|
|
26
|
-
* />
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* // 协议自动补全
|
|
30
|
-
* <PisellUrl
|
|
31
|
-
* autoCompleteProtocol
|
|
32
|
-
* defaultProtocol="https://"
|
|
33
|
-
* />
|
|
34
|
-
*/
|
|
35
|
-
export declare const PisellUrl: React.FC<PisellUrlProps>;
|
|
36
|
-
declare const _default: React.NamedExoticComponent<PisellUrlProps>;
|
|
37
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface InputItem {
|
|
2
|
-
start_date: string;
|
|
3
|
-
end_date: string;
|
|
4
|
-
total: number;
|
|
5
|
-
num: number;
|
|
6
|
-
}
|
|
7
|
-
interface OutputItem {
|
|
8
|
-
start_date: string;
|
|
9
|
-
end_date: string;
|
|
10
|
-
total: number;
|
|
11
|
-
num: number;
|
|
12
|
-
}
|
|
13
|
-
export declare function formatDateRanges(list: InputItem[]): OutputItem[];
|
|
14
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface IProps {
|
|
4
|
-
isShowImage?: boolean;
|
|
5
|
-
dataSource: {
|
|
6
|
-
image?: string;
|
|
7
|
-
bundle?: any[];
|
|
8
|
-
options?: any[];
|
|
9
|
-
product_option_string?: string;
|
|
10
|
-
name?: string;
|
|
11
|
-
symbol?: string;
|
|
12
|
-
price?: string | number;
|
|
13
|
-
total?: number;
|
|
14
|
-
origin_total?: number;
|
|
15
|
-
num?: number;
|
|
16
|
-
holder_id?: any;
|
|
17
|
-
isFormSubject?: boolean;
|
|
18
|
-
totalDifference?: number;
|
|
19
|
-
};
|
|
20
|
-
style?: React.CSSProperties;
|
|
21
|
-
/** 作为主商品卡片展示
|
|
22
|
-
* 1. 影响商品数量 tag 的位置
|
|
23
|
-
* 2. isMain 且 type 为 a5,展示holder
|
|
24
|
-
*/
|
|
25
|
-
isMainProduct?: boolean;
|
|
26
|
-
type?: 'a2' | 'a5';
|
|
27
|
-
}
|
|
28
|
-
declare const BasicInfo: (props: IProps) => JSX.Element;
|
|
29
|
-
export default BasicInfo;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface IProps {
|
|
4
|
-
isShowImage?: boolean;
|
|
5
|
-
dataSource: {
|
|
6
|
-
bundle?: any[];
|
|
7
|
-
symbol?: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
declare const Packages: ({ isShowImage, dataSource }: IProps) => JSX.Element | null;
|
|
11
|
-
export default Packages;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 金额是否是负
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {string} type
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: WangHan
|
|
7
|
-
* @Date: 2024-11-22 10:01
|
|
8
|
-
*/
|
|
9
|
-
export declare const minusSign: (item: any, type?: string) => "-" | "";
|
|
10
|
-
/**
|
|
11
|
-
* @title: 金额格式化
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {number} price
|
|
14
|
-
* @param {string} amountSymbol
|
|
15
|
-
* @param {number} digit
|
|
16
|
-
* @return {*}
|
|
17
|
-
* @Author: WangHan
|
|
18
|
-
* @Date: 2024-11-22 10:58
|
|
19
|
-
*/
|
|
20
|
-
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface IProps {
|
|
4
|
-
hideDivider?: boolean;
|
|
5
|
-
dataSource: {
|
|
6
|
-
symbol?: string;
|
|
7
|
-
relation_products?: any[];
|
|
8
|
-
bundle?: any[];
|
|
9
|
-
};
|
|
10
|
-
isShowImage?: boolean;
|
|
11
|
-
}
|
|
12
|
-
declare const Sales: ({ hideDivider, dataSource, isShowImage }: IProps) => JSX.Element | null;
|
|
13
|
-
export default Sales;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare type NativeProps<S extends string = never> = {
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: React.CSSProperties & Partial<Record<S, string>>;
|
|
6
|
-
};
|
|
7
|
-
declare type PropagationEvent = 'click';
|
|
8
|
-
import './index.less';
|
|
9
|
-
declare type SideType = 'left' | 'right';
|
|
10
|
-
export declare type SwipeActionRef = {
|
|
11
|
-
close: () => void;
|
|
12
|
-
show: (side?: SideType) => void;
|
|
13
|
-
};
|
|
14
|
-
declare type ActionColor = 'light' | 'weak' | 'primary' | 'success' | 'warning' | 'danger';
|
|
15
|
-
export declare type Action = {
|
|
16
|
-
key: string | number;
|
|
17
|
-
text: ReactNode;
|
|
18
|
-
color?: ActionColor | string;
|
|
19
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
20
|
-
style?: React.CSSProperties;
|
|
21
|
-
};
|
|
22
|
-
export declare type SwipeActionProps = {
|
|
23
|
-
rightActions?: Action[];
|
|
24
|
-
leftActions?: Action[];
|
|
25
|
-
onAction?: (action: Action, e: React.MouseEvent) => void;
|
|
26
|
-
closeOnTouchOutside?: boolean;
|
|
27
|
-
closeOnAction?: boolean;
|
|
28
|
-
children: ReactNode;
|
|
29
|
-
stopPropagation?: PropagationEvent[];
|
|
30
|
-
onActionsReveal?: (side: SideType) => void;
|
|
31
|
-
onClose?: () => void;
|
|
32
|
-
escapeDom?: string;
|
|
33
|
-
} & NativeProps<'--background'>;
|
|
34
|
-
export declare const SwipeAction: React.ForwardRefExoticComponent<{
|
|
35
|
-
rightActions?: Action[] | undefined;
|
|
36
|
-
leftActions?: Action[] | undefined;
|
|
37
|
-
onAction?: ((action: Action, e: React.MouseEvent) => void) | undefined;
|
|
38
|
-
closeOnTouchOutside?: boolean | undefined;
|
|
39
|
-
closeOnAction?: boolean | undefined;
|
|
40
|
-
children: ReactNode;
|
|
41
|
-
stopPropagation?: "click"[] | undefined;
|
|
42
|
-
onActionsReveal?: ((side: SideType) => void) | undefined;
|
|
43
|
-
onClose?: (() => void) | undefined;
|
|
44
|
-
escapeDom?: string | undefined;
|
|
45
|
-
} & NativeProps<"--background"> & React.RefAttributes<SwipeActionRef>>;
|
|
46
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import 'dayjs/locale/zh-cn';
|
|
3
|
-
import 'dayjs/locale/en';
|
|
4
|
-
import 'dayjs/locale/zh-tw';
|
|
5
|
-
import 'dayjs/locale/ja';
|
|
6
|
-
import 'dayjs/locale/pt';
|
|
7
|
-
import './index.less';
|
|
8
|
-
declare const TimeRange: (props: any) => JSX.Element | null;
|
|
9
|
-
export default TimeRange;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
import { ProductCardTypes } from '../types';
|
|
4
|
-
interface ISKUCardProps extends ProductCardTypes {
|
|
5
|
-
type: 'a2' | 'a5';
|
|
6
|
-
rightActions: any[];
|
|
7
|
-
escapeDom?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const PREFIX = "pisell-cart-sku-card";
|
|
10
|
-
declare const CartSkuCard: (props: ISKUCardProps) => JSX.Element;
|
|
11
|
-
export default CartSkuCard;
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.product.card.discount.reason': string;
|
|
4
|
-
'pisell2.cart.sku-card.more': string;
|
|
5
|
-
'pisell2.cart.sku-card.packages.title': string;
|
|
6
|
-
'pisell2.cart.sku-card.sales.title': string;
|
|
7
|
-
'pisell2.cart.sku-card.actions.delete': string;
|
|
8
|
-
'pisell2.cart.sku-card.unassigned': string;
|
|
9
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
10
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
11
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
12
|
-
'pisell2.product.card.discount.note': string;
|
|
13
|
-
'pisell2.product.card.edit': string;
|
|
14
|
-
'pisell2.product.card.discount.add.note': string;
|
|
15
|
-
'pisell2.product.card.discount.edit.note': string;
|
|
16
|
-
'pisell2.product.card.confirm': string;
|
|
17
|
-
'pisell2.product.card.cancel': string;
|
|
18
|
-
'pisell2.product.card.note.pla': string;
|
|
19
|
-
'pisell2.product.card.items.package': string;
|
|
20
|
-
'pisell2.product.card.view-all': string;
|
|
21
|
-
'pisell2.product.card.view-less': string;
|
|
22
|
-
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
23
|
-
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
24
|
-
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
25
|
-
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
26
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
27
|
-
'pisell2.product.card.sales': string;
|
|
28
|
-
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
29
|
-
'pisell2.product.card.add.holder.modal.clear': string;
|
|
30
|
-
'pisell2.product.card.add.holder.modal.apply': string;
|
|
31
|
-
'pisell2.product.card.add.holder.modal.add': string;
|
|
32
|
-
'pisell2.product.card.closing-soon.warning': string;
|
|
33
|
-
};
|
|
34
|
-
'zh-CN': {
|
|
35
|
-
'pisell2.product.card.discount.reason': string;
|
|
36
|
-
'pisell2.cart.sku-card.more': string;
|
|
37
|
-
'pisell2.cart.sku-card.packages.title': string;
|
|
38
|
-
'pisell2.cart.sku-card.sales.title': string;
|
|
39
|
-
'pisell2.cart.sku-card.actions.delete': string;
|
|
40
|
-
'pisell2.cart.sku-card.unassigned': string;
|
|
41
|
-
'pisell2.product.card.edit': string;
|
|
42
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
43
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
44
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
45
|
-
'pisell2.product.card.discount.note': string;
|
|
46
|
-
'pisell2.product.card.discount.add.note': string;
|
|
47
|
-
'pisell2.product.card.discount.edit.note': string;
|
|
48
|
-
'pisell2.product.card.confirm': string;
|
|
49
|
-
'pisell2.product.card.cancel': string;
|
|
50
|
-
'pisell2.product.card.note.pla': string;
|
|
51
|
-
'pisell2.product.card.items.package': string;
|
|
52
|
-
'pisell2.product.card.view-all': string;
|
|
53
|
-
'pisell2.product.card.view-less': string;
|
|
54
|
-
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
55
|
-
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
56
|
-
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
57
|
-
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
58
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
59
|
-
'pisell2.product.card.sales': string;
|
|
60
|
-
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
61
|
-
'pisell2.product.card.add.holder.modal.clear': string;
|
|
62
|
-
'pisell2.product.card.add.holder.modal.apply': string;
|
|
63
|
-
'pisell2.product.card.add.holder.modal.add': string;
|
|
64
|
-
'pisell2.product.card.closing-soon.warning': string;
|
|
65
|
-
};
|
|
66
|
-
'zh-HK': {
|
|
67
|
-
'pisell2.product.card.discount.reason': string;
|
|
68
|
-
'pisell2.cart.sku-card.more': string;
|
|
69
|
-
'pisell2.cart.sku-card.packages.title': string;
|
|
70
|
-
'pisell2.cart.sku-card.sales.title': string;
|
|
71
|
-
'pisell2.cart.sku-card.actions.delete': string;
|
|
72
|
-
'pisell2.cart.sku-card.unassigned': string;
|
|
73
|
-
'pisell2.product.card.edit': string;
|
|
74
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
75
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
76
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
77
|
-
'pisell2.product.card.discount.note': string;
|
|
78
|
-
'pisell2.product.card.discount.add.note': string;
|
|
79
|
-
'pisell2.product.card.discount.edit.note': string;
|
|
80
|
-
'pisell2.product.card.confirm': string;
|
|
81
|
-
'pisell2.product.card.cancel': string;
|
|
82
|
-
'pisell2.product.card.note.pla': string;
|
|
83
|
-
'pisell2.product.card.items.package': string;
|
|
84
|
-
'pisell2.product.card.view-all': string;
|
|
85
|
-
'pisell2.product.card.view-less': string;
|
|
86
|
-
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
87
|
-
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
88
|
-
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
89
|
-
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
90
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
91
|
-
'pisell2.product.card.sales': string;
|
|
92
|
-
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
93
|
-
'pisell2.product.card.add.holder.modal.clear': string;
|
|
94
|
-
'pisell2.product.card.add.holder.modal.apply': string;
|
|
95
|
-
'pisell2.product.card.add.holder.modal.add': string;
|
|
96
|
-
'pisell2.product.card.closing-soon.warning': string;
|
|
97
|
-
};
|
|
98
|
-
ja: {
|
|
99
|
-
'pisell2.product.card.discount.reason': string;
|
|
100
|
-
'pisell2.cart.sku-card.more': string;
|
|
101
|
-
'pisell2.cart.sku-card.packages.title': string;
|
|
102
|
-
'pisell2.cart.sku-card.sales.title': string;
|
|
103
|
-
'pisell2.cart.sku-card.actions.delete': string;
|
|
104
|
-
'pisell2.cart.sku-card.unassigned': string;
|
|
105
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
106
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
107
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
108
|
-
'pisell2.product.card.discount.note': string;
|
|
109
|
-
'pisell2.product.card.edit': string;
|
|
110
|
-
'pisell2.product.card.discount.add.note': string;
|
|
111
|
-
'pisell2.product.card.discount.edit.note': string;
|
|
112
|
-
'pisell2.product.card.confirm': string;
|
|
113
|
-
'pisell2.product.card.cancel': string;
|
|
114
|
-
'pisell2.product.card.note.pla': string;
|
|
115
|
-
'pisell2.product.card.items.package': string;
|
|
116
|
-
'pisell2.product.card.view-all': string;
|
|
117
|
-
'pisell2.product.card.view-less': string;
|
|
118
|
-
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
119
|
-
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
120
|
-
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
121
|
-
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
122
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
123
|
-
'pisell2.product.card.sales': string;
|
|
124
|
-
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
125
|
-
'pisell2.product.card.add.holder.modal.clear': string;
|
|
126
|
-
'pisell2.product.card.add.holder.modal.apply': string;
|
|
127
|
-
'pisell2.product.card.add.holder.modal.add': string;
|
|
128
|
-
'pisell2.product.card.closing-soon.warning': string;
|
|
129
|
-
};
|
|
130
|
-
pt: {
|
|
131
|
-
'pisell2.product.card.discount.reason': string;
|
|
132
|
-
'pisell2.cart.sku-card.more': string;
|
|
133
|
-
'pisell2.cart.sku-card.packages.title': string;
|
|
134
|
-
'pisell2.cart.sku-card.sales.title': string;
|
|
135
|
-
'pisell2.cart.sku-card.actions.delete': string;
|
|
136
|
-
'pisell2.cart.sku-card.unassigned': string;
|
|
137
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
138
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
139
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
140
|
-
'pisell2.product.card.discount.note': string;
|
|
141
|
-
'pisell2.product.card.edit': string;
|
|
142
|
-
'pisell2.product.card.discount.add.note': string;
|
|
143
|
-
'pisell2.product.card.discount.edit.note': string;
|
|
144
|
-
'pisell2.product.card.confirm': string;
|
|
145
|
-
'pisell2.product.card.cancel': string;
|
|
146
|
-
'pisell2.product.card.note.pla': string;
|
|
147
|
-
'pisell2.product.card.items.package': string;
|
|
148
|
-
'pisell2.product.card.view-all': string;
|
|
149
|
-
'pisell2.product.card.view-less': string;
|
|
150
|
-
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
151
|
-
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
152
|
-
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
153
|
-
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
154
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
155
|
-
'pisell2.product.card.sales': string;
|
|
156
|
-
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
157
|
-
'pisell2.product.card.add.holder.modal.clear': string;
|
|
158
|
-
'pisell2.product.card.add.holder.modal.apply': string;
|
|
159
|
-
'pisell2.product.card.add.holder.modal.add': string;
|
|
160
|
-
'pisell2.product.card.closing-soon.warning': string;
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
4
|
-
export default SelectHolder;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface SelectHolderModalProps {
|
|
4
|
-
visible: boolean;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
onConfirm: (value: any) => void;
|
|
7
|
-
lists: any[];
|
|
8
|
-
value: any[];
|
|
9
|
-
holderMaxCount: number;
|
|
10
|
-
addHolderButtonText: string;
|
|
11
|
-
onAdd: () => void;
|
|
12
|
-
}
|
|
13
|
-
declare const SelectHolderModal: (props: SelectHolderModalProps) => JSX.Element;
|
|
14
|
-
export default SelectHolderModal;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ResourceItem {
|
|
4
|
-
id: string | number;
|
|
5
|
-
label: string;
|
|
6
|
-
isError?: boolean;
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}
|
|
9
|
-
interface SelectResourceProps {
|
|
10
|
-
lists: ResourceItem[];
|
|
11
|
-
value: any;
|
|
12
|
-
onChange: (val: any) => void;
|
|
13
|
-
resourceMode?: 'multiple' | 'tags' | undefined;
|
|
14
|
-
maxLength?: number;
|
|
15
|
-
isParallelResource?: boolean;
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
}
|
|
18
|
-
declare const SelectResource: ({ lists, value, onChange, resourceMode, allowClear, onClearResource, maxLength, isErrorResource, resourceErrorText, ...props }: SelectResourceProps) => JSX.Element;
|
|
19
|
-
export default SelectResource;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
|
|
4
|
-
export default Time;
|