@pisell/materials 6.11.266 → 6.11.267

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 (210) 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 +48 -48
  8. package/build/lowcode/view.js +48 -48
  9. package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +2 -2
  10. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +2 -2
  11. package/es/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
  12. package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +2 -2
  13. package/es/components/PisellCards/components/TabCard/TabCard.d.ts +2 -2
  14. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +2 -2
  15. package/es/components/PisellCards/index.d.ts +5 -6
  16. package/es/components/PisellFields/index.js +11 -0
  17. package/es/components/PisellGroupView/PisellGroupView.d.ts +2 -2
  18. package/es/components/PisellLayouts/index.d.ts +2 -2
  19. package/es/components/PisellMetrics/index.d.ts +2 -2
  20. package/es/components/appVersionControl/index.d.ts +2 -2
  21. package/es/components/auto-complete-number/index.d.ts +2 -2
  22. package/es/components/badge/index.d.ts +2 -2
  23. package/es/components/batch-editor/index.d.ts +2 -2
  24. package/es/components/calendar/index.d.ts +1 -3
  25. package/es/components/cardMetricItem/index.d.ts +1 -1
  26. package/es/components/cardPro/index.d.ts +2 -2
  27. package/es/components/checkbox/index.d.ts +1 -3
  28. package/es/components/classicLayout/index.d.ts +2 -2
  29. package/es/components/config-provider/index.d.ts +3 -2
  30. package/es/components/customSelect/index.d.ts +1 -1
  31. package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
  32. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
  33. package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
  34. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -2
  35. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -3
  36. package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
  37. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -2
  38. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +2 -2
  39. package/es/components/dataSourceComponents/fields/Select/index.d.ts +2 -2
  40. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
  41. package/es/components/date-picker/index.d.ts +1 -3
  42. package/es/components/drag-sort-tree/index.d.ts +2 -2
  43. package/es/components/dropdown/index.d.ts +2 -3
  44. package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.js +2 -0
  45. package/es/components/filter/components/FilterItem/index.js +11 -0
  46. package/es/components/filter/index.d.ts +2 -2
  47. package/es/components/keyboard/index.d.ts +1 -1
  48. package/es/components/list/index.d.ts +2 -2
  49. package/es/components/lowCodePage/index.d.ts +2 -3
  50. package/es/components/page/index.d.ts +2 -2
  51. package/es/components/page-header/index.d.ts +1 -1
  52. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -2
  53. package/es/components/pisellAdjustPrice/index.d.ts +2 -2
  54. package/es/components/pisellAlert/index.d.ts +1 -1
  55. package/es/components/pisellCard/index.d.ts +2 -2
  56. package/es/components/pisellCheckboxGroup/index.d.ts +1 -1
  57. package/es/components/pisellCountdown/index.d.ts +1 -1
  58. package/es/components/pisellCurrency/index.js +13 -0
  59. package/es/components/pisellDatePicker/index.d.ts +1 -3
  60. package/es/components/pisellDraggable/index.d.ts +1 -1
  61. package/es/components/pisellEmail/index.js +13 -0
  62. package/es/components/pisellEmpty/index.d.ts +1 -1
  63. package/es/components/pisellFilter/index.d.ts +2 -2
  64. package/es/components/pisellFloatingPanel/index.d.ts +1 -1
  65. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +5 -5
  66. package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +2 -2
  67. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +2 -3
  68. package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +2 -2
  69. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
  70. package/es/components/pisellGoodPassCard/index.d.ts +1 -1
  71. package/es/components/pisellGridPro/GridView/index.d.ts +2 -2
  72. package/es/components/pisellInformationEntry/index.d.ts +1 -1
  73. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -1
  74. package/es/components/pisellInput/components/Copy/index.d.ts +1 -1
  75. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -1
  76. package/es/components/pisellInput/index.d.ts +5 -5
  77. package/es/components/pisellLoading/index.d.ts +2 -2
  78. package/es/components/pisellLongText/index.js +13 -0
  79. package/es/components/pisellModal/index.d.ts +2 -2
  80. package/es/components/pisellMultipleSelect/index.js +13 -0
  81. package/es/components/pisellNumber/index.js +13 -0
  82. package/es/components/pisellPercent/index.js +13 -0
  83. package/es/components/pisellPhone/index.js +14 -0
  84. package/es/components/pisellRating/index.js +13 -0
  85. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +2 -2
  86. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +2 -0
  87. package/es/components/pisellRecordBoard/utils/recordBoardColumns.js +11 -0
  88. package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +2 -2
  89. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +2 -2
  90. package/es/components/pisellRow/index.d.ts +1 -1
  91. package/es/components/pisellSingleLineText/index.js +13 -0
  92. package/es/components/pisellSingleSelect/index.js +13 -0
  93. package/es/components/pisellSort/index.d.ts +2 -2
  94. package/es/components/pisellStatisticList/index.d.ts +1 -1
  95. package/es/components/pisellTags/index.d.ts +1 -1
  96. package/es/components/pisellText/index.d.ts +2 -2
  97. package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +2 -2
  98. package/es/components/pisellTooltip/index.d.ts +2 -2
  99. package/es/components/pisellUpload/index.d.ts +2 -2
  100. package/es/components/pisellUrl/index.js +13 -0
  101. package/es/components/pisellWalletPassCard/index.d.ts +1 -1
  102. package/es/components/qrcode/index.d.ts +2 -3
  103. package/es/components/radio/index.d.ts +1 -3
  104. package/es/components/section-footers/index.d.ts +1 -3
  105. package/es/components/segmented/index.d.ts +2 -2
  106. package/es/components/select-time/index.d.ts +2 -2
  107. package/es/components/skeleton/index.d.ts +1 -3
  108. package/es/components/slider/index.d.ts +2 -3
  109. package/es/components/tabs/index.d.ts +2 -2
  110. package/es/components/time-picker/index.d.ts +1 -3
  111. package/es/components/upload/index.d.ts +1 -3
  112. package/es/components/versionSelect/index.d.ts +1 -1
  113. package/es/components/virtual-keyboard/Amount/index.d.ts +2 -2
  114. package/es/components/virtual-keyboard/Number/index.d.ts +2 -2
  115. package/es/components/virtual-keyboard/Time/index.d.ts +1 -1
  116. package/es/components/virtual-keyboard/index.d.ts +1 -1
  117. package/es/index.js +11 -0
  118. package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -2
  119. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -2
  120. package/lib/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
  121. package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -2
  122. package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +1 -2
  123. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +1 -2
  124. package/lib/components/PisellCards/index.d.ts +5 -6
  125. package/lib/components/PisellGroupView/PisellGroupView.d.ts +1 -2
  126. package/lib/components/PisellLayouts/index.d.ts +2 -2
  127. package/lib/components/PisellMetrics/index.d.ts +2 -2
  128. package/lib/components/appVersionControl/index.d.ts +1 -2
  129. package/lib/components/auto-complete-number/index.d.ts +1 -2
  130. package/lib/components/badge/index.d.ts +1 -2
  131. package/lib/components/batch-editor/index.d.ts +1 -2
  132. package/lib/components/calendar/index.d.ts +1 -4
  133. package/lib/components/cardMetricItem/index.d.ts +1 -1
  134. package/lib/components/cardPro/index.d.ts +1 -2
  135. package/lib/components/checkbox/index.d.ts +1 -4
  136. package/lib/components/classicLayout/index.d.ts +1 -2
  137. package/lib/components/config-provider/index.d.ts +1 -2
  138. package/lib/components/customSelect/index.d.ts +1 -1
  139. package/lib/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
  140. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
  141. package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
  142. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -2
  143. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -4
  144. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
  145. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -2
  146. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +2 -2
  147. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +2 -2
  148. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
  149. package/lib/components/date-picker/index.d.ts +1 -4
  150. package/lib/components/drag-sort-tree/index.d.ts +1 -2
  151. package/lib/components/dropdown/index.d.ts +1 -3
  152. package/lib/components/filter/index.d.ts +1 -2
  153. package/lib/components/keyboard/index.d.ts +1 -1
  154. package/lib/components/list/index.d.ts +2 -2
  155. package/lib/components/lowCodePage/index.d.ts +1 -3
  156. package/lib/components/page/index.d.ts +1 -2
  157. package/lib/components/page-header/index.d.ts +1 -1
  158. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -2
  159. package/lib/components/pisellAdjustPrice/index.d.ts +1 -2
  160. package/lib/components/pisellAlert/index.d.ts +1 -1
  161. package/lib/components/pisellCard/index.d.ts +1 -2
  162. package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
  163. package/lib/components/pisellCountdown/index.d.ts +1 -1
  164. package/lib/components/pisellDatePicker/index.d.ts +1 -4
  165. package/lib/components/pisellDraggable/index.d.ts +1 -1
  166. package/lib/components/pisellEmpty/index.d.ts +1 -1
  167. package/lib/components/pisellFilter/index.d.ts +1 -2
  168. package/lib/components/pisellFloatingPanel/index.d.ts +1 -1
  169. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +5 -5
  170. package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +2 -2
  171. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +2 -3
  172. package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +2 -2
  173. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
  174. package/lib/components/pisellGoodPassCard/index.d.ts +1 -1
  175. package/lib/components/pisellGridPro/GridView/index.d.ts +1 -2
  176. package/lib/components/pisellInformationEntry/index.d.ts +1 -1
  177. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  178. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  179. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  180. package/lib/components/pisellInput/index.d.ts +5 -5
  181. package/lib/components/pisellLoading/index.d.ts +1 -2
  182. package/lib/components/pisellModal/index.d.ts +2 -2
  183. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +2 -2
  184. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +2 -2
  185. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +2 -2
  186. package/lib/components/pisellRow/index.d.ts +1 -1
  187. package/lib/components/pisellSort/index.d.ts +1 -2
  188. package/lib/components/pisellStatisticList/index.d.ts +1 -1
  189. package/lib/components/pisellTags/index.d.ts +1 -1
  190. package/lib/components/pisellText/index.d.ts +2 -2
  191. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +2 -2
  192. package/lib/components/pisellTooltip/index.d.ts +1 -2
  193. package/lib/components/pisellUpload/index.d.ts +1 -2
  194. package/lib/components/pisellWalletPassCard/index.d.ts +1 -1
  195. package/lib/components/qrcode/index.d.ts +1 -3
  196. package/lib/components/radio/index.d.ts +1 -4
  197. package/lib/components/section-footers/index.d.ts +1 -3
  198. package/lib/components/segmented/index.d.ts +1 -2
  199. package/lib/components/select-time/index.d.ts +1 -2
  200. package/lib/components/skeleton/index.d.ts +1 -4
  201. package/lib/components/slider/index.d.ts +1 -3
  202. package/lib/components/tabs/index.d.ts +2 -2
  203. package/lib/components/time-picker/index.d.ts +1 -4
  204. package/lib/components/upload/index.d.ts +1 -4
  205. package/lib/components/versionSelect/index.d.ts +0 -1
  206. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -2
  207. package/lib/components/virtual-keyboard/Number/index.d.ts +1 -2
  208. package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
  209. package/lib/components/virtual-keyboard/index.d.ts +1 -1
  210. package/package.json +3 -3
@@ -0,0 +1,13 @@
1
+ import { getText } from "../../locales/index.js";
2
+ import MemoizedPisellCurrency from "./PisellCurrency.js";
3
+ //#region src/components/pisellCurrency/index.tsx
4
+ /** RecordBoard 列 type 联动排序:内置 0 → 9 / 9 → 0 */
5
+ MemoizedPisellCurrency.SortOptions = { getSortItems: (fieldKey) => [{
6
+ key: `${fieldKey}:asc`,
7
+ label: getText("sort-0-9")
8
+ }, {
9
+ key: `${fieldKey}:desc`,
10
+ label: getText("sort-9-0")
11
+ }] };
12
+ //#endregion
13
+ export {};
@@ -1,7 +1,5 @@
1
1
  /// <reference types="react" />
2
- import * as _$react from "react";
3
-
4
2
  //#region src/components/pisellDatePicker/index.d.ts
5
- declare const PisellDatePicker: (props: any) => _$react.JSX.Element;
3
+ declare const PisellDatePicker: (props: any) => JSX.Element;
6
4
  //#endregion
7
5
  export { PisellDatePicker };
@@ -28,6 +28,6 @@ interface Props {
28
28
  /** 自定义拖拽判断函数,返回false时阻止拖拽 */
29
29
  canDrop?: (dragItem: FlattenedItem, dropTarget: FlattenedItem, parentId: UniqueIdentifier | null, parentNode: any) => boolean;
30
30
  }
31
- declare const Demo: (props: Props) => React.JSX.Element;
31
+ declare const Demo: (props: Props) => JSX.Element;
32
32
  //#endregion
33
33
  export { Demo };
@@ -0,0 +1,13 @@
1
+ import { getText } from "../../locales/index.js";
2
+ import PisellEmail_default from "./PisellEmail.js";
3
+ //#region src/components/pisellEmail/index.tsx
4
+ /** RecordBoard 列 type 联动排序:内置 A → Z / Z → A */
5
+ PisellEmail_default.SortOptions = { getSortItems: (fieldKey) => [{
6
+ key: `${fieldKey}:asc`,
7
+ label: getText("sort-a-z")
8
+ }, {
9
+ key: `${fieldKey}:desc`,
10
+ label: getText("sort-z-a")
11
+ }] };
12
+ //#endregion
13
+ export {};
@@ -15,6 +15,6 @@ interface PisellEmptyProps extends EmptyProps {
15
15
  /** 最大宽度 */
16
16
  maxWidth?: number;
17
17
  }
18
- declare const PisellEmpty: (props: PisellEmptyProps) => React.JSX.Element;
18
+ declare const PisellEmpty: (props: PisellEmptyProps) => JSX.Element;
19
19
  //#endregion
20
20
  export { PisellEmpty };
@@ -1,7 +1,7 @@
1
+ /// <reference types="react" />
1
2
  import { PisellFilterProps } from "./type.js";
2
- import React from "react";
3
3
 
4
4
  //#region src/components/pisellFilter/index.d.ts
5
- declare const PisellFilter: (props: PisellFilterProps) => React.JSX.Element;
5
+ declare const PisellFilter: (props: PisellFilterProps) => JSX.Element;
6
6
  //#endregion
7
7
  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,5 @@
1
+ /// <reference types="react" />
1
2
  import { FloorMapDataSources, FloorMapMergedItem } from "../types.js";
2
- import React from "react";
3
3
 
4
4
  //#region src/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts
5
5
  type FigmaTableStatus = 'available' | 'reserved' | 'waiting' | 'dining' | 'billed' | 'availableSoon';
@@ -32,12 +32,12 @@ interface FigmaTableCardItem {
32
32
  /** 从 merged item + dataSources 得到卡片数据 */
33
33
  declare function getFigmaTableCardFromMerged(item: FloorMapMergedItem, dataSources: FloorMapDataSources): FigmaTableCardItem;
34
34
  /** 渲染 Figma 样式的方桌卡片(上下小条 + 资源信息标题栏 + 白底卡片 + 状态色边框) */
35
- declare function renderFigmaStyleTableCard(cardItem: FigmaTableCardItem): React.JSX.Element;
35
+ declare function renderFigmaStyleTableCard(cardItem: FigmaTableCardItem): JSX.Element;
36
36
  /** 渲染 Figma 样式的圆桌卡片(顶部资源信息 chip + 圆形主体,圆形主体只展示状态相关内容) */
37
- declare function renderFigmaStyleRoundTableCard(cardItem: FigmaTableCardItem): React.JSX.Element;
37
+ declare function renderFigmaStyleRoundTableCard(cardItem: FigmaTableCardItem): JSX.Element;
38
38
  /** 返回用于 renderItemByKind.table 的渲染函数(方桌) */
39
- declare function getRenderItemByKindTable(dataSources: FloorMapDataSources): (item: unknown) => React.JSX.Element;
39
+ declare function getRenderItemByKindTable(dataSources: FloorMapDataSources): (item: unknown) => JSX.Element;
40
40
  /** 返回用于 renderItemByKind.roundTable 的渲染函数(圆桌) */
41
- declare function getRenderItemByKindRoundTable(dataSources: FloorMapDataSources): (item: unknown) => React.JSX.Element;
41
+ declare function getRenderItemByKindRoundTable(dataSources: FloorMapDataSources): (item: unknown) => JSX.Element;
42
42
  //#endregion
43
43
  export { FigmaTableCardItem, FigmaTableStatus, getFigmaTableCardFromMerged, getRenderItemByKindRoundTable, getRenderItemByKindTable, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard };
@@ -1,11 +1,11 @@
1
+ /// <reference types="react" />
1
2
  import { FloorMapBuiltinShapeRenderProps } from "../utils/floorMapBuiltinShapes.js";
2
- import React from "react";
3
3
 
4
4
  //#region src/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts
5
5
  interface FloorMapBuiltinShapeElementProps extends FloorMapBuiltinShapeRenderProps {
6
6
  builtinShapeKey?: string;
7
7
  name?: string;
8
8
  }
9
- declare function FloorMapBuiltinShapeElement(props: FloorMapBuiltinShapeElementProps): React.JSX.Element;
9
+ declare function FloorMapBuiltinShapeElement(props: FloorMapBuiltinShapeElementProps): JSX.Element;
10
10
  //#endregion
11
11
  export { FloorMapBuiltinShapeElement };
@@ -1,10 +1,9 @@
1
- import React from "react";
2
-
1
+ /// <reference types="react" />
3
2
  //#region src/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts
4
3
  interface FloorMapImageElementProps {
5
4
  imageUrl?: string;
6
5
  name?: string;
7
6
  }
8
- declare function FloorMapImageElement(props: FloorMapImageElementProps): React.JSX.Element;
7
+ declare function FloorMapImageElement(props: FloorMapImageElementProps): JSX.Element;
9
8
  //#endregion
10
9
  export { FloorMapImageElement };
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  //#region src/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts
3
3
  interface FloorMapSelectionZoneElementProps {
4
4
  /** 选区名称;为空时展示「未命名选区」占位 */
5
5
  name?: string;
6
6
  }
7
- declare function FloorMapSelectionZoneElement(props: FloorMapSelectionZoneElementProps): React.JSX.Element;
7
+ declare function FloorMapSelectionZoneElement(props: FloorMapSelectionZoneElementProps): JSX.Element;
8
8
  //#endregion
9
9
  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,6 @@
1
+ /// <reference types="react" />
1
2
  import { GridViewProps } from "./type.js";
2
- import React from "react";
3
3
  //#region src/components/pisellGridPro/GridView/index.d.ts
4
- declare const GridView: (props: GridViewProps) => React.JSX.Element;
4
+ declare const GridView: (props: GridViewProps) => JSX.Element;
5
5
  //#endregion
6
6
  export { GridView };
@@ -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,5 @@
1
+ /// <reference types="react" />
1
2
  import { PisellContextType } from "../../../pisell-config-provider/context.js";
2
- import React from "react";
3
3
  import { InputProps } from "antd";
4
4
  //#region src/components/pisellInput/components/BankCard/index.d.ts
5
5
  type BankCardProps = InputProps & {
@@ -1,5 +1,5 @@
1
+ /// <reference types="react" />
1
2
  import { PisellContextType } from "../../../pisell-config-provider/context.js";
2
- import React from "react";
3
3
  import { ButtonProps, InputProps } from "antd";
4
4
 
5
5
  //#region src/components/pisellInput/components/Copy/index.d.ts
@@ -1,5 +1,5 @@
1
+ /// <reference types="react" />
1
2
  import { PisellContextType } from "../../../pisell-config-provider/context.js";
2
- import React from "react";
3
3
  import { InputProps } from "antd";
4
4
  //#region src/components/pisellInput/components/SecurityCode/index.d.ts
5
5
  interface SecurityCodeProps extends Omit<InputProps, 'onChange'> {
@@ -1,18 +1,18 @@
1
+ /// <reference types="react" />
1
2
  import { PisellContextType } from "../pisell-config-provider/context.js";
2
3
  import { BankCardProps } from "./components/BankCard/index.js";
3
4
  import { SecurityCodeProps } from "./components/SecurityCode/index.js";
4
5
  import { CopyProps } from "./components/Copy/index.js";
5
- import React from "react";
6
6
  import { InputProps } from "antd";
7
7
 
8
8
  //#region src/components/pisellInput/index.d.ts
9
9
  declare const PisellInput: {
10
10
  (props: InputProps & {
11
11
  /** 平台 */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;
12
+ }): JSX.Element;
13
+ BankCard: (props: BankCardProps) => JSX.Element;
14
+ SecurityCode: (props: SecurityCodeProps) => JSX.Element;
15
+ Copy: (props: CopyProps) => JSX.Element;
16
16
  };
17
17
  //#endregion
18
18
  export { PisellInput };
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { SpinProps } from "antd";
3
3
  //#region src/components/pisellLoading/index.d.ts
4
4
  type MaskType = {
@@ -16,6 +16,6 @@ interface PisellLoadingProps extends SpinProps {
16
16
  /** 延迟显示加载效果的时间(防止闪烁) */
17
17
  delay?: number;
18
18
  }
19
- declare const PisellLoading: (props: PisellLoadingProps) => React.JSX.Element;
19
+ declare const PisellLoading: (props: PisellLoadingProps) => JSX.Element;
20
20
  //#endregion
21
21
  export { PisellLoading };
@@ -0,0 +1,13 @@
1
+ import { getText } from "../../locales/index.js";
2
+ import PisellLongText_default from "./PisellLongText.js";
3
+ //#region src/components/pisellLongText/index.tsx
4
+ /** RecordBoard 列 type 联动排序:内置 A → Z / Z → A */
5
+ PisellLongText_default.SortOptions = { getSortItems: (fieldKey) => [{
6
+ key: `${fieldKey}:asc`,
7
+ label: getText("sort-a-z")
8
+ }, {
9
+ key: `${fieldKey}:desc`,
10
+ label: getText("sort-z-a")
11
+ }] };
12
+ //#endregion
13
+ export {};
@@ -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 };
@@ -0,0 +1,13 @@
1
+ import { getText } from "../../locales/index.js";
2
+ import PisellMultipleSelect from "./PisellMultipleSelect.js";
3
+ //#region src/components/pisellMultipleSelect/index.tsx
4
+ /** RecordBoard 列 type 联动排序:内置 First → Last / Last → First */
5
+ PisellMultipleSelect.SortOptions = { getSortItems: (fieldKey) => [{
6
+ key: `${fieldKey}:asc`,
7
+ label: getText("sort-first-last")
8
+ }, {
9
+ key: `${fieldKey}:desc`,
10
+ label: getText("sort-last-first")
11
+ }] };
12
+ //#endregion
13
+ export {};
@@ -0,0 +1,13 @@
1
+ import { getText } from "../../locales/index.js";
2
+ import MemoizedPisellNumber from "./PisellNumber.js";
3
+ //#region src/components/pisellNumber/index.tsx
4
+ /** RecordBoard 列 type 联动排序:内置 0 → 9 / 9 → 0 */
5
+ MemoizedPisellNumber.SortOptions = { getSortItems: (fieldKey) => [{
6
+ key: `${fieldKey}:asc`,
7
+ label: getText("sort-0-9")
8
+ }, {
9
+ key: `${fieldKey}:desc`,
10
+ label: getText("sort-9-0")
11
+ }] };
12
+ //#endregion
13
+ export {};
@@ -0,0 +1,13 @@
1
+ import { getText } from "../../locales/index.js";
2
+ import MemoizedPisellPercent from "./PisellPercent.js";
3
+ //#region src/components/pisellPercent/index.tsx
4
+ /** RecordBoard 列 type 联动排序:内置 0 → 9 / 9 → 0 */
5
+ MemoizedPisellPercent.SortOptions = { getSortItems: (fieldKey) => [{
6
+ key: `${fieldKey}:asc`,
7
+ label: getText("sort-0-9")
8
+ }, {
9
+ key: `${fieldKey}:desc`,
10
+ label: getText("sort-9-0")
11
+ }] };
12
+ //#endregion
13
+ export {};
@@ -0,0 +1,14 @@
1
+ import { getText } from "../../locales/index.js";
2
+ import "./constants/countryCodes.js";
3
+ import PisellPhone_default from "./PisellPhone.js";
4
+ //#region src/components/pisellPhone/index.tsx
5
+ /** RecordBoard 列 type 联动排序:内置 A → Z / Z → A */
6
+ PisellPhone_default.SortOptions = { getSortItems: (fieldKey) => [{
7
+ key: `${fieldKey}:asc`,
8
+ label: getText("sort-a-z")
9
+ }, {
10
+ key: `${fieldKey}:desc`,
11
+ label: getText("sort-z-a")
12
+ }] };
13
+ //#endregion
14
+ export {};
@@ -0,0 +1,13 @@
1
+ import { getText } from "../../locales/index.js";
2
+ import PisellRating_default from "./PisellRating.js";
3
+ //#region src/components/pisellRating/index.tsx
4
+ /** RecordBoard 列 type 联动排序:内置 0 → 9 / 9 → 0 */
5
+ PisellRating_default.SortOptions = { getSortItems: (fieldKey) => [{
6
+ key: `${fieldKey}:asc`,
7
+ label: getText("sort-0-9")
8
+ }, {
9
+ key: `${fieldKey}:desc`,
10
+ label: getText("sort-9-0")
11
+ }] };
12
+ //#endregion
13
+ export {};
@@ -1,5 +1,5 @@
1
+ /// <reference types="react" />
1
2
  import { RecordBoardCalendarProps } from "../../types.js";
2
- import React from "react";
3
3
 
4
4
  //#region src/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts
5
5
  type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
@@ -10,6 +10,6 @@ type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
10
10
  * 只做「占位与裁剪高度」;本组件根节点负责在同一 flex 列里向下传递 **min-height:0**,避免 `BookingCalendar`
11
11
  * 撑破壳层(一层即可,历史上曾双包一层重复 flex+overflow)。
12
12
  */
13
- declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): React.JSX.Element;
13
+ declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): JSX.Element;
14
14
  //#endregion
15
15
  export { PisellRecordBoardCalendarView, PisellRecordBoardCalendarViewProps };
@@ -1,6 +1,8 @@
1
1
  import { getText } from "../../../../locales/index.js";
2
2
  import MemoizedPisellNumber from "../../../pisellNumber/PisellNumber.js";
3
+ import "../../../pisellNumber/index.js";
3
4
  import PisellSingleSelect from "../../../pisellSingleSelect/PisellSingleSelect.js";
5
+ import "../../../pisellSingleSelect/index.js";
4
6
  import React from "react";
5
7
  //#region src/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.tsx
6
8
  /** 控制台「资源 / 布局」分页:预设、自定义行列、翻页停留、主文案宽度 */
@@ -1,16 +1,27 @@
1
1
  import { getText } from "../../../locales/index.js";
2
2
  import { _objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
3
3
  import PisellSingleLineText_default from "../../pisellSingleLineText/PisellSingleLineText.js";
4
+ import "../../pisellSingleLineText/index.js";
4
5
  import PisellLongText_default from "../../pisellLongText/PisellLongText.js";
6
+ import "../../pisellLongText/index.js";
5
7
  import MemoizedPisellNumber from "../../pisellNumber/PisellNumber.js";
8
+ import "../../pisellNumber/index.js";
6
9
  import MemoizedPisellCurrency from "../../pisellCurrency/PisellCurrency.js";
10
+ import "../../pisellCurrency/index.js";
7
11
  import MemoizedPisellPercent from "../../pisellPercent/PisellPercent.js";
12
+ import "../../pisellPercent/index.js";
8
13
  import PisellPhone_default from "../../pisellPhone/PisellPhone.js";
14
+ import "../../pisellPhone/index.js";
9
15
  import PisellEmail_default from "../../pisellEmail/PisellEmail.js";
16
+ import "../../pisellEmail/index.js";
10
17
  import PisellUrl_default from "../../pisellUrl/PisellUrl.js";
18
+ import "../../pisellUrl/index.js";
11
19
  import PisellRating_default from "../../pisellRating/PisellRating.js";
20
+ import "../../pisellRating/index.js";
12
21
  import PisellSingleSelect from "../../pisellSingleSelect/PisellSingleSelect.js";
22
+ import "../../pisellSingleSelect/index.js";
13
23
  import PisellMultipleSelect from "../../pisellMultipleSelect/PisellMultipleSelect.js";
24
+ import "../../pisellMultipleSelect/index.js";
14
25
  import PisellDateTimeDisplay_default from "../../pisellDateTimeDisplay/PisellDateTimeDisplay.js";
15
26
  import React, { useEffect, useState } from "react";
16
27
  //#region src/components/pisellRecordBoard/utils/recordBoardColumns.tsx
@@ -1,10 +1,10 @@
1
+ /// <reference types="react" />
1
2
  import { PisellReservationScheduleProps } from "./types.js";
2
- import React from "react";
3
3
  //#region src/components/pisellReservationSchedule/PisellReservationSchedule.d.ts
4
4
  /**
5
5
  * 营业日导航条:上一日、中间日期文案、下一日(深色条样式,适配预约顶栏)
6
6
  */
7
- declare function PisellReservationSchedule(props: PisellReservationScheduleProps): React.JSX.Element;
7
+ declare function PisellReservationSchedule(props: PisellReservationScheduleProps): JSX.Element;
8
8
  declare namespace PisellReservationSchedule {
9
9
  var displayName: string;
10
10
  }
@@ -1,10 +1,10 @@
1
+ /// <reference types="react" />
1
2
  import { PisellReservationScheduleBandProps } from "./types.js";
2
- import React from "react";
3
3
  //#region src/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts
4
4
  /**
5
5
  * 预约顶栏组合:营业日切换 + 锚定到选中日的时间导航轴
6
6
  */
7
- declare function PisellReservationScheduleBand(props: PisellReservationScheduleBandProps): React.JSX.Element;
7
+ declare function PisellReservationScheduleBand(props: PisellReservationScheduleBandProps): JSX.Element;
8
8
  declare namespace PisellReservationScheduleBand {
9
9
  var displayName: string;
10
10
  }
@@ -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 };
@@ -0,0 +1,13 @@
1
+ import { getText } from "../../locales/index.js";
2
+ import PisellSingleLineText_default from "./PisellSingleLineText.js";
3
+ //#region src/components/pisellSingleLineText/index.tsx
4
+ /** RecordBoard 列 type 联动排序:内置 A → Z / Z → A */
5
+ PisellSingleLineText_default.SortOptions = { getSortItems: (fieldKey) => [{
6
+ key: `${fieldKey}:asc`,
7
+ label: getText("sort-a-z")
8
+ }, {
9
+ key: `${fieldKey}:desc`,
10
+ label: getText("sort-z-a")
11
+ }] };
12
+ //#endregion
13
+ export {};
@@ -0,0 +1,13 @@
1
+ import { getText } from "../../locales/index.js";
2
+ import PisellSingleSelect from "./PisellSingleSelect.js";
3
+ //#region src/components/pisellSingleSelect/index.tsx
4
+ /** RecordBoard 列 type 联动排序:内置 First → Last / Last → First */
5
+ PisellSingleSelect.SortOptions = { getSortItems: (fieldKey) => [{
6
+ key: `${fieldKey}:asc`,
7
+ label: getText("sort-first-last")
8
+ }, {
9
+ key: `${fieldKey}:desc`,
10
+ label: getText("sort-last-first")
11
+ }] };
12
+ //#endregion
13
+ export {};
@@ -1,7 +1,7 @@
1
+ /// <reference types="react" />
1
2
  import { PisellSortProps } from "./type.js";
2
- import React from "react";
3
3
 
4
4
  //#region src/components/pisellSort/index.d.ts
5
- declare const PisellSort: (props: PisellSortProps) => React.JSX.Element;
5
+ declare const PisellSort: (props: PisellSortProps) => JSX.Element;
6
6
  //#endregion
7
7
  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, PisellTagsProps };
@@ -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,10 @@
1
+ /// <reference types="react" />
1
2
  import { PisellTimeNavigatorProps } from "./types.js";
2
- import React from "react";
3
3
  //#region src/components/pisellTimeNavigator/PisellTimeNavigator.d.ts
4
4
  /**
5
5
  * PisellTimeNavigator:可拖动的时间导航轴,时间范围内浏览、选择、控制
6
6
  */
7
- declare function PisellTimeNavigator(props: PisellTimeNavigatorProps): React.JSX.Element;
7
+ declare function PisellTimeNavigator(props: PisellTimeNavigatorProps): JSX.Element;
8
8
  declare namespace PisellTimeNavigator {
9
9
  var displayName: string;
10
10
  }
@@ -1,5 +1,5 @@
1
+ /// <reference types="react" />
1
2
  import { PisellContextType } from "../pisell-config-provider/context.js";
2
- import React from "react";
3
3
  import { TooltipPropsWithTitle } from "antd/es/tooltip";
4
4
 
5
5
  //#region src/components/pisellTooltip/index.d.ts
@@ -7,6 +7,6 @@ interface PisellTooltipProps extends TooltipPropsWithTitle {
7
7
  /** 平台 */
8
8
  platform?: PisellContextType['platform'];
9
9
  }
10
- declare const PisellTooltip: (props: PisellTooltipProps) => React.JSX.Element;
10
+ declare const PisellTooltip: (props: PisellTooltipProps) => JSX.Element;
11
11
  //#endregion
12
12
  export { PisellTooltip };
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { UploadProps } from "antd";
3
3
  //#region src/components/pisellUpload/index.d.ts
4
4
  interface PisellUploadProps extends UploadProps {
@@ -7,6 +7,6 @@ interface PisellUploadProps extends UploadProps {
7
7
  text2?: string;
8
8
  uploadType?: 'button' | 'drop' | 'custom';
9
9
  }
10
- declare const PisellUpload: (props: PisellUploadProps) => React.JSX.Element;
10
+ declare const PisellUpload: (props: PisellUploadProps) => JSX.Element;
11
11
  //#endregion
12
12
  export { PisellUpload };
@@ -0,0 +1,13 @@
1
+ import { getText } from "../../locales/index.js";
2
+ import PisellUrl_default from "./PisellUrl.js";
3
+ //#region src/components/pisellUrl/index.tsx
4
+ /** RecordBoard 列 type 联动排序:内置 A → Z / Z → A */
5
+ PisellUrl_default.SortOptions = { getSortItems: (fieldKey) => [{
6
+ key: `${fieldKey}:asc`,
7
+ label: getText("sort-a-z")
8
+ }, {
9
+ key: `${fieldKey}:desc`,
10
+ label: getText("sort-z-a")
11
+ }] };
12
+ //#endregion
13
+ export {};
@@ -144,6 +144,6 @@ interface PisellWalletPassCardProps {
144
144
  onSetHolder?: (currentValue?: any) => void;
145
145
  [key: string]: any;
146
146
  }
147
- declare const PisellWalletPassCard: (props: PisellWalletPassCardProps) => React.JSX.Element;
147
+ declare const PisellWalletPassCard: (props: PisellWalletPassCardProps) => JSX.Element;
148
148
  //#endregion
149
149
  export { FormatOption, PisellWalletPassCard, PisellWalletPassCardProps };
@@ -1,6 +1,5 @@
1
- import React from "react";
2
-
1
+ /// <reference types="react" />
3
2
  //#region src/components/qrcode/index.d.ts
4
- declare const QRCode: (props: any) => React.JSX.Element;
3
+ declare const QRCode: (props: any) => JSX.Element;
5
4
  //#endregion
6
5
  export { QRCode };
@@ -1,7 +1,5 @@
1
1
  /// <reference types="react" />
2
- import * as _$react from "react";
3
-
4
2
  //#region src/components/radio/index.d.ts
5
- declare const Radio: (props: any) => _$react.JSX.Element;
3
+ declare const Radio: (props: any) => JSX.Element;
6
4
  //#endregion
7
5
  export { Radio };
@@ -1,6 +1,4 @@
1
1
  /// <reference types="react" />
2
- import * as _$react from "react";
3
-
4
2
  //#region src/components/section-footers/index.d.ts
5
3
  interface SectionFooterProps {
6
4
  left?: React.ReactNode;
@@ -8,6 +6,6 @@ interface SectionFooterProps {
8
6
  right?: React.ReactNode;
9
7
  className?: string;
10
8
  }
11
- declare const SectionFooters: (props: SectionFooterProps) => _$react.JSX.Element;
9
+ declare const SectionFooters: (props: SectionFooterProps) => JSX.Element;
12
10
  //#endregion
13
11
  export { SectionFooters };