@pisell/materials 1.0.449 → 1.0.451

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 (530) 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 +2 -2
  6. package/build/lowcode/preview.js +150 -142
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +28 -28
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +23 -23
  11. package/es/components/collapse/index.d.ts +11 -2
  12. package/es/components/collapse/index.js +28 -22
  13. package/es/components/colorPicker/index.d.ts +4 -0
  14. package/es/components/colorPicker/index.js +6 -0
  15. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +3 -0
  16. package/es/components/dataSourceComponents/dataSourceForm/formItem.js +46 -0
  17. package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +20 -0
  18. package/es/components/dataSourceComponents/dataSourceForm/group/index.js +65 -0
  19. package/es/components/dataSourceComponents/dataSourceForm/group/index.less +42 -0
  20. package/es/components/dataSourceComponents/dataSourceForm/index.d.ts +3 -0
  21. package/es/components/dataSourceComponents/dataSourceForm/index.js +75 -0
  22. package/es/components/dataSourceComponents/dataSourceForm/index.less +24 -0
  23. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +10 -0
  24. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.js +6 -0
  25. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +8 -0
  26. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.js +24 -0
  27. package/es/components/dataSourceComponents/dataSourceForm/provider/hooks/useFormSetting.d.ts +5 -0
  28. package/es/components/dataSourceComponents/dataSourceForm/provider/hooks/useFormSetting.js +11 -0
  29. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +147 -0
  30. package/es/components/dataSourceComponents/dataSourceForm/serve.js +253 -0
  31. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +36 -0
  32. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +217 -0
  33. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.less +4 -0
  34. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +16 -0
  35. package/es/components/dataSourceComponents/dataSourceForm/type.js +1 -0
  36. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +36 -0
  37. package/es/components/dataSourceComponents/dataSourceForm/utils.js +188 -0
  38. package/es/components/dataSourceComponents/dataSourceTable/hooks/useColumns.d.ts +11 -0
  39. package/es/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +56 -0
  40. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.d.ts +2 -0
  41. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +39 -0
  42. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +10 -0
  43. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +35 -0
  44. package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +27 -0
  45. package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +41 -0
  46. package/es/components/dataSourceComponents/dataSourceTable/hooks/usePagination.d.ts +16 -0
  47. package/es/components/dataSourceComponents/dataSourceTable/hooks/usePagination.js +14 -0
  48. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +19 -0
  49. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +51 -0
  50. package/es/components/dataSourceComponents/dataSourceTable/index.d.ts +4 -0
  51. package/es/components/dataSourceComponents/dataSourceTable/index.js +208 -0
  52. package/es/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingContext.d.ts +7 -0
  53. package/es/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingContext.js +4 -0
  54. package/es/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingProvider.d.ts +8 -0
  55. package/es/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingProvider.js +20 -0
  56. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +15 -0
  57. package/es/components/dataSourceComponents/dataSourceTable/type.js +1 -0
  58. package/es/components/dataSourceComponents/fields/Checkbox/ReadPretty.d.ts +7 -0
  59. package/es/components/dataSourceComponents/fields/Checkbox/ReadPretty.js +14 -0
  60. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +7 -0
  61. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.js +7 -0
  62. package/es/components/dataSourceComponents/fields/Checkbox/index.d.ts +6 -0
  63. package/es/components/dataSourceComponents/fields/Checkbox/index.js +6 -0
  64. package/es/components/dataSourceComponents/fields/Checkbox/type.d.ts +9 -0
  65. package/es/components/dataSourceComponents/fields/Checkbox/type.js +1 -0
  66. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +4 -0
  67. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.js +9 -0
  68. package/es/components/dataSourceComponents/fields/ColorPicker/WithMode.d.ts +3 -0
  69. package/es/components/dataSourceComponents/fields/ColorPicker/WithMode.js +5 -0
  70. package/es/components/dataSourceComponents/fields/ColorPicker/index.d.ts +3 -0
  71. package/es/components/dataSourceComponents/fields/ColorPicker/index.js +4 -0
  72. package/es/components/dataSourceComponents/fields/ColorPicker/type.d.ts +5 -0
  73. package/es/components/dataSourceComponents/fields/ColorPicker/type.js +1 -0
  74. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +4 -0
  75. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +7 -0
  76. package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +4 -0
  77. package/es/components/dataSourceComponents/fields/DatePicker/WithMode.js +17 -0
  78. package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +3 -0
  79. package/es/components/dataSourceComponents/fields/DatePicker/index.js +4 -0
  80. package/es/components/dataSourceComponents/fields/DatePicker/type.d.ts +5 -0
  81. package/es/components/dataSourceComponents/fields/DatePicker/type.js +1 -0
  82. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +4 -0
  83. package/es/components/dataSourceComponents/fields/Input/ReadPretty.js +5 -0
  84. package/es/components/dataSourceComponents/fields/Input/WithMode.d.ts +4 -0
  85. package/es/components/dataSourceComponents/fields/Input/WithMode.js +5 -0
  86. package/es/components/dataSourceComponents/fields/Input/index.d.ts +13 -0
  87. package/es/components/dataSourceComponents/fields/Input/index.js +12 -0
  88. package/es/components/dataSourceComponents/fields/Input/type.d.ts +5 -0
  89. package/es/components/dataSourceComponents/fields/Input/type.js +1 -0
  90. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +4 -0
  91. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.js +11 -0
  92. package/es/components/dataSourceComponents/fields/Input.Json/WithMode.d.ts +3 -0
  93. package/es/components/dataSourceComponents/fields/Input.Json/WithMode.js +5 -0
  94. package/es/components/dataSourceComponents/fields/Input.Json/index.d.ts +3 -0
  95. package/es/components/dataSourceComponents/fields/Input.Json/index.js +4 -0
  96. package/es/components/dataSourceComponents/fields/Input.Json/type.d.ts +5 -0
  97. package/es/components/dataSourceComponents/fields/Input.Json/type.js +1 -0
  98. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +4 -0
  99. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.js +5 -0
  100. package/es/components/dataSourceComponents/fields/Input.Password/WithMode.d.ts +3 -0
  101. package/es/components/dataSourceComponents/fields/Input.Password/WithMode.js +5 -0
  102. package/es/components/dataSourceComponents/fields/Input.Password/index.d.ts +3 -0
  103. package/es/components/dataSourceComponents/fields/Input.Password/index.js +4 -0
  104. package/es/components/dataSourceComponents/fields/Input.Password/type.d.ts +5 -0
  105. package/es/components/dataSourceComponents/fields/Input.Password/type.js +1 -0
  106. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +4 -0
  107. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.js +5 -0
  108. package/es/components/dataSourceComponents/fields/Input.TextArea/WithMode.d.ts +3 -0
  109. package/es/components/dataSourceComponents/fields/Input.TextArea/WithMode.js +5 -0
  110. package/es/components/dataSourceComponents/fields/Input.TextArea/index.d.ts +3 -0
  111. package/es/components/dataSourceComponents/fields/Input.TextArea/index.js +4 -0
  112. package/es/components/dataSourceComponents/fields/Input.TextArea/type.d.ts +5 -0
  113. package/es/components/dataSourceComponents/fields/Input.TextArea/type.js +1 -0
  114. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +4 -0
  115. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +9 -0
  116. package/es/components/dataSourceComponents/fields/Input.Url/WithMode.d.ts +3 -0
  117. package/es/components/dataSourceComponents/fields/Input.Url/WithMode.js +5 -0
  118. package/es/components/dataSourceComponents/fields/Input.Url/index.d.ts +3 -0
  119. package/es/components/dataSourceComponents/fields/Input.Url/index.js +4 -0
  120. package/es/components/dataSourceComponents/fields/Input.Url/type.d.ts +5 -0
  121. package/es/components/dataSourceComponents/fields/Input.Url/type.js +1 -0
  122. package/es/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +4 -0
  123. package/es/components/dataSourceComponents/fields/InputNumber/ReadPretty.js +7 -0
  124. package/es/components/dataSourceComponents/fields/InputNumber/WithMode.d.ts +3 -0
  125. package/es/components/dataSourceComponents/fields/InputNumber/WithMode.js +5 -0
  126. package/es/components/dataSourceComponents/fields/InputNumber/index.d.ts +3 -0
  127. package/es/components/dataSourceComponents/fields/InputNumber/index.js +4 -0
  128. package/es/components/dataSourceComponents/fields/InputNumber/type.d.ts +5 -0
  129. package/es/components/dataSourceComponents/fields/InputNumber/type.js +1 -0
  130. package/es/components/dataSourceComponents/fields/Radio/ReadPretty.d.ts +7 -0
  131. package/es/components/dataSourceComponents/fields/Radio/ReadPretty.js +14 -0
  132. package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +7 -0
  133. package/es/components/dataSourceComponents/fields/Radio/WithMode.js +7 -0
  134. package/es/components/dataSourceComponents/fields/Radio/index.d.ts +6 -0
  135. package/es/components/dataSourceComponents/fields/Radio/index.js +6 -0
  136. package/es/components/dataSourceComponents/fields/Radio/type.d.ts +8 -0
  137. package/es/components/dataSourceComponents/fields/Radio/type.js +1 -0
  138. package/es/components/dataSourceComponents/fields/Select/ReadPretty.d.ts +4 -0
  139. package/es/components/dataSourceComponents/fields/Select/ReadPretty.js +9 -0
  140. package/es/components/dataSourceComponents/fields/Select/WithMode.d.ts +4 -0
  141. package/es/components/dataSourceComponents/fields/Select/WithMode.js +5 -0
  142. package/es/components/dataSourceComponents/fields/Select/index.d.ts +3 -0
  143. package/es/components/dataSourceComponents/fields/Select/index.js +4 -0
  144. package/es/components/dataSourceComponents/fields/Select/type.d.ts +5 -0
  145. package/es/components/dataSourceComponents/fields/Select/type.js +1 -0
  146. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +4 -0
  147. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.js +6 -0
  148. package/es/components/dataSourceComponents/fields/TimePicker/WithMode.d.ts +4 -0
  149. package/es/components/dataSourceComponents/fields/TimePicker/WithMode.js +5 -0
  150. package/es/components/dataSourceComponents/fields/TimePicker/index.d.ts +3 -0
  151. package/es/components/dataSourceComponents/fields/TimePicker/index.js +4 -0
  152. package/es/components/dataSourceComponents/fields/TimePicker/type.d.ts +5 -0
  153. package/es/components/dataSourceComponents/fields/TimePicker/type.js +1 -0
  154. package/es/components/dataSourceComponents/fields/index.d.ts +16 -0
  155. package/es/components/dataSourceComponents/fields/index.js +27 -0
  156. package/es/components/dataSourceComponents/hooks/useActions.d.ts +16 -0
  157. package/es/components/dataSourceComponents/hooks/useActions.js +302 -0
  158. package/es/components/dataSourceComponents/hooks/useCtxActions.d.ts +8 -0
  159. package/es/components/dataSourceComponents/hooks/useCtxActions.js +14 -0
  160. package/es/components/dataSourceComponents/hooks/useDataSource.d.ts +5 -0
  161. package/es/components/dataSourceComponents/hooks/useDataSource.js +11 -0
  162. package/es/components/dataSourceComponents/hooks/useParseActionsVariable.d.ts +6 -0
  163. package/es/components/dataSourceComponents/hooks/useParseActionsVariable.js +61 -0
  164. package/es/components/dataSourceComponents/hooks/useValueMap.d.ts +8 -0
  165. package/es/components/dataSourceComponents/hooks/useValueMap.js +22 -0
  166. package/es/components/dataSourceComponents/hooks/useVariables.d.ts +2 -0
  167. package/es/components/dataSourceComponents/hooks/useVariables.js +6 -0
  168. package/es/components/dataSourceComponents/provider/actions/ActionsContext.d.ts +6 -0
  169. package/es/components/dataSourceComponents/provider/actions/ActionsContext.js +3 -0
  170. package/es/components/dataSourceComponents/provider/actions/ActionsProvider.d.ts +9 -0
  171. package/es/components/dataSourceComponents/provider/actions/ActionsProvider.js +28 -0
  172. package/es/components/dataSourceComponents/provider/fields/DataSourceContext.d.ts +75 -0
  173. package/es/components/dataSourceComponents/provider/fields/DataSourceContext.js +6 -0
  174. package/es/components/dataSourceComponents/provider/fields/DataSourceProvider.d.ts +8 -0
  175. package/es/components/dataSourceComponents/provider/fields/DataSourceProvider.js +20 -0
  176. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +9 -0
  177. package/es/components/dataSourceComponents/provider/variables/VariablesContext.js +8 -0
  178. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  179. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.js +82 -0
  180. package/es/components/form/index.d.ts +2 -8
  181. package/es/components/form/index.js +3 -1
  182. package/es/components/page/index.js +3 -2
  183. package/es/components/pisellAnchor/index.js +0 -1
  184. package/es/components/pisellStatistic/index.js +0 -1
  185. package/es/components/pisellUpload/index.js +0 -1
  186. package/es/components/pisellUploadCrop/index.js +0 -1
  187. package/es/components/pisellWalletCard/index.js +0 -2
  188. package/es/components/pisellWalletPassCard/index.js +4 -1
  189. package/es/components/productCard/components/Action/index.d.ts +4 -0
  190. package/es/components/productCard/components/{Actions → Action}/index.js +7 -6
  191. package/{lib/components/productCard/components/Actions → es/components/productCard/components/Action}/index.less +1 -1
  192. package/es/components/productCard/components/AmountFooter/index.d.ts +2 -2
  193. package/es/components/productCard/components/AmountFooter/index.js +13 -7
  194. package/es/components/productCard/components/AmountFooter/index.less +9 -0
  195. package/es/components/productCard/components/Header/index.d.ts +1 -1
  196. package/es/components/productCard/components/Header/index.js +17 -18
  197. package/es/components/productCard/components/Header/index.less +4 -0
  198. package/es/components/productCard/components/Note/index.d.ts +1 -1
  199. package/es/components/productCard/components/Note/index.js +11 -4
  200. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -1
  201. package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +14 -12
  202. package/es/components/productCard/components/Packages/components/options/index.less +1 -0
  203. package/es/components/productCard/components/Packages/index.d.ts +1 -1
  204. package/es/components/productCard/components/Packages/index.js +14 -5
  205. package/es/components/productCard/components/Sales/index.d.ts +1 -1
  206. package/es/components/productCard/components/Sales/index.js +23 -6
  207. package/es/components/productCard/components/Time/components/Like/index.d.ts +2 -2
  208. package/es/components/productCard/components/Time/components/Like/index.js +3 -3
  209. package/es/components/productCard/components/Time/index.d.ts +1 -1
  210. package/es/components/productCard/components/Time/index.js +28 -14
  211. package/es/components/productCard/components/Time/index.less +10 -0
  212. package/es/components/productCard/hooks/useOpenNote.d.ts +3 -0
  213. package/es/components/productCard/hooks/useOpenNote.js +58 -0
  214. package/es/components/productCard/index.js +76 -33
  215. package/es/components/productCard/index.less +8 -3
  216. package/es/components/productCard/locales.d.ts +24 -0
  217. package/es/components/productCard/locales.js +29 -0
  218. package/es/components/productCard/types.d.ts +6 -0
  219. package/es/components/productCard/utils.js +23 -5
  220. package/es/components/record-view/index.js +0 -3
  221. package/es/components/section-footers/index.js +0 -1
  222. package/es/components/select/index.d.ts +1 -1
  223. package/es/components/select/index.js +2 -1
  224. package/es/components/table/utils.d.ts +5 -6
  225. package/es/components/table/utils.js +7 -1
  226. package/es/components/tabs/index.js +0 -4
  227. package/es/hooks/useSetRequest.d.ts +2 -0
  228. package/es/hooks/useSetRequest.js +8 -0
  229. package/es/index.d.ts +13 -0
  230. package/es/index.js +16 -1
  231. package/es/utils/index.d.ts +1 -0
  232. package/es/utils/index.js +2 -1
  233. package/es/utils/mergeWith.d.ts +1 -0
  234. package/es/utils/mergeWith.js +31 -0
  235. package/lib/components/collapse/index.d.ts +11 -2
  236. package/lib/components/collapse/index.js +27 -21
  237. package/lib/components/colorPicker/index.d.ts +4 -0
  238. package/lib/components/{productCard/components/Holder → colorPicker}/index.js +9 -11
  239. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +3 -0
  240. package/lib/components/dataSourceComponents/dataSourceForm/formItem.js +59 -0
  241. package/lib/components/dataSourceComponents/dataSourceForm/group/index.d.ts +20 -0
  242. package/lib/components/dataSourceComponents/dataSourceForm/group/index.js +80 -0
  243. package/lib/components/dataSourceComponents/dataSourceForm/group/index.less +42 -0
  244. package/lib/components/dataSourceComponents/dataSourceForm/index.d.ts +3 -0
  245. package/lib/components/dataSourceComponents/dataSourceForm/index.js +103 -0
  246. package/lib/components/dataSourceComponents/dataSourceForm/index.less +24 -0
  247. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +10 -0
  248. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.js +35 -0
  249. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +8 -0
  250. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.js +54 -0
  251. package/lib/components/dataSourceComponents/dataSourceForm/provider/hooks/useFormSetting.d.ts +5 -0
  252. package/lib/components/dataSourceComponents/dataSourceForm/provider/hooks/useFormSetting.js +41 -0
  253. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +147 -0
  254. package/lib/components/dataSourceComponents/dataSourceForm/serve.js +141 -0
  255. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +36 -0
  256. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.js +157 -0
  257. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.less +4 -0
  258. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +16 -0
  259. package/lib/components/dataSourceComponents/dataSourceForm/type.js +17 -0
  260. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +36 -0
  261. package/lib/components/dataSourceComponents/dataSourceForm/utils.js +177 -0
  262. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useColumns.d.ts +11 -0
  263. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +85 -0
  264. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.d.ts +2 -0
  265. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +55 -0
  266. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +10 -0
  267. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +45 -0
  268. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +27 -0
  269. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +62 -0
  270. package/lib/components/dataSourceComponents/dataSourceTable/hooks/usePagination.d.ts +16 -0
  271. package/lib/components/dataSourceComponents/dataSourceTable/hooks/usePagination.js +37 -0
  272. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +19 -0
  273. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +56 -0
  274. package/lib/components/dataSourceComponents/dataSourceTable/index.d.ts +4 -0
  275. package/lib/components/dataSourceComponents/dataSourceTable/index.js +193 -0
  276. package/lib/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingContext.d.ts +7 -0
  277. package/lib/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingContext.js +33 -0
  278. package/lib/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingProvider.d.ts +8 -0
  279. package/lib/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingProvider.js +52 -0
  280. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +15 -0
  281. package/lib/components/dataSourceComponents/dataSourceTable/type.js +17 -0
  282. package/lib/components/dataSourceComponents/fields/Checkbox/ReadPretty.d.ts +7 -0
  283. package/lib/components/dataSourceComponents/fields/Checkbox/ReadPretty.js +47 -0
  284. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +7 -0
  285. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.js +41 -0
  286. package/lib/components/dataSourceComponents/fields/Checkbox/index.d.ts +6 -0
  287. package/lib/components/dataSourceComponents/fields/Checkbox/index.js +40 -0
  288. package/lib/components/dataSourceComponents/fields/Checkbox/type.d.ts +9 -0
  289. package/lib/components/dataSourceComponents/fields/Checkbox/type.js +17 -0
  290. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +4 -0
  291. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.js +40 -0
  292. package/lib/components/dataSourceComponents/fields/ColorPicker/WithMode.d.ts +3 -0
  293. package/lib/components/dataSourceComponents/fields/ColorPicker/WithMode.js +39 -0
  294. package/lib/components/dataSourceComponents/fields/ColorPicker/index.d.ts +3 -0
  295. package/lib/components/dataSourceComponents/fields/ColorPicker/index.js +38 -0
  296. package/lib/components/dataSourceComponents/fields/ColorPicker/type.d.ts +5 -0
  297. package/lib/components/dataSourceComponents/fields/ColorPicker/type.js +17 -0
  298. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +4 -0
  299. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +41 -0
  300. package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +4 -0
  301. package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.js +50 -0
  302. package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +3 -0
  303. package/lib/components/dataSourceComponents/fields/DatePicker/index.js +38 -0
  304. package/lib/components/dataSourceComponents/fields/DatePicker/type.d.ts +5 -0
  305. package/lib/components/dataSourceComponents/fields/DatePicker/type.js +17 -0
  306. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +4 -0
  307. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.js +39 -0
  308. package/lib/components/dataSourceComponents/fields/Input/WithMode.d.ts +4 -0
  309. package/lib/components/dataSourceComponents/fields/Input/WithMode.js +39 -0
  310. package/lib/components/dataSourceComponents/fields/Input/index.d.ts +13 -0
  311. package/lib/components/dataSourceComponents/fields/Input/index.js +46 -0
  312. package/lib/components/dataSourceComponents/fields/Input/type.d.ts +5 -0
  313. package/lib/components/dataSourceComponents/fields/Input/type.js +17 -0
  314. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +4 -0
  315. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.js +45 -0
  316. package/lib/components/dataSourceComponents/fields/Input.Json/WithMode.d.ts +3 -0
  317. package/lib/components/dataSourceComponents/fields/Input.Json/WithMode.js +39 -0
  318. package/lib/components/dataSourceComponents/fields/Input.Json/index.d.ts +3 -0
  319. package/lib/components/dataSourceComponents/fields/Input.Json/index.js +38 -0
  320. package/lib/components/dataSourceComponents/fields/Input.Json/type.d.ts +5 -0
  321. package/lib/components/dataSourceComponents/fields/Input.Json/type.js +17 -0
  322. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +4 -0
  323. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.js +39 -0
  324. package/lib/components/dataSourceComponents/fields/Input.Password/WithMode.d.ts +3 -0
  325. package/lib/components/dataSourceComponents/fields/Input.Password/WithMode.js +39 -0
  326. package/lib/components/dataSourceComponents/fields/Input.Password/index.d.ts +3 -0
  327. package/lib/components/dataSourceComponents/fields/Input.Password/index.js +38 -0
  328. package/lib/components/dataSourceComponents/fields/Input.Password/type.d.ts +5 -0
  329. package/lib/components/dataSourceComponents/fields/Input.Password/type.js +17 -0
  330. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +4 -0
  331. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.js +39 -0
  332. package/lib/components/dataSourceComponents/fields/Input.TextArea/WithMode.d.ts +3 -0
  333. package/lib/components/dataSourceComponents/fields/Input.TextArea/WithMode.js +39 -0
  334. package/lib/components/dataSourceComponents/fields/Input.TextArea/index.d.ts +3 -0
  335. package/lib/components/dataSourceComponents/fields/Input.TextArea/index.js +38 -0
  336. package/lib/components/dataSourceComponents/fields/Input.TextArea/type.d.ts +5 -0
  337. package/lib/components/dataSourceComponents/fields/Input.TextArea/type.js +17 -0
  338. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +4 -0
  339. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +41 -0
  340. package/lib/components/dataSourceComponents/fields/Input.Url/WithMode.d.ts +3 -0
  341. package/lib/components/dataSourceComponents/fields/Input.Url/WithMode.js +39 -0
  342. package/lib/components/dataSourceComponents/fields/Input.Url/index.d.ts +3 -0
  343. package/lib/components/dataSourceComponents/fields/Input.Url/index.js +38 -0
  344. package/lib/components/dataSourceComponents/fields/Input.Url/type.d.ts +5 -0
  345. package/lib/components/dataSourceComponents/fields/Input.Url/type.js +17 -0
  346. package/lib/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +4 -0
  347. package/lib/components/dataSourceComponents/fields/InputNumber/ReadPretty.js +40 -0
  348. package/lib/components/dataSourceComponents/fields/InputNumber/WithMode.d.ts +3 -0
  349. package/lib/components/dataSourceComponents/fields/InputNumber/WithMode.js +42 -0
  350. package/lib/components/dataSourceComponents/fields/InputNumber/index.d.ts +3 -0
  351. package/lib/components/dataSourceComponents/fields/InputNumber/index.js +38 -0
  352. package/lib/components/dataSourceComponents/fields/InputNumber/type.d.ts +5 -0
  353. package/lib/components/dataSourceComponents/fields/InputNumber/type.js +17 -0
  354. package/lib/components/dataSourceComponents/fields/Radio/ReadPretty.d.ts +7 -0
  355. package/lib/components/dataSourceComponents/fields/Radio/ReadPretty.js +47 -0
  356. package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +7 -0
  357. package/lib/components/dataSourceComponents/fields/Radio/WithMode.js +41 -0
  358. package/lib/components/dataSourceComponents/fields/Radio/index.d.ts +6 -0
  359. package/lib/components/dataSourceComponents/fields/Radio/index.js +40 -0
  360. package/lib/components/dataSourceComponents/fields/Radio/type.d.ts +8 -0
  361. package/lib/components/dataSourceComponents/fields/Radio/type.js +17 -0
  362. package/lib/components/dataSourceComponents/fields/Select/ReadPretty.d.ts +4 -0
  363. package/lib/components/dataSourceComponents/fields/Select/ReadPretty.js +42 -0
  364. package/lib/components/dataSourceComponents/fields/Select/WithMode.d.ts +4 -0
  365. package/lib/components/dataSourceComponents/fields/Select/WithMode.js +39 -0
  366. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +3 -0
  367. package/lib/components/dataSourceComponents/fields/Select/index.js +38 -0
  368. package/lib/components/dataSourceComponents/fields/Select/type.d.ts +5 -0
  369. package/lib/components/dataSourceComponents/fields/Select/type.js +17 -0
  370. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +4 -0
  371. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.js +40 -0
  372. package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.d.ts +4 -0
  373. package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.js +39 -0
  374. package/lib/components/dataSourceComponents/fields/TimePicker/index.d.ts +3 -0
  375. package/lib/components/dataSourceComponents/fields/TimePicker/index.js +38 -0
  376. package/lib/components/dataSourceComponents/fields/TimePicker/type.d.ts +5 -0
  377. package/lib/components/dataSourceComponents/fields/TimePicker/type.js +17 -0
  378. package/lib/components/dataSourceComponents/fields/index.d.ts +16 -0
  379. package/lib/components/dataSourceComponents/fields/index.js +64 -0
  380. package/lib/components/dataSourceComponents/hooks/useActions.d.ts +16 -0
  381. package/lib/components/dataSourceComponents/hooks/useActions.js +184 -0
  382. package/lib/components/dataSourceComponents/hooks/useCtxActions.d.ts +8 -0
  383. package/lib/components/dataSourceComponents/hooks/useCtxActions.js +41 -0
  384. package/lib/components/dataSourceComponents/hooks/useDataSource.d.ts +5 -0
  385. package/lib/components/dataSourceComponents/hooks/useDataSource.js +41 -0
  386. package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.d.ts +6 -0
  387. package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.js +73 -0
  388. package/lib/components/dataSourceComponents/hooks/useValueMap.d.ts +8 -0
  389. package/lib/components/dataSourceComponents/hooks/useValueMap.js +39 -0
  390. package/lib/components/dataSourceComponents/hooks/useVariables.d.ts +2 -0
  391. package/lib/components/dataSourceComponents/hooks/useVariables.js +40 -0
  392. package/lib/components/dataSourceComponents/provider/actions/ActionsContext.d.ts +6 -0
  393. package/lib/components/dataSourceComponents/provider/actions/ActionsContext.js +27 -0
  394. package/lib/components/dataSourceComponents/provider/actions/ActionsProvider.d.ts +9 -0
  395. package/lib/components/dataSourceComponents/provider/actions/ActionsProvider.js +46 -0
  396. package/lib/components/dataSourceComponents/provider/fields/DataSourceContext.d.ts +75 -0
  397. package/lib/components/dataSourceComponents/provider/fields/DataSourceContext.js +35 -0
  398. package/lib/components/dataSourceComponents/provider/fields/DataSourceProvider.d.ts +8 -0
  399. package/lib/components/dataSourceComponents/provider/fields/DataSourceProvider.js +46 -0
  400. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +9 -0
  401. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.js +39 -0
  402. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  403. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +104 -0
  404. package/lib/components/form/index.d.ts +2 -8
  405. package/lib/components/form/index.js +3 -2
  406. package/lib/components/page/index.js +7 -3
  407. package/lib/components/pisellAnchor/index.js +0 -5
  408. package/lib/components/pisellStatistic/index.js +0 -5
  409. package/lib/components/pisellUpload/index.js +0 -5
  410. package/lib/components/pisellUploadCrop/index.js +0 -5
  411. package/lib/components/pisellWalletCard/index.js +0 -10
  412. package/lib/components/pisellWalletPassCard/index.js +3 -0
  413. package/lib/components/productCard/components/Action/index.d.ts +4 -0
  414. package/lib/components/productCard/components/{Actions → Action}/index.js +11 -10
  415. package/{es/components/productCard/components/Actions → lib/components/productCard/components/Action}/index.less +1 -1
  416. package/lib/components/productCard/components/AmountFooter/index.d.ts +2 -2
  417. package/lib/components/productCard/components/AmountFooter/index.js +8 -8
  418. package/lib/components/productCard/components/AmountFooter/index.less +9 -0
  419. package/lib/components/productCard/components/Header/index.d.ts +1 -1
  420. package/lib/components/productCard/components/Header/index.js +8 -8
  421. package/lib/components/productCard/components/Header/index.less +4 -0
  422. package/lib/components/productCard/components/Note/index.d.ts +1 -1
  423. package/lib/components/productCard/components/Note/index.js +14 -2
  424. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -1
  425. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.js +7 -3
  426. package/lib/components/productCard/components/Packages/components/options/index.less +1 -0
  427. package/lib/components/productCard/components/Packages/index.d.ts +1 -1
  428. package/lib/components/productCard/components/Packages/index.js +7 -3
  429. package/lib/components/productCard/components/Sales/index.d.ts +1 -1
  430. package/lib/components/productCard/components/Sales/index.js +13 -3
  431. package/lib/components/productCard/components/Time/components/Like/index.d.ts +2 -2
  432. package/lib/components/productCard/components/Time/components/Like/index.js +3 -3
  433. package/lib/components/productCard/components/Time/index.d.ts +1 -1
  434. package/lib/components/productCard/components/Time/index.js +17 -10
  435. package/lib/components/productCard/components/Time/index.less +10 -0
  436. package/lib/components/productCard/hooks/useOpenNote.d.ts +3 -0
  437. package/lib/components/productCard/hooks/useOpenNote.js +79 -0
  438. package/lib/components/productCard/index.js +96 -43
  439. package/lib/components/productCard/index.less +8 -3
  440. package/lib/components/productCard/locales.d.ts +24 -0
  441. package/lib/components/productCard/locales.js +47 -0
  442. package/lib/components/productCard/types.d.ts +6 -0
  443. package/lib/components/productCard/utils.js +18 -3
  444. package/lib/components/record-view/index.js +0 -15
  445. package/lib/components/section-footers/index.js +0 -5
  446. package/lib/components/select/index.d.ts +1 -1
  447. package/lib/components/select/index.js +2 -1
  448. package/lib/components/table/utils.d.ts +5 -6
  449. package/lib/components/table/utils.js +7 -1
  450. package/lib/components/tabs/index.js +0 -20
  451. package/lib/hooks/useSetRequest.d.ts +2 -0
  452. package/lib/hooks/useSetRequest.js +42 -0
  453. package/lib/index.d.ts +13 -0
  454. package/lib/index.js +39 -0
  455. package/lib/utils/index.d.ts +1 -0
  456. package/lib/utils/index.js +4 -1
  457. package/lib/utils/mergeWith.d.ts +1 -0
  458. package/lib/utils/mergeWith.js +56 -0
  459. package/lowcode/_utils/defaultSchema.ts +430 -0
  460. package/lowcode/color-picker/__screenshots__/input-1.png +0 -0
  461. package/lowcode/color-picker/meta.ts +298 -0
  462. package/lowcode/color-picker/snippets.ts +9 -0
  463. package/lowcode/data-source-form/__screenshots__/form-1.png +0 -0
  464. package/lowcode/data-source-form/constants.ts +39 -0
  465. package/lowcode/data-source-form/meta.ts +797 -0
  466. package/lowcode/data-source-form/snippets.ts +130 -0
  467. package/lowcode/data-source-form/utils.ts +343 -0
  468. package/lowcode/data-source-table/__screenshots__/table-1.png +0 -0
  469. package/lowcode/data-source-table/meta.ts +2697 -0
  470. package/lowcode/data-source-table/snippets.ts +84 -0
  471. package/lowcode/data-source-table/utils.tsx +140 -0
  472. package/lowcode/form/meta.ts +118 -22
  473. package/lowcode/form/snippets.ts +2 -481
  474. package/lowcode/form-group/meta.ts +346 -0
  475. package/lowcode/form-group/snippets.ts +16 -0
  476. package/lowcode/form-item-checkbox/meta.ts +88 -0
  477. package/lowcode/form-item-checkbox/snippets.ts +35 -0
  478. package/lowcode/form-item-checkbox.group/__screenshots__/checkbox-group-1.png +0 -0
  479. package/lowcode/form-item-checkbox.group/meta.ts +159 -0
  480. package/lowcode/form-item-color-picker/__screenshots__/input-1.png +0 -0
  481. package/lowcode/form-item-color-picker/meta.ts +301 -0
  482. package/lowcode/form-item-color-picker/snippets.ts +9 -0
  483. package/lowcode/form-item-date-picker/__screenshots__/date-picker-1.png +0 -0
  484. package/lowcode/form-item-date-picker/__screenshots__/date-picker-2.png +0 -0
  485. package/lowcode/form-item-date-picker/__screenshots__/date-picker-3.png +0 -0
  486. package/lowcode/form-item-date-picker/__screenshots__/date-picker-4.png +0 -0
  487. package/lowcode/form-item-date-picker/__screenshots__/date-picker-5.png +0 -0
  488. package/lowcode/form-item-date-picker/meta.ts +290 -0
  489. package/lowcode/form-item-date-picker/snippets.ts +50 -0
  490. package/lowcode/form-item-input/__screenshots__/input-1.png +0 -0
  491. package/lowcode/form-item-input/meta.ts +227 -0
  492. package/lowcode/form-item-input/snippets.ts +12 -0
  493. package/lowcode/form-item-input-number/__screenshots__/input-number-1.png +0 -0
  494. package/lowcode/form-item-input-number/meta.ts +228 -0
  495. package/lowcode/form-item-input-number/snippets.ts +12 -0
  496. package/lowcode/form-item-input.json/meta.ts +213 -0
  497. package/lowcode/form-item-input.json/snippets.ts +16 -0
  498. package/lowcode/form-item-input.password/__screenshots__/input-password-1.png +0 -0
  499. package/lowcode/form-item-input.password/meta.ts +198 -0
  500. package/lowcode/form-item-input.password/snippets.ts +12 -0
  501. package/lowcode/form-item-input.text-area/__screenshots__/input-text-area-1.png +0 -0
  502. package/lowcode/form-item-input.text-area/meta.ts +213 -0
  503. package/lowcode/form-item-input.text-area/snippets.ts +16 -0
  504. package/lowcode/form-item-input.url/meta.ts +213 -0
  505. package/lowcode/form-item-input.url/snippets.ts +15 -0
  506. package/lowcode/form-item-radio/__screenshots__/radio-1.png +0 -0
  507. package/lowcode/form-item-radio/meta.ts +72 -0
  508. package/lowcode/form-item-radio/snippets.ts +36 -0
  509. package/lowcode/form-item-radio.group/__screenshots__/radio-group-1.png +0 -0
  510. package/lowcode/form-item-radio.group/meta.ts +221 -0
  511. package/lowcode/form-item-select/__screenshots__/select-1.png +0 -0
  512. package/lowcode/form-item-select/meta.ts +463 -0
  513. package/lowcode/form-item-select/snippets.ts +28 -0
  514. package/lowcode/form-item-time-picker/__screenshots__/time-picker-1.png +0 -0
  515. package/lowcode/form-item-time-picker/meta.ts +235 -0
  516. package/lowcode/form-item-time-picker/snippets.ts +10 -0
  517. package/lowcode/form.item/meta.ts +104 -25
  518. package/lowcode/pisell-text.amount/meta.ts +1 -1
  519. package/lowcode/product-card/snippets.ts +10 -2
  520. package/lowcode/submit-button/meta.ts +1002 -0
  521. package/lowcode/submit-button/snippets.ts +15 -0
  522. package/lowcode/timeline/meta.ts +1 -2
  523. package/package.json +2 -2
  524. package/es/components/productCard/components/Actions/index.d.ts +0 -4
  525. package/es/components/productCard/components/Holder/index.d.ts +0 -4
  526. package/es/components/productCard/components/Holder/index.js +0 -11
  527. package/es/components/productCard/components/Holder/index.less +0 -11
  528. package/lib/components/productCard/components/Actions/index.d.ts +0 -4
  529. package/lib/components/productCard/components/Holder/index.d.ts +0 -4
  530. package/lib/components/productCard/components/Holder/index.less +0 -11
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Password: React.FC<import("antd/es/input").PasswordProps & React.RefAttributes<import("antd").InputRef> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps>;
3
+ export default Password;
@@ -0,0 +1,38 @@
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/Input.Password/index.tsx
30
+ var Input_exports = {};
31
+ __export(Input_exports, {
32
+ default: () => Input_default
33
+ });
34
+ module.exports = __toCommonJS(Input_exports);
35
+ var import_utils = require("../../dataSourceForm/utils");
36
+ var import_WithMode = __toESM(require("./WithMode"));
37
+ var Password = (0, import_utils.withFormItem)(import_WithMode.default);
38
+ var Input_default = Password;
@@ -0,0 +1,5 @@
1
+ import { PasswordProps as AntPasswordProps } from 'antd/es/input/Password';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface PasswordProps extends AntPasswordProps {
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/Input.Password/type.ts
16
+ var type_exports = {};
17
+ module.exports = __toCommonJS(type_exports);
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TextAreaProps } from "./type";
3
+ declare const TextAreaReadPretty: (props: TextAreaProps) => React.JSX.Element;
4
+ export default TextAreaReadPretty;
@@ -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/Input.TextArea/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 TextAreaReadPretty = (props) => {
37
+ return /* @__PURE__ */ import_react.default.createElement("span", null, props.value);
38
+ };
39
+ var ReadPretty_default = TextAreaReadPretty;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TextAreaWithMode: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../../dataSourceForm/utils").WithModeProps>;
3
+ export default TextAreaWithMode;
@@ -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/Input.TextArea/WithMode.ts
30
+ var WithMode_exports = {};
31
+ __export(WithMode_exports, {
32
+ default: () => WithMode_default
33
+ });
34
+ module.exports = __toCommonJS(WithMode_exports);
35
+ var import_antd = require("antd");
36
+ var import_ReadPretty = __toESM(require("./ReadPretty"));
37
+ var import_utils = require("../../dataSourceForm/utils");
38
+ var TextAreaWithMode = (0, import_utils.withMode)(import_antd.Input.TextArea, import_ReadPretty.default);
39
+ var WithMode_default = TextAreaWithMode;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const TextArea: React.FC<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps>;
3
+ export default TextArea;
@@ -0,0 +1,38 @@
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/Input.TextArea/index.tsx
30
+ var Input_exports = {};
31
+ __export(Input_exports, {
32
+ default: () => Input_default
33
+ });
34
+ module.exports = __toCommonJS(Input_exports);
35
+ var import_utils = require("../../dataSourceForm/utils");
36
+ var import_WithMode = __toESM(require("./WithMode"));
37
+ var TextArea = (0, import_utils.withFormItem)(import_WithMode.default);
38
+ var Input_default = TextArea;
@@ -0,0 +1,5 @@
1
+ import { TextAreaProps as AntTextAreaProps } from 'antd/es/input/TextArea';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface TextAreaProps extends AntTextAreaProps {
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/Input.TextArea/type.ts
16
+ var type_exports = {};
17
+ module.exports = __toCommonJS(type_exports);
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { UrlProps } from './type';
3
+ declare const UrlReadPretty: (props: UrlProps) => React.JSX.Element;
4
+ export default UrlReadPretty;
@@ -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/Input.Url/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_antd = require("antd");
37
+ var { Link } = import_antd.Typography;
38
+ var UrlReadPretty = (props) => {
39
+ return /* @__PURE__ */ import_react.default.createElement(Link, { href: props.value }, props.value);
40
+ };
41
+ var ReadPretty_default = UrlReadPretty;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const UrlWithMode: import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../../dataSourceForm/utils").WithModeProps>;
3
+ export default UrlWithMode;
@@ -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/Input.Url/WithMode.ts
30
+ var WithMode_exports = {};
31
+ __export(WithMode_exports, {
32
+ default: () => WithMode_default
33
+ });
34
+ module.exports = __toCommonJS(WithMode_exports);
35
+ var import_antd = require("antd");
36
+ var import_ReadPretty = __toESM(require("./ReadPretty"));
37
+ var import_utils = require("../../dataSourceForm/utils");
38
+ var UrlWithMode = (0, import_utils.withMode)(import_antd.Input, import_ReadPretty.default);
39
+ var WithMode_default = UrlWithMode;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Url: React.FC<import("antd").InputProps & React.RefAttributes<import("antd").InputRef> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps>;
3
+ export default Url;
@@ -0,0 +1,38 @@
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/Input.Url/index.tsx
30
+ var Input_exports = {};
31
+ __export(Input_exports, {
32
+ default: () => Input_default
33
+ });
34
+ module.exports = __toCommonJS(Input_exports);
35
+ var import_utils = require("../../dataSourceForm/utils");
36
+ var import_WithMode = __toESM(require("./WithMode"));
37
+ var Url = (0, import_utils.withFormItem)(import_WithMode.default);
38
+ var Input_default = Url;
@@ -0,0 +1,5 @@
1
+ import { InputProps as AntInputProps } from 'antd';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface UrlProps extends AntInputProps {
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/Input.Url/type.ts
16
+ var type_exports = {};
17
+ module.exports = __toCommonJS(type_exports);
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { InputNumberProps } from './type';
3
+ declare const InputNumberReadPretty: (props: InputNumberProps) => React.JSX.Element;
4
+ export default InputNumberReadPretty;
@@ -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/InputNumber/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 InputNumberReadPretty = (props) => {
37
+ const { value, addonAfter } = props;
38
+ return /* @__PURE__ */ import_react.default.createElement("span", null, value, addonAfter);
39
+ };
40
+ var ReadPretty_default = InputNumberReadPretty;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const InputNumberWithMode: import("react").FC<any>;
3
+ export default InputNumberWithMode;
@@ -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/InputNumber/WithMode.ts
30
+ var WithMode_exports = {};
31
+ __export(WithMode_exports, {
32
+ default: () => WithMode_default
33
+ });
34
+ module.exports = __toCommonJS(WithMode_exports);
35
+ var import_antd = require("antd");
36
+ var import_ReadPretty = __toESM(require("./ReadPretty"));
37
+ var import_utils = require("../../dataSourceForm/utils");
38
+ var InputNumberWithMode = (0, import_utils.withMode)(
39
+ import_antd.InputNumber,
40
+ import_ReadPretty.default
41
+ );
42
+ 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,38 @@
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
+ var InputNumber_default = InputNumber;
@@ -0,0 +1,5 @@
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
+ }
@@ -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,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 } = props;
43
+ const valueMap = (0, import_useValueMap.default)(options || []);
44
+ return (0, import_utils.renderValueWithMap)(value, valueMap);
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;