@pisell/materials 1.0.927 → 1.0.928

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 (266) 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 +3 -3
  6. package/build/lowcode/preview.js +148 -164
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +23 -37
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +28 -42
  11. package/es/components/auto-complete-number/index.d.ts +0 -1
  12. package/es/components/badge/index.d.ts +0 -1
  13. package/es/components/batch-editor/fields/index.d.ts +0 -1
  14. package/es/components/calendar/index.d.ts +0 -1
  15. package/es/components/checkbox/index.d.ts +0 -1
  16. package/es/components/classicLayout/index.d.ts +0 -1
  17. package/es/components/colorPicker/index.d.ts +0 -1
  18. package/es/components/config-provider/index.d.ts +0 -1
  19. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  20. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  21. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  22. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  23. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  24. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  25. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  26. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  27. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  28. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  29. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  30. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  31. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  32. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
  33. package/es/components/dataSourceComponents/fields/Upload/index.js +4 -0
  34. package/es/components/dataSourceComponents/fields/index.d.ts +2 -2
  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 +1 -0
  41. package/es/components/pisellAdjustPrice/index.d.ts +1 -0
  42. package/es/components/pisellCard/index.d.ts +0 -1
  43. package/es/components/pisellDatePicker/index.d.ts +0 -1
  44. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  45. package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
  46. package/es/components/pisellInput/index.d.ts +1 -0
  47. package/es/components/pisellText/components/Editable/index.d.ts +29 -0
  48. package/es/components/pisellText/components/Editable/index.js +159 -0
  49. package/es/components/pisellText/components/Editable/index.less +40 -0
  50. package/es/components/pisellText/index.d.ts +1 -0
  51. package/es/components/pisellText/index.js +2 -0
  52. package/es/components/pisellUpload/index.d.ts +0 -1
  53. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  54. package/es/components/productCard/components/Header/index.d.ts +1 -0
  55. package/es/components/productCard/components/Sales/index.d.ts +1 -0
  56. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  57. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
  58. package/es/components/radio/index.d.ts +0 -1
  59. package/es/components/segmented/index.d.ts +0 -1
  60. package/es/components/select/index.js +4 -2
  61. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  62. package/es/components/select-time/index.d.ts +0 -1
  63. package/es/components/skeleton/index.d.ts +0 -1
  64. package/es/components/slider/index.d.ts +0 -1
  65. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  66. package/es/components/sortableList/index.d.ts +1 -1
  67. package/es/components/sortableList/index.js +2 -1
  68. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  69. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  70. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  71. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  72. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  73. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  74. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  75. package/es/components/table/Summary/index.d.ts +0 -1
  76. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  77. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  78. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  79. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  80. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  81. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  82. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  83. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  84. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  85. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  86. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  87. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  88. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  89. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  90. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  91. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  92. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  93. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  94. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  95. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  96. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  97. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  98. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  99. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  100. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  101. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  102. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  103. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  104. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  105. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  106. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  107. package/es/components/table/Table/utils.d.ts +1 -1
  108. package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
  109. package/es/components/table/hooks/useTableSetting.js +3 -2
  110. package/es/components/time-picker/index.d.ts +0 -1
  111. package/es/components/upload/index.d.ts +0 -1
  112. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
  113. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  114. package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
  115. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  116. package/es/components/walletCard/Guest/index.d.ts +0 -1
  117. package/es/components/walletCard/Guide/index.d.ts +0 -1
  118. package/lib/components/auto-complete-number/index.d.ts +0 -1
  119. package/lib/components/badge/index.d.ts +0 -1
  120. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  121. package/lib/components/calendar/index.d.ts +0 -1
  122. package/lib/components/checkbox/index.d.ts +0 -1
  123. package/lib/components/classicLayout/index.d.ts +0 -1
  124. package/lib/components/colorPicker/index.d.ts +0 -1
  125. package/lib/components/config-provider/index.d.ts +0 -1
  126. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  127. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  128. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  129. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  130. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  131. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  132. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  133. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  134. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  135. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  136. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  137. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  138. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  139. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
  140. package/lib/components/dataSourceComponents/fields/Upload/index.js +2 -0
  141. package/lib/components/dataSourceComponents/fields/index.d.ts +2 -2
  142. package/lib/components/dropdown/index.d.ts +0 -1
  143. package/lib/components/filter/components/items/index.d.ts +0 -1
  144. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  145. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  146. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  147. package/lib/components/page/index.d.ts +1 -0
  148. package/lib/components/pisellAdjustPrice/index.d.ts +1 -0
  149. package/lib/components/pisellCard/index.d.ts +0 -1
  150. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  151. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  152. package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
  153. package/lib/components/pisellInput/index.d.ts +1 -0
  154. package/lib/components/pisellText/components/Editable/index.d.ts +29 -0
  155. package/lib/components/pisellText/components/Editable/index.js +143 -0
  156. package/lib/components/pisellText/components/Editable/index.less +40 -0
  157. package/lib/components/pisellText/index.d.ts +1 -0
  158. package/lib/components/pisellText/index.js +2 -0
  159. package/lib/components/pisellUpload/index.d.ts +0 -1
  160. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  161. package/lib/components/productCard/components/Header/index.d.ts +1 -0
  162. package/lib/components/productCard/components/Sales/index.d.ts +1 -0
  163. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  164. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
  165. package/lib/components/radio/index.d.ts +0 -1
  166. package/lib/components/segmented/index.d.ts +0 -1
  167. package/lib/components/select/index.js +7 -2
  168. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  169. package/lib/components/select-time/index.d.ts +0 -1
  170. package/lib/components/skeleton/index.d.ts +0 -1
  171. package/lib/components/slider/index.d.ts +0 -1
  172. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  173. package/lib/components/sortableList/index.d.ts +1 -1
  174. package/lib/components/sortableList/index.js +2 -2
  175. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  176. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  177. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  178. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  179. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  180. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  181. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  182. package/lib/components/table/Summary/index.d.ts +0 -1
  183. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  184. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  185. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  186. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  187. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  188. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  189. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  190. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  191. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  192. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  193. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  194. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  195. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  196. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  197. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  198. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  199. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  200. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  201. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  202. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  203. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  204. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  205. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  206. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  207. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  208. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  209. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  210. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  211. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  212. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  213. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  214. package/lib/components/table/Table/utils.d.ts +1 -1
  215. package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
  216. package/lib/components/table/hooks/useTableSetting.js +3 -1
  217. package/lib/components/time-picker/index.d.ts +0 -1
  218. package/lib/components/upload/index.d.ts +0 -1
  219. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
  220. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  221. package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
  222. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  223. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  224. package/lib/components/walletCard/Guide/index.d.ts +0 -1
  225. package/lowcode/pisell-text.editable/meta.ts +115 -0
  226. package/lowcode/pisell-text.editable/snippets.ts +15 -0
  227. package/lowcode/sortable-list/meta.ts +1 -1
  228. package/package.json +3 -3
  229. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  230. package/es/components/iconfont/index.d.ts +0 -8
  231. package/es/components/pisell-config-provider/context.d.ts +0 -22
  232. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  233. package/es/components/pisellAdjustPrice/type.d.ts +0 -22
  234. package/es/components/pisellToast/squareToast/index.d.ts +0 -15
  235. package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
  236. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -29
  237. package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
  238. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  239. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -45
  240. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -96
  241. package/es/components/productCard/components/Action/index.d.ts +0 -3
  242. package/es/components/productCard/locales.d.ts +0 -84
  243. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  244. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  245. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  246. package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
  247. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  248. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  249. package/lib/components/iconfont/index.d.ts +0 -8
  250. package/lib/components/pisell-config-provider/context.d.ts +0 -22
  251. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  252. package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
  253. package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
  254. package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
  255. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -29
  256. package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
  257. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  258. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -45
  259. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -96
  260. package/lib/components/productCard/components/Action/index.d.ts +0 -3
  261. package/lib/components/productCard/locales.d.ts +0 -84
  262. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  263. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  264. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  265. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
  266. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
@@ -18,13 +18,14 @@ var SortableList = function SortableList(props) {
18
18
  activationConstraint: activationConstraint
19
19
  }, function (params) {
20
20
  var item = params.item,
21
+ index = params.index,
21
22
  p = params.props,
22
23
  attributes = params.attributes,
23
24
  listeners = params.listeners,
24
25
  style = params.style;
25
26
  return /*#__PURE__*/React.createElement("div", _extends({}, p, attributes, listeners, {
26
27
  style: style
27
- }), renderItem === null || renderItem === void 0 ? void 0 : renderItem(item));
28
+ }), renderItem === null || renderItem === void 0 ? void 0 : renderItem(item, index));
28
29
  });
29
30
  };
30
31
  export default SortableList;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type ColumnsSettingProps = {
3
2
  value?: Record<string, any>[];
4
3
  onChange?: (val: Record<string, any>[]) => void;
@@ -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 './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 "./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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: 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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -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 summary: (props: any) => JSX.Element;
3
2
  export default summary;
@@ -161,7 +161,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
161
161
  sort?: SortType | undefined;
162
162
  mode: "" | "localStorage" | "remote";
163
163
  currentViewMode: ModeType;
164
- }) => ("view_mode" | "order_by" | "group_by" | "column_setting" | "gallery_setting" | "filter_setting")[];
164
+ }) => ("filters" | "view_mode" | "order_by" | "group_by" | "column_setting" | "gallery_setting" | "filter_setting")[];
165
165
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
166
166
  export declare const stringify: (obj: Record<string, any>) => string;
167
167
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface SortIconProps {
3
2
  sortOrder: null | "ascend" | "descend";
4
3
  }
@@ -80,7 +80,6 @@ var useTableSetting = function useTableSetting(params) {
80
80
  // 本地记忆:filters 范围 -> 存储到 filter 字段
81
81
  if (localSettings !== null && localSettings !== void 0 && localSettings.enable && (_localSettings$scope = localSettings.scope) !== null && _localSettings$scope !== void 0 && _localSettings$scope.includes("filters")) {
82
82
  if (!keys.includes("filters")) {
83
- // @ts-ignore 扩展为自定义键位
84
83
  keys.push("filters");
85
84
  }
86
85
  }
@@ -134,6 +133,8 @@ var useTableSetting = function useTableSetting(params) {
134
133
  compactMode: (mergedSetting === null || mergedSetting === void 0 || (_mergedSetting$item3 = mergedSetting[item]) === null || _mergedSetting$item3 === void 0 ? void 0 : _mergedSetting$item3.compactMode) || defaultGalleryCoverSetting.compactMode,
135
134
  isShowLabel: (_mergedSetting$item$i = mergedSetting === null || mergedSetting === void 0 || (_mergedSetting$item4 = mergedSetting[item]) === null || _mergedSetting$item4 === void 0 ? void 0 : _mergedSetting$item4.isShowLabel) !== null && _mergedSetting$item$i !== void 0 ? _mergedSetting$item$i : defaultGalleryCoverSetting.isShowLabel
136
135
  });
136
+ } else if (item === "filters") {
137
+ setting[item] = (mergedSetting === null || mergedSetting === void 0 ? void 0 : mergedSetting[item]) || {};
137
138
  } else {
138
139
  setting[item] = mergedSetting === null || mergedSetting === void 0 ? void 0 : mergedSetting[item];
139
140
  }
@@ -227,7 +228,7 @@ var useTableSetting = function useTableSetting(params) {
227
228
  }
228
229
  }
229
230
  return merged;
230
- }, [tableLocalSetting, defaultTableSetting, localSettings]);
231
+ }, [tableLocalSetting, defaultTableSetting]);
231
232
 
232
233
  /**
233
234
  * 当刷新后获得新的 localSettings(scope 或 excludedFilterFields 变化)时,
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const TimePicker: (props: any) => JSX.Element;
3
2
  export default TimePicker;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Upload: (props: any) => JSX.Element;
3
2
  export default Upload;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AmountProps, RightItemsStyleProps } from './types';
2
3
  import './index.less';
3
4
  export type { AmountProps, RightItemsStyleProps };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./Presets.less";
3
2
  export declare type PresetsItem = {
4
3
  label: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { NumberProps } from './types';
2
3
  import './index.less';
3
4
  export type { NumberProps };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const formatStringToTime: (value: string) => {
3
2
  valueArray: string[];
4
3
  valueString: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Guest: (props: any) => JSX.Element;
4
3
  export default Guest;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Guide: (props: any) => JSX.Element;
4
3
  export default Guide;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AutoCompleteProps, InputNumberProps } from "antd";
3
2
  interface AutoCompleteNumberProps {
4
3
  autoCompleteProps: AutoCompleteProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BadgeProps as OriginalBadgeprops } from 'antd';
3
2
  import './index.less';
4
3
  export interface Badgeprops extends OriginalBadgeprops {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  price: import("react").FC<import("./Price").PriceProps>;
4
3
  image: (props: import("./Image").ImageProps) => JSX.Element | null;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Calendar: (props: any) => JSX.Element;
3
2
  export default Calendar;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Checkbox: (props: any) => JSX.Element;
3
2
  export default Checkbox;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ClassicLayout: (props: any) => JSX.Element;
4
3
  export default ClassicLayout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColorPickerProps } from 'antd';
3
2
  declare const ColorPicker: (props: ColorPickerProps) => JSX.Element;
4
3
  export default ColorPicker;
@@ -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
  export interface ConfigProviderProps extends OriginalConfigProviderProps {
@@ -43,7 +43,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
43
43
  }) => JSX.Element;
44
44
  export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
45
45
  options?: any;
46
- optionSourceType?: "default" | "custom" | "api" | undefined;
46
+ optionSourceType?: "custom" | "default" | "api" | undefined;
47
47
  labelField: string;
48
48
  valueField: string;
49
49
  extraParams?: Record<string, any> | undefined;
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
19
19
  */
20
20
  declare const useTableProps: (props: UseTablePropsProps) => {
21
21
  currentComponentId: any;
22
- title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
22
+ title: number | boolean | JSX.Element | React.ReactFragment | (() => 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 | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
31
+ subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
32
32
  buttons: any[] | null;
33
33
  filter: any;
34
34
  onRow: (record: any) => any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColorPickerProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const ColorPickerReadPretty: (props: ColorPickerProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DateRangePickerProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const DateRangePickerReadPretty: (props: DateRangePickerProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IconSelectProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const IconSelectReadPretty: (props: IconSelectProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TextAreaProps } from "./type";
3
2
  import "./ReadPretty.less";
4
3
  declare const TextAreaReadPretty: (props: TextAreaProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UrlProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  export declare const formatUrl: (url: string) => string;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
3
  options?: any;
4
- optionSourceType?: "default" | "custom" | "api" | undefined;
4
+ optionSourceType?: "custom" | "default" | "api" | undefined;
5
5
  labelField: string;
6
6
  valueField: string;
7
7
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TimePickerProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const TimePickerReadPretty: (props: TimePickerProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TranslationProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const CameraPopover: (props: {
3
2
  onLocalFileClick: () => void;
4
3
  onCameraChange: (file: any) => void;
@@ -36,6 +36,7 @@ var import_utils = require("../../dataSourceForm/utils");
36
36
  var import_WithMode = __toESM(require("./WithMode"));
37
37
  var import_utils2 = require("./utils");
38
38
  var import_constants = require("./constants");
39
+ var import_BaseUpload = __toESM(require("./BaseUpload"));
39
40
  var Upload = (0, import_utils.withFormItem)(import_WithMode.default, {
40
41
  otherFormItemProps: (props, others) => {
41
42
  let rule = {};
@@ -59,4 +60,5 @@ var Upload = (0, import_utils.withFormItem)(import_WithMode.default, {
59
60
  return { rules: [...(others == null ? void 0 : others.rules) || [], rule] };
60
61
  }
61
62
  });
63
+ Upload.BaseUpload = import_BaseUpload.default;
62
64
  var Upload_default = Upload;
@@ -35,7 +35,7 @@ declare const formFieldMap: {
35
35
  };
36
36
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
37
37
  options?: any;
38
- optionSourceType?: "default" | "custom" | "api" | undefined;
38
+ optionSourceType?: "custom" | "default" | "api" | undefined;
39
39
  labelField: string;
40
40
  valueField: string;
41
41
  extraParams?: Record<string, any> | undefined;
@@ -90,7 +90,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
90
90
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
91
91
  }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
92
92
  options?: any;
93
- optionSourceType?: "default" | "custom" | "api" | undefined;
93
+ optionSourceType?: "custom" | "default" | "api" | undefined;
94
94
  labelField: string;
95
95
  valueField: string;
96
96
  extraParams?: Record<string, any> | undefined;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ConfigProviderProps } from '../config-provider';
2
3
  interface PageProps extends ConfigProviderProps {
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { PisellAdjustPriceProps } from './type';
3
4
  declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
@@ -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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PisellDatePicker: (props: any) => JSX.Element;
3
2
  export default PisellDatePicker;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps, ButtonProps } from 'antd';
2
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
3
4
  export interface CopyProps extends InputProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import { PisellContextType } from '../pisell-config-provider/context';
3
4
  declare const PisellInput: {