@openli1115/lowcode-edit-pro-table 1.0.23

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 (410) hide show
  1. package/CHANGELOG.md +0 -0
  2. package/README.md +25 -0
  3. package/build/docs/404.html +47 -0
  4. package/build/docs/_demos/:uuid +47 -0
  5. package/build/docs/colorful-button.html +48 -0
  6. package/build/docs/colorful-input.html +48 -0
  7. package/build/docs/index.html +48 -0
  8. package/build/docs/umi.9219e122.js +1 -0
  9. package/build/docs/umi.a7e52c7a.css +8 -0
  10. package/build/docs/~demos/:uuid.html +47 -0
  11. package/build/docs/~demos/colorful-button-demo.html +47 -0
  12. package/build/docs/~demos/colorful-input-demo.html +47 -0
  13. package/build/index.css +2 -0
  14. package/build/index.html +1 -0
  15. package/build/index.js +53 -0
  16. package/build/lowcode/assets-daily.json +103 -0
  17. package/build/lowcode/assets-dev.json +103 -0
  18. package/build/lowcode/assets-prod.json +103 -0
  19. package/build/lowcode/designer.html +302 -0
  20. package/build/lowcode/index.html +304 -0
  21. package/build/lowcode/index.js +1 -0
  22. package/build/lowcode/meta.design.js +1 -0
  23. package/build/lowcode/meta.js +1 -0
  24. package/build/lowcode/preview.css +1 -0
  25. package/build/lowcode/preview.html +33 -0
  26. package/build/lowcode/preview.js +310 -0
  27. package/build/lowcode/render/default/view.css +1 -0
  28. package/build/lowcode/render/default/view.js +375 -0
  29. package/build/lowcode/view.css +1 -0
  30. package/build/lowcode/view.js +375 -0
  31. package/dist/BizComps.css +1 -0
  32. package/dist/BizComps.js +75 -0
  33. package/dist/BizComps.js.map +1 -0
  34. package/es/components/PrintButton/index.d.ts +7 -0
  35. package/es/components/PrintButton/index.js +97 -0
  36. package/es/components/ProCascaderSelect/index.d.ts +3 -0
  37. package/es/components/ProCascaderSelect/index.js +48 -0
  38. package/es/components/ProCheckbox/index.d.ts +14 -0
  39. package/es/components/ProCheckbox/index.js +59 -0
  40. package/es/components/ProDatePicker/index.d.ts +3 -0
  41. package/es/components/ProDatePicker/index.js +45 -0
  42. package/es/components/ProInput/index.d.ts +10 -0
  43. package/es/components/ProInput/index.js +53 -0
  44. package/es/components/ProNextText/index.js +160 -0
  45. package/es/components/ProNextText/index.scss +283 -0
  46. package/es/components/ProRadio/index.d.ts +14 -0
  47. package/es/components/ProRadio/index.js +60 -0
  48. package/es/components/ProSelect/index.d.ts +3 -0
  49. package/es/components/ProSelect/index.js +48 -0
  50. package/es/components/ProTextArea/index.d.ts +3 -0
  51. package/es/components/ProTextArea/index.js +45 -0
  52. package/es/components/ProTimePicker/index.d.ts +3 -0
  53. package/es/components/ProTimePicker/index.js +61 -0
  54. package/es/components/colorful-button/colorful-button.d.ts +12 -0
  55. package/es/components/colorful-button/colorful-button.js +29 -0
  56. package/es/components/colorful-button/index.d.ts +3 -0
  57. package/es/components/colorful-button/index.js +2 -0
  58. package/es/components/colorful-button/index.scss +5 -0
  59. package/es/components/colorful-input/colorful-input.d.ts +8 -0
  60. package/es/components/colorful-input/colorful-input.js +23 -0
  61. package/es/components/colorful-input/index.d.ts +3 -0
  62. package/es/components/colorful-input/index.js +2 -0
  63. package/es/components/colorful-input/index.scss +5 -0
  64. package/es/components/edit-pro-table/components/ExportExcelButton.d.ts +7 -0
  65. package/es/components/edit-pro-table/components/ExportExcelButton.js +91 -0
  66. package/es/components/edit-pro-table/components/ImportExcelButton.d.ts +6 -0
  67. package/es/components/edit-pro-table/components/ImportExcelButton.js +105 -0
  68. package/es/components/edit-pro-table/edit-pro-table.d.ts +38 -0
  69. package/es/components/edit-pro-table/edit-pro-table.js +458 -0
  70. package/es/components/edit-pro-table/index.d.ts +3 -0
  71. package/es/components/edit-pro-table/index.js +2 -0
  72. package/es/components/pro-table/index.d.ts +3 -0
  73. package/es/components/pro-table/index.js +2 -0
  74. package/es/components/pro-table/pro-table.d.ts +25 -0
  75. package/es/components/pro-table/pro-table.js +144 -0
  76. package/es/components/utils/index.d.ts +6 -0
  77. package/es/components/utils/index.js +27 -0
  78. package/es/context/FormProvider.d.ts +5 -0
  79. package/es/context/FormProvider.js +32 -0
  80. package/es/context/useComponentContext.d.ts +4 -0
  81. package/es/context/useComponentContext.js +29 -0
  82. package/es/index.d.ts +17 -0
  83. package/es/index.js +15 -0
  84. package/es/index.scss +1 -0
  85. package/es/shared/index.d.ts +7 -0
  86. package/es/shared/index.js +43 -0
  87. package/es/style.js +18 -0
  88. package/es/variables.d.ts +2 -0
  89. package/es/variables.js +2 -0
  90. package/es/variables.scss +51 -0
  91. package/lib/components/PrintButton/index.d.ts +7 -0
  92. package/lib/components/PrintButton/index.js +102 -0
  93. package/lib/components/ProCascaderSelect/index.d.ts +3 -0
  94. package/lib/components/ProCascaderSelect/index.js +53 -0
  95. package/lib/components/ProCheckbox/index.d.ts +14 -0
  96. package/lib/components/ProCheckbox/index.js +64 -0
  97. package/lib/components/ProDatePicker/index.d.ts +3 -0
  98. package/lib/components/ProDatePicker/index.js +50 -0
  99. package/lib/components/ProInput/index.d.ts +10 -0
  100. package/lib/components/ProInput/index.js +58 -0
  101. package/lib/components/ProNextText/index.js +165 -0
  102. package/lib/components/ProNextText/index.scss +283 -0
  103. package/lib/components/ProRadio/index.d.ts +14 -0
  104. package/lib/components/ProRadio/index.js +65 -0
  105. package/lib/components/ProSelect/index.d.ts +3 -0
  106. package/lib/components/ProSelect/index.js +53 -0
  107. package/lib/components/ProTextArea/index.d.ts +3 -0
  108. package/lib/components/ProTextArea/index.js +50 -0
  109. package/lib/components/ProTimePicker/index.d.ts +3 -0
  110. package/lib/components/ProTimePicker/index.js +66 -0
  111. package/lib/components/colorful-button/colorful-button.d.ts +12 -0
  112. package/lib/components/colorful-button/colorful-button.js +34 -0
  113. package/lib/components/colorful-button/index.d.ts +3 -0
  114. package/lib/components/colorful-button/index.js +7 -0
  115. package/lib/components/colorful-button/index.scss +5 -0
  116. package/lib/components/colorful-input/colorful-input.d.ts +8 -0
  117. package/lib/components/colorful-input/colorful-input.js +28 -0
  118. package/lib/components/colorful-input/index.d.ts +3 -0
  119. package/lib/components/colorful-input/index.js +7 -0
  120. package/lib/components/colorful-input/index.scss +5 -0
  121. package/lib/components/edit-pro-table/components/ExportExcelButton.d.ts +7 -0
  122. package/lib/components/edit-pro-table/components/ExportExcelButton.js +96 -0
  123. package/lib/components/edit-pro-table/components/ImportExcelButton.d.ts +6 -0
  124. package/lib/components/edit-pro-table/components/ImportExcelButton.js +110 -0
  125. package/lib/components/edit-pro-table/edit-pro-table.d.ts +38 -0
  126. package/lib/components/edit-pro-table/edit-pro-table.js +463 -0
  127. package/lib/components/edit-pro-table/index.d.ts +3 -0
  128. package/lib/components/edit-pro-table/index.js +7 -0
  129. package/lib/components/pro-table/index.d.ts +3 -0
  130. package/lib/components/pro-table/index.js +7 -0
  131. package/lib/components/pro-table/pro-table.d.ts +25 -0
  132. package/lib/components/pro-table/pro-table.js +150 -0
  133. package/lib/components/utils/index.d.ts +6 -0
  134. package/lib/components/utils/index.js +31 -0
  135. package/lib/context/FormProvider.d.ts +5 -0
  136. package/lib/context/FormProvider.js +37 -0
  137. package/lib/context/useComponentContext.d.ts +4 -0
  138. package/lib/context/useComponentContext.js +34 -0
  139. package/lib/index.d.ts +17 -0
  140. package/lib/index.js +38 -0
  141. package/lib/index.scss +1 -0
  142. package/lib/shared/index.d.ts +7 -0
  143. package/lib/shared/index.js +48 -0
  144. package/lib/style.js +18 -0
  145. package/lib/variables.d.ts +2 -0
  146. package/lib/variables.js +5 -0
  147. package/lib/variables.scss +51 -0
  148. package/lowcode/auto-complete/meta.ts +1159 -0
  149. package/lowcode/combobox/meta.ts +10330 -0
  150. package/lowcode/component-provider/meta.ts +56 -0
  151. package/lowcode/date-picker/meta.ts +1912 -0
  152. package/lowcode/edit-pro-table/actionColumnFields.ts +265 -0
  153. package/lowcode/edit-pro-table/meta.ts +642 -0
  154. package/lowcode/edit-pro-table/snippets.ts +20 -0
  155. package/lowcode/form-provider/meta.ts +78 -0
  156. package/lowcode/group/meta.ts +333 -0
  157. package/lowcode/month-picker/meta.ts +9860 -0
  158. package/lowcode/next-text/meta.ts +180 -0
  159. package/lowcode/next-text/snippets.ts +27 -0
  160. package/lowcode/option/meta.ts +364 -0
  161. package/lowcode/option-group/meta.ts +259 -0
  162. package/lowcode/password/meta.ts +1121 -0
  163. package/lowcode/print-button/iconprint.png +0 -0
  164. package/lowcode/print-button/meta.ts +168 -0
  165. package/lowcode/print-button/printer.svg +1 -0
  166. package/lowcode/pro-cascader-select/adaptor.ts +23 -0
  167. package/lowcode/pro-cascader-select/meta.design.ts +440 -0
  168. package/lowcode/pro-cascader-select/meta.ts +493 -0
  169. package/lowcode/pro-cascader-select/snippets.design.ts +46 -0
  170. package/lowcode/pro-cascader-select/snippets.ts +39 -0
  171. package/lowcode/pro-checkbox/meta.ts +257 -0
  172. package/lowcode/pro-checkbox/snippets.ts +15 -0
  173. package/lowcode/pro-date-picker/meta.ts +310 -0
  174. package/lowcode/pro-date-picker/snippets.ts +50 -0
  175. package/lowcode/pro-input/meta.ts +649 -0
  176. package/lowcode/pro-input/snippets.ts +40 -0
  177. package/lowcode/pro-next-text/meta.ts +182 -0
  178. package/lowcode/pro-next-text/snippets.ts +27 -0
  179. package/lowcode/pro-radio/meta.ts +105 -0
  180. package/lowcode/pro-radio/radio-group.png +0 -0
  181. package/lowcode/pro-radio/snippets.ts +42 -0
  182. package/lowcode/pro-radio-group/meta.ts +291 -0
  183. package/lowcode/pro-select/meta.design.ts +231 -0
  184. package/lowcode/pro-select/meta.ts +316 -0
  185. package/lowcode/pro-select/snippets.design.ts +37 -0
  186. package/lowcode/pro-select/snippets.ts +29 -0
  187. package/lowcode/pro-select-option/meta.ts +36 -0
  188. package/lowcode/pro-table/meta.ts +437 -0
  189. package/lowcode/pro-table/snippets.ts +20 -0
  190. package/lowcode/pro-text-area/meta.ts +454 -0
  191. package/lowcode/pro-time-picker/meta.ts +361 -0
  192. package/lowcode/pro-time-picker/snippets.ts +18 -0
  193. package/lowcode/quarter-picker/meta.ts +1559 -0
  194. package/lowcode/range-picker/meta.ts +10097 -0
  195. package/lowcode/text-area/meta.ts +823 -0
  196. package/lowcode/time-picker/meta.ts +1636 -0
  197. package/lowcode/utils/component-wrapper.ts +36 -0
  198. package/lowcode/utils/index.ts +81 -0
  199. package/lowcode/utils/parse-data.ts +113 -0
  200. package/lowcode/week-picker/meta.ts +9781 -0
  201. package/lowcode/year-picker/meta.ts +9829 -0
  202. package/lowcode_es/auto-complete/meta.d.ts +22 -0
  203. package/lowcode_es/auto-complete/meta.js +1046 -0
  204. package/lowcode_es/combobox/meta.d.ts +22 -0
  205. package/lowcode_es/combobox/meta.js +1 -0
  206. package/lowcode_es/component-provider/meta.d.ts +22 -0
  207. package/lowcode_es/component-provider/meta.js +48 -0
  208. package/lowcode_es/date-picker/meta.d.ts +22 -0
  209. package/lowcode_es/date-picker/meta.js +1722 -0
  210. package/lowcode_es/edit-pro-table/actionColumnFields.d.ts +12 -0
  211. package/lowcode_es/edit-pro-table/actionColumnFields.js +232 -0
  212. package/lowcode_es/edit-pro-table/meta.d.ts +22 -0
  213. package/lowcode_es/edit-pro-table/meta.js +591 -0
  214. package/lowcode_es/edit-pro-table/snippets.d.ts +2 -0
  215. package/lowcode_es/edit-pro-table/snippets.js +16 -0
  216. package/lowcode_es/form-provider/meta.d.ts +22 -0
  217. package/lowcode_es/form-provider/meta.js +69 -0
  218. package/lowcode_es/group/meta.d.ts +22 -0
  219. package/lowcode_es/group/meta.js +301 -0
  220. package/lowcode_es/meta.js +194 -0
  221. package/lowcode_es/month-picker/meta.d.ts +22 -0
  222. package/lowcode_es/month-picker/meta.js +9064 -0
  223. package/lowcode_es/next-text/meta.js +154 -0
  224. package/lowcode_es/next-text/snippets.js +25 -0
  225. package/lowcode_es/option/meta.d.ts +22 -0
  226. package/lowcode_es/option/meta.js +325 -0
  227. package/lowcode_es/option-group/meta.d.ts +22 -0
  228. package/lowcode_es/option-group/meta.js +231 -0
  229. package/lowcode_es/password/meta.d.ts +22 -0
  230. package/lowcode_es/password/meta.js +1026 -0
  231. package/lowcode_es/print-button/iconprint.png +0 -0
  232. package/lowcode_es/print-button/meta.d.ts +22 -0
  233. package/lowcode_es/print-button/meta.js +143 -0
  234. package/lowcode_es/print-button/printer.svg +1 -0
  235. package/lowcode_es/pro-cascader-select/adaptor.d.ts +1 -0
  236. package/lowcode_es/pro-cascader-select/adaptor.js +29 -0
  237. package/lowcode_es/pro-cascader-select/meta.d.ts +287 -0
  238. package/lowcode_es/pro-cascader-select/meta.design.d.ts +304 -0
  239. package/lowcode_es/pro-cascader-select/meta.design.js +388 -0
  240. package/lowcode_es/pro-cascader-select/meta.js +435 -0
  241. package/lowcode_es/pro-cascader-select/snippets.d.ts +25 -0
  242. package/lowcode_es/pro-cascader-select/snippets.design.d.ts +38 -0
  243. package/lowcode_es/pro-cascader-select/snippets.design.js +44 -0
  244. package/lowcode_es/pro-cascader-select/snippets.js +30 -0
  245. package/lowcode_es/pro-checkbox/meta.d.ts +164 -0
  246. package/lowcode_es/pro-checkbox/meta.js +230 -0
  247. package/lowcode_es/pro-checkbox/snippets.d.ts +12 -0
  248. package/lowcode_es/pro-checkbox/snippets.js +13 -0
  249. package/lowcode_es/pro-date-picker/meta.d.ts +119 -0
  250. package/lowcode_es/pro-date-picker/meta.js +278 -0
  251. package/lowcode_es/pro-date-picker/snippets.d.ts +9 -0
  252. package/lowcode_es/pro-date-picker/snippets.js +49 -0
  253. package/lowcode_es/pro-input/meta.d.ts +273 -0
  254. package/lowcode_es/pro-input/meta.js +585 -0
  255. package/lowcode_es/pro-input/snippets.d.ts +14 -0
  256. package/lowcode_es/pro-input/snippets.js +39 -0
  257. package/lowcode_es/pro-next-text/meta.d.ts +130 -0
  258. package/lowcode_es/pro-next-text/meta.js +155 -0
  259. package/lowcode_es/pro-next-text/snippets.d.ts +12 -0
  260. package/lowcode_es/pro-next-text/snippets.js +25 -0
  261. package/lowcode_es/pro-radio/meta.d.ts +50 -0
  262. package/lowcode_es/pro-radio/meta.js +87 -0
  263. package/lowcode_es/pro-radio/radio-group.png +0 -0
  264. package/lowcode_es/pro-radio/snippets.d.ts +14 -0
  265. package/lowcode_es/pro-radio/snippets.js +35 -0
  266. package/lowcode_es/pro-radio-group/meta.d.ts +192 -0
  267. package/lowcode_es/pro-radio-group/meta.js +263 -0
  268. package/lowcode_es/pro-select/meta.d.ts +271 -0
  269. package/lowcode_es/pro-select/meta.design.d.ts +220 -0
  270. package/lowcode_es/pro-select/meta.design.js +216 -0
  271. package/lowcode_es/pro-select/meta.js +288 -0
  272. package/lowcode_es/pro-select/snippets.d.ts +17 -0
  273. package/lowcode_es/pro-select/snippets.design.d.ts +17 -0
  274. package/lowcode_es/pro-select/snippets.design.js +34 -0
  275. package/lowcode_es/pro-select/snippets.js +22 -0
  276. package/lowcode_es/pro-select-option/meta.js +33 -0
  277. package/lowcode_es/pro-table/meta.d.ts +22 -0
  278. package/lowcode_es/pro-table/meta.js +449 -0
  279. package/lowcode_es/pro-table/snippets.d.ts +2 -0
  280. package/lowcode_es/pro-table/snippets.js +16 -0
  281. package/lowcode_es/pro-text-area/meta.d.ts +245 -0
  282. package/lowcode_es/pro-text-area/meta.js +414 -0
  283. package/lowcode_es/pro-time-picker/meta.d.ts +244 -0
  284. package/lowcode_es/pro-time-picker/meta.js +318 -0
  285. package/lowcode_es/pro-time-picker/snippets.d.ts +16 -0
  286. package/lowcode_es/pro-time-picker/snippets.js +15 -0
  287. package/lowcode_es/quarter-picker/meta.d.ts +22 -0
  288. package/lowcode_es/quarter-picker/meta.js +1407 -0
  289. package/lowcode_es/range-picker/meta.d.ts +22 -0
  290. package/lowcode_es/range-picker/meta.js +9281 -0
  291. package/lowcode_es/text-area/meta.d.ts +22 -0
  292. package/lowcode_es/text-area/meta.js +736 -0
  293. package/lowcode_es/time-picker/meta.d.ts +22 -0
  294. package/lowcode_es/time-picker/meta.js +1475 -0
  295. package/lowcode_es/utils/component-wrapper.d.ts +11 -0
  296. package/lowcode_es/utils/component-wrapper.js +38 -0
  297. package/lowcode_es/utils/index.d.ts +10 -0
  298. package/lowcode_es/utils/index.js +79 -0
  299. package/lowcode_es/utils/parse-data.d.ts +25 -0
  300. package/lowcode_es/utils/parse-data.js +89 -0
  301. package/lowcode_es/view.js +18 -0
  302. package/lowcode_es/week-picker/meta.d.ts +22 -0
  303. package/lowcode_es/week-picker/meta.js +8989 -0
  304. package/lowcode_es/year-picker/meta.d.ts +22 -0
  305. package/lowcode_es/year-picker/meta.js +9035 -0
  306. package/lowcode_lib/auto-complete/meta.d.ts +22 -0
  307. package/lowcode_lib/auto-complete/meta.js +1051 -0
  308. package/lowcode_lib/combobox/meta.d.ts +22 -0
  309. package/lowcode_lib/combobox/meta.js +1 -0
  310. package/lowcode_lib/component-provider/meta.d.ts +22 -0
  311. package/lowcode_lib/component-provider/meta.js +53 -0
  312. package/lowcode_lib/date-picker/meta.d.ts +22 -0
  313. package/lowcode_lib/date-picker/meta.js +1727 -0
  314. package/lowcode_lib/edit-pro-table/actionColumnFields.d.ts +12 -0
  315. package/lowcode_lib/edit-pro-table/actionColumnFields.js +237 -0
  316. package/lowcode_lib/edit-pro-table/meta.d.ts +22 -0
  317. package/lowcode_lib/edit-pro-table/meta.js +596 -0
  318. package/lowcode_lib/edit-pro-table/snippets.d.ts +2 -0
  319. package/lowcode_lib/edit-pro-table/snippets.js +20 -0
  320. package/lowcode_lib/form-provider/meta.d.ts +22 -0
  321. package/lowcode_lib/form-provider/meta.js +74 -0
  322. package/lowcode_lib/group/meta.d.ts +22 -0
  323. package/lowcode_lib/group/meta.js +306 -0
  324. package/lowcode_lib/meta.js +198 -0
  325. package/lowcode_lib/month-picker/meta.d.ts +22 -0
  326. package/lowcode_lib/month-picker/meta.js +9069 -0
  327. package/lowcode_lib/next-text/meta.js +156 -0
  328. package/lowcode_lib/next-text/snippets.js +27 -0
  329. package/lowcode_lib/option/meta.d.ts +22 -0
  330. package/lowcode_lib/option/meta.js +330 -0
  331. package/lowcode_lib/option-group/meta.d.ts +22 -0
  332. package/lowcode_lib/option-group/meta.js +236 -0
  333. package/lowcode_lib/password/meta.d.ts +22 -0
  334. package/lowcode_lib/password/meta.js +1031 -0
  335. package/lowcode_lib/print-button/iconprint.png +0 -0
  336. package/lowcode_lib/print-button/meta.d.ts +22 -0
  337. package/lowcode_lib/print-button/meta.js +148 -0
  338. package/lowcode_lib/print-button/printer.svg +1 -0
  339. package/lowcode_lib/pro-cascader-select/adaptor.d.ts +1 -0
  340. package/lowcode_lib/pro-cascader-select/adaptor.js +32 -0
  341. package/lowcode_lib/pro-cascader-select/meta.d.ts +287 -0
  342. package/lowcode_lib/pro-cascader-select/meta.design.d.ts +304 -0
  343. package/lowcode_lib/pro-cascader-select/meta.design.js +393 -0
  344. package/lowcode_lib/pro-cascader-select/meta.js +440 -0
  345. package/lowcode_lib/pro-cascader-select/snippets.d.ts +25 -0
  346. package/lowcode_lib/pro-cascader-select/snippets.design.d.ts +38 -0
  347. package/lowcode_lib/pro-cascader-select/snippets.design.js +49 -0
  348. package/lowcode_lib/pro-cascader-select/snippets.js +34 -0
  349. package/lowcode_lib/pro-checkbox/meta.d.ts +164 -0
  350. package/lowcode_lib/pro-checkbox/meta.js +235 -0
  351. package/lowcode_lib/pro-checkbox/snippets.d.ts +12 -0
  352. package/lowcode_lib/pro-checkbox/snippets.js +17 -0
  353. package/lowcode_lib/pro-date-picker/meta.d.ts +119 -0
  354. package/lowcode_lib/pro-date-picker/meta.js +283 -0
  355. package/lowcode_lib/pro-date-picker/snippets.d.ts +9 -0
  356. package/lowcode_lib/pro-date-picker/snippets.js +53 -0
  357. package/lowcode_lib/pro-input/meta.d.ts +273 -0
  358. package/lowcode_lib/pro-input/meta.js +590 -0
  359. package/lowcode_lib/pro-input/snippets.d.ts +14 -0
  360. package/lowcode_lib/pro-input/snippets.js +43 -0
  361. package/lowcode_lib/pro-next-text/meta.d.ts +130 -0
  362. package/lowcode_lib/pro-next-text/meta.js +160 -0
  363. package/lowcode_lib/pro-next-text/snippets.d.ts +12 -0
  364. package/lowcode_lib/pro-next-text/snippets.js +29 -0
  365. package/lowcode_lib/pro-radio/meta.d.ts +50 -0
  366. package/lowcode_lib/pro-radio/meta.js +92 -0
  367. package/lowcode_lib/pro-radio/radio-group.png +0 -0
  368. package/lowcode_lib/pro-radio/snippets.d.ts +14 -0
  369. package/lowcode_lib/pro-radio/snippets.js +40 -0
  370. package/lowcode_lib/pro-radio-group/meta.d.ts +192 -0
  371. package/lowcode_lib/pro-radio-group/meta.js +267 -0
  372. package/lowcode_lib/pro-select/meta.d.ts +271 -0
  373. package/lowcode_lib/pro-select/meta.design.d.ts +220 -0
  374. package/lowcode_lib/pro-select/meta.design.js +221 -0
  375. package/lowcode_lib/pro-select/meta.js +293 -0
  376. package/lowcode_lib/pro-select/snippets.d.ts +17 -0
  377. package/lowcode_lib/pro-select/snippets.design.d.ts +17 -0
  378. package/lowcode_lib/pro-select/snippets.design.js +39 -0
  379. package/lowcode_lib/pro-select/snippets.js +26 -0
  380. package/lowcode_lib/pro-select-option/meta.js +35 -0
  381. package/lowcode_lib/pro-table/meta.d.ts +22 -0
  382. package/lowcode_lib/pro-table/meta.js +454 -0
  383. package/lowcode_lib/pro-table/snippets.d.ts +2 -0
  384. package/lowcode_lib/pro-table/snippets.js +20 -0
  385. package/lowcode_lib/pro-text-area/meta.d.ts +245 -0
  386. package/lowcode_lib/pro-text-area/meta.js +418 -0
  387. package/lowcode_lib/pro-time-picker/meta.d.ts +244 -0
  388. package/lowcode_lib/pro-time-picker/meta.js +323 -0
  389. package/lowcode_lib/pro-time-picker/snippets.d.ts +16 -0
  390. package/lowcode_lib/pro-time-picker/snippets.js +19 -0
  391. package/lowcode_lib/quarter-picker/meta.d.ts +22 -0
  392. package/lowcode_lib/quarter-picker/meta.js +1412 -0
  393. package/lowcode_lib/range-picker/meta.d.ts +22 -0
  394. package/lowcode_lib/range-picker/meta.js +9286 -0
  395. package/lowcode_lib/text-area/meta.d.ts +22 -0
  396. package/lowcode_lib/text-area/meta.js +741 -0
  397. package/lowcode_lib/time-picker/meta.d.ts +22 -0
  398. package/lowcode_lib/time-picker/meta.js +1480 -0
  399. package/lowcode_lib/utils/component-wrapper.d.ts +11 -0
  400. package/lowcode_lib/utils/component-wrapper.js +43 -0
  401. package/lowcode_lib/utils/index.d.ts +10 -0
  402. package/lowcode_lib/utils/index.js +84 -0
  403. package/lowcode_lib/utils/parse-data.d.ts +25 -0
  404. package/lowcode_lib/utils/parse-data.js +93 -0
  405. package/lowcode_lib/view.js +28 -0
  406. package/lowcode_lib/week-picker/meta.d.ts +22 -0
  407. package/lowcode_lib/week-picker/meta.js +8994 -0
  408. package/lowcode_lib/year-picker/meta.d.ts +22 -0
  409. package/lowcode_lib/year-picker/meta.js +9040 -0
  410. package/package.json +109 -0
@@ -0,0 +1,283 @@
1
+ $css-prefix: '.next-';
2
+
3
+ :root {
4
+ --s-base: 4px;
5
+ --s-compact: calc(var(--s-base) * 50);
6
+ --s-comfortable: calc(var(--s-base) * 80);
7
+ --s-luxury: calc(var(--s-base) * 160);
8
+ --s-1: 4px;
9
+ --s-2: 8px;
10
+ --s-3: 12px;
11
+ --s-4: 16px;
12
+ --s-5: 20px;
13
+ --s-6: 24px;
14
+ --s-7: 28px;
15
+ --s-8: 32px;
16
+ --s-9: 36px;
17
+ --s-10: 40px;
18
+
19
+ /* font */
20
+ --font-family: Roboto, 'Helvetica Neue', Helvetica, Tahoma, Arial, 'PingFang SC',
21
+ 'Microsoft YaHei';
22
+ --p-h1-font-size: 56px;
23
+ --p-h1-icon-size: 56px;
24
+ --p-h1-font-weight: 900;
25
+ --p-h1-line-height: 64px;
26
+ --p-h1-margin-top: var(--s-9);
27
+ --p-h1-margin-bottom: var(--s-1);
28
+
29
+ --p-h2-font-size: 48px;
30
+ --p-h2-icon-size: 48px;
31
+ --p-h2-font-weight: 800;
32
+ --p-h2-line-height: 52px;
33
+ --p-h2-margin-top: var(--s-8);
34
+ --p-h2-margin-bottom: var(--s-1);
35
+
36
+ --p-h3-font-size: 36px;
37
+ --p-h3-icon-size: 36px;
38
+ --p-h3-font-weight: 700;
39
+ --p-h3-line-height: 44px;
40
+ --p-h3-margin-top: var(--s-7);
41
+ --p-h3-margin-bottom: var(--s-1);
42
+
43
+ --p-h4-font-size: 24px;
44
+ --p-h4-icon-size: 24px;
45
+ --p-h4-font-weight: 600;
46
+ --p-h4-line-height: 32px;
47
+ --p-h4-margin-top: var(--s-5);
48
+ --p-h4-margin-bottom: var(--s-2);
49
+
50
+ --p-h5-font-size: 20px;
51
+ --p-h5-icon-size: 20px;
52
+ --p-h5-font-weight: 500;
53
+ --p-h5-line-height: 28px;
54
+ --p-h5-margin-top: var(--s-4); // 上下不一定相等
55
+ --p-h5-margin-bottom: var(--s-1);
56
+
57
+ /* large */
58
+ --p-h6-font-size: 16px;
59
+ --p-h6-icon-size: 16px;
60
+ --p-h6-font-weight: 400;
61
+ --p-h6-line-height: 24px;
62
+ --p-h6-margin-top: var(--s-4);
63
+ --p-h6-margin-bottom: var(--s-1);
64
+
65
+ --p-body1-font-size: 16px;
66
+ --p-body1-icon-size: 16px;
67
+ --p-body1-font-weight: 400;
68
+ --p-body1-line-height: 24px;
69
+ --p-body1-margin-top: var(--s-3);
70
+ --p-body1-margin-bottom: var(--s-1);
71
+ --p-body1-indent-size: var(--s-2);
72
+
73
+ /* medium */
74
+ --p-body2-font-size: 14px;
75
+ --p-body2-icon-size: 14px;
76
+ --p-body2-font-weight: 400;
77
+ --p-body2-line-height: 22px;
78
+ --p-body2-margin-top: var(--s-2);
79
+ --p-body2-margin-bottom: var(--s-1);
80
+ --p-body2-indent-size: var(--s-2);
81
+
82
+ /* small */
83
+ --p-caption-font-size: 12px;
84
+ --p-caption-icon-size: 12px;
85
+ --p-caption-font-weight: 300;
86
+ --p-caption-line-height: 20px;
87
+ --p-caption-margin-top: var(--s-3);
88
+ --p-caption-margin-bottom: var(--s-1);
89
+ --p-caption-indent-size: var(--s-1);
90
+
91
+ --p-overline-font-size: 10px;
92
+ --p-overline-icon-size: 10px;
93
+ --p-overline-font-weight: 200;
94
+ --p-overline-line-height: 18px;
95
+ --p-overline-margin-top: var(--s-1);
96
+ --p-overline-margin-bottom: var(--s-1);
97
+ }
98
+
99
+ body {
100
+ --p-h1-margin-top: var(--s-1);
101
+ --p-h2-margin-top: var(--s-1);
102
+ --p-h3-margin-top: var(--s-1);
103
+ --p-h4-margin-top: var(--s-1);
104
+ --p-h5-margin-top: var(--s-1);
105
+ --p-h6-margin-top: var(--s-1);
106
+ --p-body1-margin-top: var(--s-1);
107
+ --p-body2-margin-top: var(--s-1);
108
+ --p-caption-margin-top: var(--s-1);
109
+ }
110
+ #{$css-prefix}text {
111
+ color: #1f2633;
112
+ text-align: justify;
113
+
114
+ // & + & {
115
+ // margin-left: 0;
116
+ // }
117
+
118
+ &-title {
119
+ font-weight: bold;
120
+ margin-bottom: 0.5em;
121
+ }
122
+
123
+ & + &-title {
124
+ margin-top: 1.2em;
125
+ }
126
+
127
+ &-paragraph {
128
+ color: #1f2633;
129
+ margin-bottom: 1em;
130
+ font-size: 14px;
131
+ line-height: 1.5;
132
+ }
133
+
134
+ mark {
135
+ padding: 0;
136
+ background: #fffbc7;
137
+ color: #1f2633;
138
+ }
139
+
140
+ strong {
141
+ font-weight: bold;
142
+ }
143
+
144
+ code {
145
+ background-color: #f4f6f9;
146
+ color: #1f2633;
147
+ border: 1px solid #e4e8ee;
148
+ margin: 0 0.2em;
149
+ padding: 0.2em 0.4em 0.1em;
150
+ font-size: 85%;
151
+ border-radius: 4px;
152
+ }
153
+
154
+ ul,
155
+ ol {
156
+ margin: 0 0 1em 0;
157
+ padding: 0;
158
+ }
159
+
160
+ li {
161
+ list-style-type: circle;
162
+ margin: 0 0 0 20px;
163
+ padding: 0 0 0 4px;
164
+ }
165
+
166
+ a {
167
+ text-decoration: none;
168
+ &:link {
169
+ color: rgba(3, 193, 253, 1);
170
+ }
171
+ &:visited {
172
+ color: rgba(0, 123, 176, 1);
173
+ }
174
+ &:hover {
175
+ color: rgba(0, 157, 214, 1);
176
+ }
177
+ &:active {
178
+ text-decoration: underline;
179
+ color: rgba(0, 157, 214, 1);
180
+ }
181
+ }
182
+ }
183
+
184
+ h1#{$css-prefix}text-title {
185
+ font-size: 24px;
186
+ }
187
+
188
+ h2#{$css-prefix}text-title {
189
+ font-size: 20px;
190
+ }
191
+
192
+ h3#{$css-prefix}text-title {
193
+ font-size: 16px;
194
+ }
195
+
196
+ h4#{$css-prefix}text-title {
197
+ font-size: 16px;
198
+ }
199
+
200
+ h5#{$css-prefix}text-title {
201
+ font-size: 14px;
202
+ }
203
+
204
+ h6#{$css-prefix}text-title {
205
+ font-size: 14px;
206
+ }
207
+ #{$css-prefix}text {
208
+ &-inherit {
209
+ font-family: inherit;
210
+ font-size: inherit;
211
+ font-weight: inherit;
212
+ line-height: inherit;
213
+ }
214
+ &-overline {
215
+ font-family: var(--p-overline-font-family);
216
+ font-size: var(--p-overline-font-size);
217
+ font-weight: var(--p-overline-font-weight);
218
+ line-height: var(--p-overline-line-height);
219
+ }
220
+
221
+ &-caption {
222
+ font-family: var(--p-caption-font-family);
223
+ font-size: var(--p-caption-font-size);
224
+ font-weight: var(--p-caption-font-weight);
225
+ line-height: var(--p-caption-line-height);
226
+ }
227
+
228
+ &-body2 {
229
+ font-family: var(--p-body2-font-family);
230
+ font-size: var(--p-body2-font-size);
231
+ font-weight: var(--p-body2-font-weight);
232
+ line-height: var(--p-body2-line-height);
233
+ }
234
+
235
+ &-body1 {
236
+ font-family: var(--p-body1-font-family);
237
+ font-size: var(--p-body1-font-size);
238
+ font-weight: var(--p-body1-font-weight);
239
+ line-height: var(--p-body1-line-height);
240
+ }
241
+
242
+ &-h6 {
243
+ font-family: var(--p-h6-font-family);
244
+ font-size: var(--p-h6-font-size);
245
+ font-weight: var(--p-h6-font-weight);
246
+ line-height: var(--p-h6-line-height);
247
+ }
248
+
249
+ &-h5 {
250
+ font-family: var(--p-h5-font-family);
251
+ font-size: var(--p-h5-font-size);
252
+ font-weight: var(--p-h5-font-weight);
253
+ line-height: var(--p-h5-line-height);
254
+ }
255
+
256
+ &-h4 {
257
+ font-family: var(--p-h4-font-family);
258
+ font-size: var(--p-h4-font-size);
259
+ font-weight: var(--p-h4-font-weight);
260
+ line-height: var(--p-h4-line-height);
261
+ }
262
+
263
+ &-h3 {
264
+ font-family: var(--p-h3-font-family);
265
+ font-size: var(--p-h3-font-size);
266
+ font-weight: var(--p-h3-font-weight);
267
+ line-height: var(--p-h3-line-height);
268
+ }
269
+
270
+ &-h2 {
271
+ font-family: var(--p-h2-font-family);
272
+ font-size: var(--p-h2-font-size);
273
+ font-weight: var(--p-h2-font-weight);
274
+ line-height: var(--p-h2-line-height);
275
+ }
276
+
277
+ &-h1 {
278
+ font-family: var(--p-h1-font-family);
279
+ font-size: var(--p-h1-font-size);
280
+ font-weight: var(--p-h1-font-weight);
281
+ line-height: var(--p-h1-line-height);
282
+ }
283
+ }
@@ -0,0 +1,14 @@
1
+ import { Radio } from '@alifd/next';
2
+ /**
3
+ * ProRadio
4
+ * @description 单选按钮组
5
+ * @param {string} defaultValue 默认值(radio.group才有的字段)
6
+ * @param {string} screen_structure_field 屏幕结构字段
7
+ * @param {string} screen_inner_id 屏幕内部id
8
+ * @param {string} screen_structure 屏幕结构
9
+ * @param {string} dataSource 数据源
10
+ * @param {string} checkedValue 选中值
11
+ * @param {string} checked 默认选中
12
+ */
13
+ declare const ProRadio: typeof Radio;
14
+ export default ProRadio;
@@ -0,0 +1,60 @@
1
+ import _Radio from "@alifd/next/es/radio";
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
4
+ var _excluded = ["dataSource", "screen_structure", "screen_structure_field", "screen_inner_id", "defaultValue", "disableEdit"];
5
+ import { getStructureFieldName } from "../utils";
6
+ import { useComponentContext } from "../../context/useComponentContext";
7
+ var React = window.React;
8
+ var createElement = React.createElement,
9
+ useEffect = React.useEffect,
10
+ useRef = React.useRef,
11
+ useState = React.useState;
12
+
13
+ /**
14
+ * ProRadio
15
+ * @description 单选按钮组
16
+ * @param {string} defaultValue 默认值(radio.group才有的字段)
17
+ * @param {string} screen_structure_field 屏幕结构字段
18
+ * @param {string} screen_inner_id 屏幕内部id
19
+ * @param {string} screen_structure 屏幕结构
20
+ * @param {string} dataSource 数据源
21
+ * @param {string} checkedValue 选中值
22
+ * @param {string} checked 默认选中
23
+ */
24
+ var ProRadio = function ProRadio(props) {
25
+ var dataSource = props.dataSource,
26
+ screen_structure = props.screen_structure,
27
+ screen_structure_field = props.screen_structure_field,
28
+ screen_inner_id = props.screen_inner_id,
29
+ defaultValue = props.defaultValue,
30
+ disableEdit = props.disableEdit,
31
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded);
32
+ var _getStructureFieldNam = getStructureFieldName(screen_structure, screen_structure_field),
33
+ structureName = _getStructureFieldNam.structureName,
34
+ structureField = _getStructureFieldNam.structureField;
35
+ var fieldPath = structureName + "." + structureField;
36
+ var _useComponentContext = useComponentContext(fieldPath),
37
+ value = _useComponentContext.value,
38
+ onValueChange = _useComponentContext.onValueChange;
39
+ console.log('ProRadio useComponentContext value', value, fieldPath);
40
+ // console.log('otherProps', otherProps);
41
+
42
+ var handleChange = function handleChange(newValue) {
43
+ // updateScreenStructure(screen_structure, screen_structure_field, value);
44
+ if (onValueChange) {
45
+ onValueChange(newValue);
46
+ }
47
+ // 触发标准 onChange
48
+ if (props.onChange) {
49
+ props.onChange(newValue, structureName, structureField);
50
+ }
51
+ };
52
+ return /*#__PURE__*/React.createElement("span", {
53
+ className: "field-wrapper " + (disableEdit ? 'disable-edit' : 'enable-edit')
54
+ }, /*#__PURE__*/React.createElement(_Radio.Group, _extends({}, props, {
55
+ value: value,
56
+ onChange: handleChange,
57
+ dataSource: dataSource
58
+ })));
59
+ };
60
+ export default ProRadio;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ProSelect: (props: any) => JSX.Element;
3
+ export default ProSelect;
@@ -0,0 +1,48 @@
1
+ import _Select from "@alifd/next/es/select";
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
4
+ var _excluded = ["dataSource", "screen_structure", "screen_structure_field", "screen_inner_id", "defaultValue", "disableEdit"];
5
+ import { getStructureFieldName } from "../utils";
6
+ import { useComponentContext } from "../../context/useComponentContext";
7
+ var React = window.React;
8
+ var createElement = React.createElement,
9
+ useEffect = React.useEffect,
10
+ useRef = React.useRef,
11
+ useState = React.useState;
12
+ var ProSelect = function ProSelect(props) {
13
+ var dataSource = props.dataSource,
14
+ screen_structure = props.screen_structure,
15
+ screen_structure_field = props.screen_structure_field,
16
+ screen_inner_id = props.screen_inner_id,
17
+ defaultValue = props.defaultValue,
18
+ disableEdit = props.disableEdit,
19
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded);
20
+ var _getStructureFieldNam = getStructureFieldName(screen_structure, screen_structure_field),
21
+ structureName = _getStructureFieldNam.structureName,
22
+ structureField = _getStructureFieldNam.structureField;
23
+ var fieldPath = structureName + "." + structureField;
24
+ var _useComponentContext = useComponentContext(fieldPath),
25
+ value = _useComponentContext.value,
26
+ onValueChange = _useComponentContext.onValueChange;
27
+ console.log('ProSelect useComponentContext value', value, fieldPath);
28
+ // console.log('otherProps', otherProps);
29
+
30
+ var handleChange = function handleChange(newValue) {
31
+ // updateScreenStructure(screen_structure, screen_structure_field, value);
32
+ if (onValueChange) {
33
+ onValueChange(newValue);
34
+ }
35
+ // 触发标准 onChange
36
+ if (props.onChange) {
37
+ props.onChange(newValue, structureName, structureField);
38
+ }
39
+ };
40
+ return /*#__PURE__*/React.createElement("span", {
41
+ className: "field-wrapper " + (disableEdit ? 'disable-edit' : 'enable-edit')
42
+ }, /*#__PURE__*/React.createElement(_Select, _extends({}, props, {
43
+ value: value,
44
+ onChange: handleChange,
45
+ dataSource: dataSource
46
+ })));
47
+ };
48
+ export default ProSelect;
@@ -0,0 +1,3 @@
1
+ import { Input as oringinalInput } from '@alifd/next';
2
+ declare const ProTextArea: typeof oringinalInput;
3
+ export default ProTextArea;
@@ -0,0 +1,45 @@
1
+ import _Input from "@alifd/next/es/input";
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
4
+ var _excluded = ["screen_structure", "screen_structure_field", "defaultValue", "disableEdit"];
5
+ import { getStructureFieldName } from "../utils";
6
+ import { useComponentContext } from "../../context/useComponentContext";
7
+ var React = window.React;
8
+ var createElement = React.createElement,
9
+ useEffect = React.useEffect,
10
+ useRef = React.useRef,
11
+ useState = React.useState;
12
+ var ProTextArea = function ProTextArea(props) {
13
+ var screen_structure = props.screen_structure,
14
+ screen_structure_field = props.screen_structure_field,
15
+ defaultValue = props.defaultValue,
16
+ disableEdit = props.disableEdit,
17
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded);
18
+ var _getStructureFieldNam = getStructureFieldName(screen_structure, screen_structure_field),
19
+ structureName = _getStructureFieldNam.structureName,
20
+ structureField = _getStructureFieldNam.structureField;
21
+ var fieldPath = structureName + "." + structureField;
22
+ var _useComponentContext = useComponentContext(fieldPath),
23
+ value = _useComponentContext.value,
24
+ onValueChange = _useComponentContext.onValueChange;
25
+ console.log('ProTextArea useComponentContext value', value, fieldPath);
26
+ // console.log('otherProps', otherProps);
27
+
28
+ var handleChange = function handleChange(newValue) {
29
+ // updateScreenStructure(screen_structure, screen_structure_field, value);
30
+ if (onValueChange) {
31
+ onValueChange(newValue);
32
+ }
33
+ // 触发标准 onChange
34
+ if (props.onChange) {
35
+ props.onChange(newValue, structureName, structureField);
36
+ }
37
+ };
38
+ return /*#__PURE__*/React.createElement("span", {
39
+ className: "field-wrapper " + (disableEdit ? 'disable-edit' : 'enable-edit')
40
+ }, /*#__PURE__*/React.createElement(_Input.TextArea, _extends({}, props, {
41
+ value: value,
42
+ onChange: handleChange
43
+ })));
44
+ };
45
+ export default ProTextArea;
@@ -0,0 +1,3 @@
1
+ import { TimePicker } from '@alifd/next';
2
+ declare const ProTimePicker: typeof TimePicker;
3
+ export default ProTimePicker;
@@ -0,0 +1,61 @@
1
+ import _TimePicker from "@alifd/next/es/time-picker";
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
4
+ var _excluded = ["screen_structure", "screen_structure_field", "defaultValue", "disableEdit"];
5
+ import { getStructureFieldName } from "../utils";
6
+ import { useComponentContext } from "../../context/useComponentContext";
7
+ var React = window.React;
8
+ var createElement = React.createElement,
9
+ useEffect = React.useEffect,
10
+ useRef = React.useRef,
11
+ useState = React.useState;
12
+ var moment = window.moment;
13
+
14
+ // 工具函数:Date 转字符串 "HH:mm:ss"
15
+ function timeDateToString(date) {
16
+ if (!date) return '';
17
+ if (moment) {
18
+ // 使用 moment 格式化
19
+ return moment(date).format('HH:mm:ss');
20
+ }
21
+ // 降级方案
22
+ var d = new Date(date);
23
+ var h = String(d.getHours()).padStart(2, '0');
24
+ var m = String(d.getMinutes()).padStart(2, '0');
25
+ var s = String(d.getSeconds()).padStart(2, '0');
26
+ return h + ":" + m + ":" + s;
27
+ }
28
+ var ProTimePicker = function ProTimePicker(props) {
29
+ var screen_structure = props.screen_structure,
30
+ screen_structure_field = props.screen_structure_field,
31
+ defaultValue = props.defaultValue,
32
+ disableEdit = props.disableEdit,
33
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded);
34
+ var _getStructureFieldNam = getStructureFieldName(screen_structure, screen_structure_field),
35
+ structureName = _getStructureFieldNam.structureName,
36
+ structureField = _getStructureFieldNam.structureField;
37
+ var fieldPath = structureName + "." + structureField;
38
+ var _useComponentContext = useComponentContext(fieldPath),
39
+ value = _useComponentContext.value,
40
+ onValueChange = _useComponentContext.onValueChange;
41
+ console.log('ProTimePicker useComponentContext value', value, fieldPath);
42
+ // console.log('otherProps', otherProps);
43
+
44
+ var handleChange = function handleChange(newValue) {
45
+ // updateScreenStructure(screen_structure, screen_structure_field, value);
46
+ if (onValueChange) {
47
+ onValueChange(timeDateToString(newValue));
48
+ }
49
+ // 触发标准 onChange
50
+ if (props.onChange) {
51
+ props.onChange(timeDateToString(newValue), structureName, structureField);
52
+ }
53
+ };
54
+ return /*#__PURE__*/React.createElement("span", {
55
+ className: "field-wrapper " + (disableEdit ? 'disable-edit' : 'enable-edit')
56
+ }, /*#__PURE__*/React.createElement(_TimePicker, _extends({}, props, {
57
+ value: value,
58
+ onChange: handleChange
59
+ })));
60
+ };
61
+ export default ProTimePicker;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import './index.scss';
3
+ export interface ColorfulButtonProps {
4
+ /**
5
+ * 类型
6
+ */
7
+ type?: "primary" | "secondary" | "normal";
8
+ color?: string;
9
+ style?: object;
10
+ }
11
+ declare const ColorfulButton: React.FC<ColorfulButtonProps>;
12
+ export default ColorfulButton;
@@ -0,0 +1,29 @@
1
+ import _Button from "@alifd/next/es/button";
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
4
+ var _excluded = ["type", "color", "style"];
5
+ var React = window.React;
6
+ var createElement = React.createElement,
7
+ useEffect = React.useEffect,
8
+ useRef = React.useRef,
9
+ useState = React.useState;
10
+ import "./index.scss";
11
+ var ColorfulButton = function ColorfulButton(_ref) {
12
+ var _ref$type = _ref.type,
13
+ type = _ref$type === void 0 ? 'primary' : _ref$type,
14
+ color = _ref.color,
15
+ _ref$style = _ref.style,
16
+ style = _ref$style === void 0 ? {} : _ref$style,
17
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
18
+ var _style = style || {};
19
+ if (color) {
20
+ _style.backgroundColor = color;
21
+ }
22
+ var _otherProps = otherProps || {};
23
+ _otherProps.style = _style;
24
+ return /*#__PURE__*/React.createElement(_Button, _extends({
25
+ type: type
26
+ }, _otherProps), "fusion button");
27
+ };
28
+ ColorfulButton.displayName = 'ColorfulButton';
29
+ export default ColorfulButton;
@@ -0,0 +1,3 @@
1
+ import ColorfulButton from './colorful-button';
2
+ export type { ColorfulButtonProps } from './colorful-button';
3
+ export default ColorfulButton;
@@ -0,0 +1,2 @@
1
+ import ColorfulButton from "./colorful-button";
2
+ export default ColorfulButton;
@@ -0,0 +1,5 @@
1
+ @import '../../variables.scss';
2
+
3
+ #{$biz-css-prefix}-colorful-button {
4
+ border: 2px dashed blue;
5
+ }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import './index.scss';
3
+ export interface ColorfulInputProps {
4
+ color?: string;
5
+ style?: object;
6
+ }
7
+ declare const ColorfulInput: React.FC<ColorfulInputProps>;
8
+ export default ColorfulInput;
@@ -0,0 +1,23 @@
1
+ import _Input from "@alifd/next/es/input";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3
+ var _excluded = ["color", "style"];
4
+ var React = window.React;
5
+ var createElement = React.createElement,
6
+ useEffect = React.useEffect,
7
+ useRef = React.useRef,
8
+ useState = React.useState;
9
+ import "./index.scss";
10
+ var ColorfulInput = function ColorfulInput(_ref) {
11
+ var color = _ref.color,
12
+ _ref$style = _ref.style,
13
+ style = _ref$style === void 0 ? {} : _ref$style,
14
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
15
+ var _style = style || {};
16
+ if (color) {
17
+ _style.backgroundColor = color;
18
+ }
19
+ var _otherProps = otherProps || {};
20
+ _otherProps.style = _style;
21
+ return /*#__PURE__*/React.createElement(_Input, _otherProps);
22
+ };
23
+ export default ColorfulInput;
@@ -0,0 +1,3 @@
1
+ import ColorfulInput from './colorful-input';
2
+ export type { ColorfulInputProps } from './colorful-input';
3
+ export default ColorfulInput;
@@ -0,0 +1,2 @@
1
+ import ColorfulInput from "./colorful-input";
2
+ export default ColorfulInput;
@@ -0,0 +1,5 @@
1
+ @import '../../variables.scss';
2
+
3
+ #{$biz-css-prefix}-colorful-button {
4
+ border: 2px dashed blue;
5
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const ExportExcelButton: ({ tableDataSource, columns, tableName, }: {
3
+ tableDataSource: any;
4
+ columns: any;
5
+ tableName: any;
6
+ }) => JSX.Element;
7
+ export default ExportExcelButton;