@pisell/materials 6.4.5 → 6.4.7

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 (333) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +150 -150
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +22 -27
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +23 -28
  11. package/dist/umd/materials.min.css +1 -0
  12. package/dist/umd/materials.min.js +1 -0
  13. package/dist/umd/static/DotsSix.57d66266.svg +1 -0
  14. package/dist/umd/static/arrow-left.e542294f.svg +1 -0
  15. package/dist/umd/static/arrow-right.763f03e0.svg +1 -0
  16. package/dist/umd/static/filter-lines.04a54ae9.svg +1 -0
  17. package/dist/umd/static/help-circle.31c9be40.svg +1 -0
  18. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +1 -0
  19. package/es/components/auto-complete-number/index.d.ts +0 -1
  20. package/es/components/badge/index.d.ts +0 -1
  21. package/es/components/batch-editor/fields/index.d.ts +0 -1
  22. package/es/components/calendar/index.d.ts +0 -1
  23. package/es/components/cardPro/index.d.ts +3 -0
  24. package/es/components/checkbox/index.d.ts +0 -1
  25. package/es/components/classicLayout/index.d.ts +0 -1
  26. package/es/components/colorPicker/index.d.ts +0 -1
  27. package/es/components/config-provider/index.d.ts +0 -1
  28. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  29. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  30. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  31. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +38 -0
  32. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
  33. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  34. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
  35. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  36. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  37. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  38. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  39. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  40. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  41. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  42. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  43. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  44. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  45. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  46. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  47. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  48. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  49. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  50. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  51. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  52. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.js +4 -16
  53. package/es/components/dropdown/index.d.ts +0 -1
  54. package/es/components/filter/components/items/index.d.ts +0 -1
  55. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  56. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  57. package/es/components/filter/components/items/text/index.d.ts +0 -1
  58. package/es/components/iconfont/index.js +1 -1
  59. package/es/components/lowCodePage/index.d.ts +0 -1
  60. package/es/components/pisell-config-provider/index.d.ts +13 -0
  61. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  62. package/es/components/pisellCard/index.d.ts +0 -1
  63. package/es/components/pisellDatePicker/index.d.ts +0 -1
  64. package/es/components/pisellLoading/index.d.ts +0 -1
  65. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  66. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  67. package/es/components/pisellModal/components/index.d.ts +0 -1
  68. package/es/components/pisellToast/index.d.ts +1 -0
  69. package/es/components/pisellToast/index.js +1 -0
  70. package/es/components/pisellToast/squareToast/index.d.ts +15 -0
  71. package/es/components/pisellToast/squareToast/index.js +28 -0
  72. package/es/components/pisellToast/squareToast/index.less +60 -0
  73. package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
  74. package/es/components/pisellToast/squareToast/methods.js +136 -0
  75. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +29 -0
  76. package/es/components/pisellToast/squareToast/renderImperatively.js +165 -0
  77. package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
  78. package/es/components/pisellToast/squareToast/toast.js +60 -0
  79. package/es/components/pisellUpload/index.d.ts +0 -1
  80. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  81. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  82. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  83. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  84. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  85. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  86. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  87. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  88. package/es/components/productCard/components/Action/index.d.ts +0 -1
  89. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
  90. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  91. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  92. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  93. package/es/components/productCard/components/Header/index.d.ts +0 -1
  94. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  95. package/es/components/productCard/components/Note/index.d.ts +0 -1
  96. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  97. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  98. package/es/components/productCard/components/Packages/index.d.ts +0 -1
  99. package/es/components/productCard/components/Sales/index.d.ts +0 -1
  100. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  101. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  102. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  103. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  104. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  105. package/es/components/productCard/components/Time/index.d.ts +3 -0
  106. package/es/components/qrcode/index.d.ts +0 -1
  107. package/es/components/radio/index.d.ts +0 -1
  108. package/es/components/segmented/index.d.ts +0 -1
  109. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  110. package/es/components/skeleton/index.d.ts +0 -1
  111. package/es/components/slider/index.d.ts +0 -1
  112. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  113. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  114. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  115. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  116. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  117. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  118. package/es/components/table/Summary/index.d.ts +0 -1
  119. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  120. package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
  121. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  122. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  123. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  124. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  125. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  126. package/es/components/table/Table/fields/index.d.ts +2 -2
  127. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  128. package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
  129. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  130. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  131. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  132. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  133. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  134. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  135. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  136. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  137. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  138. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  139. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  140. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  141. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  142. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  143. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  144. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  145. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  146. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  147. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  148. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  149. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  150. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  151. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  152. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  153. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  154. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  155. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  156. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  157. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  158. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  159. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  160. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  161. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  162. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  163. package/es/components/table/Table/utils.d.ts +1 -1
  164. package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
  165. package/es/components/table/types.d.ts +251 -0
  166. package/es/components/time-picker/index.d.ts +0 -1
  167. package/es/components/translation/index.d.ts +14 -0
  168. package/es/components/upload/index.d.ts +0 -1
  169. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -1
  170. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  171. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  172. package/es/components/walletCard/Guest/index.d.ts +0 -1
  173. package/es/components/walletCard/Guide/index.d.ts +0 -1
  174. package/es/index.d.ts +1 -1
  175. package/es/index.js +1 -1
  176. package/lib/components/auto-complete-number/index.d.ts +0 -1
  177. package/lib/components/badge/index.d.ts +0 -1
  178. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  179. package/lib/components/calendar/index.d.ts +0 -1
  180. package/lib/components/cardPro/index.d.ts +3 -0
  181. package/lib/components/checkbox/index.d.ts +0 -1
  182. package/lib/components/classicLayout/index.d.ts +0 -1
  183. package/lib/components/colorPicker/index.d.ts +0 -1
  184. package/lib/components/config-provider/index.d.ts +0 -1
  185. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  186. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  187. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  188. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +38 -0
  189. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
  190. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  191. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
  192. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  193. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  194. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  195. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  196. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  197. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  198. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  199. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  200. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  201. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  202. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  203. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  204. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  205. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  206. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  207. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  208. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  209. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +9 -19
  210. package/lib/components/dropdown/index.d.ts +0 -1
  211. package/lib/components/filter/components/items/index.d.ts +0 -1
  212. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  213. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  214. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  215. package/lib/components/iconfont/index.js +1 -1
  216. package/lib/components/lowCodePage/index.d.ts +0 -1
  217. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  218. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  219. package/lib/components/pisellCard/index.d.ts +0 -1
  220. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  221. package/lib/components/pisellLoading/index.d.ts +0 -1
  222. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  223. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  224. package/lib/components/pisellModal/components/index.d.ts +0 -1
  225. package/lib/components/pisellToast/index.d.ts +1 -0
  226. package/lib/components/pisellToast/index.js +7 -1
  227. package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
  228. package/lib/components/pisellToast/squareToast/index.js +58 -0
  229. package/lib/components/pisellToast/squareToast/index.less +60 -0
  230. package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
  231. package/lib/components/pisellToast/squareToast/methods.js +150 -0
  232. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +29 -0
  233. package/lib/components/pisellToast/squareToast/renderImperatively.js +148 -0
  234. package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
  235. package/lib/components/pisellToast/squareToast/toast.js +88 -0
  236. package/lib/components/pisellUpload/index.d.ts +0 -1
  237. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  238. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  239. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  240. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  241. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  242. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  243. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  244. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  245. package/lib/components/productCard/components/Action/index.d.ts +0 -1
  246. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
  247. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  248. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  249. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  250. package/lib/components/productCard/components/Header/index.d.ts +0 -1
  251. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  252. package/lib/components/productCard/components/Note/index.d.ts +0 -1
  253. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  254. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  255. package/lib/components/productCard/components/Packages/index.d.ts +0 -1
  256. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  257. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  258. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  259. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  260. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  261. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  262. package/lib/components/productCard/components/Time/index.d.ts +3 -0
  263. package/lib/components/qrcode/index.d.ts +0 -1
  264. package/lib/components/radio/index.d.ts +0 -1
  265. package/lib/components/segmented/index.d.ts +0 -1
  266. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  267. package/lib/components/skeleton/index.d.ts +0 -1
  268. package/lib/components/slider/index.d.ts +0 -1
  269. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  270. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  271. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  272. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  273. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  274. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  275. package/lib/components/table/Summary/index.d.ts +0 -1
  276. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  277. package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
  278. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  279. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  280. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  281. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  282. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  283. package/lib/components/table/Table/fields/index.d.ts +2 -2
  284. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  285. package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
  286. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  287. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  288. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  289. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  290. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  291. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  292. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  293. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  294. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  295. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  296. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  297. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  298. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  299. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  300. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  301. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  302. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  303. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  304. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  305. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  306. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  307. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  308. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  309. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  310. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  311. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  312. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  313. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  314. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  315. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  316. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  317. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  318. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  319. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  320. package/lib/components/table/Table/utils.d.ts +1 -1
  321. package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
  322. package/lib/components/table/types.d.ts +251 -0
  323. package/lib/components/time-picker/index.d.ts +0 -1
  324. package/lib/components/translation/index.d.ts +14 -0
  325. package/lib/components/upload/index.d.ts +0 -1
  326. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -1
  327. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  328. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  329. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  330. package/lib/components/walletCard/Guide/index.d.ts +0 -1
  331. package/lib/index.d.ts +1 -1
  332. package/lib/index.js +2 -0
  333. package/package.json +11 -11
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M8 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM8 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM8 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.707 4.293a1 1 0 0 1 0 1.414L7.414 11H19a1 1 0 1 1 0 2H7.414l5.293 5.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L16.586 13H5a1 1 0 1 1 0-2h11.586l-5.293-5.293a1 1 0 0 1 0-1.414Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Zm3 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm3 6a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Zm11.258-3.976a2 2 0 0 0-2.225 1.308 1 1 0 1 1-1.886-.664 4 4 0 0 1 7.773 1.333c0 1.53-1.135 2.54-1.945 3.081a8.044 8.044 0 0 1-1.686.848l-.035.013-.011.003-.004.002h-.002L11.92 13l.316.949a1 1 0 0 1-.633-1.897l.016-.006.074-.027a6.051 6.051 0 0 0 1.172-.6c.69-.46 1.055-.95 1.055-1.419v-.001a2 2 0 0 0-1.662-1.975ZM11 17a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.293 3.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L8 6.414V20a1 1 0 1 1-2 0V6.414L3.707 8.707a1 1 0 0 1-1.414-1.414l4-4ZM16 17.586V4a1 1 0 1 1 2 0v13.586l2.293-2.293a1 1 0 0 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L16 17.586Z"/></svg>
@@ -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;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const _default: (props: any) => JSX.Element;
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,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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DataSourceImage: (props: import("../utils").ParsedProps) => JSX.Element;
3
2
  export default DataSourceImage;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DataSourceQRCode: (props: any) => JSX.Element;
3
2
  export default DataSourceQRCode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const useDataSourceKey: () => {
3
2
  dataSourceKey: string | undefined;
4
3
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -0,0 +1,38 @@
1
+ import { Drawer } from 'antd';
2
+ import { OperationItem } from '../type';
3
+ declare const useDrawerState: (operationContent?: {
4
+ [key: string]: import("react").ReactNode;
5
+ } | undefined) => {
6
+ drawerVisible: boolean;
7
+ setDrawerVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
8
+ openDrawer: (item: OperationItem) => void;
9
+ closeDrawer: () => void;
10
+ drawerContent: import("react").ReactNode;
11
+ Container: {
12
+ (props: import("../../../pisellModal").PisellModalProps): JSX.Element;
13
+ confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
14
+ destroy: () => void;
15
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
16
+ };
17
+ info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
18
+ destroy: () => void;
19
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
20
+ };
21
+ error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
22
+ destroy: () => void;
23
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
24
+ };
25
+ warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
26
+ warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
27
+ destroy: () => void;
28
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
29
+ };
30
+ success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
31
+ destroy: () => void;
32
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
33
+ };
34
+ Information: (props: import("../../../pisellModal/components/Information").InformationProps) => JSX.Element;
35
+ } | typeof Drawer;
36
+ containerProps: {};
37
+ };
38
+ export default useDrawerState;
@@ -53,7 +53,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
53
53
  width: number;
54
54
  align: "center" | "left" | "right";
55
55
  fixed: false | "left" | "right";
56
- type: "link" | "button";
56
+ type: "button" | "link";
57
57
  items: OperationItem[];
58
58
  } | undefined;
59
59
  operationContent?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceTableProps } from '../type';
3
2
  declare type Params = {
4
3
  pagination?: {
@@ -0,0 +1,79 @@
1
+ /// <reference types="react" />
2
+ import { ColumnType } from 'antd/es/table';
3
+ import { DataSourceType } from '../provider/dataSource/DataSourceContext';
4
+ export declare type OperationItem = {
5
+ label?: string;
6
+ openMode: 'modal' | 'drawer' | 'custom';
7
+ openContentSize: 'small' | 'middle' | 'large';
8
+ openTitle: string;
9
+ actionType: 'detail' | 'edit' | 'delete' | 'custom';
10
+ key: string;
11
+ buttonProps?: any;
12
+ onClick?: (record: any) => void;
13
+ afterClose?: () => void;
14
+ };
15
+ export interface DataSourceTableProps {
16
+ title?: string | React.ReactNode | (() => React.ReactNode);
17
+ subTitle?: string | React.ReactNode | (() => React.ReactNode);
18
+ titleButtons?: {
19
+ show: boolean;
20
+ maxCount: number;
21
+ items: OperationItem[];
22
+ };
23
+ tableButtons?: {
24
+ show: boolean;
25
+ maxCount: number;
26
+ items: OperationItem[];
27
+ };
28
+ buttons?: any[];
29
+ operation?: {
30
+ show: boolean;
31
+ title: string;
32
+ width: number;
33
+ align: 'left' | 'center' | 'right';
34
+ fixed: 'left' | 'right' | false;
35
+ type: 'link' | 'button';
36
+ items: OperationItem[];
37
+ };
38
+ operationContent?: {
39
+ [key: string]: React.ReactNode;
40
+ };
41
+ dataSource: DataSourceType;
42
+ columns: ColumnType<any>[];
43
+ filter: any;
44
+ search?: {
45
+ show: boolean;
46
+ placeholder: string;
47
+ };
48
+ __designMode: string;
49
+ componentId: string;
50
+ clickToDetail?: {
51
+ show: boolean;
52
+ useCustomAction: boolean;
53
+ actionType: string;
54
+ openMode: 'modal' | 'drawer';
55
+ openContentSize: 'small' | 'middle' | 'large';
56
+ openTitle: string;
57
+ key: string;
58
+ };
59
+ onRow?: any;
60
+ filterBy?: Record<string, any>;
61
+ sortBy: string;
62
+ tabs?: {
63
+ show: boolean;
64
+ type: string;
65
+ items: {
66
+ name: string;
67
+ filterBy: Record<string, any>;
68
+ sortBy: string;
69
+ }[];
70
+ };
71
+ onValuesChange?: (changedValues: any, values: any) => void;
72
+ extraParams?: {
73
+ list?: Record<string, any>;
74
+ get?: Record<string, any>;
75
+ update?: Record<string, any>;
76
+ create?: Record<string, any>;
77
+ destroy?: Record<string, any>;
78
+ };
79
+ }
@@ -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 { JsonProps } from "./type";
3
2
  import "./ReadPretty.less";
4
3
  declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PasswordProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * 获取nocobase数据列表
3
+ */
4
+ export declare const getCountryDataList: () => Promise<any>;
5
+ export interface Country {
6
+ id: number;
7
+ name: {
8
+ en: string;
9
+ "zh-CN": string;
10
+ "zh-HK": string;
11
+ original: string;
12
+ };
13
+ code: string;
14
+ calling_code: string;
15
+ currency_code: string;
16
+ sort: number;
17
+ status: string;
18
+ created_at: string;
19
+ updated_at: string;
20
+ prefix: string;
21
+ }
22
+ export declare const useCountries: () => {
23
+ data: Country[];
24
+ };
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UploadProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const UploadReadPretty: (props: UploadProps) => JSX.Element | null;
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
@@ -19,7 +19,7 @@ declare const formFieldMap: {
19
19
  Subdomain: import("react").FC<import("antd").InputProps & {
20
20
  onChange: (value: string) => void;
21
21
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
22
- rootDomain: "custom" | "xzero" | "saas";
22
+ rootDomain: "custom" | "saas" | "xzero";
23
23
  customDomain?: string | undefined;
24
24
  value?: string | undefined;
25
25
  tenantId: string;
@@ -59,11 +59,13 @@ declare const formFieldMap: {
59
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  };
62
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
63
63
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
64
64
  } & {
65
65
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
66
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
66
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
67
+ onChange: (value: string) => void;
68
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
67
69
  JSON: import("react").FC<any>;
68
70
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
69
71
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -76,14 +78,14 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
76
78
  Subdomain: import("react").FC<import("antd").InputProps & {
77
79
  onChange: (value: string) => void;
78
80
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
79
- rootDomain: "custom" | "xzero" | "saas";
81
+ rootDomain: "custom" | "saas" | "xzero";
80
82
  customDomain?: string | undefined;
81
83
  value?: string | undefined;
82
84
  tenantId: string;
83
85
  name?: string | undefined;
84
86
  fieldKey?: string | undefined;
85
87
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
86
- }) | (import("react").FC<{}> & {
88
+ }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
87
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
90
  } & {
89
91
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -95,7 +97,5 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
95
97
  extraParams?: Record<string, any> | undefined;
96
98
  } & {
97
99
  dataSource?: any;
98
- }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
99
- onChange: (value: string) => void;
100
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
100
+ }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
101
101
  export { getFieldComponent, formFieldMap };
@@ -15,22 +15,16 @@ var defaultCustomizer = function defaultCustomizer(objValue, srcValue) {
15
15
  };
16
16
  var VARIABLE_PATTERN = /{{([^}]+)}}/g;
17
17
  var VariablesProvider = function VariablesProvider(props) {
18
- var _context$engine, _context$appHelper;
18
+ var _context$appHelper;
19
19
  var children = props.children,
20
20
  variables = props.variables;
21
21
  var context = useEngineContext();
22
-
23
- // 获取 disabledHistoryListener 参数,如果为 true 则不监听 history
24
- var disabledHistoryListener = context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 || (_context$engine = _context$engine.props) === null || _context$engine === void 0 || (_context$engine = _context$engine.variablesConfig) === null || _context$engine === void 0 ? void 0 : _context$engine.disabledHistoryListener;
25
22
  var _ref = (context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {},
26
23
  getApp = _ref.getApp;
27
24
 
28
25
  // 在组件创建时就初始化 URL 参数
29
26
  var initialQuery = useMemo(function () {
30
27
  var _getApp;
31
- if (disabledHistoryListener) {
32
- return {};
33
- }
34
28
  var currentLocation = getApp === null || getApp === void 0 || (_getApp = getApp()) === null || _getApp === void 0 || (_getApp = _getApp.history) === null || _getApp === void 0 || (_getApp = _getApp.instance) === null || _getApp === void 0 ? void 0 : _getApp.location;
35
29
  if (currentLocation !== null && currentLocation !== void 0 && currentLocation.search) {
36
30
  var searchParams = new URLSearchParams(currentLocation.search);
@@ -41,10 +35,10 @@ var VariablesProvider = function VariablesProvider(props) {
41
35
  return query;
42
36
  }
43
37
  return {};
44
- }, [disabledHistoryListener]);
38
+ }, []);
45
39
 
46
40
  // 初始变量中包含 URL 参数
47
- var variablesRef = useRef(disabledHistoryListener ? variables || {} : mergeWith(variables, {
41
+ var variablesRef = useRef(mergeWith(variables, {
48
42
  global: {
49
43
  value: {
50
44
  query: initialQuery
@@ -58,9 +52,6 @@ var VariablesProvider = function VariablesProvider(props) {
58
52
 
59
53
  // 解析并设置 query 参数
60
54
  var setQueryVariable = useMemoizedFn(function (search) {
61
- if (disabledHistoryListener) {
62
- return;
63
- }
64
55
  var searchParams = new URLSearchParams(search);
65
56
  var query = {};
66
57
  searchParams.forEach(function (value, key) {
@@ -72,16 +63,13 @@ var VariablesProvider = function VariablesProvider(props) {
72
63
  });
73
64
  useEffect(function () {
74
65
  var _getApp2;
75
- if (disabledHistoryListener) {
76
- return;
77
- }
78
66
  var unlisten = getApp === null || getApp === void 0 || (_getApp2 = getApp()) === null || _getApp2 === void 0 || (_getApp2 = _getApp2.history) === null || _getApp2 === void 0 || (_getApp2 = _getApp2.instance) === null || _getApp2 === void 0 ? void 0 : _getApp2.listen(function (location) {
79
67
  setQueryVariable(location.search);
80
68
  });
81
69
  return function () {
82
70
  unlisten === null || unlisten === void 0 || unlisten();
83
71
  };
84
- }, [disabledHistoryListener]);
72
+ }, []);
85
73
 
86
74
  // useEffect(() => {
87
75
  // if (variables) {
@@ -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;
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
2
2
  import { createFromIconfontCN } from '@ant-design/icons';
3
3
  import React from 'react';
4
4
  var MyIcon = createFromIconfontCN({
5
- scriptUrl: 'https://static.pisellcdn.com/pisell2iconfont1.11.js' // 在 iconfont.cn 上生成
5
+ scriptUrl: 'https://static.pisellcdn.com/pisell2iconfont1.14.js' // 在 iconfont.cn 上生成
6
6
  });
7
7
  var IconFont = function IconFont(props) {
8
8
  return /*#__PURE__*/React.createElement(MyIcon, _extends({}, props, {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type LowCodePageProps = {
3
2
  id: number;
4
3
  };
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { PisellContextType } from './context';
3
+ interface PisellConfigProviderType {
4
+ platform?: PisellContextType['platform'];
5
+ children: React.ReactNode;
6
+ /** 货币符号 */
7
+ symbol?: string;
8
+ /** 当前语言环境 */
9
+ locale?: string;
10
+ getSymbolic?: () => string;
11
+ }
12
+ declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
13
+ export default PisellConfigProvider;
@@ -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 { 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 { SpinProps } from 'antd';
3
2
  import './index.less';
4
3
  declare type MaskType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  export interface IpadModalProps extends PcModalProps {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  import './index.less';
4
3
  export interface MobileModalProps extends PcModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import IpadModal from './IpadModal';
3
2
  import MobileModal from './MobileModal';
4
3
  import PcModal from './PcModal';
@@ -13,4 +13,5 @@ export interface PisellToastProps {
13
13
  onClose?: () => void;
14
14
  }
15
15
  declare const PisellToast: (props: PisellToastProps) => void;
16
+ export { useToast } from './squareToast';
16
17
  export default PisellToast;
@@ -32,4 +32,5 @@ var PisellToast = function PisellToast(props) {
32
32
  onClose: onClose
33
33
  });
34
34
  };
35
+ export { useToast } from "./squareToast";
35
36
  export default PisellToast;
@@ -0,0 +1,15 @@
1
+ import { clear, show, success, info, loading, fail, hide } from './methods';
2
+ import './index.less';
3
+ interface ToastInstance {
4
+ show: typeof show;
5
+ clear: typeof clear;
6
+ success: typeof success;
7
+ info: typeof info;
8
+ loading: typeof loading;
9
+ fail: typeof fail;
10
+ error: typeof fail;
11
+ hide: typeof hide;
12
+ }
13
+ declare const Toast: ToastInstance;
14
+ export declare const useToast: () => ToastInstance;
15
+ export default Toast;