@pisell/materials 6.11.241 → 6.11.243

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.
Files changed (177) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +4 -4
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +7 -7
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +24 -24
  9. package/es/components/PisellCards/index.d.ts +1 -0
  10. package/es/components/PisellFields/index.d.ts +1 -0
  11. package/es/components/PisellGroupView/PisellGroupView.d.ts +9 -0
  12. package/es/components/PisellGroupView/PisellGroupView.stories.d.ts +27 -0
  13. package/es/components/PisellGroupView/index.d.ts +6 -0
  14. package/es/components/PisellGroupView/types.d.ts +124 -0
  15. package/es/components/PisellGroupView/utils/index.d.ts +20 -0
  16. package/es/components/PisellLayouts/index.d.ts +1 -0
  17. package/es/components/PisellMetrics/index.d.ts +1 -0
  18. package/es/components/PisellTabbar/PisellTabbar.js +3 -4
  19. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  20. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
  21. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  22. package/es/components/dataSourceComponents/fields/index.d.ts +5 -4
  23. package/es/components/date-picker/index.d.ts +1 -0
  24. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +13 -0
  25. package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +27 -0
  26. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +89 -0
  27. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +14 -0
  28. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +64 -0
  29. package/es/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +49 -0
  30. package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +13 -0
  31. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +84 -0
  32. package/es/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +20 -0
  33. package/es/components/pisellFloorMapLayout/index.d.ts +39 -0
  34. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
  35. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
  36. package/es/components/pisellFloorMapLayout/types.d.ts +769 -0
  37. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +27 -0
  38. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
  39. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
  40. package/es/components/pisellFloorMapLayout/utils/floorMapSelectionZone.d.ts +24 -0
  41. package/es/components/pisellModal/components/index.d.ts +1 -0
  42. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
  43. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +9 -0
  44. package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +34 -0
  45. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +18 -0
  46. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +30 -0
  47. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +330 -0
  48. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +52 -0
  49. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +22 -0
  50. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +57 -0
  51. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +26 -0
  52. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
  53. package/es/components/pisellRecordBoard/types.d.ts +899 -0
  54. package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
  55. package/es/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +36 -0
  56. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +4 -0
  57. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +2 -3
  58. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +36 -0
  59. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +4 -5
  60. package/es/components/productCard/cartSkuCard/components/inlineActions/index.js +3 -1
  61. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +22 -0
  62. package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +9 -0
  63. package/es/components/productCard/cartSkuCard/components/weighing/index.js +12 -14
  64. package/es/components/productCard/cartSkuCard/index.less +8 -1
  65. package/es/components/productCard/lineItem/components/Holders/index.d.ts +10 -0
  66. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  67. package/es/components/table/Table/fields/index.d.ts +3 -2
  68. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  69. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  70. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  71. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  72. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  73. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  74. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  75. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  76. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  77. package/es/components/table/Table/utils.d.ts +1 -1
  78. package/es/components/virtual-keyboard/Time/index.d.ts +14 -0
  79. package/es/components/virtual-keyboard/index.d.ts +25 -0
  80. package/es/pisell-materials.tw.css +1 -1
  81. package/lib/components/PisellCards/index.d.ts +1 -0
  82. package/lib/components/PisellFields/index.d.ts +1 -0
  83. package/lib/components/PisellGroupView/PisellGroupView.d.ts +9 -0
  84. package/lib/components/PisellGroupView/PisellGroupView.stories.d.ts +27 -0
  85. package/lib/components/PisellGroupView/index.d.ts +6 -0
  86. package/lib/components/PisellGroupView/types.d.ts +124 -0
  87. package/lib/components/PisellGroupView/utils/index.d.ts +20 -0
  88. package/lib/components/PisellLayouts/index.d.ts +1 -0
  89. package/lib/components/PisellMetrics/index.d.ts +1 -0
  90. package/lib/components/PisellTabbar/PisellTabbar.js +2 -2
  91. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  92. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
  93. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  94. package/lib/components/dataSourceComponents/fields/index.d.ts +5 -4
  95. package/lib/components/date-picker/index.d.ts +1 -0
  96. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +13 -0
  97. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +27 -0
  98. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +89 -0
  99. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +14 -0
  100. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +64 -0
  101. package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +49 -0
  102. package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +13 -0
  103. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +84 -0
  104. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +20 -0
  105. package/lib/components/pisellFloorMapLayout/index.d.ts +39 -0
  106. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
  107. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
  108. package/lib/components/pisellFloorMapLayout/types.d.ts +769 -0
  109. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +27 -0
  110. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
  111. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
  112. package/lib/components/pisellFloorMapLayout/utils/floorMapSelectionZone.d.ts +24 -0
  113. package/lib/components/pisellModal/components/index.d.ts +1 -0
  114. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
  115. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +9 -0
  116. package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +34 -0
  117. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +18 -0
  118. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +30 -0
  119. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +330 -0
  120. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +52 -0
  121. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +22 -0
  122. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +57 -0
  123. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +26 -0
  124. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
  125. package/lib/components/pisellRecordBoard/types.d.ts +899 -0
  126. package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
  127. package/lib/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +36 -0
  128. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +4 -0
  129. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +1 -2
  130. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +36 -0
  131. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +3 -6
  132. package/lib/components/productCard/cartSkuCard/components/inlineActions/index.js +2 -1
  133. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +22 -0
  134. package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +9 -0
  135. package/lib/components/productCard/cartSkuCard/components/weighing/index.js +11 -14
  136. package/lib/components/productCard/cartSkuCard/index.less +8 -1
  137. package/lib/components/productCard/lineItem/components/Holders/index.d.ts +10 -0
  138. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  139. package/lib/components/table/Table/fields/index.d.ts +3 -2
  140. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  141. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  142. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  143. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  144. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  145. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  146. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  147. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  148. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  149. package/lib/components/table/Table/utils.d.ts +1 -1
  150. package/lib/components/virtual-keyboard/Time/index.d.ts +14 -0
  151. package/lib/components/virtual-keyboard/index.d.ts +25 -0
  152. package/lib/pisell-materials.tw.css +1 -1
  153. package/package.json +3 -3
  154. package/es/components/PisellTabbar/index.d.ts +0 -10
  155. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -12
  156. package/es/components/PisellTabbar/template/Template1/index.d.ts +0 -7
  157. package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +0 -48
  158. package/es/components/pisellFind/index.d.ts +0 -69
  159. package/es/components/pisellLookup/PisellLookup.d.ts +0 -4
  160. package/es/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
  161. package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  162. package/es/components/pisellLookup/types.d.ts +0 -797
  163. package/es/components/pisellRecordBoard/index.d.ts +0 -55
  164. package/es/components/pisellTimeRangeDisplay/index.d.ts +0 -3
  165. package/es/index.d.ts +0 -271
  166. package/lib/components/PisellTabbar/index.d.ts +0 -10
  167. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -12
  168. package/lib/components/PisellTabbar/template/Template1/index.d.ts +0 -7
  169. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +0 -48
  170. package/lib/components/pisellFind/index.d.ts +0 -69
  171. package/lib/components/pisellLookup/PisellLookup.d.ts +0 -4
  172. package/lib/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
  173. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  174. package/lib/components/pisellLookup/types.d.ts +0 -797
  175. package/lib/components/pisellRecordBoard/index.d.ts +0 -55
  176. package/lib/components/pisellTimeRangeDisplay/index.d.ts +0 -3
  177. package/lib/index.d.ts +0 -271
@@ -1,55 +0,0 @@
1
- import React from 'react';
2
- import GridLayout from './layouts/GridLayout';
3
- import CardLayout from './layouts/CardLayout';
4
- import RecordBoardShellFrame, { RecordBoardToolBar, RecordBoardBatchActionBar, RecordBoardPagination, RecordBoardSearch, RecordBoardFloorMap, RecordBoardCalendar, RecordBoardResourceWall } from './shellFrame';
5
- import RecordBoardGridView from './layouts/GridLayout/Grid';
6
- import RecordBoardCardList from './layouts/CardLayout/CardList';
7
- import { useRecordBoardContext } from './hooks/useRecordBoardContext';
8
- import type { RecordBoardProps } from './types';
9
- /** RecordBoard 复合组件类型 */
10
- interface PisellRecordBoardType extends React.FC<RecordBoardProps> {
11
- /** Shell Frame:对 Layout 的扩展,提供 ToolBar + BatchActionBar + children(Layout) */
12
- ShellFrame: typeof RecordBoardShellFrame;
13
- /** Grid 布局:仅内容区(表格 + 分页),需配合 ShellFrame 使用 */
14
- GridLayout: typeof GridLayout;
15
- /** 卡片布局:仅内容区(卡片列表 + 分页),需配合 ShellFrame 使用 */
16
- CardLayout: typeof CardLayout;
17
- /**
18
- * 平面图槽位:仅在 ShellFrame 内声明,无 DOM; props 与 PisellFloorMapLayout 对齐。
19
- * 与 GridLayout 同时存在时出现「表格 / 平面图」切换。
20
- */
21
- FloorMap: typeof RecordBoardFloorMap;
22
- /**
23
- * 日历槽位:仅在 ShellFrame 内声明,无 DOM;与 GridLayout / FloorMap 并存时出现「表格 / 平面图 / 日历」切换。
24
- */
25
- Calendar: typeof RecordBoardCalendar;
26
- /**
27
- * 大屏资源墙槽位:仅在 ShellFrame 内声明,无 DOM;与其它主区并存时出现视图切换。
28
- */
29
- ResourceWall: typeof RecordBoardResourceWall;
30
- /** 单独使用:搜索槽(PisellFind,绑定 searchParams.keyword / onSearch) */
31
- Search: typeof RecordBoardSearch;
32
- /** 单独使用:工具栏(PisellToolBar,含搜索/导出,可透传 topLeft/topRight 等) */
33
- ToolBar: typeof RecordBoardToolBar;
34
- /** 单独使用:分页槽 */
35
- Pagination: typeof RecordBoardPagination;
36
- /** 单独使用:Grid 视图(表格) */
37
- Grid: typeof RecordBoardGridView;
38
- /** 单独使用:卡片列表视图 */
39
- CardList: typeof RecordBoardCardList;
40
- /** 多选操作栏(基于 PisellBatchActionBar,有选中项时展示) */
41
- BatchActionBar: typeof RecordBoardBatchActionBar;
42
- /** 消费 RecordBoard 上下文 */
43
- useRecordBoardContext: typeof useRecordBoardContext;
44
- }
45
- declare const PisellRecordBoard: PisellRecordBoardType;
46
- export default PisellRecordBoard;
47
- export type { RecordBoardProps, RecordBoardLayoutType, RecordBoardLayoutVariant, RecordBoardContextValue, RecordBoardChildComponentProps, RecordBoardGridProps, RecordBoardColumnType, RecordBoardFieldType, RecordBoardColumnFilterConfig, RecordBoardOptionItem, RecordBoardGetOptions, RecordBoardBodyView, RecordBoardFloorMapProps, RecordBoardCalendarProps, RecordBoardCalendarBlockedTimePayload, RecordBoardCalendarResource, RecordBoardCalendarBookingLike, RecordBoardCalendarDayOverlayBooking, RecordBoardCalendarTimelineHeaderGroup, RecordBoardCalendarTimelineHeaderRenderContext, RecordBoardCalendarResourceRenderArgs, RecordBoardCalendarBookingRenderArgs, RecordBoardBookingMoveDraft, RecordBoardBlockedTimeMergedRange, RecordBoardBlockedTimePanelPayload, RecordBoardCreateBookingDayGroup, RecordBoardCreateBookingFromSelectionPayload, RecordBoardCalendarSelectedFreeSlot, RecordBoardToolBarProps, RecordBoardResourceWallProps, RecordBoardResourceWallCardModel, RecordBoardResourceWallLayoutPersist, } from './types';
48
- export { DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST } from './types';
49
- export type { CalendarPersistContextValue } from './shellFrame/Calendar/calendarPersistGuard';
50
- export type { VenueWallAppearanceTheme, VenueWallStatusToneOverrides, } from './shellFrame/ResourceWall/venueWallUtils';
51
- export { useRecordBoardContext } from './hooks/useRecordBoardContext';
52
- export { useRecordBoardShellBodyMeta } from './shellFrame';
53
- export { DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY } from './shellFrame/ResourceWall/PisellRecordBoardResourceWallView';
54
- export { adaptColumnsForPhoneLayout, RECORD_BOARD_PHONE_GRID_CLASS, } from './utils/recordBoardPhoneGrid';
55
- export type { AdaptColumnsForPhoneLayoutOptions } from './utils/recordBoardPhoneGrid';
@@ -1,3 +0,0 @@
1
- export { PisellTimeRangeDisplay, default } from './PisellTimeRangeDisplay';
2
- export type { PisellTimeRangeDisplayProps, LayoutDirection, TimeRangeFieldType, TimeRangeFieldConfig, DurationFormatConfig, DayjsLike, } from './types';
3
- export type { TimeFormatConfig, DateFormatConfig, WeekdayFormatConfig, ContainerStyleConfig, TextStyleConfig, TextAlign, } from './types';
package/es/index.d.ts DELETED
@@ -1,271 +0,0 @@
1
- import './pisell-materials.tw.css';
2
- /**
3
- * PisellFields - 字段组件命名空间
4
- * @example
5
- * import { PisellFields } from '@pisell/materials';
6
- * <PisellFields.SingleLineText value="hello" />
7
- * <PisellFields.Currency value={1000} currencySymbol="$" />
8
- */
9
- export { default as PisellFields } from './components/PisellFields';
10
- export type { PisellSingleLineTextProps, PisellLongTextProps, PisellNumberProps, PisellCurrencyProps, PisellPercentProps, PisellPhoneProps, CountryCode, PisellEmailProps, MailtoOptions, PisellUrlProps, PisellRatingProps, PisellSingleSelectProps, SingleSelectRef, PisellMultipleSelectProps, MultipleSelectRef, } from './components/PisellFields';
11
- /**
12
- * PisellMetrics - 指标展示组件命名空间
13
- * @example
14
- * import { PisellMetrics } from '@pisell/materials';
15
- * <PisellMetrics.MetricCard title="Total Sales" value={1580} />
16
- */
17
- export { default as PisellMetrics } from './components/PisellMetrics';
18
- export type { PisellMetricCardProps, PisellStatisticProps, } from './components/PisellMetrics';
19
- /**
20
- * PisellLayouts - 布局组件命名空间
21
- * @example
22
- * import { PisellLayouts } from '@pisell/materials';
23
- * <PisellLayouts.BasicGrid columns={3}>{children}</PisellLayouts.BasicGrid>
24
- */
25
- export { default as PisellLayouts } from './components/PisellLayouts';
26
- export type { PisellBasicGridProps, PisellScrollViewProps, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef, FloorMapFullscreenMode, FloorMapLayoutContextValue, FloorMapLayoutProviderProps, PisellLayoutProps, CompoundedComponent, PisellRowProps, } from './components/PisellLayouts';
27
- export { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col, ColorPicker, Descriptions, Divider, Empty, Grid, InputNumber, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version, } from 'antd';
28
- export { default as PisellCards } from './components/PisellCards';
29
- export type { BadgeConfig, PisellBasicCardProps, TabCardProps, } from './components/PisellCards';
30
- export { default as GraphicTextCard } from './components/PisellCards/components/GraphicTextCard';
31
- export type { GraphicTextCardProps, GraphicTextCardSize, GraphicTextCardVariant, } from './components/PisellCards/components/GraphicTextCard';
32
- export { default as MultilevelCard } from './components/PisellCards/components/MultilevelCard';
33
- export type { MultilevelCardProps } from './components/PisellCards/components/MultilevelCard';
34
- export { default as PisellImageCard } from './components/PisellCards/components/PisellImageCard';
35
- export type { ImageDataSource, ImageFillMode, PisellImageCardProps, } from './components/PisellCards/components/PisellImageCard';
36
- export { default as TabCard } from './components/PisellCards/components/TabCard';
37
- export { default as TextCard } from './components/PisellCards/components/TextCard';
38
- export { default as PisellProcedure } from './components/PisellProcedure';
39
- export type { PisellProcedureProps, PisellProcedureRef, ProcedureBodyProps, ProcedureFooterProps, ProcedureHeaderProps, } from './components/PisellProcedure/types';
40
- export { default as PisellSteps } from './components/PisellSteps';
41
- export type { PisellStepItem, PisellStepsProps, } from './components/PisellSteps/types';
42
- export { default as PisellSuperTabs } from './components/PisellSuperTabs';
43
- export type { PisellSuperTabsProps, TabDataItem, } from './components/PisellSuperTabs';
44
- export { default as PisellTabbar } from './components/PisellTabbar';
45
- export type { LevelType, PisellTabbarProps, TabbarActionItem, TabbarDataSource, } from './components/PisellTabbar';
46
- export { default as PisellTabbarTemplate1 } from './components/PisellTabbar/template/Template1';
47
- export type { PisellTabbarTemplate1Direction, PisellTabbarTemplate1Props, } from './components/PisellTabbar/template/Template1';
48
- export { default as PisellTabbar2 } from './components/PisellTabbar2';
49
- export { default as AppVersionControl } from './components/appVersionControl';
50
- export { default as AutoComplete } from './components/auto-complete';
51
- export { default as AutoCompleteNumber } from './components/auto-complete-number';
52
- export { default as Badge } from './components/badge';
53
- export { default as BatchEditor } from './components/batch-editor';
54
- export { default as Button } from './components/button';
55
- export { default as ButtonGroupEdit } from './components/buttonGroupEdit';
56
- export { default as ButtonGroupPreview } from './components/buttonGroupPreview';
57
- export { default as Calendar } from './components/calendar';
58
- export { default as CardMetricItem } from './components/cardMetricItem';
59
- export type { PisellStatisticProps as CardMetricItemProps } from './components/cardMetricItem';
60
- export { default as CardPro } from './components/cardPro';
61
- export { default as Cascader } from './components/cascader';
62
- export { default as Checkbox } from './components/checkbox';
63
- export { PisellHierarchicalSummaryList, HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, } from './components/pisellHierarchicalSummaryList';
64
- export type { PisellHierarchicalSummaryListProps, PisellHierarchicalSummaryListItem, PisellHierarchicalSummaryListKey, PisellHierarchicalSummaryListLevelConfig, PisellHierarchicalSummaryListAggregateConfig, PisellHierarchicalSummaryListAggregateMode, } from './components/pisellHierarchicalSummaryList';
65
- export { default as PisellDateTimeDisplay } from './components/pisellDateTimeDisplay';
66
- export type { PisellDateTimeDisplayProps } from './components/pisellDateTimeDisplay';
67
- export { PisellTimeRangeDisplay } from './components/pisellTimeRangeDisplay';
68
- export type { PisellTimeRangeDisplayProps } from './components/pisellTimeRangeDisplay';
69
- export { default as PisellStatisticList } from './components/pisellStatisticList';
70
- export type { PisellStatisticListProps } from './components/pisellStatisticList';
71
- export { default as PisellEmpty } from './components/pisellEmpty';
72
- export { default as PisellText } from './components/pisellText';
73
- export { default as PisellTags } from './components/pisellTags';
74
- export { default as PisellAvatar } from './components/pisellAvatar';
75
- export { default as PisellCountdown } from './components/pisellCountdown';
76
- export { default as AutoResizeText } from './components/auto-resize-text';
77
- export { default as ClassicLayout } from './components/classicLayout';
78
- export { default as Collapse } from './components/collapse';
79
- export { default as Component } from './components/component';
80
- export { default as ConfigProvider } from './components/config-provider';
81
- export { default as CropPhoto } from './components/cropPhoto';
82
- export { default as PisellContainer } from './components/pisellContainer';
83
- export { default as PisellRow } from './components/pisellRow';
84
- export { default as PisellBasicGrid } from './components/PisellBasicGrid';
85
- export { default as PisellScrollView } from './components/PisellScrollView';
86
- export { PisellTimeNavigator, getHorizontalAxisSlotCount, getRangeBounds, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, pickReferenceDateContainingNow, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, } from './components/pisellTimeNavigator';
87
- export type { PisellTimeNavigatorProps, TimeNavigatorValue, TimeRangeOption, CursorMode, TimeNavigatorOrientation, } from './components/pisellTimeNavigator';
88
- export { PisellReservationSchedule } from './components/pisellReservationSchedule';
89
- export type { PisellReservationScheduleProps, ReservationScheduleValue, } from './components/pisellReservationSchedule';
90
- export { PisellReservationScheduleBand, formatScheduleAtLabel, } from './components/pisellReservationScheduleBand';
91
- export type { PisellReservationScheduleBandProps, ReservationScheduleBandValue, TimeNavigatorPassthroughProps, } from './components/pisellReservationScheduleBand';
92
- export { pisellTimeNavigatorLocales } from './components/pisellTimeNavigator';
93
- export { default as PisellGroupView } from './components/PisellGroupView';
94
- export type { PisellGroupViewProps, GroupModel, GroupBlocks, ItemContext, ItemLayout, GroupViewVariant, } from './components/PisellGroupView';
95
- export { PisellFloorMapLayout, FloorMapLayoutProvider, useFloorMapLayoutContext, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, mergeFloorMapLayoutPropsFromContext, getFigmaTableCardFromMerged, renderFigmaStyleTableCard, renderFigmaStyleRoundTableCard, getRenderItemByKindTable, getRenderItemByKindRoundTable, FloorMapImageElement, FloorMapBuiltinShapeElement, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_BUILTIN_SHAPES, getFloorMapBuiltinShapeDef, FLOOR_MAP_STAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FloorMapSelectionZoneElement, isSelectionZoneItem, computeSelectionZoneMemberIds, renderFloorMapFallbackPlaceholder, isFloorMapImageElementKind, isFloorMapBuiltinShapeElementKind,
96
- /**
97
- * 「图元名作为资源标题」相关工具:业务方(如 private-materials 的预约模块)
98
- * 通过包根 `@pisell/materials` 引用,必须在顶层 index 显式 re-export,
99
- * 否则只在子模块 index 出现时,babel/swc 编译后会得到 `undefined`,
100
- * 调用时报 "Object(...) is not a function"。
101
- */
102
- NAME_AS_TITLE_EXT_KEY, isElementNameAsTitleEnabled, buildNameAsTitleExtensionsPatch, resolveSceneElementDisplayTitle, findFloorMapRowByDataBinding, getFloorMapBindingPlaceholderReason, createShopFloorPlanClient, useShopFloorPlanSubscription, wrapFloorMapOnSaveWithRemotePersist, pickFloorPlanDetail, mergeFloorPlanViewRemote, shopLayoutToSceneElements, sceneElementsToShopLayout, buildFloorPlanPutBody, floorMapSavedConfigToRemotePatch, viewConfigToLayoutPayload, inferCanvasSizeFromScene, isShopFloorPlanNotFoundResponse, isHttpNotFoundError, isFloorPlanDuplicateCodeError, parseLayoutFieldToViewConfigPatch, SHOP_FLOOR_PLAN_DUPLICATE_CODE, getFloorMapResourcePickerCardMeta, getFloorMapCardPickerCategoryConfig, floorMapResourcePickerRecordSearchText, getFloorMapDisplayLocale, initFloorMapLayoutLocales, floorMapLayoutLocales, parseNestedPathSegments, } from './components/pisellFloorMapLayout';
103
- export type { FloorMapResourcePickerSlotProps, FloorMapResourcePickerRecord, FloorMapViewConfig, FloorMapEdge, FloorMapEdgeAnchor, FloorMapEdgeStatus, FloorMapSceneElement, FloorMapCanvasNameI18n, FloorMapMergedItem, FloorMapDataSources, FloorMapItemBase, FloorMapRenderOptions, FloorMapViewportOverlayRenderArgs, FloorMapElementKindCategory, FloorMapElementKindConfig, FloorMapDataSourceRow, FloorMapBindingPlaceholderReason, ShopFloorPlanDetail, ShopFloorPlanLayoutItem, ShopFloorPlanHttpAdapter, CreateShopFloorPlanClientOptions, WrapFloorMapOnSaveWithRemotePersistParams, PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, EnsureShopFloorPlanByCodeOptions, PisellCardPickerItem, PisellCardPickerMode, PisellCardPickerCategoryConfig, PisellCardPickerCategoryLevelConfig, PisellCardPickerCategoryPath, PisellCardPickerCategoryMode, PisellCardPickerCardMeta, } from './components/pisellFloorMapLayout';
104
- export { default as PisellViewGrid } from './components/pisellViewGrid';
105
- export { default as Table } from './components/table';
106
- export { default as PisellGridView } from './components/pisellGridPro/GridView';
107
- export type { GridViewProps } from './components/pisellGridPro/GridView';
108
- export { default as PisellToolBar } from './components/pisellGridPro/ToolBar';
109
- export type { ToolBarProps } from './components/pisellGridPro/ToolBar';
110
- export { default as PisellGridPro } from './components/pisellGridPro';
111
- export type { GridProProps } from './components/pisellGridPro';
112
- export { default as RecordView } from './components/record-view';
113
- export { default as PisellRecordBoard, adaptColumnsForPhoneLayout, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, RECORD_BOARD_PHONE_GRID_CLASS, useRecordBoardContext, useRecordBoardShellBodyMeta, } from './components/pisellRecordBoard';
114
- export type { RecordBoardContextValue, RecordBoardChildComponentProps, RecordBoardColumnType, RecordBoardLayoutType, RecordBoardLayoutVariant, RecordBoardProps, RecordBoardGridProps, RecordBoardFieldType, RecordBoardColumnFilterConfig, RecordBoardOptionItem, RecordBoardGetOptions, RecordBoardBodyView, RecordBoardFloorMapProps, RecordBoardToolBarProps, RecordBoardCalendarProps, RecordBoardCalendarBlockedTimePayload, RecordBoardCalendarResource, RecordBoardCalendarBookingLike, RecordBoardCalendarDayOverlayBooking, RecordBoardCalendarTimelineHeaderGroup, RecordBoardCalendarTimelineHeaderRenderContext, RecordBoardCalendarResourceRenderArgs, RecordBoardCalendarBookingRenderArgs, RecordBoardBookingMoveDraft, RecordBoardBlockedTimeMergedRange, RecordBoardBlockedTimePanelPayload, RecordBoardCreateBookingDayGroup, RecordBoardCreateBookingFromSelectionPayload, RecordBoardCalendarSelectedFreeSlot, RecordBoardResourceWallProps, RecordBoardResourceWallCardModel, RecordBoardResourceWallLayoutPersist, } from './components/pisellRecordBoard';
115
- export type { AdaptColumnsForPhoneLayoutOptions } from './components/pisellRecordBoard';
116
- export { default as PisellInput } from './components/pisellInput';
117
- export { getBankCardTypeImg } from './components/pisellInput/components/BankCard/utils';
118
- export { default as PisellDatePicker } from './components/pisellDatePicker';
119
- export { PisellMobileDateRangePicker, } from './components/pisellMobileDateRangePicker';
120
- export type { PisellMobileDateRangePickerProps } from './components/pisellMobileDateRangePicker';
121
- export { default as PisellCheckboxGroup } from './components/pisellCheckboxGroup';
122
- export { default as PisellCustomCheckboxGroup } from './components/pisellCustomCheckboxGroup';
123
- export { default as PisellInformationEntry } from './components/pisellInformationEntry';
124
- export { default as PisellAdjustPrice } from './components/pisellAdjustPrice';
125
- export { default as PisellAdjustPriceInputNumber } from './components/pisellAdjustPrice/PisellAdjustPriceInputNumber';
126
- export { default as CustomSelect } from './components/customSelect';
127
- export { default as PisellUpload } from './components/pisellUpload';
128
- export { default as Translation } from './components/translation';
129
- export { PisellLookup } from './components/pisellLookup';
130
- export type { PisellLookupProps, PisellLookupRef, LookupInputRenderContext, } from './components/pisellLookup';
131
- export { FIND_FALLBACK_SCANNER_COUNT_KEY, PisellFind, } from './components/pisellFind';
132
- export type { PisellFindProps, PisellFindRef } from './components/pisellFind';
133
- export { default as DataSourceForm } from './components/dataSourceComponents/dataSourceForm';
134
- export { default as FormGroup } from './components/dataSourceComponents/dataSourceForm/group';
135
- export { default as JsonWrapper } from './components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider';
136
- export { default as SubmitButton } from './components/dataSourceComponents/dataSourceForm/submitButton';
137
- export { default as DataSourceMenu } from './components/dataSourceComponents/dataSourceMenu';
138
- export { default as DataSourceImage } from './components/dataSourceComponents/dataSourceShow/dataSourceImage';
139
- export { default as DataSourceQRCode } from './components/dataSourceComponents/dataSourceShow/dataSourceQRCode';
140
- export { default as DataSourceTypography } from './components/dataSourceComponents/dataSourceShow/dataSourceTypography';
141
- export { default as DataSourceTable } from './components/dataSourceComponents/dataSourceTable';
142
- export { default as DataSourceWrapper } from './components/dataSourceComponents/dataSourceWrapper';
143
- export { default as PisellDataSourceContainer } from './components/pisellDataSourceContainer';
144
- export { PisellRecordBoardCalendarView, CalendarPersistProvider, } from './components/pisellRecordBoard/shellFrame/Calendar';
145
- export { PisellRecordBoardResourceWallView, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, } from './components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView';
146
- export { getVenueWallStatusToneMap, diffVenueWallStatusToneOverrides, } from './components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils';
147
- export type { VenueWallStatusKey, VenueWallStatusTone, VenueWallStatusToneOverrides, VenueWallAppearanceSlot, VenueWallAppearanceTheme, } from './components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils';
148
- export type { CalendarPersistKind, CalendarPersistContextValue, PisellRecordBoardCalendarViewProps, } from './components/pisellRecordBoard/shellFrame/Calendar';
149
- export { PisellShellFrame } from './components/pisellShellFrame';
150
- export type { PisellShellFrameProps, PisellShellFrameConfig, PisellShellFrameScrollConfig, } from './components/pisellShellFrame';
151
- export type { DataSourceContainerProps } from './components/pisellDataSourceContainer';
152
- export { default as FormItemCheckbox } from './components/dataSourceComponents/fields/Checkbox';
153
- export { default as FormItemColorPicker } from './components/dataSourceComponents/fields/ColorPicker';
154
- export { default as FormItemDatePicker } from './components/dataSourceComponents/fields/DatePicker';
155
- export { default as FormItemIconSelect } from './components/dataSourceComponents/fields/IconSelect';
156
- export { default as FormItemInput } from './components/dataSourceComponents/fields/Input';
157
- export { default as FormItemInputNumber } from './components/dataSourceComponents/fields/InputNumber';
158
- export { default as FormItemRadio } from './components/dataSourceComponents/fields/Radio';
159
- export { default as FormItemSelect } from './components/dataSourceComponents/fields/Select';
160
- export { default as FormItemSwitch } from './components/dataSourceComponents/fields/Switch';
161
- export { default as FormItemTimePicker } from './components/dataSourceComponents/fields/TimePicker';
162
- export { default as FormItemTranslation } from './components/dataSourceComponents/fields/Translation';
163
- export { default as BaseTranslation } from './components/dataSourceComponents/fields/Translation/BaseTranslation';
164
- export { default as FormItemUpload } from './components/dataSourceComponents/fields/Upload';
165
- export { default as DatePicker } from './components/date-picker';
166
- export { default as Div } from './components/div';
167
- export { default as DragSortTree } from './components/drag-sort-tree';
168
- export { default as Drawer } from './components/drawer';
169
- export { default as Dropdown } from './components/dropdown';
170
- export { default as Filter } from './components/filter';
171
- export { default as Form } from './components/form';
172
- export { default as Icon } from './components/icon';
173
- export { default as IconSelect } from './components/iconSelect';
174
- export { default as Iconfont } from './components/iconfont';
175
- export { default as Image } from './components/image';
176
- export { default as Input } from './components/input';
177
- export { default as InputNumberRange } from './components/input-number-range';
178
- export { default as Keyboard } from './components/keyboard';
179
- export { default as List } from './components/list';
180
- export { default as loginAndRegister } from './components/login-and-register';
181
- export { default as LowCodePage } from './components/lowCodePage';
182
- export { default as Modal } from './components/modal';
183
- export { default as OrganizationTenantSwitcher } from './components/organizationTenantSwitcher';
184
- export { default as Page } from './components/page';
185
- export { default as PageHeader } from './components/page-header';
186
- export { default as SafeAreaTop } from './components/SafeAreaTop';
187
- export { default as PisellConfigProvider } from './components/pisell-config-provider';
188
- export { default as PisellContext, globalConfig, } from './components/pisell-config-provider/context';
189
- export { default as usePisellConfig } from './components/pisell-config-provider/hooks/usePisellConfig';
190
- export { default as PisellAlert } from './components/pisellAlert';
191
- export { default as PisellAnchor } from './components/pisellAnchor';
192
- export { default as PisellAppCard } from './components/pisellAppCard';
193
- export type { PisellAppCardProps } from './components/pisellAppCard/types';
194
- export { default as PisellBatchActionBar } from './components/pisellBatchActionBar';
195
- export type { BatchActionBarPosition, BatchActionConfirmConfig, BatchActionItem, DefaultActionsConfig, PisellBatchActionBarProps, } from './components/pisellBatchActionBar';
196
- export { default as PisellCard } from './components/pisellCard';
197
- export { default as PisellCardList } from './components/pisellCardList';
198
- export { PisellCurrency } from './components/pisellCurrency';
199
- export { default as PisellDraggable } from './components/pisellDraggable';
200
- export { default as PisellDropSort } from './components/pisellDropSort';
201
- export { default as PisellDropdown } from './components/pisellDropdown';
202
- export { PisellEmail } from './components/pisellEmail';
203
- export { default as PisellFilter } from './components/pisellFilter';
204
- export type { PisellFilterProps } from './components/pisellFilter/type';
205
- export { default as PisellFloatingPanel } from './components/pisellFloatingPanel';
206
- export { default as PisellGoodPassCard } from './components/pisellGoodPassCard';
207
- export { default as PisellHeaderProgressBar } from './components/pisellHeaderProgressBar';
208
- export { default as PisellImageCarousels } from './components/pisellImageCarousels';
209
- export { default as PisellLayout } from './components/pisellLayout';
210
- export { default as PisellContent } from './components/pisellLayout/content';
211
- export { default as PisellFooter } from './components/pisellLayout/footer';
212
- export { default as PisellHeader } from './components/pisellLayout/header';
213
- export { default as PisellSider } from './components/pisellLayout/sider';
214
- export { default as PisellList01 } from './components/pisellList01';
215
- export { default as PisellLoading } from './components/pisellLoading';
216
- export { PisellLongText } from './components/pisellLongText';
217
- export { default as DataSourceSubForm } from './components/dataSourceComponents/dataSourceSubForm';
218
- export type { DataSourceSubFormProps } from './components/dataSourceComponents/dataSourceSubForm/types';
219
- export { default as FormItemRecordListWrapper } from './components/dataSourceComponents/fields/RecordListWrapper';
220
- export { default as FormItemTabs } from './components/dataSourceComponents/fields/Tabs';
221
- export { default as PisellMenu } from './components/pisellMenu';
222
- export type { PisellMenuProps } from './components/pisellMenu/types';
223
- export { default as PisellMetricCard } from './components/pisellMetricCard';
224
- export { default as PisellModal } from './components/pisellModal';
225
- export { PisellMultipleSelect } from './components/pisellMultipleSelect';
226
- export { default as PisellNavigationMenu } from './components/pisellNavigationMenu';
227
- export { PisellNumber } from './components/pisellNumber';
228
- export { PisellPercent } from './components/pisellPercent';
229
- export { PisellPhone } from './components/pisellPhone';
230
- export { default as PisellQRScanner } from './components/pisellQRScanner';
231
- export type { PisellQRScannerProps } from './components/pisellQRScanner';
232
- export { default as PisellQrcode } from './components/pisellQrcode';
233
- export { default as PisellQuickFilter } from './components/pisellQuickFilter';
234
- export type { PisellQuickFilterProps } from './components/pisellQuickFilter/type';
235
- export { PisellRating } from './components/pisellRating';
236
- export { default as PisellScan } from './components/pisellScan';
237
- export { default as PisellSectionHeaders } from './components/pisellSectionHeaders';
238
- export { PisellSingleLineText } from './components/pisellSingleLineText';
239
- export { PisellSingleSelect } from './components/pisellSingleSelect';
240
- export { default as PisellSort } from './components/pisellSort';
241
- export type { PisellSortProps } from './components/pisellSort/type';
242
- export type { PisellTagsProps } from './components/pisellTags';
243
- export { default as PisellToast, useToast } from './components/pisellToast';
244
- export { default as PisellTooltip } from './components/pisellTooltip';
245
- export { PisellUrl } from './components/pisellUrl';
246
- export { default as PisellWalletPassCard } from './components/pisellWalletPassCard';
247
- export type { PisellWalletPassCardProps } from './components/pisellWalletPassCard';
248
- export { default as ProductCard } from './components/productCard';
249
- export { default as ProfileMenu } from './components/profileMenu';
250
- export { default as QRCode } from './components/qrcode';
251
- export { default as Radio } from './components/radio';
252
- export { default as SectionFooters } from './components/section-footers';
253
- export { default as Segmented } from './components/segmented';
254
- export { default as Select } from './components/select';
255
- export { default as SelectTime } from './components/select-time';
256
- export { default as Skeleton } from './components/skeleton';
257
- export { default as Slider } from './components/slider';
258
- export { default as Sort } from './components/sort';
259
- export { default as SortableList } from './components/sortableList';
260
- export { default as Tabs } from './components/tabs';
261
- export { default as TimePicker } from './components/time-picker';
262
- export { default as TreeSelect } from './components/tree-select';
263
- export { default as Typography } from './components/typography';
264
- export { default as Upload } from './components/upload';
265
- export { default as PublishVersionModal } from './components/versionModal';
266
- export { default as VirtualKeyboard } from './components/virtual-keyboard';
267
- export { default as PisellPriceKeyboard } from './components/virtual-keyboard/Amount';
268
- export { default as PisellNumberKeyboard } from './components/virtual-keyboard/Number';
269
- export { default as VirtualKeyboardTime } from './components/virtual-keyboard/Time';
270
- export { default as VirtualInput } from './components/virtualInput';
271
- export { default as WalletCard } from './components/walletCard';
@@ -1,10 +0,0 @@
1
- /**
2
- * PisellTabbar 组件导出文件
3
- * @module PisellTabbar
4
- */
5
- import PisellTabbar from './PisellTabbar';
6
- import PisellTabbarTemplate1 from './template/Template1';
7
- export type { LevelType, PisellTabbarProps, TabbarActionItem, TabbarDataSource, } from './types';
8
- export type { PisellTabbarTemplate1Direction, PisellTabbarTemplate1Props, } from './template/Template1';
9
- export { PisellTabbarTemplate1 };
10
- export default PisellTabbar;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import '../../PisellTabbar.less';
3
- import { PisellTabbarProps } from '../../types';
4
- export declare type PisellTabbarTemplate1Direction = 'horizontal' | 'vertical';
5
- export interface PisellTabbarTemplate1Props extends PisellTabbarProps {
6
- /** Tab 排列方向;默认保持现有横向布局。 */
7
- direction?: PisellTabbarTemplate1Direction;
8
- /** 是否在每个层级展示自动生成的 All 分类;默认保持展示。 */
9
- showAllItem?: boolean;
10
- }
11
- declare const _default: React.ForwardRefExoticComponent<PisellTabbarTemplate1Props & React.RefAttributes<unknown>>;
12
- export default _default;
@@ -1,7 +0,0 @@
1
- /**
2
- * PisellTabbar 组件导出文件
3
- * @module PisellTabbar
4
- */
5
- import PisellTabbar from './PisellTabbar';
6
- export type { PisellTabbarTemplate1Direction, PisellTabbarTemplate1Props, } from './PisellTabbar';
7
- export default PisellTabbar;
@@ -1,48 +0,0 @@
1
- import { Field } from '../../provider/dataSource/DataSourceContext';
2
- export declare type ListResult = {
3
- data: any[];
4
- count: number;
5
- page: number;
6
- pageSize: number;
7
- };
8
- export declare type UseFormatParams = {
9
- dataSourceKey: string;
10
- fields: Field[];
11
- };
12
- export declare type ApiListResult = {
13
- list: any[];
14
- count: number;
15
- size: number;
16
- } & ({
17
- page: number;
18
- } | {
19
- skip: number;
20
- });
21
- export declare type FormatListResultParams = ApiListResult | {
22
- data: any[];
23
- meta: {
24
- count: number;
25
- page: number;
26
- pageSize: number;
27
- };
28
- };
29
- export declare type FilterValue = {
30
- [key: string]: any;
31
- };
32
- export declare type FilterOperator = '$includes' | '$dateAfter' | '$dateBefore' | '$eq' | '$in' | '$isTruly' | '$and';
33
- export declare type SimpleFilterValue = {
34
- [key in Exclude<FilterOperator, '$and'>]?: any;
35
- };
36
- export declare type AndFilterValue = {
37
- $and: FilterCondition[];
38
- };
39
- export declare type FilterConditionValue = SimpleFilterValue | AndFilterValue;
40
- export declare type FilterCondition = {
41
- [key: string]: FilterConditionValue;
42
- } | AndFilterValue;
43
- declare const useFormat: ({ dataSourceKey, fields }: UseFormatParams) => {
44
- formatListResult: (this: unknown, res: FormatListResultParams) => ListResult;
45
- formatListParams: (this: unknown, params: any) => any;
46
- formatCreateUpdateParams: (this: unknown, params: any) => any;
47
- };
48
- export default useFormat;
@@ -1,69 +0,0 @@
1
- import React from 'react';
2
- import type { PisellLookupProps, PisellLookupRef } from '../pisellLookup';
3
- /**
4
- * 原生扫码事件名,对齐宿主端约定。
5
- */
6
- export declare const SCAN_RESULT_EVENT = "nativeScanResult";
7
- /** 无扫码焦点栈时,供页面级全局扫码监听避让 Find 的回退计数。 */
8
- export declare const FIND_FALLBACK_SCANNER_COUNT_KEY = "__pisellFindFallbackScannerCount";
9
- /**
10
- * 扫码枪回传数据(对齐宿主 ScanResultPayload)
11
- * - code: 条码标识(如条码格式 / 业务字段)
12
- * - data: 扫描得到的字符串值(写入输入框的内容)
13
- */
14
- export interface PisellFindScannerData {
15
- code: string;
16
- data: string;
17
- }
18
- /**
19
- * PisellFind Props
20
- * 继承 PisellLookup 的所有 Props,并扩展扫码枪监听相关字段。
21
- */
22
- export interface PisellFindProps extends PisellLookupProps {
23
- /**
24
- * 是否开启扫码枪监听
25
- * - 优先:通过宿主 `appHelper.utils.acquireScanFocus` 接入「扫码焦点栈」,
26
- * 保证同一页面存在多个 PisellFind 时,只有「栈顶」(最后开启监听的那个,
27
- * 如列表上方拉起的弹窗)响应扫码,底层组件不响应;关闭/卸载时自动释放,焦点回退。
28
- * - 回退:宿主未注册焦点栈时,退回到直连 `app.pubsub.subscribe('nativeScanResult', ...)`。
29
- * 切换 false 时会释放焦点 / unsubscribe,停止接收事件。
30
- * @default false
31
- */
32
- enableScanner?: boolean;
33
- /**
34
- * 扫码枪回调
35
- * 监听到扫码枪事件时触发,参数为原始 payload 对象(含 `data` 字段)。
36
- * 注意:仅在 enableScanner 为 true 时才会触发。
37
- */
38
- onScannerData?: (data: PisellFindScannerData) => void;
39
- }
40
- /**
41
- * PisellFind Ref
42
- * 继承 PisellLookup 的所有 Ref 方法
43
- */
44
- export declare type PisellFindRef = PisellLookupRef;
45
- /**
46
- * PisellFind 组件
47
- * 基于 PisellLookup 的组件内查找优化版本
48
- *
49
- * 核心特点:
50
- * - 默认使用 button 触发器
51
- * - 默认不显示确认按钮(输入即搜索)
52
- * - 默认开启搜索历史
53
- * - 默认不展示结果区(结果在页面其他位置展示)
54
- * - 通过 `enableScanner` 接入扫码枪:优先走宿主注入的「扫码焦点栈」
55
- * (`appHelper.utils.acquireScanFocus`),保证同页多个 PisellFind 只有栈顶响应;
56
- * 宿主未注册时回退到直连 `app.pubsub.subscribe(SCAN_RESULT_EVENT, ...)`。
57
- * 每次扫码直接覆盖输入框内容并触发 onSearch / onScannerData;切回 false 时自动释放 / unsubscribe。
58
- *
59
- * @example
60
- * ```tsx
61
- * <PisellFind
62
- * triggerType="input"
63
- * enableScanner={isActive}
64
- * onScannerData={(payload) => console.log('scan:', payload.data)}
65
- * onSearch={(keyword) => filterData(keyword)}
66
- * />
67
- * ```
68
- */
69
- export declare const PisellFind: React.ForwardRefExoticComponent<PisellFindProps & React.RefAttributes<PisellLookupRef>>;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { PisellLookupProps, PisellLookupRef } from './types';
3
- import './PisellLookup.less';
4
- export declare const PisellLookup: React.ForwardRefExoticComponent<PisellLookupProps & React.RefAttributes<PisellLookupRef>>;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import type { LookupResultHostProps } from '../types';
3
- /**
4
- * LookupResultHost 组件
5
- * 结果承载层:根据展示类型渲染不同的容器
6
- */
7
- export declare const LookupResultHost: React.FC<LookupResultHostProps>;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import type { LookupTriggerProps, LookupTriggerRef } from '../types';
3
- export declare const LookupTrigger: React.ForwardRefExoticComponent<LookupTriggerProps & React.RefAttributes<LookupTriggerRef>>;