@pisell/materials 3.0.62 → 6.0.2

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 (957) 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 +19 -2
  6. package/build/lowcode/preview.js +142 -142
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +26 -26
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +23 -23
  11. package/es/components/Pagination/index.d.ts +1 -1
  12. package/es/components/browserSelect/index.d.ts +21 -0
  13. package/es/components/browserSelect/index.js +58 -0
  14. package/es/components/browserSelect/index.less +64 -0
  15. package/es/components/checkbox/index.js +4 -4
  16. package/es/components/colorPicker/index.d.ts +4 -0
  17. package/es/components/colorPicker/index.js +6 -0
  18. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +3 -0
  19. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +67 -0
  20. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +3 -0
  21. package/es/components/dataSourceComponents/dataSourceForm/formItem.js +58 -0
  22. package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +20 -0
  23. package/es/components/dataSourceComponents/dataSourceForm/group/index.js +65 -0
  24. package/es/components/dataSourceComponents/dataSourceForm/group/index.less +42 -0
  25. package/es/components/dataSourceComponents/dataSourceForm/index.d.ts +3 -0
  26. package/es/components/dataSourceComponents/dataSourceForm/index.js +25 -0
  27. package/es/components/dataSourceComponents/dataSourceForm/index.less +24 -0
  28. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +11 -0
  29. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.js +7 -0
  30. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +8 -0
  31. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.js +26 -0
  32. package/es/components/dataSourceComponents/dataSourceForm/provider/hooks/useFormSetting.d.ts +5 -0
  33. package/es/components/dataSourceComponents/dataSourceForm/provider/hooks/useFormSetting.js +11 -0
  34. package/es/components/dataSourceComponents/dataSourceForm/provider/hooks/useJsonPrefixPath.d.ts +5 -0
  35. package/es/components/dataSourceComponents/dataSourceForm/provider/hooks/useJsonPrefixPath.js +7 -0
  36. package/es/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperContext.d.ts +6 -0
  37. package/es/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperContext.js +6 -0
  38. package/es/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider.d.ts +7 -0
  39. package/es/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider.js +42 -0
  40. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +148 -0
  41. package/es/components/dataSourceComponents/dataSourceForm/serve.js +254 -0
  42. package/es/components/dataSourceComponents/dataSourceForm/style.less +23 -0
  43. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +38 -0
  44. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +228 -0
  45. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.less +4 -0
  46. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +18 -0
  47. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +50 -0
  48. package/es/components/dataSourceComponents/dataSourceForm/utils.js +360 -0
  49. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +3 -0
  50. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.js +4 -0
  51. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +3 -0
  52. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.js +4 -0
  53. package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +10 -0
  54. package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.js +15 -0
  55. package/es/components/dataSourceComponents/dataSourceShow/utils.d.ts +6 -0
  56. package/es/components/dataSourceComponents/dataSourceShow/utils.js +82 -0
  57. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +4 -0
  58. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +104 -0
  59. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +27 -0
  60. package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +169 -0
  61. package/es/components/dataSourceComponents/dataSourceTable/filter/index.less +4 -0
  62. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +8 -0
  63. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.js +145 -0
  64. package/es/components/dataSourceComponents/dataSourceTable/hooks/useColumns.d.ts +11 -0
  65. package/es/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +58 -0
  66. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +6 -0
  67. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.js +17 -0
  68. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.d.ts +2 -0
  69. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +49 -0
  70. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  71. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +100 -0
  72. package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +44 -0
  73. package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +173 -0
  74. package/es/components/dataSourceComponents/dataSourceTable/hooks/usePagination.d.ts +16 -0
  75. package/es/components/dataSourceComponents/dataSourceTable/hooks/usePagination.js +14 -0
  76. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +78 -0
  77. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +261 -0
  78. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +32 -0
  79. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +80 -0
  80. package/es/components/dataSourceComponents/dataSourceTable/index.d.ts +5 -0
  81. package/es/components/dataSourceComponents/dataSourceTable/index.js +13 -0
  82. package/es/components/dataSourceComponents/dataSourceTable/index.less +5 -0
  83. package/es/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingContext.d.ts +7 -0
  84. package/es/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingContext.js +4 -0
  85. package/es/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingProvider.d.ts +8 -0
  86. package/es/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingProvider.js +20 -0
  87. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +64 -0
  88. package/es/components/dataSourceComponents/dataSourceTable/type.js +1 -0
  89. package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +7 -0
  90. package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.js +23 -0
  91. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +4 -0
  92. package/es/components/dataSourceComponents/dataSourceWrapper/index.js +23 -0
  93. package/es/components/dataSourceComponents/fields/Checkbox/ReadPretty.d.ts +8 -0
  94. package/es/components/dataSourceComponents/fields/Checkbox/ReadPretty.js +24 -0
  95. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +7 -0
  96. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.js +7 -0
  97. package/es/components/dataSourceComponents/fields/Checkbox/index.d.ts +6 -0
  98. package/es/components/dataSourceComponents/fields/Checkbox/index.js +18 -0
  99. package/es/components/dataSourceComponents/fields/Checkbox/type.d.ts +9 -0
  100. package/es/components/dataSourceComponents/fields/Checkbox/type.js +1 -0
  101. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +5 -0
  102. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.js +11 -0
  103. package/es/components/dataSourceComponents/fields/ColorPicker/WithMode.d.ts +4 -0
  104. package/es/components/dataSourceComponents/fields/ColorPicker/WithMode.js +23 -0
  105. package/es/components/dataSourceComponents/fields/ColorPicker/index.d.ts +3 -0
  106. package/es/components/dataSourceComponents/fields/ColorPicker/index.js +4 -0
  107. package/es/components/dataSourceComponents/fields/ColorPicker/type.d.ts +5 -0
  108. package/es/components/dataSourceComponents/fields/ColorPicker/type.js +1 -0
  109. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  110. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +14 -0
  111. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.less +11 -0
  112. package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +4 -0
  113. package/es/components/{productCard/components/MultiDay/utils.js → dataSourceComponents/fields/DatePicker/WithMode.js} +9 -46
  114. package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +3 -0
  115. package/es/components/dataSourceComponents/fields/DatePicker/index.js +10 -0
  116. package/es/components/dataSourceComponents/fields/DatePicker/type.d.ts +5 -0
  117. package/es/components/dataSourceComponents/fields/DatePicker/type.js +1 -0
  118. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +5 -0
  119. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.js +14 -0
  120. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.less +11 -0
  121. package/es/components/dataSourceComponents/fields/DateRangePicker/WithMode.d.ts +4 -0
  122. package/es/components/dataSourceComponents/fields/DateRangePicker/WithMode.js +5 -0
  123. package/es/components/dataSourceComponents/fields/DateRangePicker/index.d.ts +4 -0
  124. package/es/components/dataSourceComponents/fields/DateRangePicker/index.js +5 -0
  125. package/es/components/dataSourceComponents/fields/DateRangePicker/index.less +14 -0
  126. package/es/components/dataSourceComponents/fields/DateRangePicker/type.d.ts +4 -0
  127. package/es/components/dataSourceComponents/fields/DateRangePicker/type.js +1 -0
  128. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +5 -0
  129. package/es/components/dataSourceComponents/fields/Input/ReadPretty.js +13 -0
  130. package/es/components/dataSourceComponents/fields/Input/ReadPretty.less +11 -0
  131. package/es/components/dataSourceComponents/fields/Input/WithMode.d.ts +4 -0
  132. package/es/components/dataSourceComponents/fields/Input/WithMode.js +5 -0
  133. package/es/components/dataSourceComponents/fields/Input/index.d.ts +18 -0
  134. package/es/components/dataSourceComponents/fields/Input/index.js +16 -0
  135. package/es/components/dataSourceComponents/fields/Input/type.d.ts +5 -0
  136. package/es/components/dataSourceComponents/fields/Input/type.js +1 -0
  137. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +5 -0
  138. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.js +13 -0
  139. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.less +11 -0
  140. package/es/components/dataSourceComponents/fields/Input.Email/WithMode.d.ts +4 -0
  141. package/es/components/dataSourceComponents/fields/Input.Email/WithMode.js +17 -0
  142. package/es/components/dataSourceComponents/fields/Input.Email/index.d.ts +3 -0
  143. package/es/components/dataSourceComponents/fields/Input.Email/index.js +4 -0
  144. package/es/components/dataSourceComponents/fields/Input.Email/type.d.ts +5 -0
  145. package/es/components/dataSourceComponents/fields/Input.Email/type.js +1 -0
  146. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +5 -0
  147. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.js +14 -0
  148. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.less +3 -0
  149. package/es/components/dataSourceComponents/fields/Input.Json/WithMode.d.ts +3 -0
  150. package/es/components/dataSourceComponents/fields/Input.Json/WithMode.js +45 -0
  151. package/es/components/dataSourceComponents/fields/Input.Json/index.d.ts +3 -0
  152. package/es/components/dataSourceComponents/fields/Input.Json/index.js +4 -0
  153. package/es/components/dataSourceComponents/fields/Input.Json/type.d.ts +5 -0
  154. package/es/components/dataSourceComponents/fields/Input.Json/type.js +1 -0
  155. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +5 -0
  156. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.js +23 -0
  157. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.less +11 -0
  158. package/es/components/dataSourceComponents/fields/Input.Password/WithMode.d.ts +3 -0
  159. package/es/components/dataSourceComponents/fields/Input.Password/WithMode.js +5 -0
  160. package/es/components/dataSourceComponents/fields/Input.Password/index.d.ts +3 -0
  161. package/es/components/dataSourceComponents/fields/Input.Password/index.js +4 -0
  162. package/es/components/dataSourceComponents/fields/Input.Password/type.d.ts +5 -0
  163. package/es/components/dataSourceComponents/fields/Input.Password/type.js +1 -0
  164. package/es/components/dataSourceComponents/fields/Input.Phone/ReadPretty.d.ts +5 -0
  165. package/es/components/dataSourceComponents/fields/Input.Phone/ReadPretty.js +28 -0
  166. package/es/components/dataSourceComponents/fields/Input.Phone/ReadPretty.less +11 -0
  167. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +11 -0
  168. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.js +132 -0
  169. package/es/components/dataSourceComponents/fields/Input.Phone/index.d.ts +3 -0
  170. package/es/components/dataSourceComponents/fields/Input.Phone/index.js +4 -0
  171. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  172. package/es/components/dataSourceComponents/fields/Input.Phone/serve.js +59 -0
  173. package/es/components/dataSourceComponents/fields/Input.Phone/type.d.ts +5 -0
  174. package/es/components/dataSourceComponents/fields/Input.Phone/type.js +1 -0
  175. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +5 -0
  176. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.js +13 -0
  177. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.less +11 -0
  178. package/es/components/dataSourceComponents/fields/Input.TextArea/WithMode.d.ts +3 -0
  179. package/es/components/dataSourceComponents/fields/Input.TextArea/WithMode.js +5 -0
  180. package/es/components/dataSourceComponents/fields/Input.TextArea/index.d.ts +3 -0
  181. package/es/components/dataSourceComponents/fields/Input.TextArea/index.js +4 -0
  182. package/es/components/dataSourceComponents/fields/Input.TextArea/type.d.ts +5 -0
  183. package/es/components/dataSourceComponents/fields/Input.TextArea/type.js +1 -0
  184. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +5 -0
  185. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +16 -0
  186. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.less +11 -0
  187. package/es/components/dataSourceComponents/fields/Input.Url/WithMode.d.ts +3 -0
  188. package/es/components/dataSourceComponents/fields/Input.Url/WithMode.js +5 -0
  189. package/es/components/dataSourceComponents/fields/Input.Url/index.d.ts +3 -0
  190. package/es/components/dataSourceComponents/fields/Input.Url/index.js +4 -0
  191. package/es/components/dataSourceComponents/fields/Input.Url/type.d.ts +5 -0
  192. package/es/components/dataSourceComponents/fields/Input.Url/type.js +1 -0
  193. package/es/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +5 -0
  194. package/es/components/dataSourceComponents/fields/InputNumber/ReadPretty.js +33 -0
  195. package/es/components/dataSourceComponents/fields/InputNumber/ReadPretty.less +11 -0
  196. package/es/components/dataSourceComponents/fields/InputNumber/WithMode.d.ts +3 -0
  197. package/es/components/dataSourceComponents/fields/InputNumber/WithMode.js +36 -0
  198. package/es/components/dataSourceComponents/fields/InputNumber/index.d.ts +3 -0
  199. package/es/components/dataSourceComponents/fields/InputNumber/index.js +11 -0
  200. package/es/components/dataSourceComponents/fields/InputNumber/type.d.ts +7 -0
  201. package/es/components/dataSourceComponents/fields/InputNumber/type.js +1 -0
  202. package/es/components/dataSourceComponents/fields/InputNumber/utils.d.ts +1 -0
  203. package/es/components/dataSourceComponents/fields/InputNumber/utils.js +41 -0
  204. package/es/components/dataSourceComponents/fields/Radio/ReadPretty.d.ts +7 -0
  205. package/es/components/dataSourceComponents/fields/Radio/ReadPretty.js +15 -0
  206. package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +7 -0
  207. package/es/components/dataSourceComponents/fields/Radio/WithMode.js +7 -0
  208. package/es/components/dataSourceComponents/fields/Radio/index.d.ts +6 -0
  209. package/es/components/dataSourceComponents/fields/Radio/index.js +14 -0
  210. package/es/components/dataSourceComponents/fields/Radio/type.d.ts +8 -0
  211. package/es/components/dataSourceComponents/fields/Radio/type.js +1 -0
  212. package/es/components/dataSourceComponents/fields/Select/ReadPretty.d.ts +4 -0
  213. package/es/components/dataSourceComponents/fields/Select/ReadPretty.js +10 -0
  214. package/es/components/dataSourceComponents/fields/Select/WithMode.d.ts +4 -0
  215. package/es/components/dataSourceComponents/fields/Select/WithMode.js +5 -0
  216. package/es/components/dataSourceComponents/fields/Select/index.d.ts +10 -0
  217. package/es/components/dataSourceComponents/fields/Select/index.js +12 -0
  218. package/es/components/dataSourceComponents/fields/Select/type.d.ts +5 -0
  219. package/es/components/dataSourceComponents/fields/Select/type.js +1 -0
  220. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +5 -0
  221. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.js +13 -0
  222. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.less +11 -0
  223. package/es/components/dataSourceComponents/fields/TimePicker/WithMode.d.ts +5 -0
  224. package/es/components/dataSourceComponents/fields/TimePicker/WithMode.js +109 -0
  225. package/es/components/dataSourceComponents/fields/TimePicker/index.d.ts +3 -0
  226. package/es/components/dataSourceComponents/fields/TimePicker/index.js +10 -0
  227. package/es/components/dataSourceComponents/fields/TimePicker/style.less +86 -0
  228. package/es/components/dataSourceComponents/fields/TimePicker/type.d.ts +5 -0
  229. package/es/components/dataSourceComponents/fields/TimePicker/type.js +1 -0
  230. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
  231. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.js +111 -0
  232. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +5 -0
  233. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.js +13 -0
  234. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.less +11 -0
  235. package/es/components/dataSourceComponents/fields/Translation/WithMode.d.ts +4 -0
  236. package/es/components/dataSourceComponents/fields/Translation/WithMode.js +5 -0
  237. package/es/components/dataSourceComponents/fields/Translation/index.d.ts +3 -0
  238. package/es/components/dataSourceComponents/fields/Translation/index.js +4 -0
  239. package/es/components/dataSourceComponents/fields/Translation/index.less +58 -0
  240. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +15 -0
  241. package/es/components/dataSourceComponents/fields/Translation/type.js +1 -0
  242. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  243. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +542 -0
  244. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +5 -0
  245. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.js +44 -0
  246. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.less +11 -0
  247. package/es/components/dataSourceComponents/fields/Upload/WithMode.d.ts +4 -0
  248. package/es/components/dataSourceComponents/fields/Upload/WithMode.js +45 -0
  249. package/es/components/dataSourceComponents/fields/Upload/constants.d.ts +9 -0
  250. package/es/components/dataSourceComponents/fields/Upload/constants.js +9 -0
  251. package/es/components/dataSourceComponents/fields/Upload/fallback.png +0 -0
  252. package/es/components/dataSourceComponents/fields/Upload/index.d.ts +3 -0
  253. package/es/components/dataSourceComponents/fields/Upload/index.js +4 -0
  254. package/es/components/dataSourceComponents/fields/Upload/index.less +82 -0
  255. package/es/components/dataSourceComponents/fields/Upload/serve.d.ts +17 -0
  256. package/es/components/dataSourceComponents/fields/Upload/serve.js +115 -0
  257. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +27 -0
  258. package/es/components/dataSourceComponents/fields/Upload/type.js +1 -0
  259. package/es/components/dataSourceComponents/fields/Upload/types.d.ts +48 -0
  260. package/es/components/dataSourceComponents/fields/Upload/types.js +1 -0
  261. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +16 -0
  262. package/es/components/dataSourceComponents/fields/Upload/utils.js +262 -0
  263. package/es/components/dataSourceComponents/fields/index.d.ts +68 -0
  264. package/es/components/dataSourceComponents/fields/index.js +38 -0
  265. package/es/components/dataSourceComponents/fields/type.d.ts +18 -0
  266. package/es/components/dataSourceComponents/fields/type.js +1 -0
  267. package/es/components/dataSourceComponents/fields/utils.d.ts +3 -0
  268. package/es/components/dataSourceComponents/fields/utils.js +111 -0
  269. package/es/components/dataSourceComponents/hooks/useActions.d.ts +17 -0
  270. package/es/components/dataSourceComponents/hooks/useActions.js +356 -0
  271. package/es/components/dataSourceComponents/hooks/useComponentId.d.ts +2 -0
  272. package/es/components/dataSourceComponents/hooks/useComponentId.js +9 -0
  273. package/es/components/dataSourceComponents/hooks/useCtxActions.d.ts +8 -0
  274. package/es/components/dataSourceComponents/hooks/useCtxActions.js +14 -0
  275. package/es/components/dataSourceComponents/hooks/useDataSource.d.ts +5 -0
  276. package/es/components/dataSourceComponents/hooks/useDataSource.js +11 -0
  277. package/es/components/dataSourceComponents/hooks/useParseActionsVariable.d.ts +6 -0
  278. package/es/components/dataSourceComponents/hooks/useParseActionsVariable.js +61 -0
  279. package/es/components/dataSourceComponents/hooks/useValueMap.d.ts +8 -0
  280. package/es/components/dataSourceComponents/hooks/useValueMap.js +22 -0
  281. package/es/components/dataSourceComponents/hooks/useVariables.d.ts +2 -0
  282. package/es/components/dataSourceComponents/hooks/useVariables.js +6 -0
  283. package/es/components/dataSourceComponents/provider/actions/ActionsContext.d.ts +6 -0
  284. package/es/components/dataSourceComponents/provider/actions/ActionsContext.js +3 -0
  285. package/es/components/dataSourceComponents/provider/actions/ActionsProvider.d.ts +9 -0
  286. package/es/components/{productCard/components/Sales/index.js → dataSourceComponents/provider/actions/ActionsProvider.js} +19 -30
  287. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +104 -0
  288. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.js +11 -0
  289. package/es/components/dataSourceComponents/provider/dataSource/DataSourceProvider.d.ts +8 -0
  290. package/es/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +79 -0
  291. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
  292. package/es/components/dataSourceComponents/provider/variables/VariablesContext.js +10 -0
  293. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  294. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.js +103 -0
  295. package/es/components/dataSourceComponents/provider/variables/utils.d.ts +12 -0
  296. package/es/components/dataSourceComponents/provider/variables/utils.js +28 -0
  297. package/es/components/dataSourceComponents/utils/index.d.ts +0 -0
  298. package/es/components/dataSourceComponents/utils/index.js +0 -0
  299. package/es/components/date-picker/constants.d.ts +39 -0
  300. package/es/components/date-picker/constants.js +76 -0
  301. package/es/components/date-picker/datePickerCpt.d.ts +9 -0
  302. package/es/components/date-picker/datePickerCpt.js +374 -0
  303. package/es/components/date-picker/hooks/useMediaQuery.d.ts +2 -0
  304. package/es/components/date-picker/hooks/useMediaQuery.js +28 -0
  305. package/es/components/date-picker/index.less +1880 -0
  306. package/es/components/filter/components/Dropdown/index.d.ts +1 -0
  307. package/es/components/filter/components/Dropdown/index.js +6 -2
  308. package/es/components/filter/components/FilterButton/index.js +5 -3
  309. package/es/components/filter/components/FilterButton/types.d.ts +2 -0
  310. package/es/components/form/index.d.ts +2 -8
  311. package/es/components/form/index.js +3 -1
  312. package/es/components/iconfont/index.js +1 -1
  313. package/es/components/page/index.js +5 -2
  314. package/es/components/pisellUpload/index.d.ts +11 -0
  315. package/es/components/pisellUpload/index.js +33 -0
  316. package/es/components/pisellUpload/index.less +15 -0
  317. package/es/components/radio/index.js +4 -4
  318. package/es/components/select/index.d.ts +8 -3
  319. package/es/components/select/index.js +82 -17
  320. package/es/components/select/index.less +19 -0
  321. package/es/components/sort/index.js +1 -1
  322. package/es/components/table/Actions/index.js +16 -7
  323. package/es/components/table/Gallery/index.d.ts +3 -3
  324. package/es/components/table/Gallery/index.js +28 -10
  325. package/es/components/table/Gallery/index.less +1 -0
  326. package/es/components/table/Header/index.d.ts +10 -3
  327. package/es/components/table/Header/index.js +37 -11
  328. package/es/components/table/Header/index.less +10 -2
  329. package/es/components/table/Table/index.js +17 -6
  330. package/es/components/table/Table/utils.d.ts +1 -1
  331. package/es/components/table/Table/utils.js +4 -0
  332. package/es/components/table/Tabs/index.d.ts +14 -0
  333. package/es/components/{productCard/components/Packages → table/Tabs}/index.js +35 -23
  334. package/es/components/table/hooks/useTransDataSource.js +0 -1
  335. package/es/components/table/hooks/useTriggerValuesChange.js +3 -0
  336. package/es/components/table/index.js +21 -4
  337. package/es/components/table/model.d.ts +1 -0
  338. package/es/components/table/model.js +7 -1
  339. package/es/components/table/types.d.ts +14 -2
  340. package/es/components/table/utils.d.ts +5 -6
  341. package/es/components/table/utils.js +7 -1
  342. package/es/components/typography/index.d.ts +2 -2
  343. package/es/components/typography/index.js +4 -3
  344. package/es/hooks/useSetRequest.d.ts +2 -0
  345. package/es/hooks/useSetRequest.js +8 -0
  346. package/es/hooks/useTranslationOriginal.d.ts +2 -0
  347. package/es/hooks/useTranslationOriginal.js +10 -0
  348. package/es/index.d.ts +22 -3
  349. package/es/index.js +24 -6
  350. package/es/locales/en-US.d.ts +48 -0
  351. package/es/locales/en-US.js +71 -1
  352. package/es/locales/zh-CN.d.ts +48 -0
  353. package/es/locales/zh-CN.js +70 -1
  354. package/es/locales/zh-TW.d.ts +48 -0
  355. package/es/locales/zh-TW.js +71 -1
  356. package/es/utils/index.d.ts +1 -0
  357. package/es/utils/index.js +2 -1
  358. package/es/utils/mergeWith.d.ts +1 -0
  359. package/es/utils/mergeWith.js +31 -0
  360. package/lib/components/Pagination/index.d.ts +1 -1
  361. package/lib/components/browserSelect/index.d.ts +21 -0
  362. package/lib/components/{productCard/components/Note → browserSelect}/index.js +30 -21
  363. package/lib/components/browserSelect/index.less +64 -0
  364. package/lib/components/checkbox/index.js +4 -4
  365. package/lib/components/colorPicker/index.d.ts +4 -0
  366. package/lib/components/colorPicker/index.js +40 -0
  367. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +3 -0
  368. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +97 -0
  369. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +3 -0
  370. package/lib/components/dataSourceComponents/dataSourceForm/formItem.js +63 -0
  371. package/lib/components/dataSourceComponents/dataSourceForm/group/index.d.ts +20 -0
  372. package/lib/components/dataSourceComponents/dataSourceForm/group/index.js +87 -0
  373. package/lib/components/dataSourceComponents/dataSourceForm/group/index.less +42 -0
  374. package/lib/components/dataSourceComponents/dataSourceForm/index.d.ts +3 -0
  375. package/lib/components/dataSourceComponents/dataSourceForm/index.js +55 -0
  376. package/lib/components/dataSourceComponents/dataSourceForm/index.less +24 -0
  377. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +11 -0
  378. package/lib/components/{productCard/status.js → dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.js} +13 -46
  379. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +8 -0
  380. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.js +55 -0
  381. package/lib/components/dataSourceComponents/dataSourceForm/provider/hooks/useFormSetting.d.ts +5 -0
  382. package/lib/components/dataSourceComponents/dataSourceForm/provider/hooks/useFormSetting.js +41 -0
  383. package/lib/components/dataSourceComponents/dataSourceForm/provider/hooks/useJsonPrefixPath.d.ts +5 -0
  384. package/lib/components/dataSourceComponents/dataSourceForm/provider/hooks/useJsonPrefixPath.js +41 -0
  385. package/lib/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperContext.d.ts +6 -0
  386. package/lib/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperContext.js +30 -0
  387. package/lib/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider.d.ts +7 -0
  388. package/lib/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider.js +52 -0
  389. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +148 -0
  390. package/lib/components/dataSourceComponents/dataSourceForm/serve.js +142 -0
  391. package/lib/components/dataSourceComponents/dataSourceForm/style.less +23 -0
  392. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +38 -0
  393. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.js +165 -0
  394. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.less +4 -0
  395. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +18 -0
  396. package/lib/components/dataSourceComponents/dataSourceForm/type.js +17 -0
  397. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +50 -0
  398. package/lib/components/dataSourceComponents/dataSourceForm/utils.js +364 -0
  399. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +3 -0
  400. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.js +38 -0
  401. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +3 -0
  402. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.js +38 -0
  403. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +10 -0
  404. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.js +44 -0
  405. package/lib/components/dataSourceComponents/dataSourceShow/utils.d.ts +6 -0
  406. package/lib/components/dataSourceComponents/dataSourceShow/utils.js +95 -0
  407. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +4 -0
  408. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.js +137 -0
  409. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +27 -0
  410. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.js +182 -0
  411. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.less +4 -0
  412. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +8 -0
  413. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.js +188 -0
  414. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useColumns.d.ts +11 -0
  415. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +90 -0
  416. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +6 -0
  417. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.js +50 -0
  418. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.d.ts +2 -0
  419. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +60 -0
  420. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  421. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +107 -0
  422. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +44 -0
  423. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +173 -0
  424. package/lib/components/dataSourceComponents/dataSourceTable/hooks/usePagination.d.ts +16 -0
  425. package/lib/components/dataSourceComponents/dataSourceTable/hooks/usePagination.js +37 -0
  426. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +78 -0
  427. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +254 -0
  428. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +32 -0
  429. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +83 -0
  430. package/lib/components/dataSourceComponents/dataSourceTable/index.d.ts +5 -0
  431. package/lib/components/dataSourceComponents/dataSourceTable/index.js +43 -0
  432. package/lib/components/dataSourceComponents/dataSourceTable/index.less +5 -0
  433. package/lib/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingContext.d.ts +7 -0
  434. package/lib/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingContext.js +33 -0
  435. package/lib/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingProvider.d.ts +8 -0
  436. package/lib/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingProvider.js +52 -0
  437. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +64 -0
  438. package/lib/components/dataSourceComponents/dataSourceTable/type.js +17 -0
  439. package/lib/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +7 -0
  440. package/lib/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.js +51 -0
  441. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +4 -0
  442. package/lib/components/dataSourceComponents/dataSourceWrapper/index.js +61 -0
  443. package/lib/components/dataSourceComponents/fields/Checkbox/ReadPretty.d.ts +8 -0
  444. package/lib/components/dataSourceComponents/fields/Checkbox/ReadPretty.js +59 -0
  445. package/lib/components/dataSourceComponents/fields/Checkbox/ReadPretty.less +0 -0
  446. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +7 -0
  447. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.js +41 -0
  448. package/lib/components/dataSourceComponents/fields/Checkbox/index.d.ts +6 -0
  449. package/lib/components/dataSourceComponents/fields/Checkbox/index.js +46 -0
  450. package/lib/components/dataSourceComponents/fields/Checkbox/type.d.ts +9 -0
  451. package/lib/components/dataSourceComponents/fields/Checkbox/type.js +17 -0
  452. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +5 -0
  453. package/lib/components/{productCard/components/Divider/index.js → dataSourceComponents/fields/ColorPicker/ReadPretty.js} +13 -15
  454. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.less +0 -0
  455. package/lib/components/dataSourceComponents/fields/ColorPicker/WithMode.d.ts +4 -0
  456. package/lib/components/dataSourceComponents/fields/ColorPicker/WithMode.js +65 -0
  457. package/lib/components/dataSourceComponents/fields/ColorPicker/index.d.ts +3 -0
  458. package/lib/components/dataSourceComponents/fields/ColorPicker/index.js +38 -0
  459. package/lib/components/dataSourceComponents/fields/ColorPicker/type.d.ts +5 -0
  460. package/lib/components/dataSourceComponents/fields/ColorPicker/type.js +17 -0
  461. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  462. package/lib/components/{productCard/components/Time/components/Like/index.js → dataSourceComponents/fields/DatePicker/ReadPretty.js} +16 -29
  463. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.less +11 -0
  464. package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +4 -0
  465. package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.js +50 -0
  466. package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +3 -0
  467. package/lib/components/dataSourceComponents/fields/DatePicker/index.js +44 -0
  468. package/lib/components/dataSourceComponents/fields/DatePicker/type.d.ts +5 -0
  469. package/lib/components/dataSourceComponents/fields/DatePicker/type.js +17 -0
  470. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +5 -0
  471. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.js +51 -0
  472. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.less +11 -0
  473. package/lib/components/dataSourceComponents/fields/DateRangePicker/WithMode.d.ts +4 -0
  474. package/lib/components/dataSourceComponents/fields/DateRangePicker/WithMode.js +42 -0
  475. package/lib/components/dataSourceComponents/fields/DateRangePicker/index.d.ts +4 -0
  476. package/lib/components/dataSourceComponents/fields/DateRangePicker/index.js +39 -0
  477. package/lib/components/dataSourceComponents/fields/DateRangePicker/index.less +14 -0
  478. package/lib/components/dataSourceComponents/fields/DateRangePicker/type.d.ts +4 -0
  479. package/lib/components/dataSourceComponents/fields/DateRangePicker/type.js +17 -0
  480. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +5 -0
  481. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.js +50 -0
  482. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.less +11 -0
  483. package/lib/components/dataSourceComponents/fields/Input/WithMode.d.ts +4 -0
  484. package/lib/components/dataSourceComponents/fields/Input/WithMode.js +39 -0
  485. package/lib/components/dataSourceComponents/fields/Input/index.d.ts +18 -0
  486. package/lib/components/dataSourceComponents/fields/Input/index.js +50 -0
  487. package/lib/components/dataSourceComponents/fields/Input/type.d.ts +5 -0
  488. package/lib/components/dataSourceComponents/fields/Input/type.js +17 -0
  489. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +5 -0
  490. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.js +50 -0
  491. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.less +11 -0
  492. package/lib/components/dataSourceComponents/fields/Input.Email/WithMode.d.ts +4 -0
  493. package/lib/components/dataSourceComponents/fields/Input.Email/WithMode.js +57 -0
  494. package/lib/components/dataSourceComponents/fields/Input.Email/index.d.ts +3 -0
  495. package/lib/components/dataSourceComponents/fields/Input.Email/index.js +38 -0
  496. package/lib/components/dataSourceComponents/fields/Input.Email/type.d.ts +5 -0
  497. package/lib/components/dataSourceComponents/fields/Input.Email/type.js +17 -0
  498. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +5 -0
  499. package/lib/components/{productCard/components/Packages/index.js → dataSourceComponents/fields/Input.Json/ReadPretty.js} +14 -24
  500. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.less +3 -0
  501. package/lib/components/dataSourceComponents/fields/Input.Json/WithMode.d.ts +3 -0
  502. package/lib/components/dataSourceComponents/fields/Input.Json/WithMode.js +67 -0
  503. package/lib/components/dataSourceComponents/fields/Input.Json/index.d.ts +3 -0
  504. package/lib/components/dataSourceComponents/fields/Input.Json/index.js +38 -0
  505. package/lib/components/dataSourceComponents/fields/Input.Json/type.d.ts +5 -0
  506. package/lib/components/dataSourceComponents/fields/Input.Json/type.js +17 -0
  507. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +5 -0
  508. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.js +50 -0
  509. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.less +11 -0
  510. package/lib/components/dataSourceComponents/fields/Input.Password/WithMode.d.ts +3 -0
  511. package/lib/components/dataSourceComponents/fields/Input.Password/WithMode.js +39 -0
  512. package/lib/components/dataSourceComponents/fields/Input.Password/index.d.ts +3 -0
  513. package/lib/components/dataSourceComponents/fields/Input.Password/index.js +38 -0
  514. package/lib/components/dataSourceComponents/fields/Input.Password/type.d.ts +5 -0
  515. package/lib/components/dataSourceComponents/fields/Input.Password/type.js +17 -0
  516. package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.d.ts +5 -0
  517. package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.js +58 -0
  518. package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.less +11 -0
  519. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +11 -0
  520. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.js +143 -0
  521. package/lib/components/dataSourceComponents/fields/Input.Phone/index.d.ts +3 -0
  522. package/lib/components/dataSourceComponents/fields/Input.Phone/index.js +38 -0
  523. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  524. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.js +55 -0
  525. package/lib/components/dataSourceComponents/fields/Input.Phone/type.d.ts +5 -0
  526. package/lib/components/dataSourceComponents/fields/Input.Phone/type.js +17 -0
  527. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +5 -0
  528. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.js +50 -0
  529. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.less +11 -0
  530. package/lib/components/dataSourceComponents/fields/Input.TextArea/WithMode.d.ts +3 -0
  531. package/lib/components/dataSourceComponents/fields/Input.TextArea/WithMode.js +39 -0
  532. package/lib/components/dataSourceComponents/fields/Input.TextArea/index.d.ts +3 -0
  533. package/lib/components/dataSourceComponents/fields/Input.TextArea/index.js +38 -0
  534. package/lib/components/dataSourceComponents/fields/Input.TextArea/type.d.ts +5 -0
  535. package/lib/components/dataSourceComponents/fields/Input.TextArea/type.js +17 -0
  536. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +5 -0
  537. package/lib/components/{productCard/components/Action/index.js → dataSourceComponents/fields/Input.Url/ReadPretty.js} +19 -21
  538. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.less +11 -0
  539. package/lib/components/dataSourceComponents/fields/Input.Url/WithMode.d.ts +3 -0
  540. package/lib/components/dataSourceComponents/fields/Input.Url/WithMode.js +39 -0
  541. package/lib/components/dataSourceComponents/fields/Input.Url/index.d.ts +3 -0
  542. package/lib/components/dataSourceComponents/fields/Input.Url/index.js +38 -0
  543. package/lib/components/dataSourceComponents/fields/Input.Url/type.d.ts +5 -0
  544. package/lib/components/dataSourceComponents/fields/Input.Url/type.js +17 -0
  545. package/lib/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +5 -0
  546. package/lib/components/dataSourceComponents/fields/InputNumber/ReadPretty.js +66 -0
  547. package/lib/components/dataSourceComponents/fields/InputNumber/ReadPretty.less +11 -0
  548. package/lib/components/dataSourceComponents/fields/InputNumber/WithMode.d.ts +3 -0
  549. package/lib/components/dataSourceComponents/fields/InputNumber/WithMode.js +73 -0
  550. package/lib/components/dataSourceComponents/fields/InputNumber/index.d.ts +3 -0
  551. package/lib/components/dataSourceComponents/fields/InputNumber/index.js +45 -0
  552. package/lib/components/dataSourceComponents/fields/InputNumber/type.d.ts +7 -0
  553. package/lib/components/dataSourceComponents/fields/InputNumber/type.js +17 -0
  554. package/lib/components/dataSourceComponents/fields/InputNumber/utils.d.ts +1 -0
  555. package/lib/components/dataSourceComponents/fields/InputNumber/utils.js +63 -0
  556. package/lib/components/dataSourceComponents/fields/Radio/ReadPretty.d.ts +7 -0
  557. package/lib/components/dataSourceComponents/fields/Radio/ReadPretty.js +47 -0
  558. package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +7 -0
  559. package/lib/components/dataSourceComponents/fields/Radio/WithMode.js +41 -0
  560. package/lib/components/dataSourceComponents/fields/Radio/index.d.ts +6 -0
  561. package/lib/components/dataSourceComponents/fields/Radio/index.js +42 -0
  562. package/lib/components/dataSourceComponents/fields/Radio/type.d.ts +8 -0
  563. package/lib/components/dataSourceComponents/fields/Radio/type.js +17 -0
  564. package/lib/components/dataSourceComponents/fields/Select/ReadPretty.d.ts +4 -0
  565. package/lib/components/dataSourceComponents/fields/Select/ReadPretty.js +42 -0
  566. package/lib/components/dataSourceComponents/fields/Select/WithMode.d.ts +4 -0
  567. package/lib/components/dataSourceComponents/fields/Select/WithMode.js +39 -0
  568. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +10 -0
  569. package/lib/components/dataSourceComponents/fields/Select/index.js +40 -0
  570. package/lib/components/dataSourceComponents/fields/Select/type.d.ts +5 -0
  571. package/lib/components/dataSourceComponents/fields/Select/type.js +17 -0
  572. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +5 -0
  573. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.js +50 -0
  574. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.less +11 -0
  575. package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.d.ts +5 -0
  576. package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.js +137 -0
  577. package/lib/components/dataSourceComponents/fields/TimePicker/index.d.ts +3 -0
  578. package/lib/components/dataSourceComponents/fields/TimePicker/index.js +44 -0
  579. package/lib/components/dataSourceComponents/fields/TimePicker/style.less +86 -0
  580. package/lib/components/dataSourceComponents/fields/TimePicker/type.d.ts +5 -0
  581. package/lib/components/dataSourceComponents/fields/TimePicker/type.js +17 -0
  582. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
  583. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.js +115 -0
  584. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +5 -0
  585. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.js +50 -0
  586. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.less +11 -0
  587. package/lib/components/dataSourceComponents/fields/Translation/WithMode.d.ts +4 -0
  588. package/lib/components/dataSourceComponents/fields/Translation/WithMode.js +39 -0
  589. package/lib/components/dataSourceComponents/fields/Translation/index.d.ts +3 -0
  590. package/lib/components/dataSourceComponents/fields/Translation/index.js +38 -0
  591. package/lib/components/dataSourceComponents/fields/Translation/index.less +58 -0
  592. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +15 -0
  593. package/lib/components/dataSourceComponents/fields/Translation/type.js +17 -0
  594. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  595. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +485 -0
  596. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +5 -0
  597. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.js +77 -0
  598. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.less +11 -0
  599. package/lib/components/dataSourceComponents/fields/Upload/WithMode.d.ts +4 -0
  600. package/lib/components/dataSourceComponents/fields/Upload/WithMode.js +79 -0
  601. package/lib/components/dataSourceComponents/fields/Upload/constants.d.ts +9 -0
  602. package/lib/components/dataSourceComponents/fields/Upload/constants.js +47 -0
  603. package/lib/components/dataSourceComponents/fields/Upload/fallback.png +0 -0
  604. package/lib/components/dataSourceComponents/fields/Upload/index.d.ts +3 -0
  605. package/lib/components/dataSourceComponents/fields/Upload/index.js +38 -0
  606. package/lib/components/dataSourceComponents/fields/Upload/index.less +82 -0
  607. package/lib/components/dataSourceComponents/fields/Upload/serve.d.ts +17 -0
  608. package/lib/components/dataSourceComponents/fields/Upload/serve.js +96 -0
  609. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +27 -0
  610. package/lib/components/dataSourceComponents/fields/Upload/type.js +17 -0
  611. package/lib/components/dataSourceComponents/fields/Upload/types.d.ts +48 -0
  612. package/lib/components/{productCard → dataSourceComponents/fields/Upload}/types.js +1 -1
  613. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +16 -0
  614. package/lib/components/dataSourceComponents/fields/Upload/utils.js +253 -0
  615. package/lib/components/dataSourceComponents/fields/index.d.ts +68 -0
  616. package/lib/components/dataSourceComponents/fields/index.js +75 -0
  617. package/lib/components/dataSourceComponents/fields/type.d.ts +18 -0
  618. package/lib/components/dataSourceComponents/fields/type.js +17 -0
  619. package/lib/components/dataSourceComponents/fields/utils.d.ts +3 -0
  620. package/lib/components/dataSourceComponents/fields/utils.js +134 -0
  621. package/lib/components/dataSourceComponents/hooks/useActions.d.ts +17 -0
  622. package/lib/components/dataSourceComponents/hooks/useActions.js +216 -0
  623. package/lib/components/dataSourceComponents/hooks/useComponentId.d.ts +2 -0
  624. package/lib/components/dataSourceComponents/hooks/useComponentId.js +32 -0
  625. package/lib/components/dataSourceComponents/hooks/useCtxActions.d.ts +8 -0
  626. package/lib/components/dataSourceComponents/hooks/useCtxActions.js +41 -0
  627. package/lib/components/dataSourceComponents/hooks/useDataSource.d.ts +5 -0
  628. package/lib/components/dataSourceComponents/hooks/useDataSource.js +41 -0
  629. package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.d.ts +6 -0
  630. package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.js +73 -0
  631. package/lib/components/dataSourceComponents/hooks/useValueMap.d.ts +8 -0
  632. package/lib/components/dataSourceComponents/hooks/useValueMap.js +39 -0
  633. package/lib/components/dataSourceComponents/hooks/useVariables.d.ts +2 -0
  634. package/lib/components/dataSourceComponents/hooks/useVariables.js +40 -0
  635. package/lib/components/dataSourceComponents/provider/actions/ActionsContext.d.ts +6 -0
  636. package/lib/components/dataSourceComponents/provider/actions/ActionsContext.js +27 -0
  637. package/lib/components/dataSourceComponents/provider/actions/ActionsProvider.d.ts +9 -0
  638. package/lib/components/dataSourceComponents/provider/actions/ActionsProvider.js +46 -0
  639. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +104 -0
  640. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.js +40 -0
  641. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceProvider.d.ts +8 -0
  642. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +108 -0
  643. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
  644. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.js +43 -0
  645. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  646. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +134 -0
  647. package/lib/components/dataSourceComponents/provider/variables/utils.d.ts +12 -0
  648. package/lib/components/{productCard/components/Packages → dataSourceComponents/provider/variables}/utils.js +34 -17
  649. package/lib/components/dataSourceComponents/utils/index.d.ts +0 -0
  650. package/lib/components/dataSourceComponents/utils/index.js +0 -0
  651. package/lib/components/date-picker/constants.d.ts +39 -0
  652. package/lib/components/date-picker/constants.js +78 -0
  653. package/lib/components/date-picker/datePickerCpt.d.ts +9 -0
  654. package/lib/components/date-picker/datePickerCpt.js +406 -0
  655. package/lib/components/date-picker/hooks/useMediaQuery.d.ts +2 -0
  656. package/lib/components/date-picker/hooks/useMediaQuery.js +43 -0
  657. package/lib/components/date-picker/index.less +1880 -0
  658. package/lib/components/filter/components/Dropdown/index.d.ts +1 -0
  659. package/lib/components/filter/components/Dropdown/index.js +6 -2
  660. package/lib/components/filter/components/FilterButton/index.js +5 -3
  661. package/lib/components/filter/components/FilterButton/types.d.ts +2 -0
  662. package/lib/components/form/index.d.ts +2 -8
  663. package/lib/components/form/index.js +3 -2
  664. package/lib/components/iconfont/index.js +1 -1
  665. package/lib/components/page/index.js +9 -3
  666. package/lib/components/pisellUpload/index.d.ts +11 -0
  667. package/lib/components/pisellUpload/index.js +51 -0
  668. package/lib/components/pisellUpload/index.less +15 -0
  669. package/lib/components/radio/index.js +4 -4
  670. package/lib/components/select/index.d.ts +8 -3
  671. package/lib/components/select/index.js +90 -14
  672. package/lib/components/select/index.less +19 -0
  673. package/lib/components/sort/index.js +1 -1
  674. package/lib/components/table/Actions/index.js +18 -9
  675. package/lib/components/table/Gallery/index.d.ts +3 -3
  676. package/lib/components/table/Gallery/index.js +17 -0
  677. package/lib/components/table/Gallery/index.less +1 -0
  678. package/lib/components/table/Header/index.d.ts +10 -3
  679. package/lib/components/table/Header/index.js +29 -4
  680. package/lib/components/table/Header/index.less +10 -2
  681. package/lib/components/table/Table/index.js +17 -6
  682. package/lib/components/table/Table/utils.d.ts +1 -1
  683. package/lib/components/table/Table/utils.js +4 -0
  684. package/lib/components/table/Tabs/index.d.ts +14 -0
  685. package/lib/components/table/Tabs/index.js +71 -0
  686. package/lib/components/table/hooks/useTransDataSource.js +0 -1
  687. package/lib/components/table/hooks/useTriggerValuesChange.js +3 -0
  688. package/lib/components/table/index.js +22 -3
  689. package/lib/components/table/model.d.ts +1 -0
  690. package/lib/components/table/model.js +5 -1
  691. package/lib/components/table/types.d.ts +14 -2
  692. package/lib/components/table/utils.d.ts +5 -6
  693. package/lib/components/table/utils.js +7 -1
  694. package/lib/components/typography/index.d.ts +2 -2
  695. package/lib/components/typography/index.js +4 -3
  696. package/lib/hooks/useSetRequest.d.ts +2 -0
  697. package/lib/hooks/useSetRequest.js +42 -0
  698. package/lib/hooks/useTranslationOriginal.d.ts +2 -0
  699. package/lib/hooks/useTranslationOriginal.js +42 -0
  700. package/lib/index.d.ts +22 -3
  701. package/lib/index.js +95 -38
  702. package/lib/locales/en-US.d.ts +48 -0
  703. package/lib/locales/en-US.js +55 -1
  704. package/lib/locales/zh-CN.d.ts +48 -0
  705. package/lib/locales/zh-CN.js +54 -1
  706. package/lib/locales/zh-TW.d.ts +48 -0
  707. package/lib/locales/zh-TW.js +55 -1
  708. package/lib/utils/index.d.ts +1 -0
  709. package/lib/utils/index.js +4 -1
  710. package/lib/utils/mergeWith.d.ts +1 -0
  711. package/lib/utils/mergeWith.js +56 -0
  712. package/lowcode/_utils/defaultSchema.ts +1480 -0
  713. package/lowcode/_utils/type.ts +5 -0
  714. package/lowcode/_utils/utils.ts +10 -0
  715. package/lowcode/button/meta.ts +2 -3
  716. package/lowcode/checkbox/meta.ts +1 -1
  717. package/lowcode/checkbox/snippets.ts +2 -2
  718. package/lowcode/checkbox.group/meta.ts +1 -1
  719. package/lowcode/collapse/meta.ts +1 -85
  720. package/lowcode/color-picker/__screenshots__/input-1.png +0 -0
  721. package/lowcode/color-picker/meta.ts +298 -0
  722. package/lowcode/color-picker/snippets.ts +10 -0
  723. package/lowcode/data-source-form/__screenshots__/add.png +0 -0
  724. package/lowcode/data-source-form/__screenshots__/detail.png +0 -0
  725. package/lowcode/data-source-form/__screenshots__/form-1.png +0 -0
  726. package/lowcode/data-source-form/constants.ts +96 -0
  727. package/lowcode/data-source-form/meta.ts +784 -0
  728. package/lowcode/data-source-form/snippets.ts +138 -0
  729. package/lowcode/data-source-form/utils.ts +546 -0
  730. package/lowcode/data-source-image/meta.ts +74 -0
  731. package/lowcode/data-source-image/snippets.ts +14 -0
  732. package/lowcode/data-source-qrcode/meta.ts +158 -0
  733. package/lowcode/data-source-qrcode/snippets.ts +20 -0
  734. package/lowcode/data-source-table/__screenshots__/table-1.png +0 -0
  735. package/lowcode/data-source-table/meta.ts +5050 -0
  736. package/lowcode/data-source-table/snippets.ts +90 -0
  737. package/lowcode/data-source-table/utils.tsx +484 -0
  738. package/lowcode/data-source-typography/meta.ts +54 -0
  739. package/lowcode/data-source-typography.text/meta.ts +212 -0
  740. package/lowcode/data-source-typography.text/snippets.ts +12 -0
  741. package/lowcode/data-source-wrapper/meta.ts +243 -0
  742. package/lowcode/data-source-wrapper/snippets.ts +11 -0
  743. package/lowcode/data-source-wrapper/utils.ts +45 -0
  744. package/lowcode/date-picker.old-range-picker/meta.ts +1 -1
  745. package/lowcode/date-picker.range-picker/meta.ts +0 -20
  746. package/lowcode/form/meta.ts +24 -22
  747. package/lowcode/form/snippets.ts +2 -481
  748. package/lowcode/form-group/__screenshots__/group.png +0 -0
  749. package/lowcode/form-group/meta.ts +345 -0
  750. package/lowcode/form-group/snippets.ts +18 -0
  751. package/lowcode/form-item-checkbox/meta.ts +108 -0
  752. package/lowcode/form-item-checkbox/snippets.ts +41 -0
  753. package/lowcode/form-item-checkbox.group/__screenshots__/checkbox-group-1.png +0 -0
  754. package/lowcode/form-item-checkbox.group/meta.ts +184 -0
  755. package/lowcode/form-item-color-picker/__screenshots__/input-1.png +0 -0
  756. package/lowcode/form-item-color-picker/meta.ts +314 -0
  757. package/lowcode/form-item-color-picker/snippets.ts +11 -0
  758. package/lowcode/form-item-date-picker/__screenshots__/date-picker-1.png +0 -0
  759. package/lowcode/form-item-date-picker/__screenshots__/date-picker-2.png +0 -0
  760. package/lowcode/form-item-date-picker/__screenshots__/date-picker-3.png +0 -0
  761. package/lowcode/form-item-date-picker/__screenshots__/date-picker-4.png +0 -0
  762. package/lowcode/form-item-date-picker/__screenshots__/date-picker-5.png +0 -0
  763. package/lowcode/form-item-date-picker/meta.ts +435 -0
  764. package/lowcode/form-item-date-picker/snippets.ts +53 -0
  765. package/lowcode/form-item-input/__screenshots__/input-1.png +0 -0
  766. package/lowcode/form-item-input/meta.ts +249 -0
  767. package/lowcode/form-item-input/snippets.ts +14 -0
  768. package/lowcode/form-item-input-number/__screenshots__/input-number-1.png +0 -0
  769. package/lowcode/form-item-input-number/meta.ts +411 -0
  770. package/lowcode/form-item-input-number/snippets.ts +27 -0
  771. package/lowcode/form-item-input.email/__screenshots__/email.png +0 -0
  772. package/lowcode/form-item-input.email/meta.ts +284 -0
  773. package/lowcode/form-item-input.email/snippets.ts +37 -0
  774. package/lowcode/form-item-input.json/meta.ts +213 -0
  775. package/lowcode/form-item-input.json/snippets.ts +31 -0
  776. package/lowcode/form-item-input.password/__screenshots__/input-password-1.png +0 -0
  777. package/lowcode/form-item-input.password/meta.ts +230 -0
  778. package/lowcode/form-item-input.password/snippets.ts +14 -0
  779. package/lowcode/form-item-input.phone/__screenshots__/phone.png +0 -0
  780. package/lowcode/form-item-input.phone/meta.ts +311 -0
  781. package/lowcode/form-item-input.phone/snippets.ts +18 -0
  782. package/lowcode/form-item-input.text-area/__screenshots__/input-text-area-1.png +0 -0
  783. package/lowcode/form-item-input.text-area/meta.ts +422 -0
  784. package/lowcode/form-item-input.text-area/snippets.ts +14 -0
  785. package/lowcode/form-item-input.url/__screenshots__/URL.png +0 -0
  786. package/lowcode/form-item-input.url/meta.ts +284 -0
  787. package/lowcode/form-item-input.url/snippets.ts +17 -0
  788. package/lowcode/form-item-radio/__screenshots__/radio-1.png +0 -0
  789. package/lowcode/form-item-radio/meta.ts +72 -0
  790. package/lowcode/form-item-radio/snippets.ts +40 -0
  791. package/lowcode/form-item-radio.group/__screenshots__/radio-group-1.png +0 -0
  792. package/lowcode/form-item-radio.group/meta.ts +239 -0
  793. package/lowcode/form-item-select/__screenshots__/select-1.png +0 -0
  794. package/lowcode/form-item-select/meta.ts +538 -0
  795. package/lowcode/form-item-select/snippets.ts +59 -0
  796. package/lowcode/form-item-time-picker/__screenshots__/time-picker-1.png +0 -0
  797. package/lowcode/form-item-time-picker/meta.ts +304 -0
  798. package/lowcode/form-item-time-picker/snippets.ts +13 -0
  799. package/lowcode/form-item-translation/meta.ts +249 -0
  800. package/lowcode/form-item-translation/snippets.ts +13 -0
  801. package/lowcode/form-item-upload/__screenshots__/upload.png +0 -0
  802. package/lowcode/form-item-upload/meta.ts +432 -0
  803. package/lowcode/form-item-upload/snippets.ts +12 -0
  804. package/lowcode/form-item-upload/utils.ts +230 -0
  805. package/lowcode/form.item/meta.ts +104 -25
  806. package/lowcode/input.text-area/meta.ts +1 -1
  807. package/lowcode/input.text-area/snippets.ts +1 -5
  808. package/lowcode/json-wrapper/meta.ts +65 -0
  809. package/lowcode/json-wrapper/snippets.ts +16 -0
  810. package/lowcode/pisell-adjust-price/meta.ts +1 -1
  811. package/lowcode/pisell-card/meta.ts +1 -1
  812. package/lowcode/pisell-countdown/snippets.ts +1 -1
  813. package/lowcode/pisell-empty/meta.ts +1 -1
  814. package/lowcode/pisell-loading/snippets.ts +1 -1
  815. package/lowcode/pisell-scan/snippets.ts +1 -1
  816. package/lowcode/pisell-text.amount/meta.ts +1 -1
  817. package/lowcode/pisell-tooltip/snippets.ts +1 -1
  818. package/lowcode/pisell-upload/__screenshots__/upload-1.png +0 -0
  819. package/lowcode/pisell-upload/meta.ts +508 -0
  820. package/lowcode/pisell-upload/snippets.ts +20 -0
  821. package/lowcode/pisell-wallet-pass-card/meta.ts +1 -1
  822. package/lowcode/segmented/meta.ts +1 -1
  823. package/lowcode/select/meta.ts +17 -0
  824. package/lowcode/select/snippets.ts +1 -0
  825. package/lowcode/sort/meta.ts +1 -1
  826. package/lowcode/submit-button/meta.ts +1079 -0
  827. package/lowcode/submit-button/snippets.ts +22 -0
  828. package/lowcode/table/snippets.ts +6 -0
  829. package/lowcode/test/meta.ts +1 -2
  830. package/package.json +6 -4
  831. package/dist/umd/materials.min.css +0 -1
  832. package/dist/umd/materials.min.js +0 -1
  833. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  834. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  835. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  836. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  837. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  838. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
  839. package/es/components/cardPro/index.d.ts +0 -4
  840. package/es/components/cardPro/index.js +0 -69
  841. package/es/components/cardPro/index.less +0 -55
  842. package/es/components/collapse/index.d.ts +0 -15
  843. package/es/components/collapse/index.js +0 -103
  844. package/es/components/productCard/components/Action/index.d.ts +0 -4
  845. package/es/components/productCard/components/Action/index.js +0 -21
  846. package/es/components/productCard/components/Action/index.less +0 -14
  847. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -4
  848. package/es/components/productCard/components/AmountFooter/index.js +0 -58
  849. package/es/components/productCard/components/AmountFooter/index.less +0 -50
  850. package/es/components/productCard/components/Divider/index.d.ts +0 -4
  851. package/es/components/productCard/components/Divider/index.js +0 -11
  852. package/es/components/productCard/components/Divider/index.less +0 -13
  853. package/es/components/productCard/components/Header/index.d.ts +0 -4
  854. package/es/components/productCard/components/Header/index.js +0 -78
  855. package/es/components/productCard/components/Header/index.less +0 -64
  856. package/es/components/productCard/components/MultiDay/index.d.ts +0 -4
  857. package/es/components/productCard/components/MultiDay/index.js +0 -79
  858. package/es/components/productCard/components/MultiDay/index.less +0 -34
  859. package/es/components/productCard/components/MultiDay/utils.d.ts +0 -14
  860. package/es/components/productCard/components/Note/index.d.ts +0 -4
  861. package/es/components/productCard/components/Note/index.js +0 -25
  862. package/es/components/productCard/components/Note/index.less +0 -20
  863. package/es/components/productCard/components/Packages/components/collapsibleList/index.d.ts +0 -10
  864. package/es/components/productCard/components/Packages/components/collapsibleList/index.js +0 -96
  865. package/es/components/productCard/components/Packages/components/collapsibleList/index.less +0 -53
  866. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
  867. package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +0 -39
  868. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -4
  869. package/es/components/productCard/components/Packages/components/options/index.js +0 -23
  870. package/es/components/productCard/components/Packages/components/options/index.less +0 -29
  871. package/es/components/productCard/components/Packages/index.d.ts +0 -4
  872. package/es/components/productCard/components/Packages/index.less +0 -17
  873. package/es/components/productCard/components/Packages/utils.d.ts +0 -20
  874. package/es/components/productCard/components/Packages/utils.js +0 -40
  875. package/es/components/productCard/components/Sales/index.d.ts +0 -4
  876. package/es/components/productCard/components/Sales/index.less +0 -18
  877. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -9
  878. package/es/components/productCard/components/Time/components/Like/index.js +0 -26
  879. package/es/components/productCard/components/Time/components/Like/index.less +0 -6
  880. package/es/components/productCard/components/Time/components/Like/like-heart.png +0 -0
  881. package/es/components/productCard/components/Time/components/Like/like-hide-heart.png +0 -0
  882. package/es/components/productCard/components/Time/index.d.ts +0 -4
  883. package/es/components/productCard/components/Time/index.js +0 -46
  884. package/es/components/productCard/components/Time/index.less +0 -35
  885. package/es/components/productCard/hooks/useOpenNote.d.ts +0 -3
  886. package/es/components/productCard/hooks/useOpenNote.js +0 -66
  887. package/es/components/productCard/index.d.ts +0 -5
  888. package/es/components/productCard/index.js +0 -145
  889. package/es/components/productCard/index.less +0 -54
  890. package/es/components/productCard/locales.d.ts +0 -42
  891. package/es/components/productCard/locales.js +0 -47
  892. package/es/components/productCard/status.d.ts +0 -32
  893. package/es/components/productCard/status.js +0 -65
  894. package/es/components/productCard/types.d.ts +0 -76
  895. package/es/components/productCard/utils.d.ts +0 -31
  896. package/es/components/productCard/utils.js +0 -72
  897. package/lib/components/cardPro/index.d.ts +0 -4
  898. package/lib/components/cardPro/index.js +0 -101
  899. package/lib/components/cardPro/index.less +0 -55
  900. package/lib/components/collapse/index.d.ts +0 -15
  901. package/lib/components/collapse/index.js +0 -109
  902. package/lib/components/productCard/components/Action/index.d.ts +0 -4
  903. package/lib/components/productCard/components/Action/index.less +0 -14
  904. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -4
  905. package/lib/components/productCard/components/AmountFooter/index.js +0 -85
  906. package/lib/components/productCard/components/AmountFooter/index.less +0 -50
  907. package/lib/components/productCard/components/Divider/index.d.ts +0 -4
  908. package/lib/components/productCard/components/Divider/index.less +0 -13
  909. package/lib/components/productCard/components/Header/index.d.ts +0 -4
  910. package/lib/components/productCard/components/Header/index.js +0 -90
  911. package/lib/components/productCard/components/Header/index.less +0 -64
  912. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -4
  913. package/lib/components/productCard/components/MultiDay/index.js +0 -72
  914. package/lib/components/productCard/components/MultiDay/index.less +0 -34
  915. package/lib/components/productCard/components/MultiDay/utils.d.ts +0 -14
  916. package/lib/components/productCard/components/MultiDay/utils.js +0 -77
  917. package/lib/components/productCard/components/Note/index.d.ts +0 -4
  918. package/lib/components/productCard/components/Note/index.less +0 -20
  919. package/lib/components/productCard/components/Packages/components/collapsibleList/index.d.ts +0 -10
  920. package/lib/components/productCard/components/Packages/components/collapsibleList/index.js +0 -93
  921. package/lib/components/productCard/components/Packages/components/collapsibleList/index.less +0 -53
  922. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
  923. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.js +0 -53
  924. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -4
  925. package/lib/components/productCard/components/Packages/components/options/index.js +0 -73
  926. package/lib/components/productCard/components/Packages/components/options/index.less +0 -29
  927. package/lib/components/productCard/components/Packages/index.d.ts +0 -4
  928. package/lib/components/productCard/components/Packages/index.less +0 -17
  929. package/lib/components/productCard/components/Packages/utils.d.ts +0 -20
  930. package/lib/components/productCard/components/Sales/index.d.ts +0 -4
  931. package/lib/components/productCard/components/Sales/index.js +0 -60
  932. package/lib/components/productCard/components/Sales/index.less +0 -18
  933. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -9
  934. package/lib/components/productCard/components/Time/components/Like/index.less +0 -6
  935. package/lib/components/productCard/components/Time/components/Like/like-heart.png +0 -0
  936. package/lib/components/productCard/components/Time/components/Like/like-hide-heart.png +0 -0
  937. package/lib/components/productCard/components/Time/index.d.ts +0 -4
  938. package/lib/components/productCard/components/Time/index.js +0 -67
  939. package/lib/components/productCard/components/Time/index.less +0 -35
  940. package/lib/components/productCard/hooks/useOpenNote.d.ts +0 -3
  941. package/lib/components/productCard/hooks/useOpenNote.js +0 -84
  942. package/lib/components/productCard/index.d.ts +0 -5
  943. package/lib/components/productCard/index.js +0 -172
  944. package/lib/components/productCard/index.less +0 -54
  945. package/lib/components/productCard/locales.d.ts +0 -42
  946. package/lib/components/productCard/locales.js +0 -65
  947. package/lib/components/productCard/status.d.ts +0 -32
  948. package/lib/components/productCard/types.d.ts +0 -76
  949. package/lib/components/productCard/utils.d.ts +0 -31
  950. package/lib/components/productCard/utils.js +0 -85
  951. package/lowcode/card-pro/meta.ts +0 -338
  952. package/lowcode/card-pro/snippe.ts +0 -39
  953. package/lowcode/product-card/meta.ts +0 -92
  954. package/lowcode/product-card/snippets.ts +0 -23
  955. /package/es/components/{productCard/types.js → dataSourceComponents/dataSourceForm/type.js} +0 -0
  956. /package/es/components/{collapse/index.less → dataSourceComponents/fields/Checkbox/ReadPretty.less} +0 -0
  957. /package/{lib/components/collapse/index.less → es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.less} +0 -0
@@ -0,0 +1,73 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/InputNumber/WithMode.tsx
30
+ var WithMode_exports = {};
31
+ __export(WithMode_exports, {
32
+ default: () => WithMode_default
33
+ });
34
+ module.exports = __toCommonJS(WithMode_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_antd = require("antd");
37
+ var import_ReadPretty = __toESM(require("./ReadPretty"));
38
+ var import_utils = require("../../dataSourceForm/utils");
39
+ var InputNumber = (props) => {
40
+ const {
41
+ useThousandsSeparator,
42
+ formatter: propsFormatter,
43
+ parser: propsParser,
44
+ ...rest
45
+ } = props;
46
+ const formatter = (0, import_react.useCallback)(
47
+ (value, info) => {
48
+ if (!value)
49
+ return "";
50
+ if (useThousandsSeparator) {
51
+ const parts = value.toString().split(".");
52
+ parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ",");
53
+ return parts.join(".");
54
+ }
55
+ return propsFormatter ? propsFormatter(value, info) : value.toString();
56
+ },
57
+ [useThousandsSeparator, propsFormatter]
58
+ );
59
+ const parser = (0, import_react.useCallback)(
60
+ (value) => {
61
+ if (!value)
62
+ return null;
63
+ if (useThousandsSeparator) {
64
+ return value.replace(/,/g, "");
65
+ }
66
+ return propsParser ? propsParser(value) : value;
67
+ },
68
+ [useThousandsSeparator, propsParser]
69
+ );
70
+ return /* @__PURE__ */ import_react.default.createElement(import_antd.InputNumber, { ...rest, formatter, parser });
71
+ };
72
+ var InputNumberWithMode = (0, import_utils.withMode)(InputNumber, import_ReadPretty.default);
73
+ var WithMode_default = InputNumberWithMode;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const InputNumber: React.FC<any>;
3
+ export default InputNumber;
@@ -0,0 +1,45 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/InputNumber/index.tsx
30
+ var InputNumber_exports = {};
31
+ __export(InputNumber_exports, {
32
+ default: () => InputNumber_default
33
+ });
34
+ module.exports = __toCommonJS(InputNumber_exports);
35
+ var import_utils = require("../../dataSourceForm/utils");
36
+ var import_WithMode = __toESM(require("./WithMode"));
37
+ var InputNumber = (0, import_utils.withFormItem)(import_WithMode.default, {
38
+ innerProps: {
39
+ stringMode: false,
40
+ style: {
41
+ width: "100%"
42
+ }
43
+ }
44
+ });
45
+ var InputNumber_default = InputNumber;
@@ -0,0 +1,7 @@
1
+ import { InputNumberProps as AntInputNumberProps } from "antd/es/input-number";
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface InputNumberProps extends AntInputNumberProps {
4
+ renderMode: ModeType;
5
+ useThousandsSeparator: boolean;
6
+ previewFormatter?: 'none' | 'thousand' | 'million' | 'billion';
7
+ }
@@ -0,0 +1,17 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+
15
+ // src/components/dataSourceComponents/fields/InputNumber/type.ts
16
+ var type_exports = {};
17
+ module.exports = __toCommonJS(type_exports);
@@ -0,0 +1 @@
1
+ export declare const formatNumberWithUnit: (value: number, precision?: number, previewFormatter?: 'none' | 'thousand' | 'million' | 'billion') => string;
@@ -0,0 +1,63 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/components/dataSourceComponents/fields/InputNumber/utils.ts
20
+ var utils_exports = {};
21
+ __export(utils_exports, {
22
+ formatNumberWithUnit: () => formatNumberWithUnit
23
+ });
24
+ module.exports = __toCommonJS(utils_exports);
25
+ var import_locales = require("../../../../locales");
26
+ var THOUSAND = 1e3;
27
+ var MILLION = 1e6;
28
+ var BILLION = 1e9;
29
+ var getUnitText = (key) => {
30
+ const textKey = `pisell-number-format-${key}`;
31
+ return (0, import_locales.getText)(textKey);
32
+ };
33
+ var formatNumberWithUnit = (value, precision = 0, previewFormatter) => {
34
+ if (!value)
35
+ return "0";
36
+ const units = {
37
+ billion: {
38
+ value: BILLION,
39
+ getText: () => getUnitText("billion")
40
+ },
41
+ million: {
42
+ value: MILLION,
43
+ getText: () => getUnitText("million")
44
+ },
45
+ thousand: {
46
+ value: THOUSAND,
47
+ getText: () => getUnitText("thousand")
48
+ }
49
+ };
50
+ if (!previewFormatter || previewFormatter === "none") {
51
+ return value.toFixed(precision);
52
+ }
53
+ const unit = units[previewFormatter];
54
+ if (!unit)
55
+ return value.toFixed(precision);
56
+ const convertedValue = value / unit.value;
57
+ const suffix = unit.getText();
58
+ return `${convertedValue.toFixed(precision)}${suffix}`;
59
+ };
60
+ // Annotate the CommonJS export names for ESM import in node:
61
+ 0 && (module.exports = {
62
+ formatNumberWithUnit
63
+ });
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RadioProps, RadioGroupProps } from './type';
3
+ declare type RadioReadPrettyType = React.FC<RadioProps> & {
4
+ Group: React.FC<RadioGroupProps>;
5
+ };
6
+ declare const RadioReadPretty: RadioReadPrettyType;
7
+ export default RadioReadPretty;
@@ -0,0 +1,47 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/Radio/ReadPretty.tsx
30
+ var ReadPretty_exports = {};
31
+ __export(ReadPretty_exports, {
32
+ default: () => ReadPretty_default
33
+ });
34
+ module.exports = __toCommonJS(ReadPretty_exports);
35
+ var import_useValueMap = __toESM(require("../../hooks/useValueMap"));
36
+ var import_utils = require("../../dataSourceForm/utils");
37
+ var RadioReadPretty = (props) => {
38
+ const { value } = props;
39
+ return (0, import_utils.renderValueWithMap)(value);
40
+ };
41
+ var RadioGroupReadPretty = (props) => {
42
+ const { value, options, renderMode } = props;
43
+ const valueMap = (0, import_useValueMap.default)(options || []);
44
+ return (0, import_utils.renderValueWithMap)(value, valueMap, renderMode);
45
+ };
46
+ RadioReadPretty.Group = RadioGroupReadPretty;
47
+ var ReadPretty_default = RadioReadPretty;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare type RadioComponent = React.FC & {
3
+ Group: typeof RadioGroupWithMode;
4
+ };
5
+ declare const RadioWithMode: RadioComponent;
6
+ declare const RadioGroupWithMode: import("react").FC<import("./type").RadioGroupProps & import("../../dataSourceForm/utils").WithModeProps>;
7
+ export default RadioWithMode;
@@ -0,0 +1,41 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/Radio/WithMode.ts
30
+ var WithMode_exports = {};
31
+ __export(WithMode_exports, {
32
+ default: () => WithMode_default
33
+ });
34
+ module.exports = __toCommonJS(WithMode_exports);
35
+ var import_utils = require("../../dataSourceForm/utils");
36
+ var import_radio = __toESM(require("../../../radio"));
37
+ var import_ReadPretty = __toESM(require("./ReadPretty"));
38
+ var RadioWithMode = (0, import_utils.withMode)(import_radio.default, import_ReadPretty.default);
39
+ var RadioGroupWithMode = (0, import_utils.withMode)(import_radio.default.Group, import_ReadPretty.default.Group);
40
+ RadioWithMode.Group = RadioGroupWithMode;
41
+ var WithMode_default = RadioWithMode;
@@ -0,0 +1,6 @@
1
+ import RadioWithMode from './WithMode';
2
+ declare type RadioComponent = typeof RadioWithMode & {
3
+ Group: typeof RadioWithMode.Group;
4
+ };
5
+ declare const Radio: RadioComponent;
6
+ export default Radio;
@@ -0,0 +1,42 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/Radio/index.tsx
30
+ var Radio_exports = {};
31
+ __export(Radio_exports, {
32
+ default: () => Radio_default
33
+ });
34
+ module.exports = __toCommonJS(Radio_exports);
35
+ var import_WithMode = __toESM(require("./WithMode"));
36
+ var import_utils = require("../../dataSourceForm/utils");
37
+ var Radio = (0, import_utils.withFormItem)(import_WithMode.default);
38
+ var RadioGroupWithFormItem = (0, import_utils.withFormItem)(import_WithMode.default.Group);
39
+ var RadioGroupWithOptions = (0, import_utils.withOptions)(RadioGroupWithFormItem);
40
+ var RadioGroupWithDataSource = (0, import_utils.withDataSource)(RadioGroupWithOptions);
41
+ Radio.Group = RadioGroupWithDataSource;
42
+ var Radio_default = Radio;
@@ -0,0 +1,8 @@
1
+ import { RadioProps as AntRadioProps, RadioGroupProps as AntRadioGroupProps } from 'antd';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface RadioProps extends AntRadioProps {
4
+ renderMode: ModeType;
5
+ }
6
+ export interface RadioGroupProps extends AntRadioGroupProps {
7
+ renderMode: ModeType;
8
+ }
@@ -0,0 +1,17 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+
15
+ // src/components/dataSourceComponents/fields/Radio/type.ts
16
+ var type_exports = {};
17
+ module.exports = __toCommonJS(type_exports);
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SelectProps } from './type';
3
+ declare const SelectReadPretty: React.FC<SelectProps>;
4
+ export default SelectReadPretty;
@@ -0,0 +1,42 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/Select/ReadPretty.tsx
30
+ var ReadPretty_exports = {};
31
+ __export(ReadPretty_exports, {
32
+ default: () => ReadPretty_default
33
+ });
34
+ module.exports = __toCommonJS(ReadPretty_exports);
35
+ var import_utils = require("../../dataSourceForm/utils");
36
+ var import_useValueMap = __toESM(require("../../hooks/useValueMap"));
37
+ var SelectReadPretty = (props) => {
38
+ const { value, options, renderMode } = props;
39
+ const valueMap = (0, import_useValueMap.default)(options || []);
40
+ return (0, import_utils.renderValueWithMap)(value, valueMap, renderMode);
41
+ };
42
+ var ReadPretty_default = SelectReadPretty;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SelectProps } from 'antd';
3
+ declare const SelectWithMode: import("react").FC<SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps>;
4
+ export default SelectWithMode;
@@ -0,0 +1,39 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/Select/WithMode.ts
30
+ var WithMode_exports = {};
31
+ __export(WithMode_exports, {
32
+ default: () => WithMode_default
33
+ });
34
+ module.exports = __toCommonJS(WithMode_exports);
35
+ var import_select = __toESM(require("../../../select"));
36
+ var import_ReadPretty = __toESM(require("./ReadPretty"));
37
+ var import_utils = require("../../dataSourceForm/utils");
38
+ var SelectWithMode = (0, import_utils.withMode)(import_select.default, import_ReadPretty.default);
39
+ var WithMode_default = SelectWithMode;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
+ options?: any;
4
+ optionSourceType?: "default" | "custom" | "api" | undefined;
5
+ labelField: string;
6
+ valueField: string;
7
+ } & {
8
+ dataSource?: any;
9
+ }) => React.JSX.Element;
10
+ export default SelectWithDataSource;
@@ -0,0 +1,40 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/Select/index.tsx
30
+ var Select_exports = {};
31
+ __export(Select_exports, {
32
+ default: () => Select_default
33
+ });
34
+ module.exports = __toCommonJS(Select_exports);
35
+ var import_utils = require("../../dataSourceForm/utils");
36
+ var import_WithMode = __toESM(require("./WithMode"));
37
+ var SelectWithFormItem = (0, import_utils.withFormItem)(import_WithMode.default);
38
+ var SelectWithOptions = (0, import_utils.withOptions)(SelectWithFormItem);
39
+ var SelectWithDataSource = (0, import_utils.withDataSource)(SelectWithOptions);
40
+ var Select_default = SelectWithDataSource;
@@ -0,0 +1,5 @@
1
+ import { SelectProps as AntSelectProps } from 'antd';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface SelectProps extends AntSelectProps {
4
+ renderMode: ModeType;
5
+ }
@@ -0,0 +1,17 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+
15
+ // src/components/dataSourceComponents/fields/Select/type.ts
16
+ var type_exports = {};
17
+ module.exports = __toCommonJS(type_exports);
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { TimePickerProps } from './type';
3
+ import './ReadPretty.less';
4
+ declare const TimePickerReadPretty: (props: TimePickerProps) => React.JSX.Element;
5
+ export default TimePickerReadPretty;
@@ -0,0 +1,50 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/TimePicker/ReadPretty.tsx
30
+ var ReadPretty_exports = {};
31
+ __export(ReadPretty_exports, {
32
+ default: () => ReadPretty_default
33
+ });
34
+ module.exports = __toCommonJS(ReadPretty_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_classnames = __toESM(require("classnames"));
37
+ var import_ReadPretty = require("./ReadPretty.less");
38
+ var TimePickerReadPretty = (props) => {
39
+ const { value, renderMode } = props;
40
+ return /* @__PURE__ */ import_react.default.createElement(
41
+ "span",
42
+ {
43
+ className: (0, import_classnames.default)("pisell-time-picker-read-pretty", {
44
+ "pisell-time-picker-read-pretty-table-view": renderMode === "tableView"
45
+ })
46
+ },
47
+ value
48
+ );
49
+ };
50
+ var ReadPretty_default = TimePickerReadPretty;
@@ -0,0 +1,11 @@
1
+ .pisell-time-picker-read-pretty {
2
+ color: var(--Gray-900, #101828);
3
+ font-size: 16px;
4
+ font-weight: 600;
5
+ line-height: 24px; /* 150% */
6
+ }
7
+
8
+ .pisell-time-picker-read-pretty-table-view {
9
+ font-size: 14px;
10
+ font-weight: 400;
11
+ }