@pisell/materials 6.3.36 → 6.3.37

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 (247) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +153 -426
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +31 -26
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +36 -31
  11. package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +0 -1
  12. package/es/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +0 -1
  13. package/es/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +0 -1
  14. package/es/components/PisellCards/components/TabCard/TabCard.d.ts +0 -1
  15. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -1
  16. package/es/components/PisellCards/index.d.ts +0 -1
  17. package/es/components/appVersionControl/index.d.ts +0 -1
  18. package/es/components/auto-complete-number/index.d.ts +0 -1
  19. package/es/components/badge/index.d.ts +0 -1
  20. package/es/components/batch-editor/fields/index.d.ts +0 -1
  21. package/es/components/calendar/index.d.ts +0 -1
  22. package/es/components/cardPro/index.d.ts +0 -1
  23. package/es/components/checkbox/index.d.ts +0 -1
  24. package/es/components/classicLayout/index.d.ts +0 -1
  25. package/es/components/colorPicker/index.d.ts +0 -1
  26. package/es/components/config-provider/index.d.ts +0 -1
  27. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +6 -3
  28. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +1 -0
  29. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  30. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  31. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  32. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  33. package/es/components/dataSourceComponents/fields/index.d.ts +6 -6
  34. package/es/components/drag-sort-tree/index.d.ts +0 -1
  35. package/es/components/dropdown/index.d.ts +0 -1
  36. package/es/components/filter/components/items/index.d.ts +0 -1
  37. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  38. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  39. package/es/components/filter/components/items/text/index.d.ts +0 -1
  40. package/es/components/page/index.d.ts +0 -1
  41. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  42. package/es/components/pisellCard/index.d.ts +0 -1
  43. package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  44. package/es/components/pisellGridPro/GridView/index.d.ts +0 -1
  45. package/es/components/pisellGridPro/components/DataCard/index.d.ts +0 -1
  46. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  47. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  48. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  49. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  50. package/es/components/pisellInput/index.d.ts +0 -1
  51. package/es/components/pisellTooltip/index.d.ts +0 -1
  52. package/es/components/pisellUpload/index.d.ts +0 -1
  53. package/es/components/pisellWalletPassCard/index.d.ts +0 -1
  54. package/es/components/productCard/components/Action/index.d.ts +0 -1
  55. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  56. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
  57. package/es/components/productCard/components/Header/index.d.ts +0 -1
  58. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  59. package/es/components/productCard/components/Sales/index.d.ts +0 -1
  60. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  61. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  62. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  63. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
  64. package/es/components/productCard/components/Time/index.d.ts +0 -1
  65. package/es/components/radio/index.d.ts +0 -1
  66. package/es/components/segmented/index.d.ts +0 -1
  67. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  68. package/es/components/select-time/index.d.ts +0 -1
  69. package/es/components/skeleton/index.d.ts +0 -1
  70. package/es/components/slider/index.d.ts +0 -1
  71. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  72. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  73. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  74. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  75. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  76. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -1
  77. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  78. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  79. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  80. package/es/components/table/BasicTable/index.d.ts +0 -1
  81. package/es/components/table/Summary/index.d.ts +0 -1
  82. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  83. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  84. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  85. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  86. package/es/components/table/Table/fields/index.d.ts +2 -2
  87. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  88. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  89. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  90. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  91. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  92. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  93. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  94. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  95. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  96. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  97. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  98. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  99. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  100. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  101. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  102. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  103. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  104. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  105. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  106. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  107. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  108. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  109. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  110. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  111. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  112. package/es/components/table/Table/utils.d.ts +1 -1
  113. package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
  114. package/es/components/time-picker/index.d.ts +0 -1
  115. package/es/components/upload/index.d.ts +0 -1
  116. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
  117. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  118. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  119. package/es/components/walletCard/Guest/index.d.ts +0 -1
  120. package/es/components/walletCard/Guide/index.d.ts +0 -1
  121. package/es/pisell-materials.tw.css +1 -1
  122. package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +0 -1
  123. package/lib/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +0 -1
  124. package/lib/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +0 -1
  125. package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +0 -1
  126. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -1
  127. package/lib/components/PisellCards/index.d.ts +0 -1
  128. package/lib/components/appVersionControl/index.d.ts +0 -1
  129. package/lib/components/auto-complete-number/index.d.ts +0 -1
  130. package/lib/components/badge/index.d.ts +0 -1
  131. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  132. package/lib/components/calendar/index.d.ts +0 -1
  133. package/lib/components/cardPro/index.d.ts +0 -1
  134. package/lib/components/checkbox/index.d.ts +0 -1
  135. package/lib/components/classicLayout/index.d.ts +0 -1
  136. package/lib/components/colorPicker/index.d.ts +0 -1
  137. package/lib/components/config-provider/index.d.ts +0 -1
  138. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +4 -1
  139. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +1 -0
  140. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  141. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  142. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  143. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  144. package/lib/components/dataSourceComponents/fields/index.d.ts +6 -6
  145. package/lib/components/drag-sort-tree/index.d.ts +0 -1
  146. package/lib/components/dropdown/index.d.ts +0 -1
  147. package/lib/components/filter/components/items/index.d.ts +0 -1
  148. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  149. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  150. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  151. package/lib/components/page/index.d.ts +0 -1
  152. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  153. package/lib/components/pisellCard/index.d.ts +0 -1
  154. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  155. package/lib/components/pisellGridPro/GridView/index.d.ts +0 -1
  156. package/lib/components/pisellGridPro/components/DataCard/index.d.ts +0 -1
  157. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  158. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  159. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  160. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  161. package/lib/components/pisellInput/index.d.ts +0 -1
  162. package/lib/components/pisellTooltip/index.d.ts +0 -1
  163. package/lib/components/pisellUpload/index.d.ts +0 -1
  164. package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
  165. package/lib/components/productCard/components/Action/index.d.ts +0 -1
  166. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  167. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
  168. package/lib/components/productCard/components/Header/index.d.ts +0 -1
  169. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  170. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  171. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  172. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  173. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  174. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
  175. package/lib/components/productCard/components/Time/index.d.ts +0 -1
  176. package/lib/components/radio/index.d.ts +0 -1
  177. package/lib/components/segmented/index.d.ts +0 -1
  178. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  179. package/lib/components/select-time/index.d.ts +0 -1
  180. package/lib/components/skeleton/index.d.ts +0 -1
  181. package/lib/components/slider/index.d.ts +0 -1
  182. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  183. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  184. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  185. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  186. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  187. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -1
  188. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  189. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  190. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  191. package/lib/components/table/BasicTable/index.d.ts +0 -1
  192. package/lib/components/table/Summary/index.d.ts +0 -1
  193. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  194. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  195. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  196. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  197. package/lib/components/table/Table/fields/index.d.ts +2 -2
  198. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  199. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  200. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  201. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  202. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  203. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  204. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  205. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  206. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  207. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  208. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  209. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  210. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  211. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  212. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  213. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  214. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  215. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  216. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  217. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  218. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  219. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  220. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  221. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  222. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  223. package/lib/components/table/Table/utils.d.ts +1 -1
  224. package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
  225. package/lib/components/time-picker/index.d.ts +0 -1
  226. package/lib/components/upload/index.d.ts +0 -1
  227. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
  228. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  229. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  230. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  231. package/lib/components/walletCard/Guide/index.d.ts +0 -1
  232. package/lib/pisell-materials.tw.css +1 -1
  233. package/lowcode/data-source-form/meta.ts +10 -4
  234. package/lowcode/data-source-form/utils.ts +23 -4
  235. package/package.json +1 -1
  236. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  237. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  238. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  239. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  240. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  241. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  242. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  243. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  244. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  245. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  246. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  247. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ConfigProviderProps as OriginalConfigProviderProps } from "antd/es/config-provider";
3
2
  import "dayjs/locale/zh-cn";
4
3
  import "dayjs/locale/ja";
@@ -63,6 +63,7 @@ var BaseForm = (0, import_react.forwardRef)(
63
63
  currentValue,
64
64
  className,
65
65
  onDataSourceFinish,
66
+ onDataSourceLoaded,
66
67
  formatSubmitValues,
67
68
  formatInitialValues,
68
69
  customSubmit,
@@ -87,7 +88,7 @@ var BaseForm = (0, import_react.forwardRef)(
87
88
  document.body.id = "body";
88
89
  }, []);
89
90
  (0, import_react.useImperativeHandle)(ref, () => formRef.current);
90
- (0, import_react.useEffect)(() => {
91
+ (0, import_ahooks.useDeepCompareEffect)(() => {
91
92
  var _a2;
92
93
  if (["edit", "view"].includes(renderMode || "") && dataSource) {
93
94
  if (dataSource == null ? void 0 : dataSource.fromSettingMeta) {
@@ -106,6 +107,7 @@ var BaseForm = (0, import_react.forwardRef)(
106
107
  (_b = formRef.current) == null ? void 0 : _b.setFields((0, import_utils.transformFormObjToArrayWithUntouched)({
107
108
  ...filteredValues
108
109
  }));
110
+ onDataSourceLoaded == null ? void 0 : onDataSourceLoaded(filteredValues, res);
109
111
  }).catch((error) => {
110
112
  console.error("获取formSettingMeta数据失败:", error);
111
113
  });
@@ -125,6 +127,7 @@ var BaseForm = (0, import_react.forwardRef)(
125
127
  }, {});
126
128
  }
127
129
  (_b = formRef.current) == null ? void 0 : _b.setFields((0, import_utils.transformFormObjToArrayWithUntouched)(values));
130
+ onDataSourceLoaded == null ? void 0 : onDataSourceLoaded(values, res);
128
131
  });
129
132
  }
130
133
  }, [renderMode, dataSource]);
@@ -19,6 +19,7 @@ export interface DataSourceFormProps {
19
19
  __designMode?: string;
20
20
  formatSubmitValues?: (values: Record<string, any>) => Record<string, any>;
21
21
  formatInitialValues?: (values: Record<string, any>) => Record<string, any>;
22
+ onDataSourceLoaded?: (values: Record<string, any>, result: any) => void;
22
23
  customSubmit?: (values: Record<string, any>) => Promise<any>;
23
24
  beforeSubmit?: (values: Record<string, any>) => Promise<boolean> | boolean;
24
25
  leaveConfirmConfig?: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DataSourceImage: (props: import("../utils").ParsedProps) => JSX.Element;
3
2
  export default DataSourceImage;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const useDrawerState: (operationContent?: {
3
2
  [key: string]: import("react").ReactNode;
4
3
  } | undefined) => any;
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
19
19
  */
20
20
  declare const useTableProps: (props: UseTablePropsProps) => {
21
21
  currentComponentId: any;
22
- title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
22
+ title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
23
23
  pagination: {
24
24
  total: number;
25
25
  current: number;
@@ -28,7 +28,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
28
28
  showSizeChanger: boolean;
29
29
  };
30
30
  columns: import("./useColumns").Column[];
31
- subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
31
+ subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
32
32
  buttons: any[] | null;
33
33
  filter: {
34
34
  dom: any;
@@ -72,7 +72,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
72
72
  useCustomAction: boolean;
73
73
  actionType: string;
74
74
  openMode: "modal" | "drawer";
75
- openContentSize: "small" | "large" | "middle";
75
+ openContentSize: "small" | "middle" | "large";
76
76
  openTitle: string;
77
77
  key: string;
78
78
  } | undefined;
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
@@ -81,13 +81,11 @@ declare const formFieldMap: {
81
81
  extraParams?: Record<string, any> | undefined;
82
82
  }) => JSX.Element;
83
83
  };
84
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
84
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
85
85
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
86
  } & {
87
87
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
89
- onChange: (value: string) => void;
90
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
88
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
91
89
  JSON: import("react").FC<any>;
92
90
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
93
91
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -107,7 +105,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
107
105
  name?: string | undefined;
108
106
  fieldKey?: string | undefined;
109
107
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
110
- }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
108
+ }) | (import("react").FC<{}> & {
111
109
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
112
110
  } & {
113
111
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -120,7 +118,9 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
120
118
  } & {
121
119
  dataSource?: any;
122
120
  extraParams?: Record<string, any> | undefined;
123
- }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | ((props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
121
+ }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
122
+ onChange: (value: string) => void;
123
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | ((props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
124
124
  options?: any;
125
125
  optionSourceType?: "default" | "custom" | "api" | undefined;
126
126
  labelField: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { SortType } from './types';
4
3
  declare const DragSortTree: (props: SortType) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Dropdown: (props: any) => JSX.Element;
3
2
  export default Dropdown;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const fieldMaps: {
3
2
  text: {
4
3
  field: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: () => JSX.Element;
3
2
  export default Text;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: (props: any) => JSX.Element;
3
2
  export default Text;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ConfigProviderProps } from '../config-provider';
3
2
  interface PageProps extends ConfigProviderProps {
4
3
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputNumberProps } from 'antd/es/input-number';
2
3
  export interface PisellAdjustPriceInputNumberProps extends Omit<InputNumberProps, 'onChange'> {
3
4
  value?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CardProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface PisellCardProps extends CardProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
3
2
  import { Dayjs } from 'dayjs';
4
3
  import './detePickerCpt.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { GridViewProps } from './type';
4
3
  export type { GridViewProps };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataCardProps } from './types';
3
2
  export type { DataCardProps };
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface ScanProps {
4
3
  onChange: (val: string) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import { PisellContextType } from "../../../pisell-config-provider/context";
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps, ButtonProps } from 'antd';
3
2
  import { PisellContextType } from "../../../pisell-config-provider/context";
4
3
  export interface CopyProps extends InputProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import './index.less';
4
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import { PisellContextType } from '../pisell-config-provider/context';
4
3
  declare const PisellInput: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TooltipPropsWithTitle } from 'antd/es/tooltip';
3
2
  import { PisellContextType } from "../pisell-config-provider/context";
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { UploadProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface PisellUploadProps extends UploadProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface PisellWalletPassCardProps {
4
3
  id: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Action: ({ item, onAction }: any) => JSX.Element;
4
3
  export default Action;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Divider: ({ type }: any) => JSX.Element;
4
3
  export default Divider;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DeleteButton: ({ onDelete }: any) => JSX.Element;
4
3
  export default DeleteButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: (props: any) => JSX.Element;
4
3
  export default Header;
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "-" | "";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Sales: ({ item, isShowNote }: any) => JSX.Element | null;
4
3
  export default Sales;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
4
3
  style?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
4
3
  export default SelectHolder;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface SelectHolderModalProps {
4
3
  visible: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ResourceItem {
4
3
  id: string | number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
4
3
  export default Time;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Radio: (props: any) => JSX.Element;
3
2
  export default Radio;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SegmentedProps } from "antd";
3
2
  import "./index.less";
4
3
  declare const Segmented: (props: SegmentedProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time";
3
2
  import { PopoverProps, TimePickerProps } from "antd";
4
3
  import "./index.less";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Skeleton: (props: any) => JSX.Element;
3
2
  export default Skeleton;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SliderOuter: (props: any) => JSX.Element;
3
2
  export default SliderOuter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuProps } from "antd";
3
2
  import "./index.less";
4
3
  interface InlineMenuProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ExportFile: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare const ExportTable: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ImportLog: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare type ImportTableProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../types';
3
2
  import './index.less';
4
3
  declare type ExportImportProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GallerySettingType, ModeType } from "../../../types";
2
3
  import "./index.less";
3
4
  declare type GallerySettingProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './PopoverContent.less';
3
2
  declare type FieldType = string | number;
4
3
  export declare type GroupValue = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewType, ModeType } from "../../../types";
3
2
  declare type ViewModeProps = {
4
3
  view: GridViewType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableProps } from 'antd';
3
2
  declare const BasicTable: (props: TableProps<any>) => JSX.Element;
4
3
  export default BasicTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Summary: ({ summary }: any) => JSX.Element | null;
4
3
  export default Summary;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -198,12 +198,12 @@ export declare const fieldList: ({
198
198
  field_icon: string;
199
199
  field_name: string;
200
200
  field_type: string;
201
- default_value: string;
201
+ default_value: boolean;
202
202
  } | {
203
203
  field_icon: string;
204
204
  field_name: string;
205
205
  field_type: string;
206
- default_value: boolean;
206
+ default_value: string;
207
207
  } | {
208
208
  field_icon: string;
209
209
  field_name: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Sort: () => JSX.Element;
3
2
  export default Sort;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Config: () => JSX.Element;
3
2
  export default Config;