@pisell/materials 3.3.44 → 3.3.45

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 (278) 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 +7 -7
  6. package/build/lowcode/preview.js +146 -146
  7. package/build/lowcode/render/default/view.js +19 -19
  8. package/build/lowcode/view.js +25 -25
  9. package/es/components/DragSortList/index.js +6 -6
  10. package/es/components/appVersionControl/index.d.ts +0 -1
  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/batch-editor/index.d.ts +0 -1
  15. package/es/components/calendar/index.d.ts +0 -1
  16. package/es/components/cardPro/index.d.ts +0 -1
  17. package/es/components/checkbox/index.d.ts +0 -1
  18. package/es/components/classicLayout/index.d.ts +0 -1
  19. package/es/components/classicLayout/index.js +4 -5
  20. package/es/components/colorPicker/index.d.ts +0 -1
  21. package/es/components/config-provider/index.d.ts +0 -1
  22. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  23. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  24. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  25. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  26. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  27. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  28. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  29. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  30. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  31. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  32. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  33. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  34. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  35. package/es/components/dataSourceComponents/fields/index.d.ts +2 -2
  36. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
  37. package/es/components/drag-sort-tree/TreeItem/index.js +2 -1
  38. package/es/components/drag-sort-tree/index.d.ts +0 -1
  39. package/es/components/dropdown/index.d.ts +0 -1
  40. package/es/components/filter/components/items/index.d.ts +0 -1
  41. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  42. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  43. package/es/components/filter/components/items/text/index.d.ts +0 -1
  44. package/es/components/filter/index.d.ts +1 -0
  45. package/es/components/icon/index.js +5 -5
  46. package/es/components/list/index.js +6 -6
  47. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  48. package/es/components/pisellAdjustPrice/index.d.ts +0 -1
  49. package/es/components/pisellCard/index.d.ts +0 -1
  50. package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  51. package/es/components/pisellDatePicker/index.d.ts +0 -1
  52. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  53. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  54. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  55. package/es/components/pisellTooltip/index.d.ts +0 -1
  56. package/es/components/pisellUpload/index.d.ts +0 -1
  57. package/es/components/pisellWalletPassCard/index.d.ts +0 -1
  58. package/es/components/productCard/components/Action/index.d.ts +0 -1
  59. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  60. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
  61. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  62. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  63. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  64. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  65. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  66. package/es/components/productCard/components/Time/index.d.ts +0 -1
  67. package/es/components/productCard/components/Warning/index.d.ts +7 -0
  68. package/es/components/productCard/components/Warning/index.js +48 -0
  69. package/es/components/productCard/index.js +8 -8
  70. package/es/components/productCard/locales.d.ts +3 -0
  71. package/es/components/productCard/locales.js +6 -3
  72. package/es/components/productCard/status.js +3 -1
  73. package/es/components/productCard/types.d.ts +1 -0
  74. package/es/components/qrcode/index.js +1 -1
  75. package/es/components/radio/index.d.ts +0 -1
  76. package/es/components/segmented/index.d.ts +0 -1
  77. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  78. package/es/components/skeleton/index.d.ts +0 -1
  79. package/es/components/slider/index.d.ts +0 -1
  80. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  81. package/es/components/sort/components/InlineMenu/index.js +1 -1
  82. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  83. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  84. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  85. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  86. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  87. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -1
  88. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  89. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  90. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  91. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
  92. package/es/components/table/Header/Buttons/index.js +5 -5
  93. package/es/components/table/Summary/index.d.ts +0 -1
  94. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  95. package/es/components/table/Table/SelectField/index.js +4 -4
  96. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  97. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  98. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  99. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  100. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  101. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  102. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  103. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  104. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  105. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  106. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  107. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  108. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  109. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  110. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  111. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  112. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  113. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  114. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  115. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  116. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  117. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  118. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  119. package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
  120. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  121. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  122. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  123. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  124. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  125. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  126. package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
  127. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  128. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  129. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  130. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  131. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  132. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  133. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  134. package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
  135. package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
  136. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  137. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  138. package/es/components/time-picker/index.d.ts +0 -1
  139. package/es/components/translation/utils.js +5 -5
  140. package/es/components/upload/index.d.ts +0 -1
  141. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  142. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  143. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  144. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -1
  145. package/es/components/walletCard/Guest/index.d.ts +0 -1
  146. package/es/components/walletCard/Guide/index.d.ts +0 -1
  147. package/es/hooks/useResponsive.js +2 -2
  148. package/es/utils/hoc.js +1 -1
  149. package/es/utils/miniRedux.js +8 -9
  150. package/es/utils/platform.d.ts +1 -1
  151. package/lib/components/appVersionControl/index.d.ts +0 -1
  152. package/lib/components/auto-complete-number/index.d.ts +0 -1
  153. package/lib/components/badge/index.d.ts +0 -1
  154. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  155. package/lib/components/batch-editor/index.d.ts +0 -1
  156. package/lib/components/calendar/index.d.ts +0 -1
  157. package/lib/components/cardPro/index.d.ts +0 -1
  158. package/lib/components/checkbox/index.d.ts +0 -1
  159. package/lib/components/classicLayout/index.d.ts +0 -1
  160. package/lib/components/colorPicker/index.d.ts +0 -1
  161. package/lib/components/config-provider/index.d.ts +0 -1
  162. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  163. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  164. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  165. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  166. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  167. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  168. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  169. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  170. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  171. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  172. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  173. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  174. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  175. package/lib/components/dataSourceComponents/fields/index.d.ts +2 -2
  176. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
  177. package/lib/components/drag-sort-tree/TreeItem/index.js +2 -1
  178. package/lib/components/drag-sort-tree/index.d.ts +0 -1
  179. package/lib/components/dropdown/index.d.ts +0 -1
  180. package/lib/components/filter/components/items/index.d.ts +0 -1
  181. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  182. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  183. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  184. package/lib/components/filter/index.d.ts +1 -0
  185. package/lib/components/lowCodePage/index.js +1 -2
  186. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  187. package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
  188. package/lib/components/pisellCard/index.d.ts +0 -1
  189. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  190. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  191. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  192. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  193. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  194. package/lib/components/pisellTooltip/index.d.ts +0 -1
  195. package/lib/components/pisellUpload/index.d.ts +0 -1
  196. package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
  197. package/lib/components/productCard/components/Action/index.d.ts +0 -1
  198. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  199. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
  200. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  201. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  202. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  203. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  204. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  205. package/lib/components/productCard/components/Time/index.d.ts +0 -1
  206. package/lib/components/productCard/components/Warning/index.d.ts +7 -0
  207. package/lib/components/productCard/components/Warning/index.js +68 -0
  208. package/lib/components/productCard/index.js +4 -11
  209. package/lib/components/productCard/locales.d.ts +3 -0
  210. package/lib/components/productCard/locales.js +6 -3
  211. package/lib/components/productCard/status.js +3 -1
  212. package/lib/components/productCard/types.d.ts +1 -0
  213. package/lib/components/radio/index.d.ts +0 -1
  214. package/lib/components/segmented/index.d.ts +0 -1
  215. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  216. package/lib/components/skeleton/index.d.ts +0 -1
  217. package/lib/components/slider/index.d.ts +0 -1
  218. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  219. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  220. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  221. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  222. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  223. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -1
  224. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  225. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  226. package/lib/components/table/Summary/index.d.ts +0 -1
  227. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  228. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  229. package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
  230. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  231. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  232. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  233. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  234. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  235. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  236. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  237. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  238. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  239. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  240. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  241. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  242. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  243. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  244. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  245. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  246. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
  247. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  248. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  249. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  250. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  251. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  252. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  253. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  254. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  255. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  256. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  257. package/lib/components/table/Table/fields/utils/index.js +1 -2
  258. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  259. package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
  260. package/lib/components/time-picker/index.d.ts +0 -1
  261. package/lib/components/upload/index.d.ts +0 -1
  262. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  263. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  264. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  265. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -1
  266. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  267. package/lib/components/walletCard/Guide/index.d.ts +0 -1
  268. package/lib/hooks/useResponsive.js +3 -6
  269. package/lib/utils/platform.d.ts +1 -1
  270. package/package.json +2 -2
  271. package/dist/umd/materials.min.css +0 -1
  272. package/dist/umd/materials.min.js +0 -1
  273. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  274. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  275. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  276. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  277. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  278. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
@@ -1,9 +1,9 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  import { DndContext, PointerSensor, useSensor, useSensors } from "@dnd-kit/core";
8
8
  import { SortableContext, arrayMove, useSortable } from "@dnd-kit/sortable";
9
9
  import { CSS } from "@dnd-kit/utilities";
@@ -41,7 +41,7 @@ export default function Sortable(_ref) {
41
41
  var overIndex = list === null || list === void 0 ? void 0 : list.findIndex(function (i) {
42
42
  return getRowKey(i) === (over === null || over === void 0 ? void 0 : over.id);
43
43
  });
44
- onChange === null || onChange === void 0 ? void 0 : onChange(arrayMove(list, activeIndex, overIndex));
44
+ onChange === null || onChange === void 0 || onChange(arrayMove(list, activeIndex, overIndex));
45
45
  }
46
46
  },
47
47
  sensors: sensors
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AppVersionControlProps } from './types';
3
2
  import './index.less';
4
3
  declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface BatchEditorProps {
4
3
  columns: any[];
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Calendar: (props: any) => JSX.Element;
3
2
  export default Calendar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const _default: (props: any) => JSX.Element;
4
3
  export default _default;
@@ -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,13 +1,12 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
4
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
5
  import React from "react";
6
6
  import classNames from "classnames";
7
7
  import "./index.less";
8
8
  var prefix = "pisell-lowcode-";
9
9
  var ClassicLayout = function ClassicLayout(props) {
10
- var _classNames2;
11
10
  var header = props.header,
12
11
  content = props.content,
13
12
  footer = props.footer,
@@ -22,7 +21,7 @@ var ClassicLayout = function ClassicLayout(props) {
22
21
  }, /*#__PURE__*/React.createElement("header", {
23
22
  className: classNames(_defineProperty({}, "".concat(prefix, "claseic-layout-fixed-header"), fixedHeader))
24
23
  }, header), content, /*#__PURE__*/React.createElement("footer", {
25
- className: classNames((_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefix, "claseic-layout-fixed-footer"), fixedFooter), _defineProperty(_classNames2, footerClassName, footerClassName), _classNames2)),
24
+ className: classNames(_defineProperty(_defineProperty({}, "".concat(prefix, "claseic-layout-fixed-footer"), fixedFooter), footerClassName, footerClassName)),
26
25
  style: footerStyle
27
26
  }, footer));
28
27
  };
@@ -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 {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Drawer } from 'antd';
3
2
  import { OperationItem } from '../type';
4
3
  declare const useDrawerState: (operationContent?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceTableProps } from '../type';
3
2
  declare type Params = {
4
3
  pagination?: {
@@ -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;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "xzero" | "saas";
5
+ rootDomain: "custom" | "saas" | "xzero";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -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,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;
@@ -20,7 +20,7 @@ declare const formFieldMap: {
20
20
  Subdomain: import("react").FC<import("antd").InputProps & {
21
21
  onChange: (value: string) => void;
22
22
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
23
- rootDomain: "custom" | "xzero" | "saas";
23
+ rootDomain: "custom" | "saas" | "xzero";
24
24
  customDomain?: string | undefined;
25
25
  value?: string | undefined;
26
26
  tenantId: string;
@@ -77,7 +77,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
77
77
  Subdomain: import("react").FC<import("antd").InputProps & {
78
78
  onChange: (value: string) => void;
79
79
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
80
- rootDomain: "custom" | "xzero" | "saas";
80
+ rootDomain: "custom" | "saas" | "xzero";
81
81
  customDomain?: string | undefined;
82
82
  value?: string | undefined;
83
83
  tenantId: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ValueProps, SortType } from '../types';
4
3
  declare type IdType = string | number;
@@ -54,7 +54,8 @@ var TreeItem = function TreeItem(props) {
54
54
  transform: CSS.Transform.toString(transform && _objectSpread(_objectSpread({}, transform), {}, {
55
55
  scaleY: 1
56
56
  })),
57
- transition: transition
57
+ transition: transition,
58
+ display: item.domHidden ? 'none' : 'block'
58
59
  };
59
60
  var rowKey = useMemo(function () {
60
61
  return (childrenProps === null || childrenProps === void 0 ? void 0 : childrenProps.rowKey) || 'id';
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterProps } from "./types";
2
3
  declare const Filter: (props: FilterProps) => JSX.Element | null;
3
4
  export default Filter;
@@ -1,11 +1,11 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  var _excluded = ["type", "size", "color"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
6
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
9
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
11
  import React, { forwardRef } from 'react';
@@ -1,8 +1,8 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  var _excluded = ["className", "paginationType", "pagination", "footer", "header", "listHeight", "loadMoreData", "arrow"];
3
3
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
5
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
5
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
6
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
7
7
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
8
8
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -47,7 +47,7 @@ var List = function List(props) {
47
47
  var position = useScroll(listRef);
48
48
  var isShowDownArrow = useMemo(function () {
49
49
  var _listRef$current, _listRef$current2;
50
- return arrow && (listRef === null || listRef === void 0 ? void 0 : listRef.current) && ((position === null || position === void 0 ? void 0 : position.top) || 0) + (listRef === null || listRef === void 0 ? void 0 : (_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.clientHeight) < ((_listRef$current2 = listRef.current) === null || _listRef$current2 === void 0 ? void 0 : _listRef$current2.scrollHeight);
50
+ return arrow && (listRef === null || listRef === void 0 ? void 0 : listRef.current) && ((position === null || position === void 0 ? void 0 : position.top) || 0) + (listRef === null || listRef === void 0 || (_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.clientHeight) < ((_listRef$current2 = listRef.current) === null || _listRef$current2 === void 0 ? void 0 : _listRef$current2.scrollHeight);
51
51
  }, [position, arrow]);
52
52
  var isShowUpArrow = useMemo(function () {
53
53
  return arrow && ((position === null || position === void 0 ? void 0 : position.top) || 0) > 0;
@@ -90,13 +90,13 @@ var List = function List(props) {
90
90
  }),
91
91
  scrollableTarget: scrollListId
92
92
  }, /*#__PURE__*/React.createElement(AntList, _extends({}, others, {
93
- className: classNames(className, _defineProperty({}, "".concat(prefix, "list-one-line-wrap"), props === null || props === void 0 ? void 0 : (_props$grid = props.grid) === null || _props$grid === void 0 ? void 0 : _props$grid.oneLine))
93
+ className: classNames(className, _defineProperty({}, "".concat(prefix, "list-one-line-wrap"), props === null || props === void 0 || (_props$grid = props.grid) === null || _props$grid === void 0 ? void 0 : _props$grid.oneLine))
94
94
  }))), isShowDownArrow && downArrow), _footer && /*#__PURE__*/React.createElement("div", {
95
95
  className: "".concat(prefix, "scroll-footer-wrap")
96
96
  }, _footer));
97
97
  }
98
98
  return /*#__PURE__*/React.createElement(AntList, _extends({}, props, {
99
- className: classNames(className, _defineProperty({}, "".concat(prefix, "list-one-line-wrap"), props === null || props === void 0 ? void 0 : (_props$grid2 = props.grid) === null || _props$grid2 === void 0 ? void 0 : _props$grid2.oneLine))
99
+ className: classNames(className, _defineProperty({}, "".concat(prefix, "list-one-line-wrap"), props === null || props === void 0 || (_props$grid2 = props.grid) === null || _props$grid2 === void 0 ? void 0 : _props$grid2.oneLine))
100
100
  }));
101
101
  }, [props, _footer, isShowDownArrow, isShowUpArrow, scrollListId]);
102
102
  return list;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputNumberProps } from 'antd/es/input-number';
3
2
  export interface PisellAdjustPriceInputNumberProps extends Omit<InputNumberProps, 'onChange'> {
4
3
  value?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface PisellAdjustPriceProps {
4
3
  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,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,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 } 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 { 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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
3
4
  export default MultiDay;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
3
4
  export default Options;
@@ -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) => string | number;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -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 Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
4
3
  export default Time;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import '../../index.less';
3
+ declare const Warning: React.FC<{
4
+ errorMessage: string | Array<string>;
5
+ osWarnTips: Array<string>;
6
+ }>;
7
+ export default Warning;
@@ -0,0 +1,48 @@
1
+ import React, { useMemo } from 'react';
2
+ import { locales } from '@pisell/utils';
3
+ import { Alert } from 'antd';
4
+ import "../../index.less";
5
+ var Warning = function Warning(_ref) {
6
+ var errorMessage = _ref.errorMessage,
7
+ osWarnTips = _ref.osWarnTips;
8
+ /**
9
+ * @title: 错误提示列表
10
+ * @description: 错误提示列表
11
+ * @param {*} useMemo
12
+ * @return {*}
13
+ * @Author: WangHan
14
+ * @Date: 2025-07-23 10:10
15
+ */
16
+ var errorLists = useMemo(function () {
17
+ if (errorMessage) {
18
+ // 如果errorMessage是数组,则返回数组
19
+ if (Array.isArray(errorMessage)) {
20
+ return errorMessage;
21
+ }
22
+
23
+ // 如果errorMessage是字符串,则返回字符串
24
+ if (typeof errorMessage === 'string') {
25
+ return [errorMessage];
26
+ }
27
+ }
28
+ if ((osWarnTips === null || osWarnTips === void 0 ? void 0 : osWarnTips.length) > 0) {
29
+ return osWarnTips.map(function (item) {
30
+ return locales.getText(item);
31
+ });
32
+ }
33
+ return [];
34
+ }, [errorMessage, osWarnTips]);
35
+ if ((errorLists === null || errorLists === void 0 ? void 0 : errorLists.length) === 0) {
36
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
37
+ }
38
+ return /*#__PURE__*/React.createElement(React.Fragment, null, errorLists.map(function (item, index) {
39
+ return /*#__PURE__*/React.createElement(Alert, {
40
+ key: index,
41
+ message: item,
42
+ type: "warning",
43
+ showIcon: true,
44
+ className: "pisell-lowcode-product-card-error"
45
+ });
46
+ }));
47
+ };
48
+ export default Warning;
@@ -10,7 +10,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
10
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
11
  import React, { useMemo, useRef } from 'react';
12
12
  import classNames from 'classnames';
13
- import { Alert } from 'antd';
14
13
  import { locales } from '@pisell/utils';
15
14
  import CardPro from "../cardPro";
16
15
  import Header from "./components/Header";
@@ -26,6 +25,7 @@ import UseOpenNote from "./hooks/useOpenNote";
26
25
  import localeTexts from "./locales";
27
26
  import { defaultValue } from "./status";
28
27
  import useEngineContext from "../../hooks/useEngineContext";
28
+ import Warning from "./components/Warning";
29
29
  import "./index.less";
30
30
  var ProductCard = function ProductCard(props) {
31
31
  var _utils$storage, _dataSource$items;
@@ -64,7 +64,9 @@ var ProductCard = function ProductCard(props) {
64
64
  isShowAction = dataSource.isShowAction,
65
65
  actionText = dataSource.actionText,
66
66
  errorMessage = dataSource.errorMessage,
67
- isNormalProduct = dataSource.isNormalProduct;
67
+ isNormalProduct = dataSource.isNormalProduct,
68
+ _dataSource$osWarnTip = dataSource.osWarnTips,
69
+ osWarnTips = _dataSource$osWarnTip === void 0 ? [] : _dataSource$osWarnTip;
68
70
 
69
71
  /**
70
72
  * @title: 显示图片
@@ -159,12 +161,10 @@ var ProductCard = function ProductCard(props) {
159
161
  onAction: function onAction() {
160
162
  return _onAction === null || _onAction === void 0 ? void 0 : _onAction(dataSource);
161
163
  }
162
- }) : null, errorMessage ? /*#__PURE__*/React.createElement(Alert, {
163
- message: errorMessage,
164
- type: "warning",
165
- showIcon: true,
166
- className: "pisell-lowcode-product-card-error"
167
- }) : null), /*#__PURE__*/React.createElement(UseOpenNote, {
164
+ }) : null, /*#__PURE__*/React.createElement(Warning, {
165
+ errorMessage: errorMessage,
166
+ osWarnTips: osWarnTips
167
+ })), /*#__PURE__*/React.createElement(UseOpenNote, {
168
168
  ref: useOpenNoteRef,
169
169
  onNoteChange: function onNoteChange(e) {
170
170
  onNote === null || onNote === void 0 || onNote(_objectSpread(_objectSpread({}, dataSource), {}, {