@pisell/materials 6.11.108 → 6.11.109
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/es/components/Pagination/index.d.ts +13 -0
- package/es/components/PisellCards/index.d.ts +15 -0
- package/es/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/es/components/PisellTabbar/constants.d.ts +47 -0
- package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
- package/es/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
- package/es/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/es/components/PisellTabbar/types.d.ts +90 -0
- package/es/components/PisellTabbar/utils/index.d.ts +69 -0
- package/es/components/SafeAreaTop/index.d.ts +5 -0
- package/es/components/SafeAreaTop/types.d.ts +9 -0
- package/es/components/appVersionControl/index.d.ts +4 -0
- package/es/components/buttonGroupPreview/index.d.ts +19 -0
- package/es/components/cardPro/index.d.ts +3 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +3 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +4 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +48 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +3 -0
- package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
- package/es/components/drawer/index.d.ts +3 -0
- package/es/components/filter/components/Dropdown/index.d.ts +10 -0
- package/es/components/filter/components/Dropdown/types.d.ts +15 -0
- package/es/components/filter/components/FilterButton/index.d.ts +5 -0
- package/es/components/filter/components/FilterButton/types.d.ts +29 -0
- package/es/components/filter/components/FilterItem/index.d.ts +9 -0
- package/es/components/filter/components/QuickFilter/index.d.ts +16 -0
- package/es/components/filter/types.d.ts +52 -0
- package/es/components/iconfont/index.d.ts +8 -0
- package/es/components/keyboard/index.d.ts +22 -0
- package/es/components/page/index.d.ts +0 -1
- package/es/components/pisell-config-provider/context.d.ts +22 -0
- package/es/components/pisell-config-provider/index.d.ts +13 -0
- package/es/components/pisellAdjustPrice/index.d.ts +0 -1
- package/es/components/pisellAdjustPrice/status.d.ts +32 -0
- package/es/components/pisellAdjustPrice/type.d.ts +22 -0
- package/es/components/pisellCurrency/PisellCurrency.d.ts +39 -0
- package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +6 -0
- package/es/components/pisellEmail/PisellEmail.d.ts +37 -0
- package/es/components/pisellEmpty/index.d.ts +19 -0
- package/es/components/pisellFilter/index.d.ts +3 -0
- package/es/components/pisellFilter/type.d.ts +7 -0
- package/es/components/pisellFind/index.d.ts +62 -0
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +13 -0
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +59 -0
- package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +29 -0
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +22 -0
- package/es/components/pisellFloorMapLayout/components/EdgeLayer.d.ts +37 -0
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +66 -0
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +39 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +7 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.d.ts +13 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +11 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +64 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +44 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +84 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +20 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +6 -0
- package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +59 -0
- package/es/components/pisellFloorMapLayout/components/NodePortMarkers.d.ts +20 -0
- package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +61 -0
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +28 -0
- package/es/components/pisellFloorMapLayout/components/index.d.ts +23 -0
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.d.ts +61 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +15 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +85 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +91 -0
- package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
- package/es/components/pisellFloorMapLayout/index.d.ts +37 -0
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +184 -0
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +184 -0
- package/es/components/pisellFloorMapLayout/locales.d.ts +969 -0
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
- package/es/components/pisellFloorMapLayout/types.d.ts +778 -0
- package/es/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.d.ts +45 -0
- package/es/components/pisellFloorMapLayout/utils/edgeRouting.d.ts +267 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +20 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasStage.d.ts +83 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +21 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +35 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.d.ts +44 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.d.ts +34 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
- package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
- package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
- package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
- package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
- package/es/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
- package/es/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
- package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/es/components/pisellInput/index.d.ts +0 -1
- package/es/components/pisellLongText/PisellLongText.d.ts +39 -0
- package/es/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/es/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +9 -0
- package/es/components/pisellMultipleSelect/components/EditView.d.ts +8 -0
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +5 -0
- package/es/components/pisellNumber/PisellNumber.d.ts +42 -0
- package/es/components/pisellPhone/PisellPhone.d.ts +36 -0
- package/es/components/pisellPhone/components/EditView.d.ts +19 -0
- package/es/components/pisellPhone/constants/countryCodes.d.ts +20 -0
- package/es/components/pisellPhone/types.d.ts +209 -0
- package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/es/components/pisellRating/PisellRating.d.ts +31 -0
- package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +9 -0
- package/es/components/pisellRecordBoard/index.d.ts +53 -0
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +11 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +43 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +26 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +7 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.d.ts +26 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +19 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +9 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +236 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.d.ts +7 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +21 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +49 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +23 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +57 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +27 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.d.ts +11 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.d.ts +3 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.d.ts +3 -0
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +12 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +50 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +22 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +58 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +64 -0
- package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +24 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +12 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +13 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +19 -0
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
- package/es/components/pisellRecordBoard/types.d.ts +874 -0
- package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +23 -0
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
- package/es/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +27 -0
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +10 -0
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +10 -0
- package/es/components/pisellReservationScheduleBand/index.d.ts +3 -0
- package/es/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
- package/es/components/pisellShellFrame/types.d.ts +62 -0
- package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +40 -0
- package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +9 -0
- package/es/components/pisellStatisticList/index.d.ts +22 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +10 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/es/components/pisellTimeNavigator/components/NowButton.d.ts +14 -0
- package/es/components/pisellTimeNavigator/index.d.ts +5 -0
- package/es/components/pisellToast/squareToast/index.d.ts +15 -0
- package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/es/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
- package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
- package/es/components/pisellUrl/PisellUrl.d.ts +37 -0
- package/es/components/pisellWalletPassCard/index.d.ts +146 -0
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/BookingItem/index.d.ts +10 -0
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +4 -0
- package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +36 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +11 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +21 -0
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +8 -0
- package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +22 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +13 -0
- package/es/components/productCard/cartSkuCard/locales.d.ts +203 -0
- package/es/components/productCard/components/Action/index.d.ts +3 -0
- package/es/components/productCard/components/Header/EditButton/index.d.ts +3 -0
- package/es/components/productCard/components/Header/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Sales/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
- package/es/components/productCard/components/Time/index.d.ts +4 -0
- package/es/components/productCard/lineItem/BookingLineItem.d.ts +19 -0
- package/es/components/productCard/lineItem/components/Holders/index.d.ts +9 -0
- package/es/components/productCard/lineItem/components/Resources/index.d.ts +6 -0
- package/es/components/productCard/lineItem/components/TimeRange/index.d.ts +11 -0
- package/es/components/productCard/lineItem/locales.d.ts +23 -0
- package/es/components/productCard/lineItem/types.d.ts +13 -0
- package/es/components/productCard/locales.d.ts +138 -0
- package/es/components/productCard/status.d.ts +32 -0
- package/es/components/productCard/types.d.ts +96 -0
- package/es/components/select/index.d.ts +9 -0
- package/es/components/select-time/index.d.ts +13 -0
- package/es/components/table/Actions/component/ExportImport/index.d.ts +8 -0
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +9 -0
- package/es/components/table/Actions/component/ViewMode/index.d.ts +9 -0
- package/es/components/table/BasicTable/index.d.ts +3 -0
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/es/components/table/Gallery/index.d.ts +5 -0
- package/es/components/table/Table/index.d.ts +4 -0
- package/es/components/table/Table/utils.d.ts +161 -0
- package/es/components/table/hooks/useTableSetting.d.ts +21 -0
- package/es/components/table/hooks/useTransDataSource.d.ts +11 -0
- package/es/components/table/types.d.ts +268 -0
- package/es/components/translation/index.d.ts +17 -0
- package/es/components/versionModal/index.d.ts +23 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/es/hooks/useResponsive.d.ts +1 -1
- package/es/index.d.ts +271 -0
- package/es/locales/en-US.d.ts +565 -0
- package/es/locales/ja.d.ts +533 -0
- package/es/locales/pt.d.ts +533 -0
- package/es/locales/zh-CN.d.ts +560 -0
- package/es/locales/zh-TW.d.ts +560 -0
- package/lib/components/Pagination/index.d.ts +13 -0
- package/lib/components/PisellCards/index.d.ts +15 -0
- package/lib/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/lib/components/PisellTabbar/constants.d.ts +47 -0
- package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
- package/lib/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
- package/lib/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/lib/components/PisellTabbar/types.d.ts +90 -0
- package/lib/components/PisellTabbar/utils/index.d.ts +69 -0
- package/lib/components/SafeAreaTop/index.d.ts +5 -0
- package/lib/components/SafeAreaTop/types.d.ts +9 -0
- package/lib/components/appVersionControl/index.d.ts +4 -0
- package/lib/components/buttonGroupPreview/index.d.ts +19 -0
- package/lib/components/cardPro/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +4 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +48 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
- package/lib/components/drawer/index.d.ts +3 -0
- package/lib/components/filter/components/Dropdown/index.d.ts +10 -0
- package/lib/components/filter/components/Dropdown/types.d.ts +15 -0
- package/lib/components/filter/components/FilterButton/index.d.ts +5 -0
- package/lib/components/filter/components/FilterButton/types.d.ts +29 -0
- package/lib/components/filter/components/FilterItem/index.d.ts +9 -0
- package/lib/components/filter/components/QuickFilter/index.d.ts +16 -0
- package/lib/components/filter/types.d.ts +52 -0
- package/lib/components/iconfont/index.d.ts +8 -0
- package/lib/components/keyboard/index.d.ts +22 -0
- package/lib/components/page/index.d.ts +0 -1
- package/lib/components/pisell-config-provider/context.d.ts +22 -0
- package/lib/components/pisell-config-provider/index.d.ts +13 -0
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
- package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
- package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
- package/lib/components/pisellCurrency/PisellCurrency.d.ts +39 -0
- package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +6 -0
- package/lib/components/pisellEmail/PisellEmail.d.ts +37 -0
- package/lib/components/pisellEmpty/index.d.ts +19 -0
- package/lib/components/pisellFilter/index.d.ts +3 -0
- package/lib/components/pisellFilter/type.d.ts +7 -0
- package/lib/components/pisellFind/index.d.ts +62 -0
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +13 -0
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +59 -0
- package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +29 -0
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +22 -0
- package/lib/components/pisellFloorMapLayout/components/EdgeLayer.d.ts +37 -0
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +66 -0
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +39 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +7 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.d.ts +13 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +11 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +64 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +44 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +84 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +20 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +6 -0
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +59 -0
- package/lib/components/pisellFloorMapLayout/components/NodePortMarkers.d.ts +20 -0
- package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +61 -0
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +28 -0
- package/lib/components/pisellFloorMapLayout/components/index.d.ts +23 -0
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.d.ts +61 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +15 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +85 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +91 -0
- package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
- package/lib/components/pisellFloorMapLayout/index.d.ts +37 -0
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +184 -0
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +184 -0
- package/lib/components/pisellFloorMapLayout/locales.d.ts +969 -0
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
- package/lib/components/pisellFloorMapLayout/types.d.ts +778 -0
- package/lib/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.d.ts +45 -0
- package/lib/components/pisellFloorMapLayout/utils/edgeRouting.d.ts +267 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +20 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasStage.d.ts +83 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +21 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +35 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.d.ts +44 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.d.ts +34 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
- package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
- package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
- package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
- package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
- package/lib/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
- package/lib/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
- package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/lib/components/pisellInput/index.d.ts +0 -1
- package/lib/components/pisellLongText/PisellLongText.d.ts +39 -0
- package/lib/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/lib/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +9 -0
- package/lib/components/pisellMultipleSelect/components/EditView.d.ts +8 -0
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +5 -0
- package/lib/components/pisellNumber/PisellNumber.d.ts +42 -0
- package/lib/components/pisellPhone/PisellPhone.d.ts +36 -0
- package/lib/components/pisellPhone/components/EditView.d.ts +19 -0
- package/lib/components/pisellPhone/constants/countryCodes.d.ts +20 -0
- package/lib/components/pisellPhone/types.d.ts +209 -0
- package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/lib/components/pisellRating/PisellRating.d.ts +31 -0
- package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +9 -0
- package/lib/components/pisellRecordBoard/index.d.ts +53 -0
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +11 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +43 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +26 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +7 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.d.ts +26 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +19 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +9 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +236 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.d.ts +7 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +21 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +49 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +23 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +57 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +27 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.d.ts +11 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.d.ts +3 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.d.ts +3 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +12 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +50 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +22 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +58 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +64 -0
- package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +24 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +12 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +13 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +19 -0
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
- package/lib/components/pisellRecordBoard/types.d.ts +874 -0
- package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +23 -0
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
- package/lib/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +27 -0
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +10 -0
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +10 -0
- package/lib/components/pisellReservationScheduleBand/index.d.ts +3 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
- package/lib/components/pisellShellFrame/types.d.ts +62 -0
- package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +40 -0
- package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +9 -0
- package/lib/components/pisellStatisticList/index.d.ts +22 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +10 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +14 -0
- package/lib/components/pisellTimeNavigator/index.d.ts +5 -0
- package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
- package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
- package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
- package/lib/components/pisellUrl/PisellUrl.d.ts +37 -0
- package/lib/components/pisellWalletPassCard/index.d.ts +146 -0
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/BookingItem/index.d.ts +10 -0
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +4 -0
- package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +36 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +11 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +21 -0
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +8 -0
- package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +22 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +13 -0
- package/lib/components/productCard/cartSkuCard/locales.d.ts +203 -0
- package/lib/components/productCard/components/Action/index.d.ts +3 -0
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +3 -0
- package/lib/components/productCard/components/Header/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Sales/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
- package/lib/components/productCard/components/Time/index.d.ts +4 -0
- package/lib/components/productCard/lineItem/BookingLineItem.d.ts +19 -0
- package/lib/components/productCard/lineItem/components/Holders/index.d.ts +9 -0
- package/lib/components/productCard/lineItem/components/Resources/index.d.ts +6 -0
- package/lib/components/productCard/lineItem/components/TimeRange/index.d.ts +11 -0
- package/lib/components/productCard/lineItem/locales.d.ts +23 -0
- package/lib/components/productCard/lineItem/types.d.ts +13 -0
- package/lib/components/productCard/locales.d.ts +138 -0
- package/lib/components/productCard/status.d.ts +32 -0
- package/lib/components/productCard/types.d.ts +96 -0
- package/lib/components/select/index.d.ts +9 -0
- package/lib/components/select-time/index.d.ts +13 -0
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +8 -0
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +9 -0
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +9 -0
- package/lib/components/table/BasicTable/index.d.ts +3 -0
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/lib/components/table/Gallery/index.d.ts +5 -0
- package/lib/components/table/Table/index.d.ts +4 -0
- package/lib/components/table/Table/utils.d.ts +161 -0
- package/lib/components/table/hooks/useTableSetting.d.ts +21 -0
- package/lib/components/table/hooks/useTransDataSource.d.ts +11 -0
- package/lib/components/table/types.d.ts +268 -0
- package/lib/components/translation/index.d.ts +17 -0
- package/lib/components/versionModal/index.d.ts +23 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/lib/hooks/useResponsive.d.ts +1 -1
- package/lib/index.d.ts +271 -0
- package/lib/locales/en-US.d.ts +565 -0
- package/lib/locales/ja.d.ts +533 -0
- package/lib/locales/pt.d.ts +533 -0
- package/lib/locales/zh-CN.d.ts +560 -0
- package/lib/locales/zh-TW.d.ts +560 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
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;
|
|
@@ -0,0 +1,4 @@
|
|
|
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;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ProductCardTypes } from '../types';
|
|
2
|
+
import type { LineItemHolderOption, LineItemStatusOption, LineItemType } from './types';
|
|
3
|
+
interface BookingLineItemProps extends Omit<ProductCardTypes, 'dataSource'> {
|
|
4
|
+
dataSource: any;
|
|
5
|
+
type: LineItemType;
|
|
6
|
+
cartSkuType: 'a2' | 'a5' | 'a9';
|
|
7
|
+
isShowBookingHeader: boolean;
|
|
8
|
+
relatedProductDataSource?: any;
|
|
9
|
+
rightActions?: any[];
|
|
10
|
+
escapeDom?: string;
|
|
11
|
+
statusOptions?: LineItemStatusOption[];
|
|
12
|
+
statusLoading?: boolean;
|
|
13
|
+
statusDisabled?: boolean;
|
|
14
|
+
isShowRelatedProduct?: boolean;
|
|
15
|
+
holderOptions?: LineItemHolderOption[];
|
|
16
|
+
onBookingStatusChange?: (status: string, item: any) => void;
|
|
17
|
+
}
|
|
18
|
+
declare const BookingLineItem: (props: BookingLineItemProps) => JSX.Element | null;
|
|
19
|
+
export default BookingLineItem;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { LineItemHolderOption } from '../../types';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface LineItemHoldersProps {
|
|
4
|
+
dataSource?: any;
|
|
5
|
+
holderOptions?: LineItemHolderOption[];
|
|
6
|
+
isFormSubject?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const LineItemHolders: (props: LineItemHoldersProps) => JSX.Element | null;
|
|
9
|
+
export default LineItemHolders;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import 'dayjs/locale/zh-cn';
|
|
2
|
+
import 'dayjs/locale/en';
|
|
3
|
+
import 'dayjs/locale/zh-tw';
|
|
4
|
+
import 'dayjs/locale/ja';
|
|
5
|
+
import 'dayjs/locale/pt';
|
|
6
|
+
import '../../../cartSkuCard/components/timeRange/index.less';
|
|
7
|
+
interface LineItemTimeRangeProps {
|
|
8
|
+
dataSource?: any;
|
|
9
|
+
}
|
|
10
|
+
declare const LineItemTimeRange: (props: LineItemTimeRangeProps) => JSX.Element | null;
|
|
11
|
+
export default LineItemTimeRange;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.line-item.resource': string;
|
|
4
|
+
'pisell2.line-item.time': string;
|
|
5
|
+
};
|
|
6
|
+
'zh-CN': {
|
|
7
|
+
'pisell2.line-item.resource': string;
|
|
8
|
+
'pisell2.line-item.time': string;
|
|
9
|
+
};
|
|
10
|
+
'zh-HK': {
|
|
11
|
+
'pisell2.line-item.resource': string;
|
|
12
|
+
'pisell2.line-item.time': string;
|
|
13
|
+
};
|
|
14
|
+
ja: {
|
|
15
|
+
'pisell2.line-item.resource': string;
|
|
16
|
+
'pisell2.line-item.time': string;
|
|
17
|
+
};
|
|
18
|
+
pt: {
|
|
19
|
+
'pisell2.line-item.resource': string;
|
|
20
|
+
'pisell2.line-item.time': string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export declare type LineItemType = 'a2' | 'a5' | 'a9';
|
|
3
|
+
export declare type itemType = 'booking' | 'product';
|
|
4
|
+
export interface LineItemStatusOption {
|
|
5
|
+
key: string;
|
|
6
|
+
label: ReactNode;
|
|
7
|
+
color?: string;
|
|
8
|
+
danger?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface LineItemHolderOption {
|
|
11
|
+
id: string | number;
|
|
12
|
+
label: ReactNode;
|
|
13
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
4
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
5
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
6
|
+
'pisell2.product.card.discount.reason': string;
|
|
7
|
+
'pisell2.product.card.discount.note': string;
|
|
8
|
+
'pisell2.product.card.edit': string;
|
|
9
|
+
'pisell2.product.card.discount.add.note': string;
|
|
10
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
11
|
+
'pisell2.product.card.confirm': string;
|
|
12
|
+
'pisell2.product.card.cancel': string;
|
|
13
|
+
'pisell2.product.card.note.pla': string;
|
|
14
|
+
'pisell2.product.card.items.package': string;
|
|
15
|
+
'pisell2.product.card.view-all': string;
|
|
16
|
+
'pisell2.product.card.view-less': string;
|
|
17
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
18
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
19
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
20
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
21
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
22
|
+
'pisell2.product.card.sales': string;
|
|
23
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
24
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
25
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
26
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
27
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
28
|
+
};
|
|
29
|
+
'zh-CN': {
|
|
30
|
+
'pisell2.product.card.edit': string;
|
|
31
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
32
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
33
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
34
|
+
'pisell2.product.card.discount.reason': string;
|
|
35
|
+
'pisell2.product.card.discount.note': string;
|
|
36
|
+
'pisell2.product.card.discount.add.note': string;
|
|
37
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
38
|
+
'pisell2.product.card.confirm': string;
|
|
39
|
+
'pisell2.product.card.cancel': string;
|
|
40
|
+
'pisell2.product.card.note.pla': string;
|
|
41
|
+
'pisell2.product.card.items.package': string;
|
|
42
|
+
'pisell2.product.card.view-all': string;
|
|
43
|
+
'pisell2.product.card.view-less': string;
|
|
44
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
45
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
46
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
47
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
48
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
49
|
+
'pisell2.product.card.sales': string;
|
|
50
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
51
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
52
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
53
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
54
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
55
|
+
};
|
|
56
|
+
'zh-HK': {
|
|
57
|
+
'pisell2.product.card.edit': string;
|
|
58
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
59
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
60
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
61
|
+
'pisell2.product.card.discount.reason': string;
|
|
62
|
+
'pisell2.product.card.discount.note': string;
|
|
63
|
+
'pisell2.product.card.discount.add.note': string;
|
|
64
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
65
|
+
'pisell2.product.card.confirm': string;
|
|
66
|
+
'pisell2.product.card.cancel': string;
|
|
67
|
+
'pisell2.product.card.note.pla': string;
|
|
68
|
+
'pisell2.product.card.items.package': string;
|
|
69
|
+
'pisell2.product.card.view-all': string;
|
|
70
|
+
'pisell2.product.card.view-less': string;
|
|
71
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
72
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
73
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
74
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
75
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
76
|
+
'pisell2.product.card.sales': string;
|
|
77
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
78
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
79
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
80
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
81
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
82
|
+
};
|
|
83
|
+
ja: {
|
|
84
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
85
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
86
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
87
|
+
'pisell2.product.card.discount.reason': string;
|
|
88
|
+
'pisell2.product.card.discount.note': string;
|
|
89
|
+
'pisell2.product.card.edit': string;
|
|
90
|
+
'pisell2.product.card.discount.add.note': string;
|
|
91
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
92
|
+
'pisell2.product.card.confirm': string;
|
|
93
|
+
'pisell2.product.card.cancel': string;
|
|
94
|
+
'pisell2.product.card.note.pla': string;
|
|
95
|
+
'pisell2.product.card.items.package': string;
|
|
96
|
+
'pisell2.product.card.view-all': string;
|
|
97
|
+
'pisell2.product.card.view-less': string;
|
|
98
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
99
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
100
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
101
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
102
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
103
|
+
'pisell2.product.card.sales': string;
|
|
104
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
105
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
106
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
107
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
108
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
109
|
+
};
|
|
110
|
+
pt: {
|
|
111
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
112
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
113
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
114
|
+
'pisell2.product.card.discount.reason': string;
|
|
115
|
+
'pisell2.product.card.discount.note': string;
|
|
116
|
+
'pisell2.product.card.edit': string;
|
|
117
|
+
'pisell2.product.card.discount.add.note': string;
|
|
118
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
119
|
+
'pisell2.product.card.confirm': string;
|
|
120
|
+
'pisell2.product.card.cancel': string;
|
|
121
|
+
'pisell2.product.card.note.pla': string;
|
|
122
|
+
'pisell2.product.card.items.package': string;
|
|
123
|
+
'pisell2.product.card.view-all': string;
|
|
124
|
+
'pisell2.product.card.view-less': string;
|
|
125
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
126
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
127
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
128
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
129
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
130
|
+
'pisell2.product.card.sales': string;
|
|
131
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
132
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
133
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
134
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
135
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ProductCardTypes, bundleType, optionType, productType } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* @title: 套餐数据
|
|
4
|
+
* @description:
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: WangHan
|
|
7
|
+
* @Date: 2025-01-02 23:21
|
|
8
|
+
*/
|
|
9
|
+
export declare const defaultBundle: bundleType;
|
|
10
|
+
/**
|
|
11
|
+
* @description: 单规格
|
|
12
|
+
* @return {*}
|
|
13
|
+
* @Author: WangHan
|
|
14
|
+
* @Date: 2025-01-02 23:00
|
|
15
|
+
*/
|
|
16
|
+
export declare const defaultOption: optionType;
|
|
17
|
+
/**
|
|
18
|
+
* @title: 商品商品类型
|
|
19
|
+
* @description:
|
|
20
|
+
* @return {*}
|
|
21
|
+
* @Author: WangHan
|
|
22
|
+
* @Date: 2025-01-02 22:48
|
|
23
|
+
*/
|
|
24
|
+
export declare const defaultProduct: productType;
|
|
25
|
+
/**
|
|
26
|
+
* @title: 默认数据
|
|
27
|
+
* @description:
|
|
28
|
+
* @return {*}
|
|
29
|
+
* @Author: WangHan
|
|
30
|
+
* @Date: 2024-12-12 16:49
|
|
31
|
+
*/
|
|
32
|
+
export declare const defaultValue: ProductCardTypes;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
export declare type bundleType = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
num: number;
|
|
5
|
+
price: number;
|
|
6
|
+
total: number;
|
|
7
|
+
origin_total?: number;
|
|
8
|
+
price_type?: string;
|
|
9
|
+
options?: optionType[];
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @description:
|
|
13
|
+
* @return {*}
|
|
14
|
+
* @Author: WangHan
|
|
15
|
+
* @Date: 2025-01-02 23:00
|
|
16
|
+
*/
|
|
17
|
+
export declare type optionType = {
|
|
18
|
+
id: number;
|
|
19
|
+
name: string;
|
|
20
|
+
num: number;
|
|
21
|
+
price: number;
|
|
22
|
+
total: number;
|
|
23
|
+
origin_total?: number;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @title: 商品商品类型
|
|
27
|
+
* @description:
|
|
28
|
+
* @return {*}
|
|
29
|
+
* @Author: WangHan
|
|
30
|
+
* @Date: 2025-01-02 22:48
|
|
31
|
+
*/
|
|
32
|
+
export declare type productType = {
|
|
33
|
+
_id: string | number;
|
|
34
|
+
id: number;
|
|
35
|
+
name: string;
|
|
36
|
+
price: number;
|
|
37
|
+
total: number;
|
|
38
|
+
num: number;
|
|
39
|
+
origin_total?: number;
|
|
40
|
+
image?: string;
|
|
41
|
+
isShowNote?: boolean;
|
|
42
|
+
note?: string;
|
|
43
|
+
like_status?: string;
|
|
44
|
+
bundle?: bundleType[];
|
|
45
|
+
options?: optionType[];
|
|
46
|
+
isShowAction?: boolean;
|
|
47
|
+
actionText?: string;
|
|
48
|
+
errorMessage?: string;
|
|
49
|
+
product_option_string?: string;
|
|
50
|
+
discount_reason?: string;
|
|
51
|
+
relation_products?: any[];
|
|
52
|
+
resource_id?: string | number;
|
|
53
|
+
relation_form_name?: string;
|
|
54
|
+
holder_title?: string;
|
|
55
|
+
start_date?: string;
|
|
56
|
+
end_date?: string;
|
|
57
|
+
is_show_duration?: boolean;
|
|
58
|
+
is_show_week?: boolean;
|
|
59
|
+
promotions?: any[];
|
|
60
|
+
isGift?: boolean;
|
|
61
|
+
giftData?: any;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* 排序总配置
|
|
65
|
+
*/
|
|
66
|
+
export declare type ProductCardTypes = {
|
|
67
|
+
dataSource: productType;
|
|
68
|
+
isFormSubject?: boolean;
|
|
69
|
+
isShowImage?: boolean;
|
|
70
|
+
isShowOriginalPrice?: boolean;
|
|
71
|
+
isShowHolder?: boolean;
|
|
72
|
+
isShowNote?: boolean;
|
|
73
|
+
isShowPackageNote?: boolean;
|
|
74
|
+
isShowDelete?: boolean;
|
|
75
|
+
isShowEditProduct?: boolean;
|
|
76
|
+
isShowAmountFooter?: boolean;
|
|
77
|
+
disabledEdit?: boolean;
|
|
78
|
+
locale?: string;
|
|
79
|
+
symbol?: string;
|
|
80
|
+
isShowChangeHolder?: boolean;
|
|
81
|
+
isShowChangeResource?: boolean;
|
|
82
|
+
isShowChangeDate?: boolean;
|
|
83
|
+
disabledClick?: boolean;
|
|
84
|
+
disabledEditClick?: boolean;
|
|
85
|
+
onAction?: (val: any) => void;
|
|
86
|
+
onDelete?: (val: any) => void;
|
|
87
|
+
onNote?: (val: any) => void;
|
|
88
|
+
onLike?: (val: any) => void;
|
|
89
|
+
onCard?: (val: any) => void;
|
|
90
|
+
onChangeResource?: (val: any) => void;
|
|
91
|
+
onPromotion?: (val: any) => void;
|
|
92
|
+
onEditProduct?: (val: any) => void;
|
|
93
|
+
onGift?: (val: any) => void;
|
|
94
|
+
osWarnTips?: Array<string>;
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Select as OriginalSelect } from 'antd';
|
|
3
|
+
import type { SelectProps } from 'antd';
|
|
4
|
+
import './index.less';
|
|
5
|
+
interface CompoundedComponent extends React.ForwardRefExoticComponent<SelectProps> {
|
|
6
|
+
Option: typeof OriginalSelect.Option;
|
|
7
|
+
}
|
|
8
|
+
declare const Select: CompoundedComponent;
|
|
9
|
+
export default Select;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time";
|
|
2
|
+
import { PopoverProps, TimePickerProps } from "antd";
|
|
3
|
+
import "./index.less";
|
|
4
|
+
interface SelectTimeProps {
|
|
5
|
+
value: any;
|
|
6
|
+
onChange: (e: string) => void;
|
|
7
|
+
popoverProps: PopoverProps;
|
|
8
|
+
timePickerProps: TimePickerProps;
|
|
9
|
+
timeProps: VirtualKeyboardTimeProps;
|
|
10
|
+
slice: number;
|
|
11
|
+
}
|
|
12
|
+
declare const SelectTime: (props: SelectTimeProps) => JSX.Element;
|
|
13
|
+
export default SelectTime;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ExportImportType } from '../../../types';
|
|
3
|
+
import './index.less';
|
|
4
|
+
declare type ExportImportProps = {
|
|
5
|
+
exportImport: ExportImportType;
|
|
6
|
+
};
|
|
7
|
+
declare const ExportImport: ({ exportImport }: ExportImportProps) => JSX.Element;
|
|
8
|
+
export default ExportImport;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GallerySettingType, ModeType } from "../../../types";
|
|
3
|
+
import "./index.less";
|
|
4
|
+
declare type GallerySettingProps = {
|
|
5
|
+
setting: GallerySettingType;
|
|
6
|
+
currentViewMode: ModeType;
|
|
7
|
+
};
|
|
8
|
+
declare const GallerySetting: (props: GallerySettingProps) => JSX.Element;
|
|
9
|
+
export default GallerySetting;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GridViewType, ModeType } from "../../../types";
|
|
3
|
+
declare type ViewModeProps = {
|
|
4
|
+
view: GridViewType;
|
|
5
|
+
value?: ModeType;
|
|
6
|
+
onChange?: (value: ModeType) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const ViewMode: (props: ViewModeProps) => JSX.Element;
|
|
9
|
+
export default ViewMode;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { GallerySettingType, GallerySettingValueType } from "../../../types";
|
|
3
|
+
import "./index.less";
|
|
4
|
+
declare type GalleryItemProps = {
|
|
5
|
+
record: Record<string, any>;
|
|
6
|
+
gallery: GallerySettingType;
|
|
7
|
+
columnsMap: Map<string, Record<string, any>>;
|
|
8
|
+
index: number;
|
|
9
|
+
gallerySetting: GallerySettingValueType;
|
|
10
|
+
columns: Record<string, any>[];
|
|
11
|
+
onClick: React.MouseEventHandler<HTMLDivElement>;
|
|
12
|
+
};
|
|
13
|
+
declare const GalleryItem: (props: GalleryItemProps) => JSX.Element;
|
|
14
|
+
export default GalleryItem;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { GroupValue } from "../Actions/component/Group/PopoverContent";
|
|
2
|
+
import { FilterItemProps, FilterType } from "../../filter/types";
|
|
3
|
+
import { ColumnSettingType, DataSourceGroupType, GallerySettingValueType, ModeType, SortType } from "../types";
|
|
4
|
+
export declare const getHash: (obj: any) => any;
|
|
5
|
+
export declare const calcFilterSort: ({ dataSource, filter, sort, columns }: any) => any;
|
|
6
|
+
/**
|
|
7
|
+
* 合并列设置
|
|
8
|
+
* @param defaultColumns 默认列设置
|
|
9
|
+
* @param tableId 表ID
|
|
10
|
+
* @returns 合并后的列设置
|
|
11
|
+
*/
|
|
12
|
+
export declare const mergeColumnSetting: ({ columns, tableId, currentViewMode, }: {
|
|
13
|
+
columns: Record<string, any>[];
|
|
14
|
+
tableId?: string | undefined;
|
|
15
|
+
currentViewMode: ModeType;
|
|
16
|
+
}) => {
|
|
17
|
+
isShow: boolean;
|
|
18
|
+
}[] | ({
|
|
19
|
+
width: any;
|
|
20
|
+
isShow: any;
|
|
21
|
+
sortIndex: number;
|
|
22
|
+
} | {
|
|
23
|
+
isShow: boolean;
|
|
24
|
+
sortIndex: number;
|
|
25
|
+
})[];
|
|
26
|
+
/**
|
|
27
|
+
* 对数据源进行排序
|
|
28
|
+
* @param dataSource 数据源数组
|
|
29
|
+
* @param sortObj 排序对象,包含排序的键、值和类型
|
|
30
|
+
* @returns 排序后的数据源数组
|
|
31
|
+
*/
|
|
32
|
+
export declare const sortDataSource: (dataSource: Record<string, any>[], sortObj: {
|
|
33
|
+
sortKey: string;
|
|
34
|
+
sortValue: "asc" | "desc";
|
|
35
|
+
sortType: "date" | "string" | "number";
|
|
36
|
+
}) => Record<string, any>[];
|
|
37
|
+
/**
|
|
38
|
+
* 根据行键获取 ID
|
|
39
|
+
* @param item 记录对象
|
|
40
|
+
* @param rowKey 行键,可以是字符串或函数
|
|
41
|
+
* @returns 返回 ID
|
|
42
|
+
*/
|
|
43
|
+
export declare const getIdByRowKey: (item: Record<string, any>, rowKey: string | ((params: any) => string)) => any;
|
|
44
|
+
/**
|
|
45
|
+
* 根据分组条件对数据源进行分组
|
|
46
|
+
* @param dataSource 数据源
|
|
47
|
+
* @param group 分组条件
|
|
48
|
+
* @param rowKey 行键生成函数或字符串
|
|
49
|
+
* @returns 返回分组后的数据源
|
|
50
|
+
*/
|
|
51
|
+
export declare const groupDataSource: (dataSource: Record<string, any>[], group: GroupValue, rowKey: string | ((params: any) => string)) => Record<string, any>[];
|
|
52
|
+
declare type ViewSetting = {
|
|
53
|
+
order_by: string;
|
|
54
|
+
group_by: GroupValue;
|
|
55
|
+
column_setting: Record<string, any>[];
|
|
56
|
+
gallery_setting: GallerySettingValueType;
|
|
57
|
+
filters: any;
|
|
58
|
+
filter_setting: {
|
|
59
|
+
quickFilter: FilterItemProps[];
|
|
60
|
+
otherFilter: FilterItemProps[];
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* 本地存储的表格设置对象
|
|
65
|
+
*/
|
|
66
|
+
declare type TableSettingObjType = {
|
|
67
|
+
view_mode: ModeType;
|
|
68
|
+
currentSettingHash: string;
|
|
69
|
+
} & {
|
|
70
|
+
[K in ModeType]: ViewSetting;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* 将表格设置保存到本地存储
|
|
74
|
+
* @param tableId 表格id
|
|
75
|
+
* @param tableSettingObj 表格设置对象
|
|
76
|
+
*/
|
|
77
|
+
export declare const setTableSettingToLocalStorage: ({ tableId, tableSettingObj, currentViewMode, currentSettingHash, }: {
|
|
78
|
+
tableId: string;
|
|
79
|
+
tableSettingObj: Partial<ViewSetting & {
|
|
80
|
+
view_mode: ModeType;
|
|
81
|
+
}>;
|
|
82
|
+
currentViewMode: ModeType;
|
|
83
|
+
currentSettingHash: string;
|
|
84
|
+
}) => void;
|
|
85
|
+
export declare const clearTableSettingToLocalStorage: (tableId?: string) => void;
|
|
86
|
+
/**
|
|
87
|
+
* 从本地存储中获取表格设置, 全部配置
|
|
88
|
+
* @param tableId 表格ID
|
|
89
|
+
* @returns 表格设置对象
|
|
90
|
+
*/
|
|
91
|
+
export declare const getTableSettingFromLocalStorage: (tableId?: string) => Partial<TableSettingObjType>;
|
|
92
|
+
/**
|
|
93
|
+
* 从LocalStorage读取表当前视图模式
|
|
94
|
+
* @param tableId
|
|
95
|
+
*/
|
|
96
|
+
export declare const getCurrentViewModeFromLocalStorage: (tableId?: string) => ModeType | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* 根据视图模式获取配置
|
|
99
|
+
* @param tableId
|
|
100
|
+
* @param currentViewMode
|
|
101
|
+
*/
|
|
102
|
+
export declare const getTableSettingByCurrentViewMode: (tableId: string, currentViewMode: ModeType) => ViewSetting | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* 将表单值保存到本地存储中
|
|
105
|
+
* @param tableId 表单ID
|
|
106
|
+
* @param allValues 表单所有值
|
|
107
|
+
* @param keys 存储的键名
|
|
108
|
+
*/
|
|
109
|
+
export declare const setFormValuesToLocalStorage: ({ tableId, allValues, keys, currentViewMode, currentSettingHash, }: {
|
|
110
|
+
tableId?: string | undefined;
|
|
111
|
+
allValues?: Record<string, any> | undefined;
|
|
112
|
+
keys?: string[] | undefined;
|
|
113
|
+
currentViewMode: ModeType;
|
|
114
|
+
currentSettingHash: string;
|
|
115
|
+
}) => void;
|
|
116
|
+
/**
|
|
117
|
+
* 合并筛选设置
|
|
118
|
+
* @param list 列表数据
|
|
119
|
+
* @param quickFilterMaxLength 快速筛选最大长度
|
|
120
|
+
* @param tableId 表ID
|
|
121
|
+
* @returns 返回合并后的筛选设置
|
|
122
|
+
*/
|
|
123
|
+
export declare const mergeFilterSetting: ({ list, quickFilterMaxLength, tableId, sortButtonShow, currentViewMode, }: {
|
|
124
|
+
list: FilterItemProps[];
|
|
125
|
+
quickFilterMaxLength: number;
|
|
126
|
+
tableId?: string | undefined;
|
|
127
|
+
sortButtonShow: boolean;
|
|
128
|
+
currentViewMode: ModeType;
|
|
129
|
+
}) => {
|
|
130
|
+
quickFilter: FilterItemProps[];
|
|
131
|
+
otherFilter: FilterItemProps[];
|
|
132
|
+
notSortFilter: FilterItemProps[];
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* 过滤数据源
|
|
136
|
+
* @param dataSource 数据源
|
|
137
|
+
* @param filters 过滤条件
|
|
138
|
+
* @param filterLocalArr 本地过滤项
|
|
139
|
+
* @returns 过滤后的数据源
|
|
140
|
+
*/
|
|
141
|
+
export declare const filterDataSource: (dataSource: Record<string, any>[], filters: Record<string, any>, filterLocalArr: FilterItemProps[]) => Record<string, any>[];
|
|
142
|
+
/**
|
|
143
|
+
* 根据模式获取设置键数组
|
|
144
|
+
* @param filter 筛选器
|
|
145
|
+
* @param columnSetting 列设置
|
|
146
|
+
* @param dataSourceGroup 数据源分组
|
|
147
|
+
* @param sort 排序
|
|
148
|
+
* @param mode 模式,可选值为 "localStorage" 或 "remote"
|
|
149
|
+
* @returns 返回设置键数组
|
|
150
|
+
*/
|
|
151
|
+
export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourceGroup, sort, mode, currentViewMode, }: {
|
|
152
|
+
filter?: FilterType | undefined;
|
|
153
|
+
columnSetting?: ColumnSettingType | undefined;
|
|
154
|
+
dataSourceGroup?: DataSourceGroupType | undefined;
|
|
155
|
+
sort?: SortType | undefined;
|
|
156
|
+
mode: "" | "localStorage" | "remote";
|
|
157
|
+
currentViewMode: ModeType;
|
|
158
|
+
}) => ("filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting" | "filters")[];
|
|
159
|
+
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
160
|
+
export declare const stringify: (obj: Record<string, any>) => string;
|
|
161
|
+
export {};
|