@pisell/materials 1.10.20 → 1.10.21

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 (233) 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 +3 -3
  5. package/build/lowcode/preview.css +1 -1
  6. package/build/lowcode/preview.js +1 -1
  7. package/build/lowcode/render/default/view.js +32 -32
  8. package/build/lowcode/view.js +32 -32
  9. package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -2
  10. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -2
  11. package/es/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
  12. package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -2
  13. package/es/components/PisellCards/components/TabCard/TabCard.d.ts +1 -2
  14. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +1 -2
  15. package/es/components/PisellCards/index.d.ts +5 -7
  16. package/es/components/PisellFields/index.d.ts +0 -1
  17. package/es/components/PisellGroupView/PisellGroupView.d.ts +1 -2
  18. package/es/components/PisellLayouts/index.d.ts +2 -3
  19. package/es/components/PisellMetrics/index.d.ts +2 -3
  20. package/es/components/appVersionControl/index.d.ts +1 -2
  21. package/es/components/appVersionControl/types.d.ts +0 -1
  22. package/es/components/auto-complete-number/index.d.ts +1 -2
  23. package/es/components/badge/index.d.ts +1 -2
  24. package/es/components/batch-editor/index.d.ts +1 -2
  25. package/es/components/calendar/index.d.ts +1 -4
  26. package/es/components/cardMetricItem/index.d.ts +1 -1
  27. package/es/components/cardPro/index.d.ts +1 -2
  28. package/es/components/checkbox/index.d.ts +1 -4
  29. package/es/components/classicLayout/index.d.ts +1 -2
  30. package/es/components/config-provider/index.d.ts +1 -2
  31. package/es/components/customSelect/index.d.ts +1 -1
  32. package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
  33. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
  34. package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
  35. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -4
  36. package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
  37. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -1
  38. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -2
  39. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +0 -1
  40. package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +0 -1
  41. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -2
  42. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  43. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -3
  44. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -1
  45. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -1
  46. package/es/components/date-picker/index.d.ts +1 -4
  47. package/es/components/drag-sort-tree/index.d.ts +1 -2
  48. package/es/components/drag-sort-tree/types.d.ts +0 -1
  49. package/es/components/dropdown/index.d.ts +1 -3
  50. package/es/components/filter/components/FilterButton/types.d.ts +0 -1
  51. package/es/components/filter/index.d.ts +1 -2
  52. package/es/components/input/index.d.ts +0 -1
  53. package/es/components/keyboard/index.d.ts +1 -1
  54. package/es/components/list/index.d.ts +1 -2
  55. package/es/components/lowCodePage/index.d.ts +1 -3
  56. package/es/components/page/index.d.ts +1 -2
  57. package/es/components/page-header/index.d.ts +1 -1
  58. package/es/components/pisell-config-provider/context.d.ts +0 -1
  59. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -2
  60. package/es/components/pisellAdjustPrice/index.d.ts +1 -2
  61. package/es/components/pisellAlert/index.d.ts +1 -1
  62. package/es/components/pisellCard/index.d.ts +1 -2
  63. package/es/components/pisellCheckboxGroup/index.d.ts +1 -1
  64. package/es/components/pisellCountdown/index.d.ts +1 -1
  65. package/es/components/pisellDatePicker/index.d.ts +1 -4
  66. package/es/components/pisellDraggable/index.d.ts +1 -1
  67. package/es/components/pisellEmpty/index.d.ts +1 -1
  68. package/es/components/pisellFilter/index.d.ts +1 -2
  69. package/es/components/pisellFloatingPanel/index.d.ts +1 -1
  70. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +4 -5
  71. package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +1 -2
  72. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +1 -3
  73. package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +1 -2
  74. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
  75. package/es/components/pisellGoodPassCard/index.d.ts +1 -1
  76. package/es/components/pisellGridPro/GridView/index.d.ts +1 -2
  77. package/es/components/pisellGridPro/ToolBar/type.d.ts +0 -1
  78. package/es/components/pisellInformationEntry/index.d.ts +1 -1
  79. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  80. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  81. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  82. package/es/components/pisellInput/index.d.ts +4 -5
  83. package/es/components/pisellLoading/index.d.ts +1 -2
  84. package/es/components/pisellMenu/types.d.ts +0 -1
  85. package/es/components/pisellModal/index.d.ts +2 -2
  86. package/es/components/pisellQuickFilter/type.d.ts +0 -1
  87. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +13 -7
  88. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +1 -2
  89. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +2 -1
  90. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +6 -6
  91. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +3 -3
  92. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +3 -3
  93. package/es/components/pisellRecordBoard/types.d.ts +2 -0
  94. package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +1 -2
  95. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +1 -2
  96. package/es/components/pisellRow/index.d.ts +1 -1
  97. package/es/components/pisellSort/index.d.ts +1 -2
  98. package/es/components/pisellStatisticList/index.d.ts +1 -1
  99. package/es/components/pisellTags/index.d.ts +1 -1
  100. package/es/components/pisellText/index.d.ts +2 -2
  101. package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +1 -2
  102. package/es/components/pisellTooltip/index.d.ts +1 -2
  103. package/es/components/pisellUpload/index.d.ts +1 -2
  104. package/es/components/pisellWalletPassCard/index.d.ts +1 -1
  105. package/es/components/qrcode/index.d.ts +1 -3
  106. package/es/components/radio/index.d.ts +1 -4
  107. package/es/components/section-footers/index.d.ts +1 -4
  108. package/es/components/segmented/index.d.ts +1 -2
  109. package/es/components/select-time/index.d.ts +1 -2
  110. package/es/components/skeleton/index.d.ts +1 -4
  111. package/es/components/slider/index.d.ts +1 -3
  112. package/es/components/tabs/index.d.ts +2 -2
  113. package/es/components/time-picker/index.d.ts +1 -4
  114. package/es/components/upload/index.d.ts +1 -4
  115. package/es/components/versionSelect/index.d.ts +0 -1
  116. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -2
  117. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -1
  118. package/es/components/virtual-keyboard/Number/index.d.ts +1 -2
  119. package/es/components/virtual-keyboard/Time/index.d.ts +1 -1
  120. package/es/components/virtual-keyboard/index.d.ts +1 -1
  121. package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -2
  122. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -2
  123. package/lib/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
  124. package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -2
  125. package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +1 -2
  126. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +1 -2
  127. package/lib/components/PisellCards/index.d.ts +5 -7
  128. package/lib/components/PisellFields/index.d.ts +0 -1
  129. package/lib/components/PisellGroupView/PisellGroupView.d.ts +1 -2
  130. package/lib/components/PisellLayouts/index.d.ts +2 -3
  131. package/lib/components/PisellMetrics/index.d.ts +2 -3
  132. package/lib/components/appVersionControl/index.d.ts +1 -2
  133. package/lib/components/appVersionControl/types.d.ts +0 -1
  134. package/lib/components/auto-complete-number/index.d.ts +1 -2
  135. package/lib/components/badge/index.d.ts +1 -2
  136. package/lib/components/batch-editor/index.d.ts +1 -2
  137. package/lib/components/calendar/index.d.ts +1 -4
  138. package/lib/components/cardMetricItem/index.d.ts +1 -1
  139. package/lib/components/cardPro/index.d.ts +1 -2
  140. package/lib/components/checkbox/index.d.ts +1 -4
  141. package/lib/components/classicLayout/index.d.ts +1 -2
  142. package/lib/components/config-provider/index.d.ts +1 -2
  143. package/lib/components/customSelect/index.d.ts +1 -1
  144. package/lib/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
  145. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
  146. package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
  147. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -4
  148. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
  149. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -1
  150. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -2
  151. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +0 -1
  152. package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +0 -1
  153. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -2
  154. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  155. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -3
  156. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -1
  157. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -1
  158. package/lib/components/date-picker/index.d.ts +1 -4
  159. package/lib/components/drag-sort-tree/index.d.ts +1 -2
  160. package/lib/components/drag-sort-tree/types.d.ts +0 -1
  161. package/lib/components/dropdown/index.d.ts +1 -3
  162. package/lib/components/filter/components/FilterButton/types.d.ts +0 -1
  163. package/lib/components/filter/index.d.ts +1 -2
  164. package/lib/components/input/index.d.ts +0 -1
  165. package/lib/components/keyboard/index.d.ts +1 -1
  166. package/lib/components/list/index.d.ts +1 -2
  167. package/lib/components/lowCodePage/index.d.ts +1 -3
  168. package/lib/components/page/index.d.ts +1 -2
  169. package/lib/components/page-header/index.d.ts +1 -1
  170. package/lib/components/pisell-config-provider/context.d.ts +0 -1
  171. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -2
  172. package/lib/components/pisellAdjustPrice/index.d.ts +1 -2
  173. package/lib/components/pisellAlert/index.d.ts +1 -1
  174. package/lib/components/pisellCard/index.d.ts +1 -2
  175. package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
  176. package/lib/components/pisellCountdown/index.d.ts +1 -1
  177. package/lib/components/pisellDatePicker/index.d.ts +1 -4
  178. package/lib/components/pisellDraggable/index.d.ts +1 -1
  179. package/lib/components/pisellEmpty/index.d.ts +1 -1
  180. package/lib/components/pisellFilter/index.d.ts +1 -2
  181. package/lib/components/pisellFloatingPanel/index.d.ts +1 -1
  182. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +4 -5
  183. package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +1 -2
  184. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +1 -3
  185. package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +1 -2
  186. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
  187. package/lib/components/pisellGoodPassCard/index.d.ts +1 -1
  188. package/lib/components/pisellGridPro/GridView/index.d.ts +1 -2
  189. package/lib/components/pisellGridPro/ToolBar/type.d.ts +0 -1
  190. package/lib/components/pisellInformationEntry/index.d.ts +1 -1
  191. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  192. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  193. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  194. package/lib/components/pisellInput/index.d.ts +4 -5
  195. package/lib/components/pisellLoading/index.d.ts +1 -2
  196. package/lib/components/pisellMenu/types.d.ts +0 -1
  197. package/lib/components/pisellModal/index.d.ts +2 -2
  198. package/lib/components/pisellQuickFilter/type.d.ts +0 -1
  199. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +12 -6
  200. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +1 -2
  201. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +2 -0
  202. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +6 -6
  203. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +2 -2
  204. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +2 -2
  205. package/lib/components/pisellRecordBoard/types.d.ts +2 -0
  206. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +1 -2
  207. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +1 -2
  208. package/lib/components/pisellRow/index.d.ts +1 -1
  209. package/lib/components/pisellSort/index.d.ts +1 -2
  210. package/lib/components/pisellStatisticList/index.d.ts +1 -1
  211. package/lib/components/pisellTags/index.d.ts +1 -1
  212. package/lib/components/pisellText/index.d.ts +2 -2
  213. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +1 -2
  214. package/lib/components/pisellTooltip/index.d.ts +1 -2
  215. package/lib/components/pisellUpload/index.d.ts +1 -2
  216. package/lib/components/pisellWalletPassCard/index.d.ts +1 -1
  217. package/lib/components/qrcode/index.d.ts +1 -3
  218. package/lib/components/radio/index.d.ts +1 -4
  219. package/lib/components/section-footers/index.d.ts +1 -4
  220. package/lib/components/segmented/index.d.ts +1 -2
  221. package/lib/components/select-time/index.d.ts +1 -2
  222. package/lib/components/skeleton/index.d.ts +1 -4
  223. package/lib/components/slider/index.d.ts +1 -3
  224. package/lib/components/tabs/index.d.ts +2 -2
  225. package/lib/components/time-picker/index.d.ts +1 -4
  226. package/lib/components/upload/index.d.ts +1 -4
  227. package/lib/components/versionSelect/index.d.ts +0 -1
  228. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -2
  229. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -1
  230. package/lib/components/virtual-keyboard/Number/index.d.ts +1 -2
  231. package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
  232. package/lib/components/virtual-keyboard/index.d.ts +1 -1
  233. package/package.json +1 -1
@@ -1,7 +1,6 @@
1
1
  import { PisellFilterProps } from "./type.js";
2
- import React from "react";
3
2
 
4
3
  //#region src/components/pisellFilter/index.d.ts
5
- declare const PisellFilter: (props: PisellFilterProps) => React.JSX.Element;
4
+ declare const PisellFilter: (props: PisellFilterProps) => JSX.Element;
6
5
  //#endregion
7
6
  export { PisellFilter };
@@ -13,6 +13,6 @@ interface PisellFloatingPanelProps {
13
13
  style?: React.CSSProperties;
14
14
  retractIconStyle?: React.CSSProperties;
15
15
  }
16
- declare const PisellFloatingPanel: (props: PisellFloatingPanelProps) => React.JSX.Element;
16
+ declare const PisellFloatingPanel: (props: PisellFloatingPanelProps) => JSX.Element;
17
17
  //#endregion
18
18
  export { PisellFloatingPanel };
@@ -1,5 +1,4 @@
1
1
  import { FloorMapDataSources, FloorMapMergedItem } from "../types.js";
2
- import React from "react";
3
2
 
4
3
  //#region src/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts
5
4
  type FigmaTableStatus = 'available' | 'reserved' | 'waiting' | 'dining' | 'billed' | 'availableSoon';
@@ -32,12 +31,12 @@ interface FigmaTableCardItem {
32
31
  /** 从 merged item + dataSources 得到卡片数据 */
33
32
  declare function getFigmaTableCardFromMerged(item: FloorMapMergedItem, dataSources: FloorMapDataSources): FigmaTableCardItem;
34
33
  /** 渲染 Figma 样式的方桌卡片(上下小条 + 资源信息标题栏 + 白底卡片 + 状态色边框) */
35
- declare function renderFigmaStyleTableCard(cardItem: FigmaTableCardItem): React.JSX.Element;
34
+ declare function renderFigmaStyleTableCard(cardItem: FigmaTableCardItem): JSX.Element;
36
35
  /** 渲染 Figma 样式的圆桌卡片(顶部资源信息 chip + 圆形主体,圆形主体只展示状态相关内容) */
37
- declare function renderFigmaStyleRoundTableCard(cardItem: FigmaTableCardItem): React.JSX.Element;
36
+ declare function renderFigmaStyleRoundTableCard(cardItem: FigmaTableCardItem): JSX.Element;
38
37
  /** 返回用于 renderItemByKind.table 的渲染函数(方桌) */
39
- declare function getRenderItemByKindTable(dataSources: FloorMapDataSources): (item: unknown) => React.JSX.Element;
38
+ declare function getRenderItemByKindTable(dataSources: FloorMapDataSources): (item: unknown) => JSX.Element;
40
39
  /** 返回用于 renderItemByKind.roundTable 的渲染函数(圆桌) */
41
- declare function getRenderItemByKindRoundTable(dataSources: FloorMapDataSources): (item: unknown) => React.JSX.Element;
40
+ declare function getRenderItemByKindRoundTable(dataSources: FloorMapDataSources): (item: unknown) => JSX.Element;
42
41
  //#endregion
43
42
  export { FigmaTableCardItem, FigmaTableStatus, getFigmaTableCardFromMerged, getRenderItemByKindRoundTable, getRenderItemByKindTable, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard };
@@ -1,11 +1,10 @@
1
1
  import { FloorMapBuiltinShapeRenderProps } from "../utils/floorMapBuiltinShapes.js";
2
- import React from "react";
3
2
 
4
3
  //#region src/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts
5
4
  interface FloorMapBuiltinShapeElementProps extends FloorMapBuiltinShapeRenderProps {
6
5
  builtinShapeKey?: string;
7
6
  name?: string;
8
7
  }
9
- declare function FloorMapBuiltinShapeElement(props: FloorMapBuiltinShapeElementProps): React.JSX.Element;
8
+ declare function FloorMapBuiltinShapeElement(props: FloorMapBuiltinShapeElementProps): JSX.Element;
10
9
  //#endregion
11
10
  export { FloorMapBuiltinShapeElement };
@@ -1,10 +1,8 @@
1
- import React from "react";
2
-
3
1
  //#region src/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts
4
2
  interface FloorMapImageElementProps {
5
3
  imageUrl?: string;
6
4
  name?: string;
7
5
  }
8
- declare function FloorMapImageElement(props: FloorMapImageElementProps): React.JSX.Element;
6
+ declare function FloorMapImageElement(props: FloorMapImageElementProps): JSX.Element;
9
7
  //#endregion
10
8
  export { FloorMapImageElement };
@@ -1,9 +1,8 @@
1
- import React from "react";
2
1
  //#region src/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts
3
2
  interface FloorMapSelectionZoneElementProps {
4
3
  /** 选区名称;为空时展示「未命名选区」占位 */
5
4
  name?: string;
6
5
  }
7
- declare function FloorMapSelectionZoneElement(props: FloorMapSelectionZoneElementProps): React.JSX.Element;
6
+ declare function FloorMapSelectionZoneElement(props: FloorMapSelectionZoneElementProps): JSX.Element;
8
7
  //#endregion
9
8
  export { FloorMapSelectionZoneElement };
@@ -15,6 +15,6 @@ interface FloorMapLayoutProviderProps {
15
15
  declare function FloorMapLayoutProvider({
16
16
  value,
17
17
  children
18
- }: FloorMapLayoutProviderProps): React.JSX.Element;
18
+ }: FloorMapLayoutProviderProps): JSX.Element;
19
19
  //#endregion
20
20
  export { EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, FloorMapLayoutProvider, FloorMapLayoutProviderProps, useFloorMapLayoutContext };
@@ -46,6 +46,6 @@ interface PisellGoodPassCardProps {
46
46
  mixedSort?: (val: Discount[]) => Discount[];
47
47
  isInModal: boolean;
48
48
  }
49
- declare const index: (props: PisellGoodPassCardProps) => React.JSX.Element;
49
+ declare const index: (props: PisellGoodPassCardProps) => JSX.Element;
50
50
  //#endregion
51
51
  export { index };
@@ -1,6 +1,5 @@
1
1
  import { GridViewProps } from "./type.js";
2
- import React from "react";
3
2
  //#region src/components/pisellGridPro/GridView/index.d.ts
4
- declare const GridView: (props: GridViewProps) => React.JSX.Element;
3
+ declare const GridView: (props: GridViewProps) => JSX.Element;
5
4
  //#endregion
6
5
  export { GridView };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  //#region src/components/pisellGridPro/ToolBar/type.d.ts
3
2
  interface ToolBarProps {
4
3
  className?: string;
@@ -29,6 +29,6 @@ interface PisellInformationEntryProps extends Omit<React.HTMLAttributes<HTMLDivE
29
29
  /** 录入类型切换时候触发的 */
30
30
  onChangeType?: (val: null | EntryModeType['type']) => void;
31
31
  }
32
- declare const PisellInformationEntry: (props: PisellInformationEntryProps) => React.JSX.Element;
32
+ declare const PisellInformationEntry: (props: PisellInformationEntryProps) => JSX.Element;
33
33
  //#endregion
34
34
  export { PisellInformationEntry };
@@ -1,5 +1,4 @@
1
1
  import { PisellContextType } from "../../../pisell-config-provider/context.js";
2
- import React from "react";
3
2
  import { InputProps } from "antd";
4
3
  //#region src/components/pisellInput/components/BankCard/index.d.ts
5
4
  type BankCardProps = InputProps & {
@@ -1,5 +1,4 @@
1
1
  import { PisellContextType } from "../../../pisell-config-provider/context.js";
2
- import React from "react";
3
2
  import { ButtonProps, InputProps } from "antd";
4
3
 
5
4
  //#region src/components/pisellInput/components/Copy/index.d.ts
@@ -1,5 +1,4 @@
1
1
  import { PisellContextType } from "../../../pisell-config-provider/context.js";
2
- import React from "react";
3
2
  import { InputProps } from "antd";
4
3
  //#region src/components/pisellInput/components/SecurityCode/index.d.ts
5
4
  interface SecurityCodeProps extends Omit<InputProps, 'onChange'> {
@@ -2,17 +2,16 @@ import { PisellContextType } from "../pisell-config-provider/context.js";
2
2
  import { BankCardProps } from "./components/BankCard/index.js";
3
3
  import { SecurityCodeProps } from "./components/SecurityCode/index.js";
4
4
  import { CopyProps } from "./components/Copy/index.js";
5
- import React from "react";
6
5
  import { InputProps } from "antd";
7
6
 
8
7
  //#region src/components/pisellInput/index.d.ts
9
8
  declare const PisellInput: {
10
9
  (props: InputProps & {
11
10
  /** 平台 */platform?: PisellContextType['platform'];
12
- }): React.JSX.Element;
13
- BankCard: (props: BankCardProps) => React.JSX.Element;
14
- SecurityCode: (props: SecurityCodeProps) => React.JSX.Element;
15
- Copy: (props: CopyProps) => React.JSX.Element;
11
+ }): JSX.Element;
12
+ BankCard: (props: BankCardProps) => JSX.Element;
13
+ SecurityCode: (props: SecurityCodeProps) => JSX.Element;
14
+ Copy: (props: CopyProps) => JSX.Element;
16
15
  };
17
16
  //#endregion
18
17
  export { PisellInput };
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  import { SpinProps } from "antd";
3
2
  //#region src/components/pisellLoading/index.d.ts
4
3
  type MaskType = {
@@ -16,6 +15,6 @@ interface PisellLoadingProps extends SpinProps {
16
15
  /** 延迟显示加载效果的时间(防止闪烁) */
17
16
  delay?: number;
18
17
  }
19
- declare const PisellLoading: (props: PisellLoadingProps) => React.JSX.Element;
18
+ declare const PisellLoading: (props: PisellLoadingProps) => JSX.Element;
20
19
  //#endregion
21
20
  export { PisellLoading };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuProps } from "antd";
3
2
 
4
3
  //#region src/components/pisellMenu/types.d.ts
@@ -40,7 +40,7 @@ interface PisellModalProps extends ModalProps {
40
40
  maskProps?: React.HTMLAttributes<HTMLDivElement>;
41
41
  }
42
42
  declare const PisellModal: {
43
- (props: PisellModalProps): React.JSX.Element;
43
+ (props: PisellModalProps): JSX.Element;
44
44
  confirm: (props: PisellModalFuncProps) => {
45
45
  destroy: () => void;
46
46
  update: (configUpdate: _$antd.ModalFuncProps | ((prevConfig: _$antd.ModalFuncProps) => _$antd.ModalFuncProps)) => void;
@@ -62,7 +62,7 @@ declare const PisellModal: {
62
62
  destroy: () => void;
63
63
  update: (configUpdate: _$antd.ModalFuncProps | ((prevConfig: _$antd.ModalFuncProps) => _$antd.ModalFuncProps)) => void;
64
64
  };
65
- Information: (props: InformationProps) => React.JSX.Element;
65
+ Information: (props: InformationProps) => JSX.Element;
66
66
  };
67
67
  //#endregion
68
68
  export { PisellModal, PisellModalProps };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterItemProps } from "../filter/types.js";
3
2
  import { FormInstance } from "antd";
4
3
 
@@ -3,7 +3,7 @@ import { _asyncToGenerator } from "../../../../_virtual/_@oxc-project_runtime@0.
3
3
  import { buildCalendarTimelineSlotStartsFromRange } from "../../../pisellTimeNavigator/utils/index.js";
4
4
  import { useCalendarPersist } from "./calendarPersistGuard.js";
5
5
  import { DEFAULT_CALENDAR_TIMELINE } from "./const/bookingCalendarConstants.js";
6
- import { tCal } from "./calendarI18n.js";
6
+ import { CALENDAR_WEEKDAY_IDS, SUNDAY_FIRST_CALENDAR_WEEKDAY_IDS, tCal } from "./calendarI18n.js";
7
7
  import { addDays, dayAndHourToDayjs, fmtDate, groupSelectedSlots, isCrossDayBooking, isFreeSelectionContiguousSameResource, isHourInTimelineSlots, monthCalendarDays, monthGrid, rangeDays, startOfWeek } from "./utils/bookingCalendarDateUtils.js";
8
8
  import { MoveConfirmModal } from "./modal/MoveConfirmModal.js";
9
9
  import { BookingCalendarBlockPanel } from "./modal/BookingCalendarBlockPanel.js";
@@ -32,7 +32,9 @@ import "./BookingCalendar.less";
32
32
  */
33
33
  /** 看板日历根组件:内含主题 CSS 与 Spin,按 `view` 挂载月 / 周 / 日子组件 */
34
34
  function BookingCalendar(props = {}) {
35
- var _hourSlots$;
35
+ var _props$weekStartsOn, _hourSlots$;
36
+ const weekStartsOn = (_props$weekStartsOn = props.weekStartsOn) !== null && _props$weekStartsOn !== void 0 ? _props$weekStartsOn : 1;
37
+ const weekdayIds = weekStartsOn === 0 ? SUNDAY_FIRST_CALENDAR_WEEKDAY_IDS : CALENDAR_WEEKDAY_IDS;
36
38
  const allowPersist = useCalendarPersist();
37
39
  /** 将 `resources` 规范为 `{ id, name, type }`,供分组与三视图共用 */
38
40
  const courts = useMemo(() => {
@@ -97,7 +99,7 @@ function BookingCalendar(props = {}) {
97
99
  rangeStart = new Date(a.getFullYear(), a.getMonth(), 1);
98
100
  rangeEnd = new Date(a.getFullYear(), a.getMonth() + 1, 0);
99
101
  } else if (view === "week") {
100
- rangeStart = startOfWeek(a);
102
+ rangeStart = startOfWeek(a, weekStartsOn);
101
103
  rangeEnd = addDays(rangeStart, 6);
102
104
  } else {
103
105
  rangeStart = new Date(a);
@@ -112,7 +114,8 @@ function BookingCalendar(props = {}) {
112
114
  }, [
113
115
  view,
114
116
  anchorDate,
115
- props.onViewportChange
117
+ props.onViewportChange,
118
+ weekStartsOn
116
119
  ]);
117
120
  const [selectedFreeSlots, setSelectedFreeSlots] = useState([]);
118
121
  const [selectedBlockSlots, setSelectedBlockSlots] = useState([]);
@@ -175,7 +178,7 @@ function BookingCalendar(props = {}) {
175
178
  */
176
179
  const { dayRowHeights, overlayBookings, courtDayDisplayLaneCount, hiddenDayOverlayIdSet, dayOverlayOverflowPluses } = useBookingCalendarDayOverlayLayout(visibleCourtRows, dayKey, bookings, hourSlots, slotStepHours);
177
180
  /** 周视图表头对应的 7 个自然日 */
178
- const weekDays = useMemo(() => rangeDays(anchorDate), [anchorDate]);
181
+ const weekDays = useMemo(() => rangeDays(anchorDate, weekStartsOn), [anchorDate, weekStartsOn]);
179
182
  /** 资源视图:当月每日一列 */
180
183
  const resourceMonthDays = useMemo(() => monthCalendarDays(anchorDate), [anchorDate]);
181
184
  useMemo(() => new Set(weekDays.map((d) => fmtDate(d))), [weekDays]);
@@ -211,12 +214,13 @@ function BookingCalendar(props = {}) {
211
214
  }
212
215
  }, [view]);
213
216
  /** 月历每格摘要(占用点、锁台等),供月视图渲染 */
214
- const monthDays = useMemo(() => monthGrid(anchorDate, bookings, courts, hourSlots, slotStepHours), [
217
+ const monthDays = useMemo(() => monthGrid(anchorDate, bookings, courts, hourSlots, slotStepHours, weekStartsOn), [
215
218
  anchorDate,
216
219
  bookings,
217
220
  courts,
218
221
  hourSlots,
219
- slotStepHours
222
+ slotStepHours,
223
+ weekStartsOn
220
224
  ]);
221
225
  /** 日视图内容区总高度(表头 + 各资源行叠加以 overlay 抬高后的高度) */
222
226
  const dayContentHeight = 56 + dayRowHeights.reduce((sum, h) => sum + h, 0);
@@ -610,6 +614,7 @@ function BookingCalendar(props = {}) {
610
614
  className: "theme-shell soft-shadow mx-0 flex h-full min-h-0 w-full max-w-none flex-1 flex-col overflow-hidden transition-[padding-right] duration-200",
611
615
  style: { paddingRight: 0 }
612
616
  }, /* @__PURE__ */ React.createElement("div", { className: "flex min-h-0 flex-1 flex-col" }, view === "month" && /* @__PURE__ */ React.createElement(BookingCalendarMonthView, {
617
+ weekdayIds,
613
618
  isLight,
614
619
  anchorDate,
615
620
  monthDays,
@@ -622,6 +627,7 @@ function BookingCalendar(props = {}) {
622
627
  renderMonthWeekBooking: props.renderMonthWeekBooking,
623
628
  tickFillMode: resolveTickFillMode("month", props.tickFillMode)
624
629
  }), view === "week" && /* @__PURE__ */ React.createElement(BookingCalendarWeekView, {
630
+ weekdayIds,
625
631
  calendarProps: props,
626
632
  isLight,
627
633
  weekDays,
@@ -1,5 +1,4 @@
1
1
  import { RecordBoardCalendarProps } from "../../types.js";
2
- import React from "react";
3
2
 
4
3
  //#region src/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts
5
4
  type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
@@ -10,6 +9,6 @@ type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
10
9
  * 只做「占位与裁剪高度」;本组件根节点负责在同一 flex 列里向下传递 **min-height:0**,避免 `BookingCalendar`
11
10
  * 撑破壳层(一层即可,历史上曾双包一层重复 flex+overflow)。
12
11
  */
13
- declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): React.JSX.Element;
12
+ declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): JSX.Element;
14
13
  //#endregion
15
14
  export { PisellRecordBoardCalendarView, PisellRecordBoardCalendarViewProps };
@@ -18,5 +18,6 @@ const CALENDAR_WEEKDAY_IDS = [
18
18
  "pisell2.recordBoard.calendar.weekday.sat",
19
19
  "pisell2.recordBoard.calendar.weekday.sun"
20
20
  ];
21
+ const SUNDAY_FIRST_CALENDAR_WEEKDAY_IDS = [CALENDAR_WEEKDAY_IDS[6], ...CALENDAR_WEEKDAY_IDS.slice(0, 6)];
21
22
  //#endregion
22
- export { CALENDAR_WEEKDAY_IDS, tCal };
23
+ export { CALENDAR_WEEKDAY_IDS, SUNDAY_FIRST_CALENDAR_WEEKDAY_IDS, tCal };
@@ -24,16 +24,16 @@ function addDays(date, n) {
24
24
  next.setDate(next.getDate() + n);
25
25
  return next;
26
26
  }
27
- function startOfWeek(date) {
27
+ function startOfWeek(date, weekStartsOn = 1) {
28
28
  const d = new Date(date);
29
29
  const day = d.getDay();
30
- const diff = day === 0 ? -6 : 1 - day;
30
+ const diff = weekStartsOn === 0 ? -day : day === 0 ? -6 : 1 - day;
31
31
  d.setDate(d.getDate() + diff);
32
32
  d.setHours(0, 0, 0, 0);
33
33
  return d;
34
34
  }
35
- function rangeDays(anchor) {
36
- const start = startOfWeek(anchor);
35
+ function rangeDays(anchor, weekStartsOn = 1) {
36
+ const start = startOfWeek(anchor, weekStartsOn);
37
37
  return Array.from({ length: 7 }, (_, i) => addDays(start, i));
38
38
  }
39
39
  /**
@@ -67,11 +67,11 @@ function formatShortMonthDay(dateKey) {
67
67
  if (!m || !d) return dateKey;
68
68
  return `${m}/${d}`;
69
69
  }
70
- function monthGrid(date, bookings, courtsList = [], hourSlotsIn, slotStepHours = 1) {
70
+ function monthGrid(date, bookings, courtsList = [], hourSlotsIn, slotStepHours = 1, weekStartsOn = 1) {
71
71
  const hourSlots = hourSlotsIn && hourSlotsIn.length ? hourSlotsIn : buildCalendarTimelineSlotStartsFromRange(DEFAULT_CALENDAR_TIMELINE, date, 60);
72
72
  const year = date.getFullYear();
73
73
  const month = date.getMonth();
74
- const start = startOfWeek(new Date(year, month, 1));
74
+ const start = startOfWeek(new Date(year, month, 1), weekStartsOn);
75
75
  return Array.from({ length: 35 }, (_, i) => addDays(start, i)).map((day) => {
76
76
  const key = fmtDate(day);
77
77
  const dayBookings = bookings.filter((b) => b.kind === "booking" && getBookingSegmentForDate(b, key) != null);
@@ -1,5 +1,5 @@
1
1
  import { monthViewEffectiveMaxLanes } from "../const/bookingCalendarConstants.js";
2
- import { CALENDAR_WEEKDAY_IDS, tCal } from "../calendarI18n.js";
2
+ import { tCal } from "../calendarI18n.js";
3
3
  import { assignPerDateLanesCrossDayUnified, clipBookingDaySpanToWindow, fmtDate, formatHourLabel, formatShortMonthDay, getBookingSegmentForDate, isCrossDayBooking } from "../utils/bookingCalendarDateUtils.js";
4
4
  import { getGridBookingRowStateClasses } from "../utils/BookingCalendarStyle.js";
5
5
  import { CalendarGridBookingClipMarkers } from "../bookingCalendarViewShared.js";
@@ -15,7 +15,7 @@ const MONTH_GRID_COLS = 7;
15
15
  * - 行高内自适应 effectiveMaxLane,超出 → cell 级 `+N` tile;
16
16
  * - cell 层只负责日期 header / 点击跳日 / drop 改期,不再渲染 booking 列表(被 overlay 替代)。
17
17
  */
18
- function BookingCalendarMonthView({ isLight, anchorDate, monthDays, bookings, goToDayFromCell, handleGridDropMove, setDraggingItem, openBookingDetail, setOverflowListModal, renderMonthWeekBooking, tickFillMode }) {
18
+ function BookingCalendarMonthView({ weekdayIds, isLight, anchorDate, monthDays, bookings, goToDayFromCell, handleGridDropMove, setDraggingItem, openBookingDetail, setOverflowListModal, renderMonthWeekBooking, tickFillMode }) {
19
19
  const todayKey = fmtDate(/* @__PURE__ */ new Date());
20
20
  const weekRows = useMemo(() => {
21
21
  const out = [];
@@ -48,7 +48,7 @@ function BookingCalendarMonthView({ isLight, anchorDate, monthDays, bookings, go
48
48
  return /* @__PURE__ */ React.createElement("div", {
49
49
  key: `month-${anchorDate.getFullYear()}-${anchorDate.getMonth()}`,
50
50
  className: "flex min-h-0 flex-1 flex-col"
51
- }, /* @__PURE__ */ React.createElement("div", { className: "relative flex min-h-0 flex-1 flex-col overflow-hidden" }, /* @__PURE__ */ React.createElement("div", { className: "flex min-h-0 min-w-0 flex-1 flex-col overflow-x-auto overflow-y-hidden" }, /* @__PURE__ */ React.createElement("div", { className: "theme-panel flex min-h-[0] min-w-[980px] flex-1 flex-col overflow-hidden" }, /* @__PURE__ */ React.createElement("div", { className: "theme-panel-alt grid shrink-0 grid-cols-7 border-b theme-border shadow-[0_6px_12px_rgba(0,0,0,0.08)]" }, CALENDAR_WEEKDAY_IDS.map((id) => /* @__PURE__ */ React.createElement("div", {
51
+ }, /* @__PURE__ */ React.createElement("div", { className: "relative flex min-h-0 flex-1 flex-col overflow-hidden" }, /* @__PURE__ */ React.createElement("div", { className: "flex min-h-0 min-w-0 flex-1 flex-col overflow-x-auto overflow-y-hidden" }, /* @__PURE__ */ React.createElement("div", { className: "theme-panel flex min-h-[0] min-w-[980px] flex-1 flex-col overflow-hidden" }, /* @__PURE__ */ React.createElement("div", { className: "theme-panel-alt grid shrink-0 grid-cols-7 border-b theme-border shadow-[0_6px_12px_rgba(0,0,0,0.08)]" }, weekdayIds.map((id) => /* @__PURE__ */ React.createElement("div", {
52
52
  key: id,
53
53
  className: "px-4 py-2.5 text-center text-sm font-medium"
54
54
  }, tCal(id)))), /* @__PURE__ */ React.createElement("div", {
@@ -1,5 +1,5 @@
1
1
  import { CALENDAR_EMPTY_DASHED_SLOT_CLASSNAME } from "../const/bookingCalendarConstants.js";
2
- import { CALENDAR_WEEKDAY_IDS, tCal } from "../calendarI18n.js";
2
+ import { tCal } from "../calendarI18n.js";
3
3
  import { assignLanesByInterval, bookingIntersectsDateWindow, courtDaySummary, dayOccupancy, fmtDate, formatHourLabel, formatShortMonthDay, getBookingSegmentForDate, isCrossDayBooking } from "../utils/bookingCalendarDateUtils.js";
4
4
  import { getGridBookingRowStateClasses } from "../utils/BookingCalendarStyle.js";
5
5
  import { CalendarGridBookingClipMarkers, getRemainingToneClass } from "../bookingCalendarViewShared.js";
@@ -13,7 +13,7 @@ const WEEK_VIEW_OVERLAY_LANE_GAP = 4;
13
13
  /**
14
14
  * 周视图:7 日网格 + 左侧分组(可折叠),单元格调起日视图;格内 drop 触发改期草稿。
15
15
  */
16
- function BookingCalendarWeekView({ calendarProps, isLight, weekDays, bookings, courts, hourSlots, slotStepHours, visibleCourts, visibleCourtRows, isBusinessHour, goToDayFromCell, handleGridDropMove, openBookingDetail, setDraggingItem, setCollapsedGroups, setOverflowListModal, tickFillMode }) {
16
+ function BookingCalendarWeekView({ weekdayIds, calendarProps, isLight, weekDays, bookings, courts, hourSlots, slotStepHours, visibleCourts, visibleCourtRows, isBusinessHour, goToDayFromCell, handleGridDropMove, openBookingDetail, setDraggingItem, setCollapsedGroups, setOverflowListModal, tickFillMode }) {
17
17
  const props = calendarProps;
18
18
  const todayKey = fmtDate(/* @__PURE__ */ new Date());
19
19
  /** 与下方 grid `minmax(…px, 1fr)` 一致:窄屏由外层 overflow-auto + min-w-0 定视口宽,本值撑开 scrollWidth */
@@ -142,7 +142,7 @@ function BookingCalendarWeekView({ calendarProps, isLight, weekDays, bookings, c
142
142
  return /* @__PURE__ */ React.createElement("div", {
143
143
  key,
144
144
  className: `relative z-20 border-b border-l px-1.5 py-2 text-center shadow-[0_8px_16px_rgba(0,0,0,0.06)] ${isLight ? "theme-border theme-text" : "border-zinc-800"} ${isToday ? isLight ? "bg-gradient-to-b from-violet-50 to-white" : "bg-gradient-to-b from-violet-950 to-[#1a1a22]" : isLight ? "theme-panel-soft" : "bg-[#1a1a22]"}`
145
- }, /* @__PURE__ */ React.createElement("div", { className: `text-sm leading-tight ${isLight ? "theme-text-faint" : "text-zinc-400"}` }, tCal(CALENDAR_WEEKDAY_IDS[i])), /* @__PURE__ */ React.createElement("div", { className: "mt-0.5 flex justify-center" }, /* @__PURE__ */ React.createElement("span", {
145
+ }, /* @__PURE__ */ React.createElement("div", { className: `text-sm leading-tight ${isLight ? "theme-text-faint" : "text-zinc-400"}` }, tCal(weekdayIds[i])), /* @__PURE__ */ React.createElement("div", { className: "mt-0.5 flex justify-center" }, /* @__PURE__ */ React.createElement("span", {
146
146
  className: "grid h-10 w-10 place-items-center text-3xl font-semibold leading-none",
147
147
  "aria-label": isToday ? "Today" : void 0
148
148
  }, day.getDate())));
@@ -329,6 +329,8 @@ interface RecordBoardBlockedTimePanelPayload {
329
329
  }
330
330
  /** 日历视图槽位 props:由 Shell 合并根级与子槽后传入 PisellRecordBoardCalendarView */
331
331
  interface RecordBoardCalendarProps {
332
+ /** 0 = Sunday, 1 = Monday. Omitted keeps the original Monday-first behaviour. */
333
+ weekStartsOn?: 0 | 1;
332
334
  persistGuard?: CalendarPersistContextValue;
333
335
  /**
334
336
  * 日历画布外观:亮色切换 `theme-root.theme-light`;未传或 `dark` 为深色(默认)。
@@ -1,10 +1,9 @@
1
1
  import { PisellReservationScheduleProps } from "./types.js";
2
- import React from "react";
3
2
  //#region src/components/pisellReservationSchedule/PisellReservationSchedule.d.ts
4
3
  /**
5
4
  * 营业日导航条:上一日、中间日期文案、下一日(深色条样式,适配预约顶栏)
6
5
  */
7
- declare function PisellReservationSchedule(props: PisellReservationScheduleProps): React.JSX.Element;
6
+ declare function PisellReservationSchedule(props: PisellReservationScheduleProps): JSX.Element;
8
7
  declare namespace PisellReservationSchedule {
9
8
  var displayName: string;
10
9
  }
@@ -1,10 +1,9 @@
1
1
  import { PisellReservationScheduleBandProps } from "./types.js";
2
- import React from "react";
3
2
  //#region src/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts
4
3
  /**
5
4
  * 预约顶栏组合:营业日切换 + 锚定到选中日的时间导航轴
6
5
  */
7
- declare function PisellReservationScheduleBand(props: PisellReservationScheduleBandProps): React.JSX.Element;
6
+ declare function PisellReservationScheduleBand(props: PisellReservationScheduleBandProps): JSX.Element;
8
7
  declare namespace PisellReservationScheduleBand {
9
8
  var displayName: string;
10
9
  }
@@ -18,6 +18,6 @@ interface PisellRowProps extends React.DetailedHTMLProps<React.HTMLAttributes<HT
18
18
  * @Author: zhiwei.Wang
19
19
  * @Date: 2024-08-16 10:38
20
20
  */
21
- declare const PisellRow: (props: PisellRowProps) => React.JSX.Element;
21
+ declare const PisellRow: (props: PisellRowProps) => JSX.Element;
22
22
  //#endregion
23
23
  export { PisellRow, PisellRowProps };
@@ -1,7 +1,6 @@
1
1
  import { PisellSortProps } from "./type.js";
2
- import React from "react";
3
2
 
4
3
  //#region src/components/pisellSort/index.d.ts
5
- declare const PisellSort: (props: PisellSortProps) => React.JSX.Element;
4
+ declare const PisellSort: (props: PisellSortProps) => JSX.Element;
6
5
  //#endregion
7
6
  export { PisellSort };
@@ -18,6 +18,6 @@ interface PisellStatisticListProps extends React.HTMLAttributes<HTMLDivElement>
18
18
  }[];
19
19
  }[];
20
20
  }
21
- declare const PisellStatisticList: (props: PisellStatisticListProps) => React.JSX.Element;
21
+ declare const PisellStatisticList: (props: PisellStatisticListProps) => JSX.Element;
22
22
  //#endregion
23
23
  export { PisellStatisticList, PisellStatisticListProps };
@@ -9,6 +9,6 @@ interface PisellTagsProps extends React.DetailedHTMLProps<React.HTMLAttributes<H
9
9
  icon?: React.ReactNode;
10
10
  color?: PisellTagsColor;
11
11
  }
12
- declare const PisellTags: (props: PisellTagsProps) => React.JSX.Element;
12
+ declare const PisellTags: (props: PisellTagsProps) => JSX.Element;
13
13
  //#endregion
14
14
  export { PisellTags };
@@ -5,8 +5,8 @@ import React from "react";
5
5
  //#region src/components/pisellText/index.d.ts
6
6
  interface PisellTextProps extends React.HTMLAttributes<HTMLSpanElement> {}
7
7
  declare const PisellText: {
8
- (props: PisellTextProps): React.JSX.Element;
9
- Amount: (props: AmountProps) => React.JSX.Element;
8
+ (props: PisellTextProps): JSX.Element;
9
+ Amount: (props: AmountProps) => JSX.Element;
10
10
  Editable: React.FC<EditableProps>;
11
11
  };
12
12
  //#endregion
@@ -1,10 +1,9 @@
1
1
  import { PisellTimeNavigatorProps } from "./types.js";
2
- import React from "react";
3
2
  //#region src/components/pisellTimeNavigator/PisellTimeNavigator.d.ts
4
3
  /**
5
4
  * PisellTimeNavigator:可拖动的时间导航轴,时间范围内浏览、选择、控制
6
5
  */
7
- declare function PisellTimeNavigator(props: PisellTimeNavigatorProps): React.JSX.Element;
6
+ declare function PisellTimeNavigator(props: PisellTimeNavigatorProps): JSX.Element;
8
7
  declare namespace PisellTimeNavigator {
9
8
  var displayName: string;
10
9
  }
@@ -1,5 +1,4 @@
1
1
  import { PisellContextType } from "../pisell-config-provider/context.js";
2
- import React from "react";
3
2
  import { TooltipPropsWithTitle } from "antd/es/tooltip";
4
3
 
5
4
  //#region src/components/pisellTooltip/index.d.ts
@@ -7,6 +6,6 @@ interface PisellTooltipProps extends TooltipPropsWithTitle {
7
6
  /** 平台 */
8
7
  platform?: PisellContextType['platform'];
9
8
  }
10
- declare const PisellTooltip: (props: PisellTooltipProps) => React.JSX.Element;
9
+ declare const PisellTooltip: (props: PisellTooltipProps) => JSX.Element;
11
10
  //#endregion
12
11
  export { PisellTooltip };
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  import { UploadProps } from "antd";
3
2
  //#region src/components/pisellUpload/index.d.ts
4
3
  interface PisellUploadProps extends UploadProps {
@@ -7,6 +6,6 @@ interface PisellUploadProps extends UploadProps {
7
6
  text2?: string;
8
7
  uploadType?: 'button' | 'drop' | 'custom';
9
8
  }
10
- declare const PisellUpload: (props: PisellUploadProps) => React.JSX.Element;
9
+ declare const PisellUpload: (props: PisellUploadProps) => JSX.Element;
11
10
  //#endregion
12
11
  export { PisellUpload };
@@ -139,6 +139,6 @@ interface PisellWalletPassCardProps {
139
139
  onSetHolder?: (currentValue?: any) => void;
140
140
  [key: string]: any;
141
141
  }
142
- declare const PisellWalletPassCard: (props: PisellWalletPassCardProps) => React.JSX.Element;
142
+ declare const PisellWalletPassCard: (props: PisellWalletPassCardProps) => JSX.Element;
143
143
  //#endregion
144
144
  export { FormatOption, PisellWalletPassCard, PisellWalletPassCardProps };
@@ -1,6 +1,4 @@
1
- import React from "react";
2
-
3
1
  //#region src/components/qrcode/index.d.ts
4
- declare const QRCode: (props: any) => React.JSX.Element;
2
+ declare const QRCode: (props: any) => JSX.Element;
5
3
  //#endregion
6
4
  export { QRCode };
@@ -1,7 +1,4 @@
1
- /// <reference types="react" />
2
- import * as _$react from "react";
3
-
4
1
  //#region src/components/radio/index.d.ts
5
- declare const Radio: (props: any) => _$react.JSX.Element;
2
+ declare const Radio: (props: any) => JSX.Element;
6
3
  //#endregion
7
4
  export { Radio };
@@ -1,6 +1,3 @@
1
- /// <reference types="react" />
2
- import * as _$react from "react";
3
-
4
1
  //#region src/components/section-footers/index.d.ts
5
2
  interface SectionFooterProps {
6
3
  left?: React.ReactNode;
@@ -8,6 +5,6 @@ interface SectionFooterProps {
8
5
  right?: React.ReactNode;
9
6
  className?: string;
10
7
  }
11
- declare const SectionFooters: (props: SectionFooterProps) => _$react.JSX.Element;
8
+ declare const SectionFooters: (props: SectionFooterProps) => JSX.Element;
12
9
  //#endregion
13
10
  export { SectionFooters };
@@ -1,6 +1,5 @@
1
- import React from "react";
2
1
  import { SegmentedProps } from "antd";
3
2
  //#region src/components/segmented/index.d.ts
4
- declare const Segmented$1: (props: SegmentedProps) => React.JSX.Element;
3
+ declare const Segmented$1: (props: SegmentedProps) => JSX.Element;
5
4
  //#endregion
6
5
  export { Segmented$1 as Segmented };
@@ -1,5 +1,4 @@
1
1
  import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time/index.js";
2
- import React from "react";
3
2
  import { PopoverProps, TimePickerProps } from "antd";
4
3
  //#region src/components/select-time/index.d.ts
5
4
  interface SelectTimeProps {
@@ -12,6 +11,6 @@ interface SelectTimeProps {
12
11
  theme?: 'light' | 'dark';
13
12
  className?: string;
14
13
  }
15
- declare const SelectTime: (props: SelectTimeProps) => React.JSX.Element;
14
+ declare const SelectTime: (props: SelectTimeProps) => JSX.Element;
16
15
  //#endregion
17
16
  export { SelectTime };
@@ -1,7 +1,4 @@
1
- /// <reference types="react" />
2
- import * as _$react from "react";
3
-
4
1
  //#region src/components/skeleton/index.d.ts
5
- declare const Skeleton: (props: any) => _$react.JSX.Element;
2
+ declare const Skeleton: (props: any) => JSX.Element;
6
3
  //#endregion
7
4
  export { Skeleton };
@@ -1,6 +1,4 @@
1
- import React from "react";
2
-
3
1
  //#region src/components/slider/index.d.ts
4
- declare const SliderOuter: (props: any) => React.JSX.Element;
2
+ declare const SliderOuter: (props: any) => JSX.Element;
5
3
  //#endregion
6
4
  export { SliderOuter };