@tsed/tailwind-formio 2.0.3 → 2.1.1

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 (382) hide show
  1. package/.eslintignore +1 -0
  2. package/dist/index.d.ts +222 -0
  3. package/dist/index.js +2021 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.modern.js +2021 -0
  6. package/dist/index.modern.js.map +1 -0
  7. package/dist/templates/index.d.ts +219 -0
  8. package/dist/templates/stories/alert.stories.d.ts +16 -0
  9. package/dist/templates/stories/badge.stories.d.ts +16 -0
  10. package/dist/templates/stories/breadcrumbs.stories.d.ts +36 -0
  11. package/dist/templates/stories/builder.stories.d.ts +3056 -0
  12. package/dist/templates/stories/pagination.stories.d.ts +16 -0
  13. package/dist/templates/stories/progress.stories.d.ts +21 -0
  14. package/dist/templates/stories/wizard.stories.d.ts +3056 -0
  15. package/dist/templates/tailwind/address/form.ejs.d.ts +1 -0
  16. package/dist/templates/tailwind/address/html.ejs.d.ts +1 -0
  17. package/dist/templates/tailwind/address/index.d.ts +5 -0
  18. package/dist/templates/tailwind/alert/form.ejs.d.ts +1 -0
  19. package/dist/templates/tailwind/alert/index.d.ts +5 -0
  20. package/dist/templates/tailwind/builder/form.ejs.d.ts +1 -0
  21. package/dist/templates/tailwind/builder/index.d.ts +5 -0
  22. package/dist/templates/tailwind/builderComponent/form.ejs.d.ts +1 -0
  23. package/dist/templates/tailwind/builderComponent/index.d.ts +5 -0
  24. package/dist/templates/tailwind/builderComponents/form.ejs.d.ts +1 -0
  25. package/dist/templates/tailwind/builderComponents/index.d.ts +5 -0
  26. package/dist/templates/tailwind/builderEditForm/form.ejs.d.ts +1 -0
  27. package/dist/templates/tailwind/builderEditForm/index.d.ts +5 -0
  28. package/dist/templates/tailwind/builderPlaceholder/form.ejs.d.ts +1 -0
  29. package/dist/templates/tailwind/builderPlaceholder/index.d.ts +5 -0
  30. package/dist/templates/tailwind/builderSidebar/form.ejs.d.ts +1 -0
  31. package/dist/templates/tailwind/builderSidebar/index.d.ts +5 -0
  32. package/dist/templates/tailwind/builderSidebarGroup/form.ejs.d.ts +1 -0
  33. package/dist/templates/tailwind/builderSidebarGroup/index.d.ts +5 -0
  34. package/dist/templates/tailwind/builderWizard/form.ejs.d.ts +1 -0
  35. package/dist/templates/tailwind/builderWizard/index.d.ts +5 -0
  36. package/dist/templates/tailwind/button/button.stories.d.ts +21 -0
  37. package/dist/templates/tailwind/button/form.ejs.d.ts +1 -0
  38. package/dist/templates/tailwind/button/html.ejs.d.ts +1 -0
  39. package/dist/templates/tailwind/button/index.d.ts +7 -0
  40. package/dist/templates/tailwind/checkbox/form.ejs.d.ts +1 -0
  41. package/dist/templates/tailwind/checkbox/html.ejs.d.ts +1 -0
  42. package/dist/templates/tailwind/checkbox/index.d.ts +7 -0
  43. package/dist/templates/tailwind/columns/form.ejs.d.ts +1 -0
  44. package/dist/templates/tailwind/columns/index.d.ts +5 -0
  45. package/dist/templates/tailwind/component/form.ejs.d.ts +1 -0
  46. package/dist/templates/tailwind/component/index.d.ts +5 -0
  47. package/dist/templates/tailwind/componentModal/form.ejs.d.ts +1 -0
  48. package/dist/templates/tailwind/componentModal/index.d.ts +5 -0
  49. package/dist/templates/tailwind/components/form.ejs.d.ts +1 -0
  50. package/dist/templates/tailwind/components/index.d.ts +5 -0
  51. package/dist/templates/tailwind/container/form.ejs.d.ts +1 -0
  52. package/dist/templates/tailwind/container/index.d.ts +5 -0
  53. package/dist/templates/tailwind/cssClasses.d.ts +7 -0
  54. package/dist/templates/tailwind/datagrid/form.ejs.d.ts +1 -0
  55. package/dist/templates/tailwind/datagrid/html.ejs.d.ts +1 -0
  56. package/dist/templates/tailwind/datagrid/index.d.ts +7 -0
  57. package/dist/templates/tailwind/day/form.ejs.d.ts +1 -0
  58. package/dist/templates/tailwind/day/index.d.ts +5 -0
  59. package/dist/templates/tailwind/dialog/form.ejs.d.ts +1 -0
  60. package/dist/templates/tailwind/dialog/index.d.ts +5 -0
  61. package/dist/templates/tailwind/editgrid/form.ejs.d.ts +1 -0
  62. package/dist/templates/tailwind/editgrid/html.ejs.d.ts +1 -0
  63. package/dist/templates/tailwind/editgrid/index.d.ts +7 -0
  64. package/dist/templates/tailwind/editgridTable/form.ejs.d.ts +1 -0
  65. package/dist/templates/tailwind/editgridTable/html.ejs.d.ts +1 -0
  66. package/dist/templates/tailwind/editgridTable/index.d.ts +7 -0
  67. package/dist/templates/tailwind/errorsList/form.ejs.d.ts +1 -0
  68. package/dist/templates/tailwind/errorsList/index.d.ts +5 -0
  69. package/dist/templates/tailwind/field/align.ejs.d.ts +1 -0
  70. package/dist/templates/tailwind/field/form.ejs.d.ts +1 -0
  71. package/dist/templates/tailwind/field/index.d.ts +7 -0
  72. package/dist/templates/tailwind/fieldset/form.ejs.d.ts +1 -0
  73. package/dist/templates/tailwind/fieldset/index.d.ts +5 -0
  74. package/dist/templates/tailwind/file/form.ejs.d.ts +1 -0
  75. package/dist/templates/tailwind/file/index.d.ts +5 -0
  76. package/dist/templates/tailwind/html/form.ejs.d.ts +1 -0
  77. package/dist/templates/tailwind/html/index.d.ts +5 -0
  78. package/dist/templates/tailwind/icon/form.ejs.d.ts +1 -0
  79. package/dist/templates/tailwind/icon/index.d.ts +5 -0
  80. package/dist/templates/tailwind/iconClass.d.ts +3 -0
  81. package/dist/templates/tailwind/index.d.ts +217 -0
  82. package/dist/templates/tailwind/input/form.ejs.d.ts +1 -0
  83. package/dist/templates/tailwind/input/html.ejs.d.ts +1 -0
  84. package/dist/templates/tailwind/input/index.d.ts +7 -0
  85. package/dist/templates/tailwind/label/form.ejs.d.ts +1 -0
  86. package/dist/templates/tailwind/label/index.d.ts +5 -0
  87. package/dist/templates/tailwind/loader/form.ejs.d.ts +1 -0
  88. package/dist/templates/tailwind/loader/index.d.ts +5 -0
  89. package/dist/templates/tailwind/loading/form.ejs.d.ts +1 -0
  90. package/dist/templates/tailwind/loading/index.d.ts +5 -0
  91. package/dist/templates/tailwind/map/form.ejs.d.ts +1 -0
  92. package/dist/templates/tailwind/map/index.d.ts +5 -0
  93. package/dist/templates/tailwind/message/form.ejs.d.ts +1 -0
  94. package/dist/templates/tailwind/message/index.d.ts +5 -0
  95. package/dist/templates/tailwind/modalPreview/form.ejs.d.ts +1 -0
  96. package/dist/templates/tailwind/modalPreview/index.d.ts +5 -0
  97. package/dist/templates/tailwind/modaldialog/form.ejs.d.ts +1 -0
  98. package/dist/templates/tailwind/modaldialog/index.d.ts +5 -0
  99. package/dist/templates/tailwind/modaledit/form.ejs.d.ts +1 -0
  100. package/dist/templates/tailwind/modaledit/index.d.ts +5 -0
  101. package/dist/templates/tailwind/multiValueRow/form.ejs.d.ts +1 -0
  102. package/dist/templates/tailwind/multiValueRow/index.d.ts +5 -0
  103. package/dist/templates/tailwind/multiValueTable/form.ejs.d.ts +1 -0
  104. package/dist/templates/tailwind/multiValueTable/index.d.ts +5 -0
  105. package/dist/templates/tailwind/multipleMasksInput/form.ejs.d.ts +1 -0
  106. package/dist/templates/tailwind/multipleMasksInput/index.d.ts +5 -0
  107. package/dist/templates/tailwind/panel/form.ejs.d.ts +1 -0
  108. package/dist/templates/tailwind/panel/index.d.ts +5 -0
  109. package/dist/templates/tailwind/pdf/form.ejs.d.ts +1 -0
  110. package/dist/templates/tailwind/pdf/index.d.ts +5 -0
  111. package/dist/templates/tailwind/pdfBuilder/form.ejs.d.ts +1 -0
  112. package/dist/templates/tailwind/pdfBuilder/index.d.ts +5 -0
  113. package/dist/templates/tailwind/pdfBuilderUpload/form.ejs.d.ts +1 -0
  114. package/dist/templates/tailwind/pdfBuilderUpload/index.d.ts +5 -0
  115. package/dist/templates/tailwind/radio/form.ejs.d.ts +1 -0
  116. package/dist/templates/tailwind/radio/html.ejs.d.ts +1 -0
  117. package/dist/templates/tailwind/radio/index.d.ts +7 -0
  118. package/dist/templates/tailwind/resourceAdd/form.ejs.d.ts +1 -0
  119. package/dist/templates/tailwind/resourceAdd/index.d.ts +5 -0
  120. package/dist/templates/tailwind/select/form.ejs.d.ts +1 -0
  121. package/dist/templates/tailwind/select/html.ejs.d.ts +1 -0
  122. package/dist/templates/tailwind/select/index.d.ts +7 -0
  123. package/dist/templates/tailwind/selectOption/form.ejs.d.ts +1 -0
  124. package/dist/templates/tailwind/selectOption/html.ejs.d.ts +1 -0
  125. package/dist/templates/tailwind/selectOption/index.d.ts +7 -0
  126. package/dist/templates/tailwind/signature/form.ejs.d.ts +1 -0
  127. package/dist/templates/tailwind/signature/html.ejs.d.ts +1 -0
  128. package/dist/templates/tailwind/signature/index.d.ts +7 -0
  129. package/dist/templates/tailwind/survey/form.ejs.d.ts +1 -0
  130. package/dist/templates/tailwind/survey/html.ejs.d.ts +1 -0
  131. package/dist/templates/tailwind/survey/index.d.ts +7 -0
  132. package/dist/templates/tailwind/tab/flat.ejs.d.ts +1 -0
  133. package/dist/templates/tailwind/tab/form.ejs.d.ts +1 -0
  134. package/dist/templates/tailwind/tab/index.d.ts +7 -0
  135. package/dist/templates/tailwind/table/form.ejs.d.ts +1 -0
  136. package/dist/templates/tailwind/table/index.d.ts +5 -0
  137. package/dist/templates/tailwind/tableComponents/form.ejs.d.ts +1 -0
  138. package/dist/templates/tailwind/tableComponents/index.d.ts +5 -0
  139. package/dist/templates/tailwind/tree/form.ejs.d.ts +1 -0
  140. package/dist/templates/tailwind/tree/index.d.ts +5 -0
  141. package/dist/templates/tailwind/tree/partials/edit.ejs.d.ts +1 -0
  142. package/dist/templates/tailwind/tree/partials/index.d.ts +11 -0
  143. package/dist/templates/tailwind/tree/partials/view.ejs.d.ts +1 -0
  144. package/dist/templates/tailwind/webform/builder.ejs.d.ts +1 -0
  145. package/dist/templates/tailwind/webform/form.ejs.d.ts +1 -0
  146. package/dist/templates/tailwind/webform/index.d.ts +7 -0
  147. package/dist/templates/tailwind/well/form.ejs.d.ts +1 -0
  148. package/dist/templates/tailwind/well/index.d.ts +5 -0
  149. package/dist/templates/tailwind/wizard/builder.ejs.d.ts +1 -0
  150. package/dist/templates/tailwind/wizard/form.ejs.d.ts +1 -0
  151. package/dist/templates/tailwind/wizard/index.d.ts +7 -0
  152. package/dist/templates/tailwind/wizardHeader/form.ejs.d.ts +1 -0
  153. package/dist/templates/tailwind/wizardHeader/index.d.ts +5 -0
  154. package/dist/templates/tailwind/wizardHeaderClassic/form.ejs.d.ts +1 -0
  155. package/dist/templates/tailwind/wizardHeaderClassic/index.d.ts +5 -0
  156. package/dist/templates/tailwind/wizardHeaderVertical/form.ejs.d.ts +1 -0
  157. package/dist/templates/tailwind/wizardHeaderVertical/index.d.ts +5 -0
  158. package/dist/templates/tailwind/wizardNav/form.ejs.d.ts +1 -0
  159. package/dist/templates/tailwind/wizardNav/index.d.ts +5 -0
  160. package/gulpfile.js +2 -2
  161. package/package.json +8 -7
  162. package/{lib → src}/templates/tailwind/address/form.ejs.js +1 -4
  163. package/{lib → src}/templates/tailwind/address/html.ejs.js +1 -4
  164. package/src/templates/tailwind/address/index.ts +1 -1
  165. package/{lib → src}/templates/tailwind/alert/form.ejs.js +1 -4
  166. package/src/templates/tailwind/alert/index.js +1 -1
  167. package/{lib → src}/templates/tailwind/builder/form.ejs.js +1 -4
  168. package/src/templates/tailwind/builder/index.ts +1 -1
  169. package/{lib → src}/templates/tailwind/builderComponent/form.ejs.js +1 -4
  170. package/src/templates/tailwind/builderComponent/index.ts +1 -1
  171. package/{lib → src}/templates/tailwind/builderComponents/form.ejs.js +1 -4
  172. package/src/templates/tailwind/builderComponents/index.ts +1 -1
  173. package/{lib → src}/templates/tailwind/builderEditForm/form.ejs.js +1 -4
  174. package/src/templates/tailwind/builderEditForm/index.ts +1 -1
  175. package/{lib → src}/templates/tailwind/builderPlaceholder/form.ejs.js +1 -4
  176. package/src/templates/tailwind/builderPlaceholder/index.ts +1 -1
  177. package/{lib → src}/templates/tailwind/builderSidebar/form.ejs.js +1 -4
  178. package/src/templates/tailwind/builderSidebar/index.ts +1 -1
  179. package/{lib → src}/templates/tailwind/builderSidebarGroup/form.ejs.js +1 -4
  180. package/src/templates/tailwind/builderSidebarGroup/index.ts +1 -1
  181. package/{lib → src}/templates/tailwind/builderWizard/form.ejs.js +1 -4
  182. package/src/templates/tailwind/builderWizard/index.ts +1 -1
  183. package/{lib → src}/templates/tailwind/button/form.ejs.js +1 -4
  184. package/src/templates/tailwind/button/html.ejs.js +5 -0
  185. package/src/templates/tailwind/button/index.ts +2 -2
  186. package/{lib → src}/templates/tailwind/checkbox/form.ejs.js +1 -4
  187. package/{lib → src}/templates/tailwind/checkbox/html.ejs.js +1 -4
  188. package/src/templates/tailwind/checkbox/index.ts +2 -2
  189. package/{lib → src}/templates/tailwind/columns/form.ejs.js +1 -4
  190. package/src/templates/tailwind/columns/index.ts +1 -1
  191. package/{lib → src}/templates/tailwind/component/form.ejs.js +1 -4
  192. package/src/templates/tailwind/component/index.ts +1 -1
  193. package/{lib → src}/templates/tailwind/componentModal/form.ejs.js +1 -4
  194. package/src/templates/tailwind/componentModal/index.ts +1 -1
  195. package/{lib → src}/templates/tailwind/components/form.ejs.js +1 -4
  196. package/src/templates/tailwind/components/index.ts +1 -1
  197. package/{lib → src}/templates/tailwind/container/form.ejs.js +1 -4
  198. package/src/templates/tailwind/container/index.ts +1 -1
  199. package/{lib → src}/templates/tailwind/datagrid/form.ejs.js +1 -4
  200. package/{lib → src}/templates/tailwind/datagrid/html.ejs.js +1 -4
  201. package/src/templates/tailwind/datagrid/index.ts +2 -2
  202. package/{lib → src}/templates/tailwind/day/form.ejs.js +1 -4
  203. package/src/templates/tailwind/day/index.ts +1 -1
  204. package/{lib → src}/templates/tailwind/dialog/form.ejs.js +1 -4
  205. package/src/templates/tailwind/dialog/index.ts +1 -1
  206. package/{lib → src}/templates/tailwind/editgrid/form.ejs.js +1 -4
  207. package/{lib → src}/templates/tailwind/editgrid/html.ejs.js +1 -4
  208. package/src/templates/tailwind/editgrid/index.ts +2 -2
  209. package/{lib → src}/templates/tailwind/editgridTable/form.ejs.js +1 -4
  210. package/{lib → src}/templates/tailwind/editgridTable/html.ejs.js +1 -4
  211. package/src/templates/tailwind/editgridTable/index.ts +2 -2
  212. package/{lib → src}/templates/tailwind/errorsList/form.ejs.js +1 -4
  213. package/src/templates/tailwind/errorsList/index.ts +1 -1
  214. package/{lib → src}/templates/tailwind/field/align.ejs.js +1 -4
  215. package/{lib → src}/templates/tailwind/field/form.ejs.js +1 -4
  216. package/src/templates/tailwind/field/index.ts +2 -2
  217. package/{lib → src}/templates/tailwind/fieldset/form.ejs.js +1 -4
  218. package/src/templates/tailwind/fieldset/index.ts +1 -1
  219. package/{lib → src}/templates/tailwind/file/form.ejs.js +1 -4
  220. package/src/templates/tailwind/file/index.ts +1 -1
  221. package/{lib → src}/templates/tailwind/html/form.ejs.js +1 -4
  222. package/src/templates/tailwind/html/index.ts +1 -1
  223. package/{lib → src}/templates/tailwind/icon/form.ejs.js +1 -4
  224. package/src/templates/tailwind/icon/index.ts +1 -1
  225. package/src/templates/tailwind/index.ts +2 -1
  226. package/{lib → src}/templates/tailwind/input/form.ejs.js +1 -4
  227. package/{lib → src}/templates/tailwind/input/html.ejs.js +1 -4
  228. package/src/templates/tailwind/input/index.ts +2 -2
  229. package/{lib → src}/templates/tailwind/label/form.ejs.js +1 -4
  230. package/src/templates/tailwind/label/index.ts +1 -1
  231. package/{lib → src}/templates/tailwind/loader/form.ejs.js +1 -4
  232. package/src/templates/tailwind/loader/index.ts +1 -1
  233. package/src/templates/tailwind/loading/form.ejs.js +7 -0
  234. package/src/templates/tailwind/loading/index.ts +1 -1
  235. package/{lib → src}/templates/tailwind/map/form.ejs.js +1 -4
  236. package/src/templates/tailwind/map/index.ts +1 -1
  237. package/{lib → src}/templates/tailwind/message/form.ejs.js +1 -4
  238. package/src/templates/tailwind/message/index.ts +1 -1
  239. package/{lib → src}/templates/tailwind/modalPreview/form.ejs.js +1 -4
  240. package/src/templates/tailwind/modalPreview/index.ts +1 -1
  241. package/{lib → src}/templates/tailwind/modaldialog/form.ejs.js +1 -4
  242. package/src/templates/tailwind/modaldialog/index.ts +1 -1
  243. package/{lib → src}/templates/tailwind/modaledit/form.ejs.js +1 -4
  244. package/src/templates/tailwind/modaledit/index.ts +1 -1
  245. package/{lib → src}/templates/tailwind/multiValueRow/form.ejs.js +1 -4
  246. package/src/templates/tailwind/multiValueRow/index.ts +1 -1
  247. package/{lib → src}/templates/tailwind/multiValueTable/form.ejs.js +1 -4
  248. package/src/templates/tailwind/multiValueTable/index.ts +1 -1
  249. package/{lib → src}/templates/tailwind/multipleMasksInput/form.ejs.js +1 -4
  250. package/src/templates/tailwind/multipleMasksInput/index.ts +1 -1
  251. package/{lib → src}/templates/tailwind/panel/form.ejs.js +1 -4
  252. package/src/templates/tailwind/panel/index.ts +1 -1
  253. package/{lib → src}/templates/tailwind/pdf/form.ejs.js +1 -4
  254. package/src/templates/tailwind/pdf/index.ts +1 -1
  255. package/{lib → src}/templates/tailwind/pdfBuilder/form.ejs.js +1 -4
  256. package/src/templates/tailwind/pdfBuilder/index.ts +1 -1
  257. package/{lib → src}/templates/tailwind/pdfBuilderUpload/form.ejs.js +1 -4
  258. package/src/templates/tailwind/pdfBuilderUpload/index.ts +1 -1
  259. package/{lib → src}/templates/tailwind/radio/form.ejs.js +1 -4
  260. package/{lib → src}/templates/tailwind/radio/html.ejs.js +1 -4
  261. package/src/templates/tailwind/radio/index.ts +2 -2
  262. package/{lib → src}/templates/tailwind/resourceAdd/form.ejs.js +1 -4
  263. package/src/templates/tailwind/resourceAdd/index.ts +1 -1
  264. package/{lib → src}/templates/tailwind/select/form.ejs.js +1 -4
  265. package/{lib → src}/templates/tailwind/select/html.ejs.js +1 -4
  266. package/src/templates/tailwind/select/index.ts +2 -2
  267. package/{lib → src}/templates/tailwind/selectOption/form.ejs.js +1 -4
  268. package/{lib → src}/templates/tailwind/selectOption/html.ejs.js +1 -4
  269. package/src/templates/tailwind/selectOption/index.ts +2 -2
  270. package/{lib → src}/templates/tailwind/signature/form.ejs.js +1 -4
  271. package/src/templates/tailwind/signature/html.ejs.js +5 -0
  272. package/src/templates/tailwind/signature/index.ts +2 -2
  273. package/{lib → src}/templates/tailwind/survey/form.ejs.js +1 -4
  274. package/{lib → src}/templates/tailwind/survey/html.ejs.js +1 -4
  275. package/src/templates/tailwind/survey/index.ts +2 -2
  276. package/{lib → src}/templates/tailwind/tab/flat.ejs.js +1 -4
  277. package/{lib → src}/templates/tailwind/tab/form.ejs.js +1 -4
  278. package/src/templates/tailwind/tab/index.ts +2 -2
  279. package/{lib → src}/templates/tailwind/table/form.ejs.js +1 -4
  280. package/src/templates/tailwind/table/index.ts +1 -1
  281. package/{lib → src}/templates/tailwind/tableComponents/form.ejs.js +1 -4
  282. package/src/templates/tailwind/tableComponents/index.ts +1 -1
  283. package/{lib → src}/templates/tailwind/tree/form.ejs.js +1 -4
  284. package/src/templates/tailwind/tree/index.ts +1 -1
  285. package/{lib → src}/templates/tailwind/tree/partials/edit.ejs.js +1 -4
  286. package/src/templates/tailwind/tree/partials/index.ts +2 -2
  287. package/{lib → src}/templates/tailwind/tree/partials/view.ejs.js +1 -4
  288. package/{lib → src}/templates/tailwind/webform/builder.ejs.js +1 -4
  289. package/{lib → src}/templates/tailwind/webform/form.ejs.js +1 -4
  290. package/src/templates/tailwind/webform/index.ts +2 -2
  291. package/{lib → src}/templates/tailwind/well/form.ejs.js +1 -4
  292. package/src/templates/tailwind/well/index.ts +1 -1
  293. package/{lib → src}/templates/tailwind/wizard/builder.ejs.js +1 -4
  294. package/{lib → src}/templates/tailwind/wizard/form.ejs.js +1 -4
  295. package/src/templates/tailwind/wizard/index.ts +2 -2
  296. package/{lib → src}/templates/tailwind/wizardHeader/form.ejs.js +1 -4
  297. package/src/templates/tailwind/wizardHeader/index.ts +1 -1
  298. package/{lib → src}/templates/tailwind/wizardHeaderClassic/form.ejs.js +1 -4
  299. package/src/templates/tailwind/wizardHeaderClassic/index.ts +1 -1
  300. package/{lib → src}/templates/tailwind/wizardHeaderVertical/form.ejs.js +1 -4
  301. package/src/templates/tailwind/wizardHeaderVertical/index.ts +1 -1
  302. package/{lib → src}/templates/tailwind/wizardNav/form.ejs.js +1 -4
  303. package/src/templates/tailwind/wizardNav/index.ts +1 -1
  304. package/dist/tailwind.js +0 -1
  305. package/lib/index.js +0 -5
  306. package/lib/templates/index.js +0 -4
  307. package/lib/templates/stories/alert.stories.js +0 -23
  308. package/lib/templates/stories/badge.stories.js +0 -23
  309. package/lib/templates/stories/breadcrumbs.stories.js +0 -37
  310. package/lib/templates/stories/builder.stories.js +0 -1905
  311. package/lib/templates/stories/pagination.stories.js +0 -20
  312. package/lib/templates/stories/progress.stories.js +0 -20
  313. package/lib/templates/stories/wizard.stories.js +0 -1905
  314. package/lib/templates/tailwind/address/index.js +0 -2
  315. package/lib/templates/tailwind/alert/index.js +0 -2
  316. package/lib/templates/tailwind/builder/index.js +0 -2
  317. package/lib/templates/tailwind/builderComponent/index.js +0 -2
  318. package/lib/templates/tailwind/builderComponents/index.js +0 -2
  319. package/lib/templates/tailwind/builderEditForm/index.js +0 -2
  320. package/lib/templates/tailwind/builderPlaceholder/index.js +0 -2
  321. package/lib/templates/tailwind/builderSidebar/index.js +0 -2
  322. package/lib/templates/tailwind/builderSidebarGroup/index.js +0 -2
  323. package/lib/templates/tailwind/builderWizard/index.js +0 -2
  324. package/lib/templates/tailwind/button/button.stories.js +0 -36
  325. package/lib/templates/tailwind/button/html.ejs.js +0 -8
  326. package/lib/templates/tailwind/button/index.js +0 -3
  327. package/lib/templates/tailwind/checkbox/index.js +0 -3
  328. package/lib/templates/tailwind/columns/index.js +0 -2
  329. package/lib/templates/tailwind/component/index.js +0 -2
  330. package/lib/templates/tailwind/componentModal/index.js +0 -2
  331. package/lib/templates/tailwind/components/index.js +0 -2
  332. package/lib/templates/tailwind/container/index.js +0 -2
  333. package/lib/templates/tailwind/cssClasses.js +0 -6
  334. package/lib/templates/tailwind/datagrid/index.js +0 -3
  335. package/lib/templates/tailwind/day/index.js +0 -2
  336. package/lib/templates/tailwind/dialog/index.js +0 -2
  337. package/lib/templates/tailwind/editgrid/index.js +0 -3
  338. package/lib/templates/tailwind/editgridTable/index.js +0 -3
  339. package/lib/templates/tailwind/errorsList/index.js +0 -2
  340. package/lib/templates/tailwind/field/index.js +0 -3
  341. package/lib/templates/tailwind/fieldset/index.js +0 -2
  342. package/lib/templates/tailwind/file/index.js +0 -2
  343. package/lib/templates/tailwind/html/index.js +0 -2
  344. package/lib/templates/tailwind/icon/index.js +0 -2
  345. package/lib/templates/tailwind/iconClass.js +0 -69
  346. package/lib/templates/tailwind/index.js +0 -142
  347. package/lib/templates/tailwind/input/index.js +0 -3
  348. package/lib/templates/tailwind/label/index.js +0 -2
  349. package/lib/templates/tailwind/loader/index.js +0 -2
  350. package/lib/templates/tailwind/loading/form.ejs.js +0 -10
  351. package/lib/templates/tailwind/loading/index.js +0 -2
  352. package/lib/templates/tailwind/map/index.js +0 -2
  353. package/lib/templates/tailwind/message/index.js +0 -2
  354. package/lib/templates/tailwind/modalPreview/index.js +0 -2
  355. package/lib/templates/tailwind/modaldialog/index.js +0 -2
  356. package/lib/templates/tailwind/modaledit/index.js +0 -2
  357. package/lib/templates/tailwind/multiValueRow/index.js +0 -2
  358. package/lib/templates/tailwind/multiValueTable/index.js +0 -2
  359. package/lib/templates/tailwind/multipleMasksInput/index.js +0 -2
  360. package/lib/templates/tailwind/panel/index.js +0 -2
  361. package/lib/templates/tailwind/pdf/index.js +0 -2
  362. package/lib/templates/tailwind/pdfBuilder/index.js +0 -2
  363. package/lib/templates/tailwind/pdfBuilderUpload/index.js +0 -2
  364. package/lib/templates/tailwind/radio/index.js +0 -3
  365. package/lib/templates/tailwind/resourceAdd/index.js +0 -2
  366. package/lib/templates/tailwind/select/index.js +0 -3
  367. package/lib/templates/tailwind/selectOption/index.js +0 -3
  368. package/lib/templates/tailwind/signature/html.ejs.js +0 -8
  369. package/lib/templates/tailwind/signature/index.js +0 -3
  370. package/lib/templates/tailwind/survey/index.js +0 -3
  371. package/lib/templates/tailwind/tab/index.js +0 -3
  372. package/lib/templates/tailwind/table/index.js +0 -2
  373. package/lib/templates/tailwind/tableComponents/index.js +0 -2
  374. package/lib/templates/tailwind/tree/index.js +0 -2
  375. package/lib/templates/tailwind/tree/partials/index.js +0 -10
  376. package/lib/templates/tailwind/webform/index.js +0 -3
  377. package/lib/templates/tailwind/well/index.js +0 -2
  378. package/lib/templates/tailwind/wizard/index.js +0 -3
  379. package/lib/templates/tailwind/wizardHeader/index.js +0 -2
  380. package/lib/templates/tailwind/wizardHeaderClassic/index.js +0 -2
  381. package/lib/templates/tailwind/wizardHeaderVertical/index.js +0 -2
  382. package/lib/templates/tailwind/wizardNav/index.js +0 -2
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,7 @@
1
+ import form from "./form.ejs.js";
2
+ import html from "./html.ejs.js";
3
+ declare const _default: {
4
+ form: typeof form;
5
+ html: typeof html;
6
+ };
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,7 @@
1
+ import form from "./form.ejs.js";
2
+ import html from "./html.ejs.js";
3
+ declare const _default: {
4
+ form: typeof form;
5
+ html: typeof html;
6
+ };
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,7 @@
1
+ import form from "./form.ejs.js";
2
+ import html from "./html.ejs.js";
3
+ declare const _default: {
4
+ form: typeof form;
5
+ html: typeof html;
6
+ };
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,7 @@
1
+ import form from "./form.ejs.js";
2
+ import html from "./html.ejs.js";
3
+ declare const _default: {
4
+ form: typeof form;
5
+ html: typeof html;
6
+ };
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,7 @@
1
+ import form from "./form.ejs.js";
2
+ import html from "./html.ejs.js";
3
+ declare const _default: {
4
+ form: typeof form;
5
+ html: typeof html;
6
+ };
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,7 @@
1
+ import flat from "./flat.ejs.js";
2
+ import form from "./form.ejs.js";
3
+ declare const _default: {
4
+ flat: typeof flat;
5
+ form: typeof form;
6
+ };
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,11 @@
1
+ import edit from "./edit.ejs.js";
2
+ import view from "./view.ejs.js";
3
+ declare const _default: {
4
+ treeView: {
5
+ form: typeof view;
6
+ };
7
+ treeEdit: {
8
+ form: typeof edit;
9
+ };
10
+ };
11
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,7 @@
1
+ import builder from "./builder.ejs.js";
2
+ import form from "./form.ejs.js";
3
+ declare const _default: {
4
+ form: typeof form;
5
+ builder: typeof builder;
6
+ };
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,7 @@
1
+ import builder from "./builder.ejs.js";
2
+ import form from "./form.ejs.js";
3
+ declare const _default: {
4
+ form: typeof form;
5
+ builder: typeof builder;
6
+ };
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function _default(ctx: any): string;
@@ -0,0 +1,5 @@
1
+ import form from "./form.ejs.js";
2
+ declare const _default: {
3
+ form: typeof form;
4
+ };
5
+ export default _default;
package/gulpfile.js CHANGED
@@ -15,11 +15,11 @@ gulp.task("templates", () =>
15
15
  variable: "ctx"
16
16
  })
17
17
  )
18
- .pipe(insert.prepend('Object.defineProperty(exports, "__esModule", {\n' + " value: true\n" + "});\n" + "exports.default="))
18
+ .pipe(insert.prepend("export default "))
19
19
  .pipe(
20
20
  rename({
21
21
  extname: ".ejs.js"
22
22
  })
23
23
  )
24
- .pipe(gulp.dest("lib"))
24
+ .pipe(gulp.dest("src"))
25
25
  );
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@tsed/tailwind-formio",
3
- "version": "2.0.3",
3
+ "version": "2.1.1",
4
4
  "description": "Tailwind templates for form.io forms.",
5
- "main": "lib/index.js",
6
- "types": "lib/index.d.ts",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.modern.js",
7
+ "source": "src/index.ts",
7
8
  "scripts": {
8
9
  "lint": "eslint \"**/*.{js,jsx,ts,tsx}\"",
9
10
  "lint:fix": "yarn lint --fix",
@@ -11,9 +12,9 @@
11
12
  "build:storybook": "build-storybook -c ../tailwind-formio/.storybook -o .out",
12
13
  "serve": "serve .out",
13
14
  "watch": "nodemon --watch ./src --ext ts,js,ejs --exec \"yarn build\"",
14
- "build:tsc": "tsc --noEmit false",
15
15
  "build:templates": "gulp templates",
16
- "build": "tsc --noEmit false && gulp templates && yarn webpack"
16
+ "build:source": "microbundle --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment --globals react/jsx-runtime=jsx",
17
+ "build": "gulp templates && yarn build:source"
17
18
  },
18
19
  "devDependencies": {
19
20
  "@babel/core": "^7.18.9",
@@ -28,8 +29,8 @@
28
29
  "@storybook/builder-vite": "0.4.2",
29
30
  "@storybook/react": "6.5.16",
30
31
  "@svgr/webpack": "6.5.1",
31
- "@tsed/config": "2.0.3",
32
- "@tsed/tailwind": "2.0.3",
32
+ "@tsed/config": "2.1.1",
33
+ "@tsed/tailwind": "2.1.1",
33
34
  "@tsed/yarn-workspaces": "1.19.3",
34
35
  "@vitejs/plugin-react": "4.0.0",
35
36
  "babel-loader": "^8.2.5",
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '', __j = Array.prototype.join;
6
3
  function print() { __p += __j.call(arguments, '') }
7
4
 
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '', __j = Array.prototype.join;
6
3
  function print() { __p += __j.call(arguments, '') }
7
4
  __p += '<div ref="value">';
@@ -1,3 +1,3 @@
1
- import form from "./form.ejs";
1
+ import form from "./form.ejs.js";
2
2
 
3
3
  export default { form };
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '', __j = Array.prototype.join;
6
3
  function print() { __p += __j.call(arguments, '') }
7
4
  __p += '<div\n ';
@@ -1,3 +1,3 @@
1
- import form from "./form.ejs";
1
+ import form from "./form.ejs.js";
2
2
 
3
3
  export default { form };
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '';
6
3
  __p += '<div class="formio builder grid grid-cols-12 gap-4 formbuilder">\n <div class="col-span-12 xs:col-span-4 sm:col-span-3 md:col-span-2 formcomponents">\n ' +
7
4
  ((__t = (ctx.sidebar)) == null ? '' : __t) +
@@ -1,3 +1,3 @@
1
- import form from "./form.ejs";
1
+ import form from "./form.ejs.js";
2
2
 
3
3
  export default { form };
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '', __j = Array.prototype.join;
6
3
  function print() { __p += __j.call(arguments, '') }
7
4
  __p += '<div class="builder-component" ref="dragComponent">\n ';
@@ -1,3 +1,3 @@
1
- import form from "./form.ejs";
1
+ import form from "./form.ejs.js";
2
2
 
3
3
  export default { form };
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '';
6
3
  __p += '<div class="builder-components drag-container formio-builder-' +
7
4
  ((__t = (ctx.type)) == null ? '' : __t) +
@@ -1,3 +1,3 @@
1
- import form from "./form.ejs";
1
+ import form from "./form.ejs.js";
2
2
 
3
3
  export default { form };
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '', __j = Array.prototype.join;
6
3
  function print() { __p += __j.call(arguments, '') }
7
4
  __p += '<div class="flex flex-col w-full h-full">\n <div>\n <div class="grid grid-cols-12 gap-4">\n <div class="col-span-6">\n <div class="text-md px-3 py-3">\n ' +
@@ -1,3 +1,3 @@
1
- import form from "./form.ejs";
1
+ import form from "./form.ejs.js";
2
2
 
3
3
  export default { form };
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '';
6
3
  __p += '<div\n class="drag-and-drop-alert alert alert-info no-drag"\n style="text-align:center;"\n role="alert"\n data-noattach="true"\n data-position="' +
7
4
  ((__t = (ctx.position)) == null ? '' : __t) +
@@ -1,3 +1,3 @@
1
- import form from "./form.ejs";
1
+ import form from "./form.ejs.js";
2
2
 
3
3
  export default { form };
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '', __j = Array.prototype.join;
6
3
  function print() { __p += __j.call(arguments, '') }
7
4
  __p += '<div id="' +
@@ -1,3 +1,3 @@
1
- import form from "./form.ejs";
1
+ import form from "./form.ejs.js";
2
2
 
3
3
  export default { form };
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '', __j = Array.prototype.join;
6
3
  function print() { __p += __j.call(arguments, '') }
7
4
  __p += '<div class="card form-builder-panel" ref="group-panel-' +
@@ -1,3 +1,3 @@
1
- import form from "./form.ejs";
1
+ import form from "./form.ejs.js";
2
2
 
3
3
  export default { form };
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '', __j = Array.prototype.join;
6
3
  function print() { __p += __j.call(arguments, '') }
7
4
  __p += '<div class="formio builder grid grid-cols-12 gap-4 formbuilder">\n <div class="col-span-12 xs:col-span-4 sm:col-span-3 md:col-span-2 formcomponents">\n ' +
@@ -1,3 +1,3 @@
1
- import form from "./form.ejs";
1
+ import form from "./form.ejs.js";
2
2
 
3
3
  export default { form };
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '', __j = Array.prototype.join;
6
3
  function print() { __p += __j.call(arguments, '') }
7
4
  __p += '<' +
@@ -0,0 +1,5 @@
1
+ export default function(ctx) {
2
+ var __t, __p = '';
3
+ __p += '\n';
4
+ return __p
5
+ }
@@ -1,4 +1,4 @@
1
- import form from "./form.ejs";
2
- import html from "./html.ejs";
1
+ import form from "./form.ejs.js";
2
+ import html from "./html.ejs.js";
3
3
 
4
4
  export default { form, html };
@@ -1,7 +1,4 @@
1
- Object.defineProperty(exports, "__esModule", {
2
- value: true
3
- });
4
- exports.default=function(ctx) {
1
+ export default function(ctx) {
5
2
  var __t, __p = '', __j = Array.prototype.join;
6
3
  function print() { __p += __j.call(arguments, '') }
7
4
  __p += '<div class="form-check checkbox">\n <label class="' +