@tmagic/form 1.0.0-beta.13 → 1.0.0-beta.14

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 (62) hide show
  1. package/coverage/clover.xml +35 -23
  2. package/coverage/coverage-final.json +3 -2
  3. package/coverage/lcov-report/index.html +14 -14
  4. package/coverage/lcov-report/src/Form.vue.html +2 -2
  5. package/coverage/lcov-report/src/FormDialog.vue.html +1 -1
  6. package/coverage/lcov-report/src/containers/Col.vue.html +253 -0
  7. package/coverage/lcov-report/src/containers/Container.vue.html +1 -1
  8. package/coverage/lcov-report/src/containers/Fieldset.vue.html +1 -1
  9. package/coverage/lcov-report/src/containers/GroupList.vue.html +1 -1
  10. package/coverage/lcov-report/src/containers/GroupListItem.vue.html +1 -1
  11. package/coverage/lcov-report/src/containers/Panel.vue.html +1 -1
  12. package/coverage/lcov-report/src/containers/Row.vue.html +23 -35
  13. package/coverage/lcov-report/src/containers/Step.vue.html +1 -1
  14. package/coverage/lcov-report/src/containers/Table.vue.html +1 -1
  15. package/coverage/lcov-report/src/containers/Tabs.vue.html +1 -1
  16. package/coverage/lcov-report/src/containers/index.html +29 -14
  17. package/coverage/lcov-report/src/fields/Cascader.vue.html +1 -1
  18. package/coverage/lcov-report/src/fields/Checkbox.vue.html +3 -3
  19. package/coverage/lcov-report/src/fields/CheckboxGroup.vue.html +1 -1
  20. package/coverage/lcov-report/src/fields/ColorPicker.vue.html +1 -1
  21. package/coverage/lcov-report/src/fields/Date.vue.html +1 -1
  22. package/coverage/lcov-report/src/fields/DateTime.vue.html +1 -1
  23. package/coverage/lcov-report/src/fields/Daterange.vue.html +1 -1
  24. package/coverage/lcov-report/src/fields/Display.vue.html +1 -1
  25. package/coverage/lcov-report/src/fields/DynamicField.vue.html +1 -1
  26. package/coverage/lcov-report/src/fields/Hidden.vue.html +1 -1
  27. package/coverage/lcov-report/src/fields/Link.vue.html +1 -1
  28. package/coverage/lcov-report/src/fields/Number.vue.html +1 -1
  29. package/coverage/lcov-report/src/fields/RadioGroup.vue.html +1 -1
  30. package/coverage/lcov-report/src/fields/Select.vue.html +1 -1
  31. package/coverage/lcov-report/src/fields/Switch.vue.html +1 -1
  32. package/coverage/lcov-report/src/fields/Text.vue.html +1 -1
  33. package/coverage/lcov-report/src/fields/Textarea.vue.html +13 -19
  34. package/coverage/lcov-report/src/fields/Time.vue.html +1 -1
  35. package/coverage/lcov-report/src/fields/index.html +1 -1
  36. package/coverage/lcov-report/src/index.html +1 -1
  37. package/coverage/lcov-report/src/index.ts.html +1 -1
  38. package/coverage/lcov-report/src/theme/index.html +1 -1
  39. package/coverage/lcov-report/src/theme/index.scss.html +1 -1
  40. package/coverage/lcov-report/src/utils/config.ts.html +1 -1
  41. package/coverage/lcov-report/src/utils/createForm.ts.html +1 -1
  42. package/coverage/lcov-report/src/utils/fieldProps.ts.html +1 -1
  43. package/coverage/lcov-report/src/utils/form.ts.html +1 -1
  44. package/coverage/lcov-report/src/utils/index.html +1 -1
  45. package/coverage/lcov-report/src/utils/useAddField.ts.html +1 -1
  46. package/coverage/lcov.info +63 -37
  47. package/dist/tmagic-form.es.js +120 -84
  48. package/dist/tmagic-form.es.js.map +1 -1
  49. package/dist/tmagic-form.umd.js +120 -84
  50. package/dist/tmagic-form.umd.js.map +1 -1
  51. package/dist/types/src/Form.vue.d.ts +354 -0
  52. package/dist/types/src/FormDialog.vue.d.ts +741 -0
  53. package/dist/types/src/containers/Col.vue.d.ts +42 -0
  54. package/dist/types/src/containers/Row.vue.d.ts +0 -1
  55. package/dist/types/src/fields/Checkbox.vue.d.ts +2 -2
  56. package/dist/types/src/fields/Link.vue.d.ts +1564 -0
  57. package/package.json +3 -3
  58. package/src/Form.vue +1 -1
  59. package/src/containers/Col.vue +56 -0
  60. package/src/containers/Row.vue +14 -18
  61. package/src/fields/Checkbox.vue +2 -2
  62. package/src/fields/Textarea.vue +11 -13
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1650600900900" clover="3.2.0">
3
- <project timestamp="1650600900900" name="All files">
4
- <metrics statements="1220" coveredstatements="588" conditionals="832" coveredconditionals="196" methods="329" coveredmethods="125" elements="2381" coveredelements="909" complexity="0" loc="1220" ncloc="1220" packages="5" files="36" classes="36"/>
2
+ <coverage generated="1651914272591" clover="3.2.0">
3
+ <project timestamp="1651914272591" name="All files">
4
+ <metrics statements="1229" coveredstatements="591" conditionals="832" coveredconditionals="196" methods="333" coveredmethods="125" elements="2394" coveredelements="912" complexity="0" loc="1229" ncloc="1229" packages="5" files="37" classes="37"/>
5
5
  <package name="src">
6
6
  <metrics statements="179" coveredstatements="149" conditionals="27" coveredconditionals="5" methods="62" coveredmethods="36"/>
7
7
  <file name="Form.vue" path="/root/magic/tmagic-editor/packages/form/src/Form.vue">
@@ -194,7 +194,20 @@
194
194
  </file>
195
195
  </package>
196
196
  <package name="src.containers">
197
- <metrics statements="448" coveredstatements="104" conditionals="354" coveredconditionals="34" methods="141" coveredmethods="25"/>
197
+ <metrics statements="457" coveredstatements="107" conditionals="354" coveredconditionals="34" methods="145" coveredmethods="25"/>
198
+ <file name="Col.vue" path="/root/magic/tmagic-editor/packages/form/src/containers/Col.vue">
199
+ <metrics statements="10" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="0"/>
200
+ <line num="16" count="17" type="stmt"/>
201
+ <line num="19" count="17" type="stmt"/>
202
+ <line num="21" count="17" type="stmt"/>
203
+ <line num="29" count="0" type="stmt"/>
204
+ <line num="34" count="0" type="stmt"/>
205
+ <line num="44" count="0" type="stmt"/>
206
+ <line num="45" count="0" type="stmt"/>
207
+ <line num="47" count="0" type="stmt"/>
208
+ <line num="49" count="0" type="stmt"/>
209
+ <line num="51" count="0" type="stmt"/>
210
+ </file>
198
211
  <file name="Container.vue" path="/root/magic/tmagic-editor/packages/form/src/containers/Container.vue">
199
212
  <metrics statements="58" coveredstatements="50" conditionals="63" coveredconditionals="33" methods="19" coveredmethods="18"/>
200
213
  <line num="105" count="17" type="stmt"/>
@@ -379,17 +392,16 @@
379
392
  <line num="97" count="0" type="stmt"/>
380
393
  </file>
381
394
  <file name="Row.vue" path="/root/magic/tmagic-editor/packages/form/src/containers/Row.vue">
382
- <metrics statements="10" coveredstatements="3" conditionals="2" coveredconditionals="0" methods="5" coveredmethods="0"/>
395
+ <metrics statements="9" coveredstatements="3" conditionals="2" coveredconditionals="0" methods="4" coveredmethods="0"/>
396
+ <line num="19" count="17" type="stmt"/>
383
397
  <line num="23" count="17" type="stmt"/>
384
- <line num="26" count="17" type="stmt"/>
385
- <line num="28" count="17" type="stmt"/>
386
- <line num="37" count="0" type="stmt"/>
387
- <line num="42" count="0" type="stmt"/>
398
+ <line num="25" count="17" type="stmt"/>
399
+ <line num="36" count="0" type="stmt"/>
400
+ <line num="41" count="0" type="stmt"/>
401
+ <line num="53" count="0" type="stmt"/>
388
402
  <line num="54" count="0" type="stmt"/>
389
- <line num="55" count="0" type="stmt"/>
390
- <line num="57" count="0" type="cond" truecount="0" falsecount="2"/>
391
- <line num="59" count="0" type="stmt"/>
392
- <line num="62" count="0" type="stmt"/>
403
+ <line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
404
+ <line num="58" count="0" type="stmt"/>
393
405
  </file>
394
406
  <file name="Step.vue" path="/root/magic/tmagic-editor/packages/form/src/containers/Step.vue">
395
407
  <metrics statements="16" coveredstatements="2" conditionals="4" coveredconditionals="0" methods="7" coveredmethods="0"/>
@@ -1181,19 +1193,19 @@
1181
1193
  </file>
1182
1194
  <file name="Textarea.vue" path="/root/magic/tmagic-editor/packages/form/src/fields/Textarea.vue">
1183
1195
  <metrics statements="13" coveredstatements="13" conditionals="4" coveredconditionals="3" methods="5" coveredmethods="5"/>
1184
- <line num="18" count="17" type="stmt"/>
1196
+ <line num="16" count="17" type="stmt"/>
1197
+ <line num="19" count="17" type="stmt"/>
1198
+ <line num="20" count="17" type="stmt"/>
1185
1199
  <line num="21" count="17" type="stmt"/>
1186
- <line num="22" count="17" type="stmt"/>
1187
- <line num="23" count="17" type="stmt"/>
1188
- <line num="36" count="1" type="stmt"/>
1189
- <line num="40" count="1" type="stmt"/>
1190
- <line num="44" count="1" type="stmt"/>
1200
+ <line num="34" count="1" type="stmt"/>
1201
+ <line num="38" count="1" type="stmt"/>
1202
+ <line num="42" count="1" type="stmt"/>
1203
+ <line num="43" count="1" type="stmt"/>
1191
1204
  <line num="45" count="1" type="stmt"/>
1192
1205
  <line num="47" count="1" type="stmt"/>
1193
- <line num="49" count="1" type="stmt"/>
1194
- <line num="52" count="1" type="stmt"/>
1195
- <line num="56" count="1" type="stmt"/>
1196
- <line num="57" count="1" type="cond" truecount="3" falsecount="1"/>
1206
+ <line num="50" count="1" type="stmt"/>
1207
+ <line num="54" count="1" type="stmt"/>
1208
+ <line num="55" count="1" type="cond" truecount="3" falsecount="1"/>
1197
1209
  </file>
1198
1210
  <file name="Time.vue" path="/root/magic/tmagic-editor/packages/form/src/fields/Time.vue">
1199
1211
  <metrics statements="9" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="2"/>