@formily-design/formily-antd 1.0.0

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 (584) hide show
  1. package/.umirc.js +44 -0
  2. package/LICENSE.md +20 -0
  3. package/README.md +106 -0
  4. package/copy.ts +6 -0
  5. package/esm/common/Container/index.d.ts +6 -0
  6. package/esm/common/Container/index.js +13 -0
  7. package/esm/common/Container/styles.less +5 -0
  8. package/esm/common/FormItemSwitcher/index.d.ts +6 -0
  9. package/esm/common/FormItemSwitcher/index.js +7 -0
  10. package/esm/common/LoadTemplate/index.d.ts +13 -0
  11. package/esm/common/LoadTemplate/index.js +8 -0
  12. package/esm/components/ArrayBase/index.d.ts +1 -0
  13. package/esm/components/ArrayBase/index.js +71 -0
  14. package/esm/components/ArrayCards/index.d.ts +1 -0
  15. package/esm/components/ArrayCards/index.js +1 -0
  16. package/esm/components/ArrayCards/preview.d.ts +4 -0
  17. package/esm/components/ArrayCards/preview.js +206 -0
  18. package/esm/components/ArrayCards/styles.less +2 -0
  19. package/esm/components/ArrayTable/index.d.ts +1 -0
  20. package/esm/components/ArrayTable/index.js +1 -0
  21. package/esm/components/ArrayTable/preview.d.ts +4 -0
  22. package/esm/components/ArrayTable/preview.js +384 -0
  23. package/esm/components/ArrayTable/styles.less +2 -0
  24. package/esm/components/Card/index.d.ts +1 -0
  25. package/esm/components/Card/index.js +1 -0
  26. package/esm/components/Card/preview.d.ts +4 -0
  27. package/esm/components/Card/preview.js +34 -0
  28. package/esm/components/Cascader/index.d.ts +1 -0
  29. package/esm/components/Cascader/index.js +1 -0
  30. package/esm/components/Cascader/preview.d.ts +4 -0
  31. package/esm/components/Cascader/preview.js +28 -0
  32. package/esm/components/Checkbox/index.d.ts +1 -0
  33. package/esm/components/Checkbox/index.js +1 -0
  34. package/esm/components/Checkbox/preview.d.ts +4 -0
  35. package/esm/components/Checkbox/preview.js +33 -0
  36. package/esm/components/DatePicker/index.d.ts +1 -0
  37. package/esm/components/DatePicker/index.js +1 -0
  38. package/esm/components/DatePicker/preview.d.ts +4 -0
  39. package/esm/components/DatePicker/preview.js +50 -0
  40. package/esm/components/Field/index.d.ts +2 -0
  41. package/esm/components/Field/index.js +2 -0
  42. package/esm/components/Field/preview.d.ts +3 -0
  43. package/esm/components/Field/preview.js +127 -0
  44. package/esm/components/Field/shared.d.ts +649 -0
  45. package/esm/components/Field/shared.js +242 -0
  46. package/esm/components/Form/index.d.ts +1 -0
  47. package/esm/components/Form/index.js +1 -0
  48. package/esm/components/Form/preview.d.ts +5 -0
  49. package/esm/components/Form/preview.js +81 -0
  50. package/esm/components/Form/styles.less +32 -0
  51. package/esm/components/FormCollapse/index.d.ts +1 -0
  52. package/esm/components/FormCollapse/index.js +1 -0
  53. package/esm/components/FormCollapse/preview.d.ts +6 -0
  54. package/esm/components/FormCollapse/preview.js +116 -0
  55. package/esm/components/FormGrid/index.d.ts +1 -0
  56. package/esm/components/FormGrid/index.js +1 -0
  57. package/esm/components/FormGrid/preview.d.ts +9 -0
  58. package/esm/components/FormGrid/preview.js +131 -0
  59. package/esm/components/FormGrid/styles.less +5 -0
  60. package/esm/components/FormLayout/index.d.ts +1 -0
  61. package/esm/components/FormLayout/index.js +1 -0
  62. package/esm/components/FormLayout/preview.d.ts +4 -0
  63. package/esm/components/FormLayout/preview.js +29 -0
  64. package/esm/components/FormTab/index.d.ts +1 -0
  65. package/esm/components/FormTab/index.js +1 -0
  66. package/esm/components/FormTab/preview.d.ts +6 -0
  67. package/esm/components/FormTab/preview.js +123 -0
  68. package/esm/components/Input/index.d.ts +1 -0
  69. package/esm/components/Input/index.js +1 -0
  70. package/esm/components/Input/preview.d.ts +4 -0
  71. package/esm/components/Input/preview.js +50 -0
  72. package/esm/components/NumberPicker/index.d.ts +1 -0
  73. package/esm/components/NumberPicker/index.js +1 -0
  74. package/esm/components/NumberPicker/preview.d.ts +4 -0
  75. package/esm/components/NumberPicker/preview.js +29 -0
  76. package/esm/components/Object/index.d.ts +1 -0
  77. package/esm/components/Object/index.js +1 -0
  78. package/esm/components/Object/preview.d.ts +4 -0
  79. package/esm/components/Object/preview.js +26 -0
  80. package/esm/components/Password/index.d.ts +1 -0
  81. package/esm/components/Password/index.js +1 -0
  82. package/esm/components/Password/preview.d.ts +4 -0
  83. package/esm/components/Password/preview.js +28 -0
  84. package/esm/components/Radio/index.d.ts +1 -0
  85. package/esm/components/Radio/index.js +1 -0
  86. package/esm/components/Radio/preview.d.ts +4 -0
  87. package/esm/components/Radio/preview.js +33 -0
  88. package/esm/components/Rate/index.d.ts +1 -0
  89. package/esm/components/Rate/index.js +1 -0
  90. package/esm/components/Rate/preview.d.ts +4 -0
  91. package/esm/components/Rate/preview.js +29 -0
  92. package/esm/components/Select/index.d.ts +1 -0
  93. package/esm/components/Select/index.js +1 -0
  94. package/esm/components/Select/preview.d.ts +4 -0
  95. package/esm/components/Select/preview.js +28 -0
  96. package/esm/components/Slider/index.d.ts +1 -0
  97. package/esm/components/Slider/index.js +1 -0
  98. package/esm/components/Slider/preview.d.ts +4 -0
  99. package/esm/components/Slider/preview.js +29 -0
  100. package/esm/components/Space/index.d.ts +1 -0
  101. package/esm/components/Space/index.js +1 -0
  102. package/esm/components/Space/preview.d.ts +4 -0
  103. package/esm/components/Space/preview.js +30 -0
  104. package/esm/components/Switch/index.d.ts +1 -0
  105. package/esm/components/Switch/index.js +1 -0
  106. package/esm/components/Switch/preview.d.ts +4 -0
  107. package/esm/components/Switch/preview.js +29 -0
  108. package/esm/components/Text/index.d.ts +1 -0
  109. package/esm/components/Text/index.js +1 -0
  110. package/esm/components/Text/preview.d.ts +11 -0
  111. package/esm/components/Text/preview.js +32 -0
  112. package/esm/components/Text/styles.less +10 -0
  113. package/esm/components/TimePicker/index.d.ts +1 -0
  114. package/esm/components/TimePicker/index.js +1 -0
  115. package/esm/components/TimePicker/preview.d.ts +4 -0
  116. package/esm/components/TimePicker/preview.js +50 -0
  117. package/esm/components/Transfer/index.d.ts +1 -0
  118. package/esm/components/Transfer/index.js +1 -0
  119. package/esm/components/Transfer/preview.d.ts +4 -0
  120. package/esm/components/Transfer/preview.js +28 -0
  121. package/esm/components/TreeSelect/index.d.ts +1 -0
  122. package/esm/components/TreeSelect/index.js +1 -0
  123. package/esm/components/TreeSelect/preview.d.ts +4 -0
  124. package/esm/components/TreeSelect/preview.js +28 -0
  125. package/esm/components/Upload/index.d.ts +1 -0
  126. package/esm/components/Upload/index.js +1 -0
  127. package/esm/components/Upload/preview.d.ts +4 -0
  128. package/esm/components/Upload/preview.js +56 -0
  129. package/esm/components/index.d.ts +27 -0
  130. package/esm/components/index.js +27 -0
  131. package/esm/hooks/index.d.ts +1 -0
  132. package/esm/hooks/index.js +1 -0
  133. package/esm/hooks/useDropTemplate.d.ts +2 -0
  134. package/esm/hooks/useDropTemplate.js +20 -0
  135. package/esm/index.d.ts +3 -0
  136. package/esm/index.js +3 -0
  137. package/esm/locales/ArrayBase.d.ts +77 -0
  138. package/esm/locales/ArrayBase.js +91 -0
  139. package/esm/locales/ArrayCards.d.ts +1 -0
  140. package/esm/locales/ArrayCards.js +19 -0
  141. package/esm/locales/ArrayTable.d.ts +138 -0
  142. package/esm/locales/ArrayTable.js +129 -0
  143. package/esm/locales/Card.d.ts +44 -0
  144. package/esm/locales/Card.js +44 -0
  145. package/esm/locales/Cascader.d.ts +59 -0
  146. package/esm/locales/Cascader.js +59 -0
  147. package/esm/locales/Checkbox.d.ts +11 -0
  148. package/esm/locales/Checkbox.js +11 -0
  149. package/esm/locales/Component.d.ts +53 -0
  150. package/esm/locales/Component.js +53 -0
  151. package/esm/locales/DatePicker.d.ts +75 -0
  152. package/esm/locales/DatePicker.js +86 -0
  153. package/esm/locales/Field.d.ts +341 -0
  154. package/esm/locales/Field.js +338 -0
  155. package/esm/locales/Form.d.ts +1 -0
  156. package/esm/locales/Form.js +133 -0
  157. package/esm/locales/FormCollapse.d.ts +88 -0
  158. package/esm/locales/FormCollapse.js +82 -0
  159. package/esm/locales/FormGrid.d.ts +76 -0
  160. package/esm/locales/FormGrid.js +76 -0
  161. package/esm/locales/FormLayout.d.ts +128 -0
  162. package/esm/locales/FormLayout.js +122 -0
  163. package/esm/locales/FormTab.d.ts +82 -0
  164. package/esm/locales/FormTab.js +82 -0
  165. package/esm/locales/Input.d.ts +50 -0
  166. package/esm/locales/Input.js +50 -0
  167. package/esm/locales/NumberPicker.d.ts +77 -0
  168. package/esm/locales/NumberPicker.js +77 -0
  169. package/esm/locales/Object.d.ts +11 -0
  170. package/esm/locales/Object.js +11 -0
  171. package/esm/locales/Password.d.ts +1 -0
  172. package/esm/locales/Password.js +13 -0
  173. package/esm/locales/Radio.d.ts +47 -0
  174. package/esm/locales/Radio.js +29 -0
  175. package/esm/locales/Rate.d.ts +41 -0
  176. package/esm/locales/Rate.js +32 -0
  177. package/esm/locales/Select.d.ts +125 -0
  178. package/esm/locales/Select.js +125 -0
  179. package/esm/locales/Slider.d.ts +71 -0
  180. package/esm/locales/Slider.js +71 -0
  181. package/esm/locales/Space.d.ts +53 -0
  182. package/esm/locales/Space.js +50 -0
  183. package/esm/locales/Switch.d.ts +11 -0
  184. package/esm/locales/Switch.js +11 -0
  185. package/esm/locales/Text.d.ts +38 -0
  186. package/esm/locales/Text.js +38 -0
  187. package/esm/locales/TextArea.d.ts +35 -0
  188. package/esm/locales/TextArea.js +35 -0
  189. package/esm/locales/TimePicker.d.ts +2 -0
  190. package/esm/locales/TimePicker.js +72 -0
  191. package/esm/locales/Transfer.d.ts +56 -0
  192. package/esm/locales/Transfer.js +38 -0
  193. package/esm/locales/TreeSelect.d.ts +181 -0
  194. package/esm/locales/TreeSelect.js +178 -0
  195. package/esm/locales/Upload.d.ts +78 -0
  196. package/esm/locales/Upload.js +92 -0
  197. package/esm/locales/Void.d.ts +11 -0
  198. package/esm/locales/Void.js +11 -0
  199. package/esm/locales/all.d.ts +31 -0
  200. package/esm/locales/all.js +31 -0
  201. package/esm/locales/index.d.ts +2 -0
  202. package/esm/locales/index.js +2 -0
  203. package/esm/schemas/ArrayCards.d.ts +59 -0
  204. package/esm/schemas/ArrayCards.js +4 -0
  205. package/esm/schemas/ArrayTable.d.ts +5 -0
  206. package/esm/schemas/ArrayTable.js +111 -0
  207. package/esm/schemas/CSSStyle.d.ts +2 -0
  208. package/esm/schemas/CSSStyle.js +49 -0
  209. package/esm/schemas/Card.d.ts +4 -0
  210. package/esm/schemas/Card.js +45 -0
  211. package/esm/schemas/Cascader.d.ts +2 -0
  212. package/esm/schemas/Cascader.js +74 -0
  213. package/esm/schemas/Checkbox.d.ts +4 -0
  214. package/esm/schemas/Checkbox.js +10 -0
  215. package/esm/schemas/DatePicker.d.ts +4 -0
  216. package/esm/schemas/DatePicker.js +104 -0
  217. package/esm/schemas/Form.d.ts +2 -0
  218. package/esm/schemas/Form.js +6 -0
  219. package/esm/schemas/FormCollapse.d.ts +4 -0
  220. package/esm/schemas/FormCollapse.js +58 -0
  221. package/esm/schemas/FormGrid.d.ts +4 -0
  222. package/esm/schemas/FormGrid.js +76 -0
  223. package/esm/schemas/FormItem.d.ts +2 -0
  224. package/esm/schemas/FormItem.js +138 -0
  225. package/esm/schemas/FormLayout.d.ts +2 -0
  226. package/esm/schemas/FormLayout.js +121 -0
  227. package/esm/schemas/FormTab.d.ts +4 -0
  228. package/esm/schemas/FormTab.js +43 -0
  229. package/esm/schemas/Input.d.ts +4 -0
  230. package/esm/schemas/Input.js +89 -0
  231. package/esm/schemas/NumberPicker.d.ts +2 -0
  232. package/esm/schemas/NumberPicker.js +79 -0
  233. package/esm/schemas/Password.d.ts +2 -0
  234. package/esm/schemas/Password.js +9 -0
  235. package/esm/schemas/Radio.d.ts +4 -0
  236. package/esm/schemas/Radio.js +35 -0
  237. package/esm/schemas/Rate.d.ts +2 -0
  238. package/esm/schemas/Rate.js +38 -0
  239. package/esm/schemas/Select.d.ts +2 -0
  240. package/esm/schemas/Select.js +159 -0
  241. package/esm/schemas/Slider.d.ts +2 -0
  242. package/esm/schemas/Slider.js +77 -0
  243. package/esm/schemas/Space.d.ts +2 -0
  244. package/esm/schemas/Space.js +39 -0
  245. package/esm/schemas/Switch.d.ts +2 -0
  246. package/esm/schemas/Switch.js +19 -0
  247. package/esm/schemas/Text.d.ts +2 -0
  248. package/esm/schemas/Text.js +19 -0
  249. package/esm/schemas/TimePicker.d.ts +116 -0
  250. package/esm/schemas/TimePicker.js +120 -0
  251. package/esm/schemas/Transfer.d.ts +2 -0
  252. package/esm/schemas/Transfer.js +44 -0
  253. package/esm/schemas/TreeSelect.d.ts +2 -0
  254. package/esm/schemas/TreeSelect.js +137 -0
  255. package/esm/schemas/Upload.d.ts +4 -0
  256. package/esm/schemas/Upload.js +99 -0
  257. package/esm/schemas/all.d.ts +27 -0
  258. package/esm/schemas/all.js +27 -0
  259. package/esm/schemas/index.d.ts +2 -0
  260. package/esm/schemas/index.js +2 -0
  261. package/esm/shared.d.ts +13 -0
  262. package/esm/shared.js +86 -0
  263. package/lib/common/Container/index.d.ts +6 -0
  264. package/lib/common/Container/index.js +20 -0
  265. package/lib/common/Container/styles.less +5 -0
  266. package/lib/common/FormItemSwitcher/index.d.ts +6 -0
  267. package/lib/common/FormItemSwitcher/index.js +14 -0
  268. package/lib/common/LoadTemplate/index.d.ts +13 -0
  269. package/lib/common/LoadTemplate/index.js +15 -0
  270. package/lib/components/ArrayBase/index.d.ts +1 -0
  271. package/lib/components/ArrayBase/index.js +75 -0
  272. package/lib/components/ArrayCards/index.d.ts +1 -0
  273. package/lib/components/ArrayCards/index.js +17 -0
  274. package/lib/components/ArrayCards/preview.d.ts +4 -0
  275. package/lib/components/ArrayCards/preview.js +245 -0
  276. package/lib/components/ArrayCards/styles.less +2 -0
  277. package/lib/components/ArrayTable/index.d.ts +1 -0
  278. package/lib/components/ArrayTable/index.js +17 -0
  279. package/lib/components/ArrayTable/preview.d.ts +4 -0
  280. package/lib/components/ArrayTable/preview.js +390 -0
  281. package/lib/components/ArrayTable/styles.less +2 -0
  282. package/lib/components/Card/index.d.ts +1 -0
  283. package/lib/components/Card/index.js +17 -0
  284. package/lib/components/Card/preview.d.ts +4 -0
  285. package/lib/components/Card/preview.js +41 -0
  286. package/lib/components/Cascader/index.d.ts +1 -0
  287. package/lib/components/Cascader/index.js +17 -0
  288. package/lib/components/Cascader/preview.d.ts +4 -0
  289. package/lib/components/Cascader/preview.js +31 -0
  290. package/lib/components/Checkbox/index.d.ts +1 -0
  291. package/lib/components/Checkbox/index.js +17 -0
  292. package/lib/components/Checkbox/preview.d.ts +4 -0
  293. package/lib/components/Checkbox/preview.js +36 -0
  294. package/lib/components/DatePicker/index.d.ts +1 -0
  295. package/lib/components/DatePicker/index.js +17 -0
  296. package/lib/components/DatePicker/preview.d.ts +4 -0
  297. package/lib/components/DatePicker/preview.js +53 -0
  298. package/lib/components/Field/index.d.ts +2 -0
  299. package/lib/components/Field/index.js +18 -0
  300. package/lib/components/Field/preview.d.ts +3 -0
  301. package/lib/components/Field/preview.js +133 -0
  302. package/lib/components/Field/shared.d.ts +649 -0
  303. package/lib/components/Field/shared.js +248 -0
  304. package/lib/components/Form/index.d.ts +1 -0
  305. package/lib/components/Form/index.js +17 -0
  306. package/lib/components/Form/preview.d.ts +5 -0
  307. package/lib/components/Form/preview.js +117 -0
  308. package/lib/components/Form/styles.less +32 -0
  309. package/lib/components/FormCollapse/index.d.ts +1 -0
  310. package/lib/components/FormCollapse/index.js +17 -0
  311. package/lib/components/FormCollapse/preview.d.ts +6 -0
  312. package/lib/components/FormCollapse/preview.js +152 -0
  313. package/lib/components/FormGrid/index.d.ts +1 -0
  314. package/lib/components/FormGrid/index.js +17 -0
  315. package/lib/components/FormGrid/preview.d.ts +9 -0
  316. package/lib/components/FormGrid/preview.js +137 -0
  317. package/lib/components/FormGrid/styles.less +5 -0
  318. package/lib/components/FormLayout/index.d.ts +1 -0
  319. package/lib/components/FormLayout/index.js +17 -0
  320. package/lib/components/FormLayout/preview.d.ts +4 -0
  321. package/lib/components/FormLayout/preview.js +32 -0
  322. package/lib/components/FormTab/index.d.ts +1 -0
  323. package/lib/components/FormTab/index.js +17 -0
  324. package/lib/components/FormTab/preview.d.ts +6 -0
  325. package/lib/components/FormTab/preview.js +159 -0
  326. package/lib/components/Input/index.d.ts +1 -0
  327. package/lib/components/Input/index.js +17 -0
  328. package/lib/components/Input/preview.d.ts +4 -0
  329. package/lib/components/Input/preview.js +53 -0
  330. package/lib/components/NumberPicker/index.d.ts +1 -0
  331. package/lib/components/NumberPicker/index.js +17 -0
  332. package/lib/components/NumberPicker/preview.d.ts +4 -0
  333. package/lib/components/NumberPicker/preview.js +32 -0
  334. package/lib/components/Object/index.d.ts +1 -0
  335. package/lib/components/Object/index.js +17 -0
  336. package/lib/components/Object/preview.d.ts +4 -0
  337. package/lib/components/Object/preview.js +29 -0
  338. package/lib/components/Password/index.d.ts +1 -0
  339. package/lib/components/Password/index.js +17 -0
  340. package/lib/components/Password/preview.d.ts +4 -0
  341. package/lib/components/Password/preview.js +31 -0
  342. package/lib/components/Radio/index.d.ts +1 -0
  343. package/lib/components/Radio/index.js +17 -0
  344. package/lib/components/Radio/preview.d.ts +4 -0
  345. package/lib/components/Radio/preview.js +36 -0
  346. package/lib/components/Rate/index.d.ts +1 -0
  347. package/lib/components/Rate/index.js +17 -0
  348. package/lib/components/Rate/preview.d.ts +4 -0
  349. package/lib/components/Rate/preview.js +32 -0
  350. package/lib/components/Select/index.d.ts +1 -0
  351. package/lib/components/Select/index.js +17 -0
  352. package/lib/components/Select/preview.d.ts +4 -0
  353. package/lib/components/Select/preview.js +31 -0
  354. package/lib/components/Slider/index.d.ts +1 -0
  355. package/lib/components/Slider/index.js +17 -0
  356. package/lib/components/Slider/preview.d.ts +4 -0
  357. package/lib/components/Slider/preview.js +32 -0
  358. package/lib/components/Space/index.d.ts +1 -0
  359. package/lib/components/Space/index.js +17 -0
  360. package/lib/components/Space/preview.d.ts +4 -0
  361. package/lib/components/Space/preview.js +33 -0
  362. package/lib/components/Switch/index.d.ts +1 -0
  363. package/lib/components/Switch/index.js +17 -0
  364. package/lib/components/Switch/preview.d.ts +4 -0
  365. package/lib/components/Switch/preview.js +32 -0
  366. package/lib/components/Text/index.d.ts +1 -0
  367. package/lib/components/Text/index.js +17 -0
  368. package/lib/components/Text/preview.d.ts +11 -0
  369. package/lib/components/Text/preview.js +39 -0
  370. package/lib/components/Text/styles.less +10 -0
  371. package/lib/components/TimePicker/index.d.ts +1 -0
  372. package/lib/components/TimePicker/index.js +17 -0
  373. package/lib/components/TimePicker/preview.d.ts +4 -0
  374. package/lib/components/TimePicker/preview.js +53 -0
  375. package/lib/components/Transfer/index.d.ts +1 -0
  376. package/lib/components/Transfer/index.js +17 -0
  377. package/lib/components/Transfer/preview.d.ts +4 -0
  378. package/lib/components/Transfer/preview.js +31 -0
  379. package/lib/components/TreeSelect/index.d.ts +1 -0
  380. package/lib/components/TreeSelect/index.js +17 -0
  381. package/lib/components/TreeSelect/preview.d.ts +4 -0
  382. package/lib/components/TreeSelect/preview.js +31 -0
  383. package/lib/components/Upload/index.d.ts +1 -0
  384. package/lib/components/Upload/index.js +17 -0
  385. package/lib/components/Upload/preview.d.ts +4 -0
  386. package/lib/components/Upload/preview.js +59 -0
  387. package/lib/components/index.d.ts +27 -0
  388. package/lib/components/index.js +43 -0
  389. package/lib/hooks/index.d.ts +1 -0
  390. package/lib/hooks/index.js +17 -0
  391. package/lib/hooks/useDropTemplate.d.ts +2 -0
  392. package/lib/hooks/useDropTemplate.js +24 -0
  393. package/lib/index.d.ts +3 -0
  394. package/lib/index.js +19 -0
  395. package/lib/locales/ArrayBase.d.ts +77 -0
  396. package/lib/locales/ArrayBase.js +94 -0
  397. package/lib/locales/ArrayCards.d.ts +1 -0
  398. package/lib/locales/ArrayCards.js +22 -0
  399. package/lib/locales/ArrayTable.d.ts +138 -0
  400. package/lib/locales/ArrayTable.js +132 -0
  401. package/lib/locales/Card.d.ts +44 -0
  402. package/lib/locales/Card.js +47 -0
  403. package/lib/locales/Cascader.d.ts +59 -0
  404. package/lib/locales/Cascader.js +62 -0
  405. package/lib/locales/Checkbox.d.ts +11 -0
  406. package/lib/locales/Checkbox.js +14 -0
  407. package/lib/locales/Component.d.ts +53 -0
  408. package/lib/locales/Component.js +56 -0
  409. package/lib/locales/DatePicker.d.ts +75 -0
  410. package/lib/locales/DatePicker.js +89 -0
  411. package/lib/locales/Field.d.ts +341 -0
  412. package/lib/locales/Field.js +341 -0
  413. package/lib/locales/Form.d.ts +1 -0
  414. package/lib/locales/Form.js +136 -0
  415. package/lib/locales/FormCollapse.d.ts +88 -0
  416. package/lib/locales/FormCollapse.js +85 -0
  417. package/lib/locales/FormGrid.d.ts +76 -0
  418. package/lib/locales/FormGrid.js +79 -0
  419. package/lib/locales/FormLayout.d.ts +128 -0
  420. package/lib/locales/FormLayout.js +125 -0
  421. package/lib/locales/FormTab.d.ts +82 -0
  422. package/lib/locales/FormTab.js +85 -0
  423. package/lib/locales/Input.d.ts +50 -0
  424. package/lib/locales/Input.js +53 -0
  425. package/lib/locales/NumberPicker.d.ts +77 -0
  426. package/lib/locales/NumberPicker.js +80 -0
  427. package/lib/locales/Object.d.ts +11 -0
  428. package/lib/locales/Object.js +14 -0
  429. package/lib/locales/Password.d.ts +1 -0
  430. package/lib/locales/Password.js +16 -0
  431. package/lib/locales/Radio.d.ts +47 -0
  432. package/lib/locales/Radio.js +32 -0
  433. package/lib/locales/Rate.d.ts +41 -0
  434. package/lib/locales/Rate.js +35 -0
  435. package/lib/locales/Select.d.ts +125 -0
  436. package/lib/locales/Select.js +128 -0
  437. package/lib/locales/Slider.d.ts +71 -0
  438. package/lib/locales/Slider.js +74 -0
  439. package/lib/locales/Space.d.ts +53 -0
  440. package/lib/locales/Space.js +53 -0
  441. package/lib/locales/Switch.d.ts +11 -0
  442. package/lib/locales/Switch.js +14 -0
  443. package/lib/locales/Text.d.ts +38 -0
  444. package/lib/locales/Text.js +41 -0
  445. package/lib/locales/TextArea.d.ts +35 -0
  446. package/lib/locales/TextArea.js +38 -0
  447. package/lib/locales/TimePicker.d.ts +2 -0
  448. package/lib/locales/TimePicker.js +75 -0
  449. package/lib/locales/Transfer.d.ts +56 -0
  450. package/lib/locales/Transfer.js +41 -0
  451. package/lib/locales/TreeSelect.d.ts +181 -0
  452. package/lib/locales/TreeSelect.js +181 -0
  453. package/lib/locales/Upload.d.ts +78 -0
  454. package/lib/locales/Upload.js +95 -0
  455. package/lib/locales/Void.d.ts +11 -0
  456. package/lib/locales/Void.js +14 -0
  457. package/lib/locales/all.d.ts +31 -0
  458. package/lib/locales/all.js +47 -0
  459. package/lib/locales/index.d.ts +2 -0
  460. package/lib/locales/index.js +38 -0
  461. package/lib/schemas/ArrayCards.d.ts +59 -0
  462. package/lib/schemas/ArrayCards.js +7 -0
  463. package/lib/schemas/ArrayTable.d.ts +5 -0
  464. package/lib/schemas/ArrayTable.js +114 -0
  465. package/lib/schemas/CSSStyle.d.ts +2 -0
  466. package/lib/schemas/CSSStyle.js +52 -0
  467. package/lib/schemas/Card.d.ts +4 -0
  468. package/lib/schemas/Card.js +48 -0
  469. package/lib/schemas/Cascader.d.ts +2 -0
  470. package/lib/schemas/Cascader.js +77 -0
  471. package/lib/schemas/Checkbox.d.ts +4 -0
  472. package/lib/schemas/Checkbox.js +13 -0
  473. package/lib/schemas/DatePicker.d.ts +4 -0
  474. package/lib/schemas/DatePicker.js +107 -0
  475. package/lib/schemas/Form.d.ts +2 -0
  476. package/lib/schemas/Form.js +9 -0
  477. package/lib/schemas/FormCollapse.d.ts +4 -0
  478. package/lib/schemas/FormCollapse.js +61 -0
  479. package/lib/schemas/FormGrid.d.ts +4 -0
  480. package/lib/schemas/FormGrid.js +79 -0
  481. package/lib/schemas/FormItem.d.ts +2 -0
  482. package/lib/schemas/FormItem.js +141 -0
  483. package/lib/schemas/FormLayout.d.ts +2 -0
  484. package/lib/schemas/FormLayout.js +124 -0
  485. package/lib/schemas/FormTab.d.ts +4 -0
  486. package/lib/schemas/FormTab.js +46 -0
  487. package/lib/schemas/Input.d.ts +4 -0
  488. package/lib/schemas/Input.js +92 -0
  489. package/lib/schemas/NumberPicker.d.ts +2 -0
  490. package/lib/schemas/NumberPicker.js +82 -0
  491. package/lib/schemas/Password.d.ts +2 -0
  492. package/lib/schemas/Password.js +12 -0
  493. package/lib/schemas/Radio.d.ts +4 -0
  494. package/lib/schemas/Radio.js +38 -0
  495. package/lib/schemas/Rate.d.ts +2 -0
  496. package/lib/schemas/Rate.js +41 -0
  497. package/lib/schemas/Select.d.ts +2 -0
  498. package/lib/schemas/Select.js +162 -0
  499. package/lib/schemas/Slider.d.ts +2 -0
  500. package/lib/schemas/Slider.js +80 -0
  501. package/lib/schemas/Space.d.ts +2 -0
  502. package/lib/schemas/Space.js +42 -0
  503. package/lib/schemas/Switch.d.ts +2 -0
  504. package/lib/schemas/Switch.js +22 -0
  505. package/lib/schemas/Text.d.ts +2 -0
  506. package/lib/schemas/Text.js +22 -0
  507. package/lib/schemas/TimePicker.d.ts +116 -0
  508. package/lib/schemas/TimePicker.js +123 -0
  509. package/lib/schemas/Transfer.d.ts +2 -0
  510. package/lib/schemas/Transfer.js +47 -0
  511. package/lib/schemas/TreeSelect.d.ts +2 -0
  512. package/lib/schemas/TreeSelect.js +140 -0
  513. package/lib/schemas/Upload.d.ts +4 -0
  514. package/lib/schemas/Upload.js +102 -0
  515. package/lib/schemas/all.d.ts +27 -0
  516. package/lib/schemas/all.js +43 -0
  517. package/lib/schemas/index.d.ts +2 -0
  518. package/lib/schemas/index.js +38 -0
  519. package/lib/shared.d.ts +13 -0
  520. package/lib/shared.js +98 -0
  521. package/package.json +75 -0
  522. package/playground/components/AsyncSelect/AsyncSelect.tsx +38 -0
  523. package/playground/components/AsyncSelect/index.tsx +1 -0
  524. package/playground/components/AsyncSelect/preview.tsx +36 -0
  525. package/playground/components/ClickEventSetter/ActionConfigModal.tsx +173 -0
  526. package/playground/components/ClickEventSetter/ActionList.tsx +67 -0
  527. package/playground/components/ClickEventSetter/DownloadPanel.tsx +24 -0
  528. package/playground/components/ClickEventSetter/NavigationPanel.tsx +42 -0
  529. package/playground/components/ClickEventSetter/RequestPanel.tsx +190 -0
  530. package/playground/components/ClickEventSetter/index.tsx +90 -0
  531. package/playground/components/ClickEventSetter/styles.less +89 -0
  532. package/playground/components/ClickEventSetter/types.ts +43 -0
  533. package/playground/components/FormButton/FormButton.tsx +189 -0
  534. package/playground/components/FormButton/hooks/useEventActionExecutor.ts +65 -0
  535. package/playground/components/FormButton/index.ts +1 -0
  536. package/playground/components/FormButton/preview.tsx +60 -0
  537. package/playground/components/FormButton/utils/actionExecutors.ts +96 -0
  538. package/playground/components/FormButtonGroup/FormButtonGroup.tsx +21 -0
  539. package/playground/components/FormButtonGroup/index.ts +1 -0
  540. package/playground/components/FormButtonGroup/preview.tsx +66 -0
  541. package/playground/components/FormList/FormList.tsx +164 -0
  542. package/playground/components/FormList/index.tsx +1 -0
  543. package/playground/components/FormList/preview.tsx +429 -0
  544. package/playground/components/LocationPicker/LocationModal.tsx +328 -0
  545. package/playground/components/LocationPicker/LocationPicker.tsx +163 -0
  546. package/playground/components/LocationPicker/SearchBox.tsx +122 -0
  547. package/playground/components/LocationPicker/api.ts +77 -0
  548. package/playground/components/LocationPicker/constants.ts +2 -0
  549. package/playground/components/LocationPicker/index.tsx +44 -0
  550. package/playground/components/LocationPicker/types.ts +160 -0
  551. package/playground/components/LocationPicker/utils.ts +46 -0
  552. package/playground/components/ResourceIcon/index.module.less +10 -0
  553. package/playground/components/ResourceIcon/index.tsx +10 -0
  554. package/playground/designerLocales/en-US.ts +38 -0
  555. package/playground/designerLocales/index.ts +6 -0
  556. package/playground/designerLocales/ko-KR.ts +10 -0
  557. package/playground/designerLocales/zh-CN.ts +38 -0
  558. package/playground/locales/FormButton.ts +38 -0
  559. package/playground/locales/FormButtonGroup.ts +29 -0
  560. package/playground/locales/LocationPicker.ts +30 -0
  561. package/playground/locales/all.ts +3 -0
  562. package/playground/locales/index.ts +3 -0
  563. package/playground/main.tsx +222 -0
  564. package/playground/react-app-env.d.ts +4 -0
  565. package/playground/request.ts +123 -0
  566. package/playground/schemas/FormButton.ts +42 -0
  567. package/playground/schemas/FormButtonGroup.ts +24 -0
  568. package/playground/schemas/LocationPicker.ts +14 -0
  569. package/playground/schemas/all.ts +3 -0
  570. package/playground/schemas/index.ts +3 -0
  571. package/playground/service/index.ts +1 -0
  572. package/playground/service/schema.ts +22 -0
  573. package/playground/template.ejs +20 -0
  574. package/playground/utils.ts +744 -0
  575. package/playground/webpack.base.ts +123 -0
  576. package/playground/webpack.dev.ts +64 -0
  577. package/playground/webpack.prod.ts +46 -0
  578. package/playground/widgets/ActionsWidget.tsx +58 -0
  579. package/playground/widgets/LogoWidget.tsx +20 -0
  580. package/playground/widgets/MarkupSchemaWidget.tsx +164 -0
  581. package/playground/widgets/PreviewWidget.tsx +188 -0
  582. package/playground/widgets/SchemaEditorWidget.tsx +27 -0
  583. package/playground/widgets/index.ts +5 -0
  584. package/tsconfig.build.json +12 -0
@@ -0,0 +1,76 @@
1
+ export declare const FormGrid: {
2
+ 'zh-CN': {
3
+ title: string;
4
+ addGridColumn: string;
5
+ settings: {
6
+ 'x-component-props': {
7
+ minWidth: string;
8
+ minColumns: string;
9
+ maxWidth: string;
10
+ maxColumns: string;
11
+ breakpoints: string;
12
+ columnGap: string;
13
+ rowGap: string;
14
+ colWrap: string;
15
+ };
16
+ };
17
+ };
18
+ 'en-US': {
19
+ title: string;
20
+ addGridColumn: string;
21
+ settings: {
22
+ 'x-component-props': {
23
+ minWidth: string;
24
+ minColumns: string;
25
+ maxWidth: string;
26
+ maxColumns: string;
27
+ breakpoints: string;
28
+ columnGap: string;
29
+ rowGap: string;
30
+ colWrap: string;
31
+ };
32
+ };
33
+ };
34
+ 'ko-KR': {
35
+ title: string;
36
+ addGridColumn: string;
37
+ settings: {
38
+ 'x-component-props': {
39
+ minWidth: string;
40
+ minColumns: string;
41
+ maxWidth: string;
42
+ maxColumns: string;
43
+ breakpoints: string;
44
+ columnGap: string;
45
+ rowGap: string;
46
+ colWrap: string;
47
+ };
48
+ };
49
+ };
50
+ };
51
+ export declare const FormGridColumn: {
52
+ 'zh-CN': {
53
+ title: string;
54
+ settings: {
55
+ 'x-component-props': {
56
+ gridSpan: string;
57
+ };
58
+ };
59
+ };
60
+ 'en-US': {
61
+ title: string;
62
+ settings: {
63
+ 'x-component-props': {
64
+ gridSpan: string;
65
+ };
66
+ };
67
+ };
68
+ 'ko-KR': {
69
+ title: string;
70
+ settings: {
71
+ 'x-component-props': {
72
+ gridSpan: string;
73
+ };
74
+ };
75
+ };
76
+ };
@@ -0,0 +1,76 @@
1
+ export const FormGrid = {
2
+ 'zh-CN': {
3
+ title: '网格布局',
4
+ addGridColumn: '添加网格列',
5
+ settings: {
6
+ 'x-component-props': {
7
+ minWidth: '最小宽度',
8
+ minColumns: '最小列数',
9
+ maxWidth: '最大宽度',
10
+ maxColumns: '最大列数',
11
+ breakpoints: '响应式断点',
12
+ columnGap: '列间距',
13
+ rowGap: '行间距',
14
+ colWrap: '自动换行',
15
+ },
16
+ },
17
+ },
18
+ 'en-US': {
19
+ title: 'Grid',
20
+ addGridColumn: 'Add Grid Column',
21
+ settings: {
22
+ 'x-component-props': {
23
+ minWidth: 'Min Width',
24
+ minColumns: 'Min Columns',
25
+ maxWidth: 'Max Width',
26
+ maxColumns: 'Max Columns',
27
+ breakpoints: 'Breakpoints',
28
+ columnGap: 'Column Gap',
29
+ rowGap: 'Row Gap',
30
+ colWrap: 'Col Wrap',
31
+ },
32
+ },
33
+ },
34
+ 'ko-KR': {
35
+ title: '그리드 열',
36
+ addGridColumn: '그리드 열 추가',
37
+ settings: {
38
+ 'x-component-props': {
39
+ minWidth: '최소 너비',
40
+ minColumns: '최소 열 개수',
41
+ maxWidth: '최대 너비',
42
+ maxColumns: '최대 열 개수',
43
+ breakpoints: '중단점',
44
+ columnGap: '열 간격',
45
+ rowGap: '행 간격',
46
+ colWrap: '자동 줄바꿈',
47
+ },
48
+ },
49
+ },
50
+ };
51
+ export const FormGridColumn = {
52
+ 'zh-CN': {
53
+ title: '网格列',
54
+ settings: {
55
+ 'x-component-props': {
56
+ gridSpan: '跨列栏数',
57
+ },
58
+ },
59
+ },
60
+ 'en-US': {
61
+ title: 'Grid Column',
62
+ settings: {
63
+ 'x-component-props': {
64
+ gridSpan: 'Grid Span',
65
+ },
66
+ },
67
+ },
68
+ 'ko-KR': {
69
+ title: '그리드 열',
70
+ settings: {
71
+ 'x-component-props': {
72
+ gridSpan: '그리드 스팬',
73
+ },
74
+ },
75
+ },
76
+ };
@@ -0,0 +1,128 @@
1
+ export declare const FormLayout: {
2
+ 'zh-CN': {
3
+ title: string;
4
+ settings: {
5
+ 'x-component-props': {
6
+ labelCol: string;
7
+ wrapperCol: string;
8
+ colon: string;
9
+ labelAlign: {
10
+ title: string;
11
+ dataSource: string[];
12
+ };
13
+ wrapperAlign: {
14
+ title: string;
15
+ dataSource: string[];
16
+ };
17
+ labelWrap: string;
18
+ wrapperWrap: string;
19
+ labelWidth: string;
20
+ wrapperWidth: string;
21
+ fullness: string;
22
+ inset: string;
23
+ shallow: string;
24
+ bordered: string;
25
+ size: {
26
+ title: string;
27
+ dataSource: string[];
28
+ };
29
+ layout: {
30
+ title: string;
31
+ dataSource: string[];
32
+ };
33
+ feedbackLayout: {
34
+ title: string;
35
+ dataSource: string[];
36
+ };
37
+ tooltipLayout: {
38
+ title: string;
39
+ dataSource: string[];
40
+ };
41
+ };
42
+ };
43
+ };
44
+ 'en-US': {
45
+ title: string;
46
+ settings: {
47
+ 'x-component-props': {
48
+ labelCol: string;
49
+ wrapperCol: string;
50
+ colon: string;
51
+ labelAlign: {
52
+ title: string;
53
+ dataSource: string[];
54
+ };
55
+ wrapperAlign: {
56
+ title: string;
57
+ dataSource: string[];
58
+ };
59
+ labelWrap: string;
60
+ wrapperWrap: string;
61
+ labelWidth: string;
62
+ wrapperWidth: string;
63
+ fullness: string;
64
+ inset: string;
65
+ shallow: string;
66
+ bordered: string;
67
+ size: {
68
+ title: string;
69
+ dataSource: string[];
70
+ };
71
+ layout: {
72
+ title: string;
73
+ dataSource: string[];
74
+ };
75
+ feedbackLayout: {
76
+ title: string;
77
+ dataSource: string[];
78
+ };
79
+ tooltipLayout: {
80
+ title: string;
81
+ dataSource: string[];
82
+ };
83
+ };
84
+ };
85
+ };
86
+ 'ko-KR': {
87
+ title: string;
88
+ settings: {
89
+ 'x-component-props': {
90
+ labelCol: string;
91
+ wrapperCol: string;
92
+ colon: string;
93
+ labelAlign: {
94
+ title: string;
95
+ dataSource: string[];
96
+ };
97
+ wrapperAlign: {
98
+ title: string;
99
+ dataSource: string[];
100
+ };
101
+ labelWrap: string;
102
+ wrapperWrap: string;
103
+ labelWidth: string;
104
+ wrapperWidth: string;
105
+ fullness: string;
106
+ inset: string;
107
+ shallow: string;
108
+ bordered: string;
109
+ size: {
110
+ title: string;
111
+ dataSource: string[];
112
+ };
113
+ layout: {
114
+ title: string;
115
+ dataSource: string[];
116
+ };
117
+ feedbackLayout: {
118
+ title: string;
119
+ dataSource: string[];
120
+ };
121
+ tooltipLayout: {
122
+ title: string;
123
+ dataSource: string[];
124
+ };
125
+ };
126
+ };
127
+ };
128
+ };
@@ -0,0 +1,122 @@
1
+ export const FormLayout = {
2
+ 'zh-CN': {
3
+ title: '表单布局',
4
+ settings: {
5
+ 'x-component-props': {
6
+ labelCol: '标签网格宽度',
7
+ wrapperCol: '组件网格宽度',
8
+ colon: '是否有冒号',
9
+ labelAlign: {
10
+ title: '标签对齐',
11
+ dataSource: ['左对齐', '右对齐', '继承'],
12
+ },
13
+ wrapperAlign: {
14
+ title: '组件对齐',
15
+ dataSource: ['左对齐', '右对齐', '继承'],
16
+ },
17
+ labelWrap: '标签换行',
18
+ wrapperWrap: '组件换行',
19
+ labelWidth: '标签宽度',
20
+ wrapperWidth: '组件宽度',
21
+ fullness: '组件占满',
22
+ inset: '内联布局',
23
+ shallow: '是否浅传递',
24
+ bordered: '是否有边框',
25
+ size: { title: '尺寸', dataSource: ['大', '小', '默认', '继承'] },
26
+ layout: { title: '布局', dataSource: ['水平', '垂直', '内联', '继承'] },
27
+ feedbackLayout: {
28
+ title: '反馈布局',
29
+ dataSource: ['宽松', '紧凑', '弹层', '无', '继承'],
30
+ },
31
+ tooltipLayout: {
32
+ title: '提示布局',
33
+ dataSource: ['图标', '文本', '继承'],
34
+ },
35
+ },
36
+ },
37
+ },
38
+ 'en-US': {
39
+ title: 'Form Layout',
40
+ settings: {
41
+ 'x-component-props': {
42
+ labelCol: 'Label Col',
43
+ wrapperCol: 'Wrapper Col',
44
+ colon: 'Colon',
45
+ labelAlign: {
46
+ title: 'Label Align',
47
+ dataSource: ['Left', 'Right', 'Inherit'],
48
+ },
49
+ wrapperAlign: {
50
+ title: 'Wrapper Align',
51
+ dataSource: ['Left', 'Right', 'Inherit'],
52
+ },
53
+ labelWrap: 'Label Wrap',
54
+ wrapperWrap: 'Wrapper Wrap',
55
+ labelWidth: 'Label Width',
56
+ wrapperWidth: 'Wrapper Width',
57
+ fullness: 'Fullness',
58
+ inset: 'Inset',
59
+ shallow: 'Shallow',
60
+ bordered: 'Bordered',
61
+ size: {
62
+ title: 'Size',
63
+ dataSource: ['Large', 'Small', 'Default', 'Inherit'],
64
+ },
65
+ layout: {
66
+ title: 'Layout',
67
+ dataSource: ['Horizontal', 'Vertical', 'Inline', 'Inherit'],
68
+ },
69
+ feedbackLayout: {
70
+ title: 'Feedback Layout',
71
+ dataSource: ['Loose', 'Terse', 'Popup', 'None', 'Inherit'],
72
+ },
73
+ tooltipLayout: {
74
+ title: 'Tooltip Layout',
75
+ dataSource: ['Icon', 'Text', 'Inherit'],
76
+ },
77
+ },
78
+ },
79
+ },
80
+ 'ko-KR': {
81
+ title: '양식 레이아웃',
82
+ settings: {
83
+ 'x-component-props': {
84
+ labelCol: '레이블 열',
85
+ wrapperCol: '래퍼 열',
86
+ colon: '콜론',
87
+ labelAlign: {
88
+ title: '레이블 정렬',
89
+ dataSource: ['왼쪽', '오른쪽', '상속'],
90
+ },
91
+ wrapperAlign: {
92
+ title: '래퍼 정렬',
93
+ dataSource: ['왼쪽', '오른쪽', '상속'],
94
+ },
95
+ labelWrap: '레이블 랩',
96
+ wrapperWrap: '래퍼 랩',
97
+ labelWidth: '레이블 너비',
98
+ wrapperWidth: '래퍼 너비',
99
+ fullness: '충만',
100
+ inset: '삽입',
101
+ shallow: '얕다',
102
+ bordered: '경계',
103
+ size: {
104
+ title: '크기',
105
+ dataSource: ['큰', '작은', '기본', '상속'],
106
+ },
107
+ layout: {
108
+ title: '레이아웃',
109
+ dataSource: ['가로', '세로', '인라인', '상속'],
110
+ },
111
+ feedbackLayout: {
112
+ title: '피드백 레이아웃',
113
+ dataSource: ['느슨한', '간단한', '팝업', '없음', '상속'],
114
+ },
115
+ tooltipLayout: {
116
+ title: '도구 설명 레이아웃',
117
+ dataSource: ['아이콘', '텍스트', '상속'],
118
+ },
119
+ },
120
+ },
121
+ },
122
+ };
@@ -0,0 +1,82 @@
1
+ export declare const FormTab: {
2
+ 'zh-CN': {
3
+ title: string;
4
+ addTabPane: string;
5
+ settings: {
6
+ 'x-component-props': {
7
+ animated: string;
8
+ centered: string;
9
+ tab: string;
10
+ type: {
11
+ title: string;
12
+ dataSource: {
13
+ label: string;
14
+ value: string;
15
+ }[];
16
+ };
17
+ };
18
+ };
19
+ };
20
+ 'en-US': {
21
+ title: string;
22
+ addTabPane: string;
23
+ settings: {
24
+ 'x-component-props': {
25
+ animated: string;
26
+ centered: string;
27
+ tab: string;
28
+ type: {
29
+ title: string;
30
+ dataSource: {
31
+ label: string;
32
+ value: string;
33
+ }[];
34
+ };
35
+ };
36
+ };
37
+ };
38
+ 'ko-KR': {
39
+ title: string;
40
+ addTabPane: string;
41
+ settings: {
42
+ 'x-component-props': {
43
+ animated: string;
44
+ centered: string;
45
+ tab: string;
46
+ type: {
47
+ title: string;
48
+ dataSource: {
49
+ label: string;
50
+ value: string;
51
+ }[];
52
+ };
53
+ };
54
+ };
55
+ };
56
+ };
57
+ export declare const FormTabPane: {
58
+ 'zh-CN': {
59
+ title: string;
60
+ settings: {
61
+ 'x-component-props': {
62
+ tab: string;
63
+ };
64
+ };
65
+ };
66
+ 'en-US': {
67
+ title: string;
68
+ settings: {
69
+ 'x-component-props': {
70
+ tab: string;
71
+ };
72
+ };
73
+ };
74
+ 'ko-KR': {
75
+ title: string;
76
+ settings: {
77
+ 'x-component-props': {
78
+ tab: string;
79
+ };
80
+ };
81
+ };
82
+ };
@@ -0,0 +1,82 @@
1
+ export const FormTab = {
2
+ 'zh-CN': {
3
+ title: '选项卡',
4
+ addTabPane: '添加选项卡',
5
+ settings: {
6
+ 'x-component-props': {
7
+ animated: '启用动画过渡',
8
+ centered: '标签居中',
9
+ tab: '选项名称',
10
+ type: {
11
+ title: '类型',
12
+ dataSource: [
13
+ { label: '线框', value: 'line' },
14
+ { label: '卡片', value: 'card' },
15
+ ],
16
+ },
17
+ },
18
+ },
19
+ },
20
+ 'en-US': {
21
+ title: 'Tabs',
22
+ addTabPane: 'Add Panel',
23
+ settings: {
24
+ 'x-component-props': {
25
+ animated: 'Enable Animated',
26
+ centered: 'Label Centered',
27
+ tab: 'Tab Title',
28
+ type: {
29
+ title: 'Type',
30
+ dataSource: [
31
+ { label: 'Line', value: 'line' },
32
+ { label: 'Card', value: 'card' },
33
+ ],
34
+ },
35
+ },
36
+ },
37
+ },
38
+ 'ko-KR': {
39
+ title: '탭',
40
+ addTabPane: '패널 추가',
41
+ settings: {
42
+ 'x-component-props': {
43
+ animated: '애니메이션 활성화',
44
+ centered: '레이블을 가운데로',
45
+ tab: '텝 제목',
46
+ type: {
47
+ title: '타입',
48
+ dataSource: [
49
+ { label: '라인', value: 'line' },
50
+ { label: '카드', value: 'card' },
51
+ ],
52
+ },
53
+ },
54
+ },
55
+ },
56
+ };
57
+ export const FormTabPane = {
58
+ 'zh-CN': {
59
+ title: '选项卡面板',
60
+ settings: {
61
+ 'x-component-props': {
62
+ tab: '面板标题',
63
+ },
64
+ },
65
+ },
66
+ 'en-US': {
67
+ title: 'Tab Panel',
68
+ settings: {
69
+ 'x-component-props': {
70
+ tab: 'Panel Title',
71
+ },
72
+ },
73
+ },
74
+ 'ko-KR': {
75
+ title: '탭 패널',
76
+ settings: {
77
+ 'x-component-props': {
78
+ tab: '패널 제목',
79
+ },
80
+ },
81
+ },
82
+ };
@@ -0,0 +1,50 @@
1
+ export declare const Input: {
2
+ 'zh-CN': {
3
+ title: string;
4
+ settings: {
5
+ 'x-component-props': {
6
+ addonAfter: string;
7
+ addonBefore: string;
8
+ maxLength: string;
9
+ prefix: string;
10
+ suffix: string;
11
+ autoSize: {
12
+ title: string;
13
+ tooltip: string;
14
+ };
15
+ showCount: string;
16
+ checkStrength: string;
17
+ };
18
+ };
19
+ };
20
+ 'en-US': {
21
+ title: string;
22
+ settings: {
23
+ 'x-component-props': {
24
+ addonAfter: string;
25
+ addonBefore: string;
26
+ maxLength: string;
27
+ prefix: string;
28
+ suffix: string;
29
+ autoSize: string;
30
+ showCount: string;
31
+ checkStrength: string;
32
+ };
33
+ };
34
+ };
35
+ 'ko-KR': {
36
+ title: string;
37
+ settings: {
38
+ 'x-component-props': {
39
+ addonAfter: string;
40
+ addonBefore: string;
41
+ maxLength: string;
42
+ prefix: string;
43
+ suffix: string;
44
+ autoSize: string;
45
+ showCount: string;
46
+ checkStrength: string;
47
+ };
48
+ };
49
+ };
50
+ };
@@ -0,0 +1,50 @@
1
+ export const Input = {
2
+ 'zh-CN': {
3
+ title: '输入框',
4
+ settings: {
5
+ 'x-component-props': {
6
+ addonAfter: '后缀标签',
7
+ addonBefore: '前缀标签',
8
+ maxLength: '最大长度',
9
+ prefix: '前缀',
10
+ suffix: '后缀',
11
+ autoSize: {
12
+ title: '自适应高度',
13
+ tooltip: '可设置为 true | false 或对象:{ minRows: 2, maxRows: 6 }',
14
+ },
15
+ showCount: '是否展示字数',
16
+ checkStrength: '检测强度',
17
+ },
18
+ },
19
+ },
20
+ 'en-US': {
21
+ title: 'Input',
22
+ settings: {
23
+ 'x-component-props': {
24
+ addonAfter: 'Addon After',
25
+ addonBefore: 'Addon Before',
26
+ maxLength: 'Max Length',
27
+ prefix: 'Prefix',
28
+ suffix: 'Suffix',
29
+ autoSize: 'Auto Size',
30
+ showCount: 'Show Count',
31
+ checkStrength: 'Check Strength',
32
+ },
33
+ },
34
+ },
35
+ 'ko-KR': {
36
+ title: '입력',
37
+ settings: {
38
+ 'x-component-props': {
39
+ addonAfter: '애드온 후',
40
+ addonBefore: '애드온 전',
41
+ maxLength: '최대 길이',
42
+ prefix: '접두사',
43
+ suffix: '접미사',
44
+ autoSize: '자동 크기 맞춤',
45
+ showCount: '개수 보여주기',
46
+ checkStrength: '강도 체크',
47
+ },
48
+ },
49
+ },
50
+ };