@tsed/tailwind-formio 2.3.2 → 3.0.0-alpha.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 (467) hide show
  1. package/build/config.1e3fca3e.json +1 -0
  2. package/build/css/app.a4ea028b.css +3 -0
  3. package/build/js/app.5db1c92a.js +2 -0
  4. package/build/js/app.5db1c92a.js.map +1 -0
  5. package/build/js/chunk-vendors.6cab5322.js +8 -0
  6. package/build/js/chunk-vendors.6cab5322.js.map +1 -0
  7. package/build/tailwind.html +3 -0
  8. package/dist/ejs.d.js +2 -0
  9. package/dist/ejs.d.js.map +1 -0
  10. package/dist/index.d.ts +222 -222
  11. package/dist/index.js +6 -2018
  12. package/dist/index.js.map +1 -1
  13. package/dist/tailwind/colors.d.ts +328 -0
  14. package/dist/tailwind/colors.js +15 -0
  15. package/dist/tailwind/colors.js.map +1 -0
  16. package/dist/tailwind/preset.d.ts +158 -0
  17. package/dist/tailwind/preset.js +173 -0
  18. package/dist/tailwind/preset.js.map +1 -0
  19. package/dist/templates/index.d.ts +219 -219
  20. package/dist/templates/index.js +8 -0
  21. package/dist/templates/index.js.map +1 -0
  22. package/dist/templates/tailwind/address/index.d.ts +4 -5
  23. package/dist/templates/tailwind/address/index.js +55 -0
  24. package/dist/templates/tailwind/address/index.js.map +1 -0
  25. package/dist/templates/tailwind/alert/index.d.ts +4 -5
  26. package/dist/templates/tailwind/alert/index.js +22 -0
  27. package/dist/templates/tailwind/alert/index.js.map +1 -0
  28. package/dist/templates/tailwind/builder/index.d.ts +4 -5
  29. package/dist/templates/tailwind/builder/index.js +17 -0
  30. package/dist/templates/tailwind/builder/index.js.map +1 -0
  31. package/dist/templates/tailwind/builderComponent/index.d.ts +4 -5
  32. package/dist/templates/tailwind/builderComponent/index.js +70 -0
  33. package/dist/templates/tailwind/builderComponent/index.js.map +1 -0
  34. package/dist/templates/tailwind/builderComponents/index.d.ts +4 -5
  35. package/dist/templates/tailwind/builderComponents/index.js +12 -0
  36. package/dist/templates/tailwind/builderComponents/index.js.map +1 -0
  37. package/dist/templates/tailwind/builderEditForm/index.d.ts +4 -5
  38. package/dist/templates/tailwind/builderEditForm/index.js +73 -0
  39. package/dist/templates/tailwind/builderEditForm/index.js.map +1 -0
  40. package/dist/templates/tailwind/builderPlaceholder/index.d.ts +4 -5
  41. package/dist/templates/tailwind/builderPlaceholder/index.js +18 -0
  42. package/dist/templates/tailwind/builderPlaceholder/index.js.map +1 -0
  43. package/dist/templates/tailwind/builderSidebar/index.d.ts +4 -5
  44. package/dist/templates/tailwind/builderSidebar/index.js +19 -0
  45. package/dist/templates/tailwind/builderSidebar/index.js.map +1 -0
  46. package/dist/templates/tailwind/builderSidebarGroup/index.d.ts +4 -5
  47. package/dist/templates/tailwind/builderSidebarGroup/index.js +58 -0
  48. package/dist/templates/tailwind/builderSidebarGroup/index.js.map +1 -0
  49. package/dist/templates/tailwind/builderWizard/index.d.ts +4 -5
  50. package/dist/templates/tailwind/builderWizard/index.js +33 -0
  51. package/dist/templates/tailwind/builderWizard/index.js.map +1 -0
  52. package/dist/templates/tailwind/button/index.d.ts +5 -7
  53. package/dist/templates/tailwind/button/index.js +36 -0
  54. package/dist/templates/tailwind/button/index.js.map +1 -0
  55. package/dist/templates/tailwind/checkbox/index.d.ts +5 -7
  56. package/dist/templates/tailwind/checkbox/index.js +42 -0
  57. package/dist/templates/tailwind/checkbox/index.js.map +1 -0
  58. package/dist/templates/tailwind/columns/index.d.ts +4 -5
  59. package/dist/templates/tailwind/columns/index.js +21 -0
  60. package/dist/templates/tailwind/columns/index.js.map +1 -0
  61. package/dist/templates/tailwind/component/index.d.ts +4 -5
  62. package/dist/templates/tailwind/component/index.js +15 -0
  63. package/dist/templates/tailwind/component/index.js.map +1 -0
  64. package/dist/templates/tailwind/componentModal/index.d.ts +4 -5
  65. package/dist/templates/tailwind/componentModal/index.js +35 -0
  66. package/dist/templates/tailwind/componentModal/index.js.map +1 -0
  67. package/dist/templates/tailwind/components/index.d.ts +4 -5
  68. package/dist/templates/tailwind/components/index.js +10 -0
  69. package/dist/templates/tailwind/components/index.js.map +1 -0
  70. package/dist/templates/tailwind/container/index.d.ts +4 -5
  71. package/dist/templates/tailwind/container/index.js +12 -0
  72. package/dist/templates/tailwind/container/index.js.map +1 -0
  73. package/dist/templates/tailwind/cssClasses.d.ts +7 -7
  74. package/dist/templates/tailwind/cssClasses.js +10 -0
  75. package/dist/templates/tailwind/cssClasses.js.map +1 -0
  76. package/dist/templates/tailwind/datagrid/index.d.ts +5 -7
  77. package/dist/templates/tailwind/datagrid/index.js +132 -0
  78. package/dist/templates/tailwind/datagrid/index.js.map +1 -0
  79. package/dist/templates/tailwind/day/index.d.ts +4 -5
  80. package/dist/templates/tailwind/day/index.js +53 -0
  81. package/dist/templates/tailwind/day/index.js.map +1 -0
  82. package/dist/templates/tailwind/dialog/index.d.ts +4 -5
  83. package/dist/templates/tailwind/dialog/index.js +16 -0
  84. package/dist/templates/tailwind/dialog/index.js.map +1 -0
  85. package/dist/templates/tailwind/editgrid/index.d.ts +5 -7
  86. package/dist/templates/tailwind/editgrid/index.js +92 -0
  87. package/dist/templates/tailwind/editgrid/index.js.map +1 -0
  88. package/dist/templates/tailwind/editgridTable/index.d.ts +5 -7
  89. package/dist/templates/tailwind/editgridTable/index.js +121 -0
  90. package/dist/templates/tailwind/editgridTable/index.js.map +1 -0
  91. package/dist/templates/tailwind/errorsList/index.d.ts +4 -5
  92. package/dist/templates/tailwind/errorsList/index.js +30 -0
  93. package/dist/templates/tailwind/errorsList/index.js.map +1 -0
  94. package/dist/templates/tailwind/field/index.d.ts +5 -7
  95. package/dist/templates/tailwind/field/index.js +55 -0
  96. package/dist/templates/tailwind/field/index.js.map +1 -0
  97. package/dist/templates/tailwind/fieldset/index.d.ts +4 -5
  98. package/dist/templates/tailwind/fieldset/index.js +25 -0
  99. package/dist/templates/tailwind/fieldset/index.js.map +1 -0
  100. package/dist/templates/tailwind/file/index.d.ts +4 -5
  101. package/dist/templates/tailwind/file/index.js +158 -0
  102. package/dist/templates/tailwind/file/index.js.map +1 -0
  103. package/dist/templates/tailwind/html/index.d.ts +4 -5
  104. package/dist/templates/tailwind/html/index.js +16 -0
  105. package/dist/templates/tailwind/html/index.js.map +1 -0
  106. package/dist/templates/tailwind/icon/index.d.ts +4 -5
  107. package/dist/templates/tailwind/icon/index.js +10 -0
  108. package/dist/templates/tailwind/icon/index.js.map +1 -0
  109. package/dist/templates/tailwind/iconClass.d.ts +3 -3
  110. package/dist/templates/tailwind/iconClass.js +57 -0
  111. package/dist/templates/tailwind/iconClass.js.map +1 -0
  112. package/dist/templates/tailwind/index.d.ts +217 -217
  113. package/dist/templates/tailwind/index.js +145 -0
  114. package/dist/templates/tailwind/index.js.map +1 -0
  115. package/dist/templates/tailwind/input/index.d.ts +5 -7
  116. package/dist/templates/tailwind/input/index.js +78 -0
  117. package/dist/templates/tailwind/input/index.js.map +1 -0
  118. package/dist/templates/tailwind/label/index.d.ts +4 -5
  119. package/dist/templates/tailwind/label/index.js +23 -0
  120. package/dist/templates/tailwind/label/index.js.map +1 -0
  121. package/dist/templates/tailwind/loader/index.d.ts +4 -5
  122. package/dist/templates/tailwind/loader/index.js +14 -0
  123. package/dist/templates/tailwind/loader/index.js.map +1 -0
  124. package/dist/templates/tailwind/loading/index.d.ts +4 -5
  125. package/dist/templates/tailwind/loading/index.js +10 -0
  126. package/dist/templates/tailwind/loading/index.js.map +1 -0
  127. package/dist/templates/tailwind/map/index.d.ts +4 -5
  128. package/dist/templates/tailwind/map/index.js +10 -0
  129. package/dist/templates/tailwind/map/index.js.map +1 -0
  130. package/dist/templates/tailwind/message/index.d.ts +4 -5
  131. package/dist/templates/tailwind/message/index.js +10 -0
  132. package/dist/templates/tailwind/message/index.js.map +1 -0
  133. package/dist/templates/tailwind/modalPreview/index.d.ts +4 -5
  134. package/dist/templates/tailwind/modalPreview/index.js +24 -0
  135. package/dist/templates/tailwind/modalPreview/index.js.map +1 -0
  136. package/dist/templates/tailwind/modaldialog/index.d.ts +4 -5
  137. package/dist/templates/tailwind/modaldialog/index.js +22 -0
  138. package/dist/templates/tailwind/modaldialog/index.js.map +1 -0
  139. package/dist/templates/tailwind/modaledit/index.d.ts +4 -5
  140. package/dist/templates/tailwind/modaledit/index.js +19 -0
  141. package/dist/templates/tailwind/modaledit/index.js.map +1 -0
  142. package/dist/templates/tailwind/multiValueRow/index.d.ts +4 -5
  143. package/dist/templates/tailwind/multiValueRow/index.js +21 -0
  144. package/dist/templates/tailwind/multiValueRow/index.js.map +1 -0
  145. package/dist/templates/tailwind/multiValueTable/index.d.ts +4 -5
  146. package/dist/templates/tailwind/multiValueTable/index.js +21 -0
  147. package/dist/templates/tailwind/multiValueTable/index.js.map +1 -0
  148. package/dist/templates/tailwind/multipleMasksInput/index.d.ts +4 -5
  149. package/dist/templates/tailwind/multipleMasksInput/index.js +34 -0
  150. package/dist/templates/tailwind/multipleMasksInput/index.js.map +1 -0
  151. package/dist/templates/tailwind/panel/index.d.ts +4 -5
  152. package/dist/templates/tailwind/panel/index.js +39 -0
  153. package/dist/templates/tailwind/panel/index.js.map +1 -0
  154. package/dist/templates/tailwind/pdf/index.d.ts +4 -5
  155. package/dist/templates/tailwind/pdf/index.js +19 -0
  156. package/dist/templates/tailwind/pdf/index.js.map +1 -0
  157. package/dist/templates/tailwind/pdfBuilder/index.d.ts +4 -5
  158. package/dist/templates/tailwind/pdfBuilder/index.js +18 -0
  159. package/dist/templates/tailwind/pdfBuilder/index.js.map +1 -0
  160. package/dist/templates/tailwind/pdfBuilderUpload/index.d.ts +4 -5
  161. package/dist/templates/tailwind/pdfBuilderUpload/index.js +25 -0
  162. package/dist/templates/tailwind/pdfBuilderUpload/index.js.map +1 -0
  163. package/dist/templates/tailwind/radio/index.d.ts +5 -7
  164. package/dist/templates/tailwind/radio/index.js +66 -0
  165. package/dist/templates/tailwind/radio/index.js.map +1 -0
  166. package/dist/templates/tailwind/resourceAdd/index.d.ts +4 -5
  167. package/dist/templates/tailwind/resourceAdd/index.js +26 -0
  168. package/dist/templates/tailwind/resourceAdd/index.js.map +1 -0
  169. package/dist/templates/tailwind/select/index.d.ts +5 -7
  170. package/dist/templates/tailwind/select/index.js +40 -0
  171. package/dist/templates/tailwind/select/index.js.map +1 -0
  172. package/dist/templates/tailwind/selectOption/index.d.ts +5 -7
  173. package/dist/templates/tailwind/selectOption/index.js +25 -0
  174. package/dist/templates/tailwind/selectOption/index.js.map +1 -0
  175. package/dist/templates/tailwind/signature/index.d.ts +5 -7
  176. package/dist/templates/tailwind/signature/index.js +37 -0
  177. package/dist/templates/tailwind/signature/index.js.map +1 -0
  178. package/dist/templates/tailwind/survey/index.d.ts +5 -7
  179. package/dist/templates/tailwind/survey/index.js +71 -0
  180. package/dist/templates/tailwind/survey/index.js.map +1 -0
  181. package/dist/templates/tailwind/tab/index.d.ts +5 -7
  182. package/dist/templates/tailwind/tab/index.js +60 -0
  183. package/dist/templates/tailwind/tab/index.js.map +1 -0
  184. package/dist/templates/tailwind/table/index.d.ts +4 -5
  185. package/dist/templates/tailwind/table/index.js +41 -0
  186. package/dist/templates/tailwind/table/index.js.map +1 -0
  187. package/dist/templates/tailwind/tableComponents/index.d.ts +4 -5
  188. package/dist/templates/tailwind/tableComponents/index.js +16 -0
  189. package/dist/templates/tailwind/tableComponents/index.js.map +1 -0
  190. package/dist/templates/tailwind/tree/index.d.ts +4 -5
  191. package/dist/templates/tailwind/tree/index.js +29 -0
  192. package/dist/templates/tailwind/tree/index.js.map +1 -0
  193. package/dist/templates/tailwind/tree/partials/index.d.ts +9 -11
  194. package/dist/templates/tailwind/tree/partials/index.js +53 -0
  195. package/dist/templates/tailwind/tree/partials/index.js.map +1 -0
  196. package/dist/templates/tailwind/webform/index.d.ts +5 -7
  197. package/dist/templates/tailwind/webform/index.js +15 -0
  198. package/dist/templates/tailwind/webform/index.js.map +1 -0
  199. package/dist/templates/tailwind/well/index.d.ts +4 -5
  200. package/dist/templates/tailwind/well/index.js +14 -0
  201. package/dist/templates/tailwind/well/index.js.map +1 -0
  202. package/dist/templates/tailwind/wizard/index.d.ts +5 -7
  203. package/dist/templates/tailwind/wizard/index.js +44 -0
  204. package/dist/templates/tailwind/wizard/index.js.map +1 -0
  205. package/dist/templates/tailwind/wizardHeader/index.d.ts +4 -5
  206. package/dist/templates/tailwind/wizardHeader/index.js +25 -0
  207. package/dist/templates/tailwind/wizardHeader/index.js.map +1 -0
  208. package/dist/templates/tailwind/wizardHeaderClassic/index.d.ts +4 -5
  209. package/dist/templates/tailwind/wizardHeaderClassic/index.js +27 -0
  210. package/dist/templates/tailwind/wizardHeaderClassic/index.js.map +1 -0
  211. package/dist/templates/tailwind/wizardHeaderVertical/index.d.ts +4 -5
  212. package/dist/templates/tailwind/wizardHeaderVertical/index.js +25 -0
  213. package/dist/templates/tailwind/wizardHeaderVertical/index.js.map +1 -0
  214. package/dist/templates/tailwind/wizardNav/index.d.ts +4 -5
  215. package/dist/templates/tailwind/wizardNav/index.js +39 -0
  216. package/dist/templates/tailwind/wizardNav/index.js.map +1 -0
  217. package/package.json +34 -17
  218. package/readme.md +9 -125
  219. package/src/tailwind/colors.ts +20 -0
  220. package/src/tailwind/preset.ts +163 -0
  221. package/src/templates/stories/alert.stories.jsx +1 -1
  222. package/src/templates/stories/badge.stories.jsx +1 -1
  223. package/src/templates/stories/breadcrumbs.stories.jsx +5 -1
  224. package/src/templates/stories/pagination.stories.jsx +6 -1
  225. package/src/templates/tailwind/address/index.ts +1 -1
  226. package/src/templates/tailwind/alert/index.ts +3 -0
  227. package/src/templates/tailwind/builder/index.ts +1 -1
  228. package/src/templates/tailwind/builderComponent/index.ts +1 -1
  229. package/src/templates/tailwind/builderComponents/index.ts +1 -1
  230. package/src/templates/tailwind/builderEditForm/form.ejs +4 -2
  231. package/src/templates/tailwind/builderEditForm/index.ts +1 -1
  232. package/src/templates/tailwind/builderPlaceholder/index.ts +1 -1
  233. package/src/templates/tailwind/builderSidebar/index.ts +1 -1
  234. package/src/templates/tailwind/builderSidebarGroup/form.ejs +1 -1
  235. package/src/templates/tailwind/builderSidebarGroup/index.ts +1 -1
  236. package/src/templates/tailwind/builderWizard/index.ts +1 -1
  237. package/src/templates/tailwind/button/button.stories.jsx +2 -2
  238. package/src/templates/tailwind/button/index.ts +2 -2
  239. package/src/templates/tailwind/checkbox/index.ts +2 -2
  240. package/src/templates/tailwind/columns/index.ts +1 -1
  241. package/src/templates/tailwind/component/index.ts +1 -1
  242. package/src/templates/tailwind/componentModal/index.ts +1 -1
  243. package/src/templates/tailwind/components/index.ts +1 -1
  244. package/src/templates/tailwind/container/index.ts +1 -1
  245. package/src/templates/tailwind/datagrid/index.ts +2 -2
  246. package/src/templates/tailwind/day/index.ts +1 -1
  247. package/src/templates/tailwind/dialog/index.ts +1 -1
  248. package/src/templates/tailwind/editgrid/index.ts +2 -2
  249. package/src/templates/tailwind/editgridTable/index.ts +2 -2
  250. package/src/templates/tailwind/errorsList/index.ts +1 -1
  251. package/src/templates/tailwind/field/index.ts +2 -2
  252. package/src/templates/tailwind/fieldset/index.ts +1 -1
  253. package/src/templates/tailwind/file/index.ts +1 -1
  254. package/src/templates/tailwind/html/index.ts +1 -1
  255. package/src/templates/tailwind/icon/index.ts +1 -1
  256. package/src/templates/tailwind/index.ts +0 -1
  257. package/src/templates/tailwind/input/index.ts +2 -2
  258. package/src/templates/tailwind/label/index.ts +1 -1
  259. package/src/templates/tailwind/loader/index.ts +1 -1
  260. package/src/templates/tailwind/loading/index.ts +1 -1
  261. package/src/templates/tailwind/map/index.ts +1 -1
  262. package/src/templates/tailwind/message/index.ts +1 -1
  263. package/src/templates/tailwind/modalPreview/index.ts +1 -1
  264. package/src/templates/tailwind/modaldialog/index.ts +1 -1
  265. package/src/templates/tailwind/modaledit/index.ts +1 -1
  266. package/src/templates/tailwind/multiValueRow/index.ts +1 -1
  267. package/src/templates/tailwind/multiValueTable/index.ts +1 -1
  268. package/src/templates/tailwind/multipleMasksInput/index.ts +1 -1
  269. package/src/templates/tailwind/panel/index.ts +1 -1
  270. package/src/templates/tailwind/pdf/index.ts +1 -1
  271. package/src/templates/tailwind/pdfBuilder/index.ts +1 -1
  272. package/src/templates/tailwind/pdfBuilderUpload/index.ts +1 -1
  273. package/src/templates/tailwind/radio/index.ts +2 -2
  274. package/src/templates/tailwind/resourceAdd/index.ts +1 -1
  275. package/src/templates/tailwind/select/index.ts +2 -2
  276. package/src/templates/tailwind/selectOption/index.ts +2 -2
  277. package/src/templates/tailwind/signature/index.ts +2 -2
  278. package/src/templates/tailwind/survey/index.ts +2 -2
  279. package/src/templates/tailwind/tab/index.ts +2 -2
  280. package/src/templates/tailwind/table/index.ts +1 -1
  281. package/src/templates/tailwind/tableComponents/index.ts +1 -1
  282. package/src/templates/tailwind/tree/index.ts +1 -1
  283. package/src/templates/tailwind/tree/partials/index.ts +2 -2
  284. package/src/templates/tailwind/webform/index.ts +2 -2
  285. package/src/templates/tailwind/well/index.ts +1 -1
  286. package/src/templates/tailwind/wizard/index.ts +2 -2
  287. package/src/templates/tailwind/wizardHeader/index.ts +1 -1
  288. package/src/templates/tailwind/wizardHeaderClassic/index.ts +1 -1
  289. package/src/templates/tailwind/wizardHeaderVertical/index.ts +1 -1
  290. package/src/templates/tailwind/wizardNav/index.ts +1 -1
  291. package/styles/modal.css +1 -0
  292. package/tsconfig.app.json +11 -0
  293. package/tsconfig.json +5 -6
  294. package/vite.config.mts +85 -0
  295. package/.eslintignore +0 -14
  296. package/.eslintrc.js +0 -7
  297. package/dist/index.modern.js +0 -2021
  298. package/dist/index.modern.js.map +0 -1
  299. package/dist/templates/stories/alert.stories.d.ts +0 -17
  300. package/dist/templates/stories/badge.stories.d.ts +0 -17
  301. package/dist/templates/stories/breadcrumbs.stories.d.ts +0 -37
  302. package/dist/templates/stories/builder.stories.d.ts +0 -3057
  303. package/dist/templates/stories/pagination.stories.d.ts +0 -17
  304. package/dist/templates/stories/progress.stories.d.ts +0 -22
  305. package/dist/templates/stories/wizard.stories.d.ts +0 -3057
  306. package/dist/templates/tailwind/address/form.ejs.d.ts +0 -1
  307. package/dist/templates/tailwind/address/html.ejs.d.ts +0 -1
  308. package/dist/templates/tailwind/alert/form.ejs.d.ts +0 -1
  309. package/dist/templates/tailwind/builder/form.ejs.d.ts +0 -1
  310. package/dist/templates/tailwind/builderComponent/form.ejs.d.ts +0 -1
  311. package/dist/templates/tailwind/builderComponents/form.ejs.d.ts +0 -1
  312. package/dist/templates/tailwind/builderEditForm/form.ejs.d.ts +0 -1
  313. package/dist/templates/tailwind/builderPlaceholder/form.ejs.d.ts +0 -1
  314. package/dist/templates/tailwind/builderSidebar/form.ejs.d.ts +0 -1
  315. package/dist/templates/tailwind/builderSidebarGroup/form.ejs.d.ts +0 -1
  316. package/dist/templates/tailwind/builderWizard/form.ejs.d.ts +0 -1
  317. package/dist/templates/tailwind/button/button.stories.d.ts +0 -22
  318. package/dist/templates/tailwind/button/form.ejs.d.ts +0 -1
  319. package/dist/templates/tailwind/button/html.ejs.d.ts +0 -1
  320. package/dist/templates/tailwind/checkbox/form.ejs.d.ts +0 -1
  321. package/dist/templates/tailwind/checkbox/html.ejs.d.ts +0 -1
  322. package/dist/templates/tailwind/columns/form.ejs.d.ts +0 -1
  323. package/dist/templates/tailwind/component/form.ejs.d.ts +0 -1
  324. package/dist/templates/tailwind/componentModal/form.ejs.d.ts +0 -1
  325. package/dist/templates/tailwind/components/form.ejs.d.ts +0 -1
  326. package/dist/templates/tailwind/container/form.ejs.d.ts +0 -1
  327. package/dist/templates/tailwind/datagrid/form.ejs.d.ts +0 -1
  328. package/dist/templates/tailwind/datagrid/html.ejs.d.ts +0 -1
  329. package/dist/templates/tailwind/day/form.ejs.d.ts +0 -1
  330. package/dist/templates/tailwind/dialog/form.ejs.d.ts +0 -1
  331. package/dist/templates/tailwind/editgrid/form.ejs.d.ts +0 -1
  332. package/dist/templates/tailwind/editgrid/html.ejs.d.ts +0 -1
  333. package/dist/templates/tailwind/editgridTable/form.ejs.d.ts +0 -1
  334. package/dist/templates/tailwind/editgridTable/html.ejs.d.ts +0 -1
  335. package/dist/templates/tailwind/errorsList/form.ejs.d.ts +0 -1
  336. package/dist/templates/tailwind/field/align.ejs.d.ts +0 -1
  337. package/dist/templates/tailwind/field/form.ejs.d.ts +0 -1
  338. package/dist/templates/tailwind/fieldset/form.ejs.d.ts +0 -1
  339. package/dist/templates/tailwind/file/form.ejs.d.ts +0 -1
  340. package/dist/templates/tailwind/html/form.ejs.d.ts +0 -1
  341. package/dist/templates/tailwind/icon/form.ejs.d.ts +0 -1
  342. package/dist/templates/tailwind/input/form.ejs.d.ts +0 -1
  343. package/dist/templates/tailwind/input/html.ejs.d.ts +0 -1
  344. package/dist/templates/tailwind/label/form.ejs.d.ts +0 -1
  345. package/dist/templates/tailwind/loader/form.ejs.d.ts +0 -1
  346. package/dist/templates/tailwind/loading/form.ejs.d.ts +0 -1
  347. package/dist/templates/tailwind/map/form.ejs.d.ts +0 -1
  348. package/dist/templates/tailwind/message/form.ejs.d.ts +0 -1
  349. package/dist/templates/tailwind/modalPreview/form.ejs.d.ts +0 -1
  350. package/dist/templates/tailwind/modaldialog/form.ejs.d.ts +0 -1
  351. package/dist/templates/tailwind/modaledit/form.ejs.d.ts +0 -1
  352. package/dist/templates/tailwind/multiValueRow/form.ejs.d.ts +0 -1
  353. package/dist/templates/tailwind/multiValueTable/form.ejs.d.ts +0 -1
  354. package/dist/templates/tailwind/multipleMasksInput/form.ejs.d.ts +0 -1
  355. package/dist/templates/tailwind/panel/form.ejs.d.ts +0 -1
  356. package/dist/templates/tailwind/pdf/form.ejs.d.ts +0 -1
  357. package/dist/templates/tailwind/pdfBuilder/form.ejs.d.ts +0 -1
  358. package/dist/templates/tailwind/pdfBuilderUpload/form.ejs.d.ts +0 -1
  359. package/dist/templates/tailwind/radio/form.ejs.d.ts +0 -1
  360. package/dist/templates/tailwind/radio/html.ejs.d.ts +0 -1
  361. package/dist/templates/tailwind/resourceAdd/form.ejs.d.ts +0 -1
  362. package/dist/templates/tailwind/select/form.ejs.d.ts +0 -1
  363. package/dist/templates/tailwind/select/html.ejs.d.ts +0 -1
  364. package/dist/templates/tailwind/selectOption/form.ejs.d.ts +0 -1
  365. package/dist/templates/tailwind/selectOption/html.ejs.d.ts +0 -1
  366. package/dist/templates/tailwind/signature/form.ejs.d.ts +0 -1
  367. package/dist/templates/tailwind/signature/html.ejs.d.ts +0 -1
  368. package/dist/templates/tailwind/survey/form.ejs.d.ts +0 -1
  369. package/dist/templates/tailwind/survey/html.ejs.d.ts +0 -1
  370. package/dist/templates/tailwind/tab/flat.ejs.d.ts +0 -1
  371. package/dist/templates/tailwind/tab/form.ejs.d.ts +0 -1
  372. package/dist/templates/tailwind/table/form.ejs.d.ts +0 -1
  373. package/dist/templates/tailwind/tableComponents/form.ejs.d.ts +0 -1
  374. package/dist/templates/tailwind/tree/form.ejs.d.ts +0 -1
  375. package/dist/templates/tailwind/tree/partials/edit.ejs.d.ts +0 -1
  376. package/dist/templates/tailwind/tree/partials/view.ejs.d.ts +0 -1
  377. package/dist/templates/tailwind/webform/builder.ejs.d.ts +0 -1
  378. package/dist/templates/tailwind/webform/form.ejs.d.ts +0 -1
  379. package/dist/templates/tailwind/well/form.ejs.d.ts +0 -1
  380. package/dist/templates/tailwind/wizard/builder.ejs.d.ts +0 -1
  381. package/dist/templates/tailwind/wizard/form.ejs.d.ts +0 -1
  382. package/dist/templates/tailwind/wizardHeader/form.ejs.d.ts +0 -1
  383. package/dist/templates/tailwind/wizardHeaderClassic/form.ejs.d.ts +0 -1
  384. package/dist/templates/tailwind/wizardHeaderVertical/form.ejs.d.ts +0 -1
  385. package/dist/templates/tailwind/wizardNav/form.ejs.d.ts +0 -1
  386. package/gulpfile.js +0 -25
  387. package/src/templates/tailwind/address/form.ejs.js +0 -58
  388. package/src/templates/tailwind/address/html.ejs.js +0 -13
  389. package/src/templates/tailwind/alert/form.ejs.js +0 -24
  390. package/src/templates/tailwind/alert/index.js +0 -3
  391. package/src/templates/tailwind/builder/form.ejs.js +0 -9
  392. package/src/templates/tailwind/builderComponent/form.ejs.js +0 -24
  393. package/src/templates/tailwind/builderComponents/form.ejs.js +0 -11
  394. package/src/templates/tailwind/builderEditForm/form.ejs.js +0 -50
  395. package/src/templates/tailwind/builderPlaceholder/form.ejs.js +0 -9
  396. package/src/templates/tailwind/builderSidebar/form.ejs.js +0 -16
  397. package/src/templates/tailwind/builderSidebarGroup/form.ejs.js +0 -60
  398. package/src/templates/tailwind/builderWizard/form.ejs.js +0 -30
  399. package/src/templates/tailwind/button/form.ejs.js +0 -52
  400. package/src/templates/tailwind/button/html.ejs.js +0 -5
  401. package/src/templates/tailwind/checkbox/form.ejs.js +0 -50
  402. package/src/templates/tailwind/checkbox/html.ejs.js +0 -22
  403. package/src/templates/tailwind/columns/form.ejs.js +0 -30
  404. package/src/templates/tailwind/component/form.ejs.js +0 -22
  405. package/src/templates/tailwind/componentModal/form.ejs.js +0 -44
  406. package/src/templates/tailwind/components/form.ejs.js +0 -7
  407. package/src/templates/tailwind/container/form.ejs.js +0 -9
  408. package/src/templates/tailwind/datagrid/form.ejs.js +0 -144
  409. package/src/templates/tailwind/datagrid/html.ejs.js +0 -46
  410. package/src/templates/tailwind/day/form.ejs.js +0 -98
  411. package/src/templates/tailwind/dialog/form.ejs.js +0 -5
  412. package/src/templates/tailwind/editgrid/form.ejs.js +0 -62
  413. package/src/templates/tailwind/editgrid/html.ejs.js +0 -52
  414. package/src/templates/tailwind/editgridTable/form.ejs.js +0 -66
  415. package/src/templates/tailwind/editgridTable/html.ejs.js +0 -56
  416. package/src/templates/tailwind/errorsList/form.ejs.js +0 -22
  417. package/src/templates/tailwind/field/align.ejs.js +0 -38
  418. package/src/templates/tailwind/field/form.ejs.js +0 -36
  419. package/src/templates/tailwind/fieldset/form.ejs.js +0 -30
  420. package/src/templates/tailwind/file/form.ejs.js +0 -224
  421. package/src/templates/tailwind/html/form.ejs.js +0 -25
  422. package/src/templates/tailwind/icon/form.ejs.js +0 -13
  423. package/src/templates/tailwind/input/form.ejs.js +0 -108
  424. package/src/templates/tailwind/input/html.ejs.js +0 -13
  425. package/src/templates/tailwind/label/form.ejs.js +0 -32
  426. package/src/templates/tailwind/loader/form.ejs.js +0 -5
  427. package/src/templates/tailwind/loading/form.ejs.js +0 -7
  428. package/src/templates/tailwind/map/form.ejs.js +0 -7
  429. package/src/templates/tailwind/message/form.ejs.js +0 -13
  430. package/src/templates/tailwind/modalPreview/form.ejs.js +0 -21
  431. package/src/templates/tailwind/modaldialog/form.ejs.js +0 -7
  432. package/src/templates/tailwind/modaledit/form.ejs.js +0 -9
  433. package/src/templates/tailwind/multiValueRow/form.ejs.js +0 -14
  434. package/src/templates/tailwind/multiValueTable/form.ejs.js +0 -16
  435. package/src/templates/tailwind/multipleMasksInput/form.ejs.js +0 -30
  436. package/src/templates/tailwind/panel/form.ejs.js +0 -58
  437. package/src/templates/tailwind/pdf/form.ejs.js +0 -13
  438. package/src/templates/tailwind/pdfBuilder/form.ejs.js +0 -9
  439. package/src/templates/tailwind/pdfBuilderUpload/form.ejs.js +0 -13
  440. package/src/templates/tailwind/radio/form.ejs.js +0 -84
  441. package/src/templates/tailwind/radio/html.ejs.js +0 -10
  442. package/src/templates/tailwind/resourceAdd/form.ejs.js +0 -11
  443. package/src/templates/tailwind/select/form.ejs.js +0 -46
  444. package/src/templates/tailwind/select/html.ejs.js +0 -13
  445. package/src/templates/tailwind/selectOption/form.ejs.js +0 -20
  446. package/src/templates/tailwind/selectOption/html.ejs.js +0 -11
  447. package/src/templates/tailwind/signature/form.ejs.js +0 -30
  448. package/src/templates/tailwind/signature/html.ejs.js +0 -5
  449. package/src/templates/tailwind/survey/form.ejs.js +0 -52
  450. package/src/templates/tailwind/survey/html.ejs.js +0 -22
  451. package/src/templates/tailwind/tab/flat.ejs.js +0 -16
  452. package/src/templates/tailwind/tab/form.ejs.js +0 -38
  453. package/src/templates/tailwind/table/form.ejs.js +0 -48
  454. package/src/templates/tailwind/tableComponents/form.ejs.js +0 -12
  455. package/src/templates/tailwind/tree/form.ejs.js +0 -32
  456. package/src/templates/tailwind/tree/partials/edit.ejs.js +0 -16
  457. package/src/templates/tailwind/tree/partials/view.ejs.js +0 -34
  458. package/src/templates/tailwind/webform/builder.ejs.js +0 -7
  459. package/src/templates/tailwind/webform/form.ejs.js +0 -9
  460. package/src/templates/tailwind/well/form.ejs.js +0 -9
  461. package/src/templates/tailwind/wizard/builder.ejs.js +0 -7
  462. package/src/templates/tailwind/wizard/form.ejs.js +0 -42
  463. package/src/templates/tailwind/wizardHeader/form.ejs.js +0 -32
  464. package/src/templates/tailwind/wizardHeaderClassic/form.ejs.js +0 -26
  465. package/src/templates/tailwind/wizardHeaderVertical/form.ejs.js +0 -28
  466. package/src/templates/tailwind/wizardNav/form.ejs.js +0 -64
  467. package/tsconfig.node.json +0 -8
@@ -0,0 +1,70 @@
1
+ function e(t) {
2
+ var n, o = "";
3
+ return o += `<div class="builder-component" ref="dragComponent">
4
+ `, t.disableBuilderActions || (o += `
5
+ <div class="component-btn-group" data-noattach="true">
6
+ <button
7
+ role="button"
8
+ aria-label="Remove button. Click to remove component from the form"
9
+ tabindex="-1"
10
+ class="btn btn-xxs btn-danger component-settings-button component-settings-button-remove"
11
+ ref="removeComponent"
12
+ >
13
+ <i class="` + ((n = t.iconClass("remove")) == null ? "" : n) + `"></i>
14
+ </button>
15
+ <button
16
+ role="button"
17
+ aria-label="Copy button. Click to copy component"
18
+ tabindex="-1"
19
+ class="btn btn-xxs btn-default component-settings-button component-settings-button-copy"
20
+ ref="copyComponent"
21
+ >
22
+ <i class="` + ((n = t.iconClass("copy")) == null ? "" : n) + `"></i>
23
+ </button>
24
+ <button
25
+ role="button"
26
+ aria-label="Paste below button. Click to paste component below the current component"
27
+ tabindex="-1"
28
+ class="btn btn-xxs btn-default component-settings-button component-settings-button-paste"
29
+ ref="pasteComponent"
30
+ >
31
+ <i class="` + ((n = t.iconClass("save")) == null ? "" : n) + `"></i>
32
+ </button>
33
+ <button
34
+ role="button"
35
+ aria-label="Edit json button. Click to edit json of the current component"
36
+ tabindex="-1"
37
+ class="btn btn-xxs btn-default component-settings-button component-settings-button-edit-json"
38
+ ref="editJson"
39
+ >
40
+ <i class="` + ((n = t.iconClass("wrench")) == null ? "" : n) + `"></i>
41
+ </button>
42
+ <button
43
+ role="button"
44
+ aria-label="Move button"
45
+ tabindex="-1"
46
+ class="btn btn-xxs btn-default component-settings-button component-settings-button-move"
47
+ ref="moveComponent"
48
+ >
49
+ <i class="` + ((n = t.iconClass("move")) == null ? "" : n) + `"></i>
50
+ </button>
51
+ <button
52
+ role="button"
53
+ aria-label="Edit button. Click to open component settings modal window"
54
+ tabindex="-1"
55
+ class="btn btn-xxs btn-secondary component-settings-button component-settings-button-edit"
56
+ ref="editComponent"
57
+ >
58
+ <i class="` + ((n = t.iconClass("cog")) == null ? "" : n) + `"></i>
59
+ </button>
60
+ </div>
61
+ `), o += `
62
+ ` + ((n = t.html) == null ? "" : n) + `
63
+ </div>
64
+ `, o;
65
+ }
66
+ const s = { form: e };
67
+ export {
68
+ s as default
69
+ };
70
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/builderComponent/form.ejs","../../../../src/templates/tailwind/builderComponent/index.ts"],"sourcesContent":["<div class=\"builder-component\" ref=\"dragComponent\">\n {% if (!ctx.disableBuilderActions) { %}\n <div class=\"component-btn-group\" data-noattach=\"true\">\n <button\n role=\"button\"\n aria-label=\"Remove button. Click to remove component from the form\"\n tabindex=\"-1\"\n class=\"btn btn-xxs btn-danger component-settings-button component-settings-button-remove\"\n ref=\"removeComponent\"\n >\n <i class=\"{{ctx.iconClass('remove')}}\"></i>\n </button>\n <button\n role=\"button\"\n aria-label=\"Copy button. Click to copy component\"\n tabindex=\"-1\"\n class=\"btn btn-xxs btn-default component-settings-button component-settings-button-copy\"\n ref=\"copyComponent\"\n >\n <i class=\"{{ctx.iconClass('copy')}}\"></i>\n </button>\n <button\n role=\"button\"\n aria-label=\"Paste below button. Click to paste component below the current component\"\n tabindex=\"-1\"\n class=\"btn btn-xxs btn-default component-settings-button component-settings-button-paste\"\n ref=\"pasteComponent\"\n >\n <i class=\"{{ctx.iconClass('save')}}\"></i>\n </button>\n <button\n role=\"button\"\n aria-label=\"Edit json button. Click to edit json of the current component\"\n tabindex=\"-1\"\n class=\"btn btn-xxs btn-default component-settings-button component-settings-button-edit-json\"\n ref=\"editJson\"\n >\n <i class=\"{{ctx.iconClass('wrench')}}\"></i>\n </button>\n <button\n role=\"button\"\n aria-label=\"Move button\"\n tabindex=\"-1\"\n class=\"btn btn-xxs btn-default component-settings-button component-settings-button-move\"\n ref=\"moveComponent\"\n >\n <i class=\"{{ctx.iconClass('move')}}\"></i>\n </button>\n <button\n role=\"button\"\n aria-label=\"Edit button. Click to open component settings modal window\"\n tabindex=\"-1\"\n class=\"btn btn-xxs btn-secondary component-settings-button component-settings-button-edit\"\n ref=\"editComponent\"\n >\n <i class=\"{{ctx.iconClass('cog')}}\"></i>\n </button>\n </div>\n {% } %}\n {{ctx.html}}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","builderComponent"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,KACDF,EAAI,0BACVE,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBACLD,IAAOD,EAAI,UAAU,QAAQ,MAAO,OAAO,KAAKC,KAClD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBACEA,IAAOD,EAAI,UAAU,MAAM,MAAO,OAAO,KAAKC,KAChD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBACEA,IAAOD,EAAI,UAAU,MAAM,MAAO,OAAO,KAAKC,KAChD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBACEA,IAAOD,EAAI,UAAU,QAAQ,MAAO,OAAO,KAAKC,KAClD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBACEA,IAAOD,EAAI,UAAU,MAAM,MAAO,OAAO,KAAKC,KAChD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBACEA,IAAOD,EAAI,UAAU,KAAK,MAAO,OAAO,KAAKC,KAC/C;AAAA;AAAA;AAAA,MAEAC,KAAO;AAAA,QACLD,IAAOD,EAAI,SAAU,OAAO,KAAKC,KACnC;AAAA;AAAA,GACOC;AACP;ACrBA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
@@ -1,5 +1,4 @@
1
- import form from "./form.ejs.js";
2
- declare const _default: {
3
- form: typeof form;
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,12 @@
1
+ function l(e) {
2
+ var n, r = "";
3
+ return r += '<div class="builder-components drag-container formio-builder-' + ((n = e.type) == null ? "" : n) + '" ref="' + ((n = e.key) == null ? "" : n) + `-container">
4
+ ` + ((n = e.html) == null ? "" : n) + `
5
+ </div>
6
+ `, r;
7
+ }
8
+ const o = { form: l };
9
+ export {
10
+ o as default
11
+ };
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/builderComponents/form.ejs","../../../../src/templates/tailwind/builderComponents/index.ts"],"sourcesContent":["<div class=\"builder-components drag-container formio-builder-{{ctx.type}}\" ref=\"{{ctx.key}}-container\">\n {{ctx.html}}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","builderComponents"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,oEACLD,IAAOD,EAAI,SAAU,OAAO,KAAKC,KACnC,cACEA,IAAOD,EAAI,QAAS,OAAO,KAAKC,KAClC;AAAA,QACEA,IAAOD,EAAI,SAAU,OAAO,KAAKC,KACnC;AAAA;AAAA,GACOC;AACP;ACRA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
@@ -1,5 +1,4 @@
1
- import form from "./form.ejs.js";
2
- declare const _default: {
3
- form: typeof form;
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,73 @@
1
+ function i(l) {
2
+ var n, e = "";
3
+ return e += `<div class="flex flex-col w-full h-full">
4
+ <div>
5
+ <div class="grid grid-cols-12 gap-4">
6
+ <div class="col-span-6">
7
+ <div class="text-md px-3 py-3">
8
+ ` + ((n = l.t(l.componentInfo.title, { _userInput: !0 })) == null ? "" : n) + `
9
+ ` + ((n = l.t("Component")) == null ? "" : n) + `
10
+ </div>
11
+ </div>
12
+ `, l.helplinks && (e += `
13
+ <div class="col-span-6 flex justify-end items-center pr-15">
14
+ <a class="reset-link inline-flex items-center text-secondary text-decoration-none hover:text-primary"
15
+ href="` + ((n = l.t(l.helplinks + l.componentInfo.documentation)) == null ? "" : n) + `" target="_blank">
16
+ <i class="` + ((n = l.iconClass("new-window")) == null ? "" : n) + ' mr-1"></i> ' + ((n = l.t("Help")) == null ? "" : n) + `
17
+ </a>
18
+ </div>
19
+ `), e += `
20
+ </div>
21
+ </div>
22
+ <div class="overflow-auto flex-1 p-3 pt-0" style="max-height: calc(90vh - 95px)">
23
+ <div class="grid grid-cols-12 gap-4">
24
+ <div class="`, l.preview ? e += "col-span-12 sm:col-span-6" : e += "col-span-12", e += `">
25
+ <div ref="editForm">
26
+ ` + ((n = l.editForm) == null ? "" : n) + `
27
+ </div>
28
+ </div>
29
+ `, l.preview && (e += `
30
+ <div class="col-span-12 sm:col-span-6">
31
+ <div class="card panel preview-panel">
32
+ <div class="card-header">
33
+ <div class="text-sm">` + ((n = l.t("Preview")) == null ? "" : n) + `</div>
34
+ </div>
35
+ <div class="card-body">
36
+ <div class="component-preview" ref="preview">
37
+ ` + ((n = l.preview) == null ? "" : n) + `
38
+ </div>
39
+ </div>
40
+ </div>
41
+ `, l.componentInfo.help && (e += `
42
+ <div class="card card-body bg-light formio-settings-help">
43
+ ` + ((n = l.t(l.componentInfo.help)) == null ? "" : n) + `
44
+ </div>
45
+ `), e += `
46
+ </div>
47
+ `), e += `
48
+ </div>
49
+ </div>
50
+ <div class="bg-white p-2 flex justify-center">
51
+ <button class="btn btn-primary mx-2" ref="saveButton">
52
+ <i class="` + ((n = l.iconClass("save")) == null ? "" : n) + ` mr-2"></i>
53
+ ` + ((n = l.t("Save")) == null ? "" : n) + `
54
+ </button>
55
+ <button class="btn btn-dark mx-2" ref="cancelButton">
56
+ <i class="` + ((n = l.iconClass("x")) == null ? "" : n) + ` mr-2"></i>
57
+ ` + ((n = l.t("Cancel")) == null ? "" : n) + `
58
+ </button>
59
+ <button class="btn btn-danger mx-2" ref="removeButton">
60
+ <i class="` + ((n = l.iconClass("remove")) == null ? "" : n) + ` mr-2"></i>
61
+ ` + ((n = l.t("Remove")) == null ? "" : n) + `
62
+ </button>
63
+ </div>
64
+ </div>
65
+
66
+
67
+ `, e;
68
+ }
69
+ const s = { form: i };
70
+ export {
71
+ s as default
72
+ };
73
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/builderEditForm/form.ejs","../../../../src/templates/tailwind/builderEditForm/index.ts"],"sourcesContent":["<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 {{ctx.t(ctx.componentInfo.title, { _userInput: true })}}\n {{ctx.t('Component')}}\n </div>\n </div>\n {% if (ctx.helplinks) { %}\n <div class=\"col-span-6 flex justify-end items-center pr-15\">\n <a class=\"reset-link inline-flex items-center text-secondary text-decoration-none hover:text-primary\"\n href=\"{{ctx.t(ctx.helplinks + ctx.componentInfo.documentation)}}\" target=\"_blank\">\n <i class=\"{{ctx.iconClass('new-window')}} mr-1\"></i> {{ctx.t('Help')}}\n </a>\n </div>\n {% } %}\n </div>\n </div>\n <div class=\"overflow-auto flex-1 p-3 pt-0\" style=\"max-height: calc(90vh - 95px)\">\n <div class=\"grid grid-cols-12 gap-4\">\n <div class=\"{% if (ctx.preview) { %}col-span-12 sm:col-span-6{% } else { %}col-span-12{% } %}\">\n <div ref=\"editForm\">\n {{ctx.editForm}}\n </div>\n </div>\n {% if (ctx.preview) { %}\n <div class=\"col-span-12 sm:col-span-6\">\n <div class=\"card panel preview-panel\">\n <div class=\"card-header\">\n <div class=\"text-sm\">{{ctx.t('Preview')}}</div>\n </div>\n <div class=\"card-body\">\n <div class=\"component-preview\" ref=\"preview\">\n {{ctx.preview}}\n </div>\n </div>\n </div>\n {% if (ctx.componentInfo.help) { %}\n <div class=\"card card-body bg-light formio-settings-help\">\n {{ ctx.t(ctx.componentInfo.help) }}\n </div>\n {% } %}\n </div>\n {% } %}\n </div>\n </div>\n <div class=\"bg-white p-2 flex justify-center\">\n <button class=\"btn btn-primary mx-2\" ref=\"saveButton\">\n <i class=\"{{ctx.iconClass('save')}} mr-2\"></i>\n {{ctx.t('Save')}}\n </button>\n <button class=\"btn btn-dark mx-2\" ref=\"cancelButton\">\n <i class=\"{{ctx.iconClass('x')}} mr-2\"></i>\n {{ctx.t('Cancel')}}\n </button>\n <button class=\"btn btn-danger mx-2\" ref=\"removeButton\">\n <i class=\"{{ctx.iconClass('remove')}} mr-2\"></i>\n {{ctx.t('Remove')}}\n </button>\n </div>\n</div>\n\n\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","builderEditForm"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA,gBACLD,IAAOD,EAAI,EAAEA,EAAI,cAAc,OAAO,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KAC/E;AAAA,gBACEA,IAAOD,EAAI,EAAE,WAAW,MAAO,OAAO,KAAKC,KAC7C;AAAA;AAAA;AAAA,SACKD,EAAI,cACTE,KAAO;AAAA;AAAA;AAAA,uBACLD,IAAOD,EAAI,EAAEA,EAAI,YAAYA,EAAI,cAAc,aAAa,MAAO,OAAO,KAAKC,KACjF;AAAA,0BACEA,IAAOD,EAAI,UAAU,YAAY,MAAO,OAAO,KAAKC,KACtD,mBACEA,IAAOD,EAAI,EAAE,MAAM,MAAO,OAAO,KAAKC,KACxC;AAAA;AAAA;AAAA,UAEAC,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA,qBACFF,EAAI,UACTE,KAAO,8BAEPA,KAAO,eAEPA,KAAO;AAAA;AAAA,gBACLD,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA;AAAA,SACKD,EAAI,YACTE,KAAO;AAAA;AAAA;AAAA;AAAA,uCACLD,IAAOD,EAAI,EAAE,SAAS,MAAO,OAAO,KAAKC,KAC3C;AAAA;AAAA;AAAA;AAAA,oBACEA,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA;AAAA;AAAA,WACKD,EAAI,cAAc,SACvBE,KAAO;AAAA;AAAA,gBACLD,IAAQD,EAAI,EAAEA,EAAI,cAAc,IAAI,MAAQ,OAAO,KAAKC,KAC1D;AAAA;AAAA,YAEAC,KAAO;AAAA;AAAA,UAEPA,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA,sBACLD,IAAOD,EAAI,UAAU,MAAM,MAAO,OAAO,KAAKC,KAChD;AAAA,YACEA,IAAOD,EAAI,EAAE,MAAM,MAAO,OAAO,KAAKC,KACxC;AAAA;AAAA;AAAA,sBACEA,IAAOD,EAAI,UAAU,GAAG,MAAO,OAAO,KAAKC,KAC7C;AAAA,YACEA,IAAOD,EAAI,EAAE,QAAQ,MAAO,OAAO,KAAKC,KAC1C;AAAA;AAAA;AAAA,sBACEA,IAAOD,EAAI,UAAU,QAAQ,MAAO,OAAO,KAAKC,KAClD;AAAA,YACEA,IAAOD,EAAI,EAAE,QAAQ,MAAO,OAAO,KAAKC,KAC1C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACOC;AACP;ACnDA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
@@ -1,5 +1,4 @@
1
- import form from "./form.ejs.js";
2
- declare const _default: {
3
- form: typeof form;
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,18 @@
1
+ function r(a) {
2
+ var n, t = "";
3
+ return t += `<div
4
+ class="drag-and-drop-alert alert alert-info no-drag"
5
+ style="text-align:center;"
6
+ role="alert"
7
+ data-noattach="true"
8
+ data-position="` + ((n = a.position) == null ? "" : n) + `"
9
+ >
10
+ ` + ((n = a.t("Drag and Drop a form component")) == null ? "" : n) + `
11
+ </div>
12
+ `, t;
13
+ }
14
+ const o = { form: r };
15
+ export {
16
+ o as default
17
+ };
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/builderPlaceholder/form.ejs","../../../../src/templates/tailwind/builderPlaceholder/index.ts"],"sourcesContent":["<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=\"{{ctx.position}}\"\n>\n {{ctx.t('Drag and Drop a form component')}}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","builderPlaceholder"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA,uBACLD,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA,QACEA,IAAOD,EAAI,EAAE,gCAAgC,MAAO,OAAO,KAAKC,KAClE;AAAA;AAAA,GACOC;AACP;ACNA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
@@ -1,5 +1,4 @@
1
- import form from "./form.ejs.js";
2
- declare const _default: {
3
- form: typeof form;
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,19 @@
1
+ function i(d) {
2
+ var r, e = "";
3
+ return e += '<div id="' + ((r = d.groupId) == null ? "" : r) + '" class="accordion builder-sidebar' + ((r = d.scrollEnabled ? " builder-sidebar_scroll" : "") == null ? "" : r) + `" ref="sidebar">
4
+ <input class="form-control builder-sidebar_search" type="search" ref="sidebar-search" placeholder="Search field(s)" />
5
+ <div ref="sidebar-groups">
6
+ `, d.groups.forEach(function(l) {
7
+ e += `
8
+ ` + ((r = l) == null ? "" : r) + `
9
+ `;
10
+ }), e += `
11
+ </div>
12
+ </div>
13
+ `, e;
14
+ }
15
+ const n = { form: i };
16
+ export {
17
+ n as default
18
+ };
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/builderSidebar/form.ejs","../../../../src/templates/tailwind/builderSidebar/index.ts"],"sourcesContent":["<div id=\"{{ctx.groupId}}\" class=\"accordion builder-sidebar{{ctx.scrollEnabled ? ' builder-sidebar_scroll' : ''}}\" ref=\"sidebar\">\n <input class=\"form-control builder-sidebar_search\" type=\"search\" ref=\"sidebar-search\" placeholder=\"Search field(s)\" />\n <div ref=\"sidebar-groups\">\n {% ctx.groups.forEach(function(group) { %}\n {{ group }}\n {% }) %}\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","group","builderSidebar"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,gBACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC,yCACEA,IAAOD,EAAI,gBAAgB,4BAA4B,OAAQ,OAAO,KAAKC,KAC7E;AAAA;AAAA;AAAA,OACCD,EAAI,OAAO,QAAQ,SAASG,GAAO;AACpC,IAAAD,KAAO;AAAA,YACLD,IAAQE,MAAY,OAAO,KAAKF,KAClC;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;ACbA,MAAeE,IAAA,EAAE,MAAAL,EAAK;"}
@@ -1,5 +1,4 @@
1
- import form from "./form.ejs.js";
2
- declare const _default: {
3
- form: typeof form;
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,58 @@
1
+ function l(r) {
2
+ var n, o = "";
3
+ return o += '<div class="card form-builder-panel" ref="group-panel-' + ((n = r.groupKey) == null ? "" : n) + `">
4
+ <div class="card-header form-builder-group-header" id="heading-` + ((n = r.groupKey) == null ? "" : n) + `">
5
+ <h5 class="mb-0 mt-0">
6
+ <button
7
+ class="btn btn-block builder-group-button"
8
+ type="button"
9
+ data-toggle="collapse"
10
+ data-target="#group-` + ((n = r.groupKey) == null ? "" : n) + `"
11
+ data-parent="#` + ((n = r.groupId) == null ? "" : n) + `"
12
+ aria-expanded="` + ((n = r.group.default) == null ? "" : n) + `"
13
+ aria-controls="group-` + ((n = r.groupKey) == null ? "" : n) + `"
14
+ ref="sidebar-anchor"
15
+ >
16
+ ` + ((n = r.t(r.group.title)) == null ? "" : n) + `
17
+ </button>
18
+ </h5>
19
+ </div>
20
+ <div
21
+ id="group-` + ((n = r.groupKey) == null ? "" : n) + `"
22
+ class="` + ((n = r.group.default ? " show" : "") == null ? "" : n) + `"
23
+ data-parent="#` + ((n = r.groupId) == null ? "" : n) + `"
24
+ data-default="` + ((n = r.group.default) == null ? "" : n) + `"
25
+ aria-labelledby="heading-` + ((n = r.groupKey) == null ? "" : n) + `"
26
+ ref="sidebar-group"
27
+ >
28
+ <div id="group-container-` + ((n = r.groupKey) == null ? "" : n) + `" class="card-body no-drop p-2" ref="sidebar-container">
29
+ `, r.group.componentOrder.length || r.subgroups.length ? (o += `
30
+ `, !r.group.componentOrder || r.group.componentOrder.forEach(function(u) {
31
+ o += `
32
+ <span
33
+ data-group="` + ((n = r.groupKey) == null ? "" : n) + `"
34
+ data-key="` + ((n = r.group.components[u].key) == null ? "" : n) + `"
35
+ data-type="` + ((n = r.group.components[u].schema.type) == null ? "" : n) + `"
36
+ class="btn btn-primary btn-sm btn-block formcomponent drag-copy"
37
+ >
38
+ `, r.group.components[u].icon && (o += `
39
+ <i class="` + ((n = r.iconClass(r.group.components[u].icon)) == null ? "" : n) + `" style="margin-right: 5px;"></i>
40
+ `), o += `
41
+ ` + ((n = r.t(r.group.components[u].title, { _userInput: !0 })) == null ? "" : n) + `
42
+ </span>
43
+ `;
44
+ }), o += `
45
+ ` + ((n = r.subgroups.join("")) == null ? "" : n) + `
46
+ `) : o += `
47
+ <div>` + ((n = r.t("No Matches Found")) == null ? "" : n) + `</div>
48
+ `, o += `
49
+ </div>
50
+ </div>
51
+ </div>
52
+ `, o;
53
+ }
54
+ const a = { form: l };
55
+ export {
56
+ a as default
57
+ };
58
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/builderSidebarGroup/form.ejs","../../../../src/templates/tailwind/builderSidebarGroup/index.ts"],"sourcesContent":["<div class=\"card form-builder-panel\" ref=\"group-panel-{{ctx.groupKey}}\">\n <div class=\"card-header form-builder-group-header\" id=\"heading-{{ctx.groupKey}}\">\n <h5 class=\"mb-0 mt-0\">\n <button\n class=\"btn btn-block builder-group-button\"\n type=\"button\"\n data-toggle=\"collapse\"\n data-target=\"#group-{{ctx.groupKey}}\"\n data-parent=\"#{{ctx.groupId}}\"\n aria-expanded=\"{{ctx.group.default}}\"\n aria-controls=\"group-{{ctx.groupKey}}\"\n ref=\"sidebar-anchor\"\n >\n {{ctx.t(ctx.group.title)}}\n </button>\n </h5>\n </div>\n <div\n id=\"group-{{ctx.groupKey}}\"\n class=\"{{ctx.group.default ? ' show' : ''}}\"\n data-parent=\"#{{ctx.groupId}}\"\n data-default=\"{{ctx.group.default}}\"\n aria-labelledby=\"heading-{{ctx.groupKey}}\"\n ref=\"sidebar-group\"\n >\n <div id=\"group-container-{{ctx.groupKey}}\" class=\"card-body no-drop p-2\" ref=\"sidebar-container\">\n {% if (ctx.group.componentOrder.length || ctx.subgroups.length) { %}\n {% !ctx.group.componentOrder || ctx.group.componentOrder.forEach(function(componentKey) { %}\n <span\n data-group=\"{{ctx.groupKey}}\"\n data-key=\"{{ctx.group.components[componentKey].key}}\"\n data-type=\"{{ctx.group.components[componentKey].schema.type}}\"\n class=\"btn btn-primary btn-sm btn-block formcomponent drag-copy\"\n >\n {% if (ctx.group.components[componentKey].icon) { %}\n <i class=\"{{ctx.iconClass(ctx.group.components[componentKey].icon)}}\" style=\"margin-right: 5px;\"></i>\n {% } %}\n {{ctx.t(ctx.group.components[componentKey].title, { _userInput: true })}}\n </span>\n {% }) %}\n {{ctx.subgroups.join('')}}\n {% } else { %}\n <div>{{ctx.t('No Matches Found')}}</div>\n {% } %}\n </div>\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","componentKey","builderSidebarGroup"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,6DACLD,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA,uEACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA,4BACEA,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA,6BACEA,IAAOD,EAAI,MAAM,YAAa,OAAO,KAAKC,KAC5C;AAAA,mCACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA;AAAA,cACEA,IAAOD,EAAI,EAAEA,EAAI,MAAM,KAAK,MAAO,OAAO,KAAKC,KACjD;AAAA;AAAA;AAAA;AAAA;AAAA,oBACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA,iBACEA,IAAOD,EAAI,MAAM,UAAU,UAAU,OAAQ,OAAO,KAAKC,KAC3D;AAAA,wBACEA,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA,wBACEA,IAAOD,EAAI,MAAM,YAAa,OAAO,KAAKC,KAC5C;AAAA,mCACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA;AAAA,mCACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA,SACKD,EAAI,MAAM,eAAe,UAAUA,EAAI,UAAU,UACtDE,KAAO;AAAA,WACN,CAACF,EAAI,MAAM,kBAAkBA,EAAI,MAAM,eAAe,QAAQ,SAASG,GAAc;AACtF,IAAAD,KAAO;AAAA;AAAA,8BACLD,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA,4BACEA,IAAOD,EAAI,MAAM,WAAWG,CAAY,EAAE,QAAS,OAAO,KAAKF,KACjE;AAAA,6BACEA,IAAOD,EAAI,MAAM,WAAWG,CAAY,EAAE,OAAO,SAAU,OAAO,KAAKF,KACzE;AAAA;AAAA;AAAA,eACKD,EAAI,MAAM,WAAWG,CAAY,EAAE,SACxCD,KAAO;AAAA,8BACLD,IAAOD,EAAI,UAAUA,EAAI,MAAM,WAAWG,CAAY,EAAE,IAAI,MAAO,OAAO,KAAKF,KACjF;AAAA,gBAEAC,KAAO;AAAA,kBACLD,IAAOD,EAAI,EAAEA,EAAI,MAAM,WAAWG,CAAY,EAAE,OAAO,EAAE,YAAY,GAAM,CAAA,MAAO,OAAO,KAAKF,KAChG;AAAA;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA,cACLD,IAAOD,EAAI,UAAU,KAAK,EAAE,MAAO,OAAO,KAAKC,KACjD;AAAA,WAEAC,KAAO;AAAA,mBACLD,IAAOD,EAAI,EAAE,kBAAkB,MAAO,OAAO,KAAKC,KACpD;AAAA,SAEAC,KAAO;AAAA;AAAA;AAAA;AAAA,GACAA;AACP;ACzDA,MAAeE,IAAA,EAAE,MAAAL,EAAK;"}
@@ -1,5 +1,4 @@
1
- import form from "./form.ejs.js";
2
- declare const _default: {
3
- form: typeof form;
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,33 @@
1
+ function e(a) {
2
+ var l, n = "";
3
+ return n += `<div class="formio builder grid grid-cols-12 gap-4 formbuilder">
4
+ <div class="col-span-12 xs:col-span-4 sm:col-span-3 md:col-span-2 formcomponents">
5
+ ` + ((l = a.sidebar) == null ? "" : l) + `
6
+ </div>
7
+ <div class="col-span-12 xs:col-span-8 sm:col-span-9 md:col-span-10 formarea">
8
+ <ol class="breadcrumb bg-gray-200">
9
+ `, a.pages.forEach(function(s, r) {
10
+ n += `
11
+ <li class="text-gray-500">
12
+ <span title="` + ((l = s.title) == null ? "" : l) + '" class="mr-2 badge ', r === a.self.page ? n += "bg-primary" : n += "bg-light", n += ' wizard-page-label" ref="gotoPage">' + ((l = s.title) == null ? "" : l) + `</span>
13
+ </li>
14
+ `;
15
+ }), n += `
16
+ <li class="text-gray-500 pl-2">
17
+ <span title="` + ((l = a.t("Create Page")) == null ? "" : l) + `" class="mr-2 badge bg-secondary wizard-page-label" ref="addPage">
18
+ <i class="` + ((l = a.iconClass("plus")) == null ? "" : l) + ' mr-1"></i> ' + ((l = a.t("Page")) == null ? "" : l) + `
19
+ </span>
20
+ </li>
21
+ </ol>
22
+ <div ref="form">
23
+ ` + ((l = a.form) == null ? "" : l) + `
24
+ </div>
25
+ </div>
26
+ </div>
27
+ `, n;
28
+ }
29
+ const i = { form: e };
30
+ export {
31
+ i as default
32
+ };
33
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/builderWizard/form.ejs","../../../../src/templates/tailwind/builderWizard/index.ts"],"sourcesContent":["<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 {{ctx.sidebar}}\n </div>\n <div class=\"col-span-12 xs:col-span-8 sm:col-span-9 md:col-span-10 formarea\">\n <ol class=\"breadcrumb bg-gray-200\">\n {% ctx.pages.forEach(function(page, pageIndex) { %}\n <li class=\"text-gray-500\">\n <span title=\"{{page.title}}\" class=\"mr-2 badge {% if (pageIndex === ctx.self.page) { %}bg-primary{% } else { %}bg-light{% } %} wizard-page-label\" ref=\"gotoPage\">{{page.title}}</span>\n </li>\n {% }) %}\n <li class=\"text-gray-500 pl-2\">\n <span title=\"{{ctx.t('Create Page')}}\" class=\"mr-2 badge bg-secondary wizard-page-label\" ref=\"addPage\">\n <i class=\"{{ctx.iconClass('plus')}} mr-1\"></i> {{ctx.t('Page')}}\n </span>\n </li>\n </ol>\n <div ref=\"form\">\n {{ctx.form}}\n </div>\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","page","pageIndex","builderWizard"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA,UACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA;AAAA;AAAA,SACCD,EAAI,MAAM,QAAQ,SAASG,GAAMC,GAAW;AAC7C,IAAAF,KAAO;AAAA;AAAA,2BACLD,IAAOE,EAAK,UAAW,OAAO,KAAKF,KACrC,wBACKG,MAAcJ,EAAI,KAAK,OAC5BE,KAAO,eAEPA,KAAO,YAEPA,KAAO,0CACLD,IAAOE,EAAK,UAAW,OAAO,KAAKF,KACrC;AAAA;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA;AAAA,2BACLD,IAAOD,EAAI,EAAE,aAAa,MAAO,OAAO,KAAKC,KAC/C;AAAA,0BACEA,IAAOD,EAAI,UAAU,MAAM,MAAO,OAAO,KAAKC,KAChD,mBACEA,IAAOD,EAAI,EAAE,MAAM,MAAO,OAAO,KAAKC,KACxC;AAAA;AAAA;AAAA;AAAA;AAAA,YACEA,IAAOD,EAAI,SAAU,OAAO,KAAKC,KACnC;AAAA;AAAA;AAAA;AAAA,GACOC;AACP;AC3BA,MAAeG,IAAA,EAAE,MAAAN,EAAK;"}
@@ -1,7 +1,5 @@
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;
1
+ declare const _default: {
2
+ form: string;
3
+ html: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,36 @@
1
+ function e(o) {
2
+ var n, t = "";
3
+ t += "<" + ((n = o.input.type) == null ? "" : n) + `
4
+ ref="button"
5
+ `;
6
+ for (var l in o.input.attr)
7
+ t += `
8
+ ` + ((n = l) == null ? "" : n) + '="' + ((n = o.input.attr[l]) == null ? "" : n) + `"
9
+ `;
10
+ return t += `
11
+ `, o.component.description && (t += `
12
+ aria-describedby="d-` + ((n = o.instance.id) == null ? "" : n) + "-" + ((n = o.component.key) == null ? "" : n) + `"
13
+ `), t += `
14
+ >
15
+ `, o.component.leftIcon && (t += '<span class="' + ((n = o.component.leftIcon) == null ? "" : n) + '"></span>&nbsp;'), t += `
16
+ `, o.input.content && (t += "<span>" + ((n = o.input.content) == null ? "" : n) + "</span> "), t += `
17
+ `, o.component.tooltip && (t += `
18
+ <i ref="tooltip" class="` + ((n = o.iconClass("question-sign")) == null ? "" : n) + ' text-muted" data-tooltip="' + ((n = o.component.tooltip) == null ? "" : n) + `"></i>
19
+ `), t += `
20
+ `, o.component.rightIcon && (t += '&nbsp;<span class="' + ((n = o.component.rightIcon) == null ? "" : n) + '"></span>'), t += `
21
+ </` + ((n = o.input.type) == null ? "" : n) + `>
22
+ <div ref="buttonMessageContainer">
23
+ <span class="help-block" ref="buttonMessage"></span>
24
+ </div>
25
+ `, t;
26
+ }
27
+ function p(o) {
28
+ var n = "";
29
+ return n += `
30
+ `, n;
31
+ }
32
+ const i = { form: e, html: p };
33
+ export {
34
+ i as default
35
+ };
36
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/button/form.ejs","../../../../src/templates/tailwind/button/html.ejs","../../../../src/templates/tailwind/button/index.ts"],"sourcesContent":["<{{ctx.input.type}}\n ref=\"button\"\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n {% if (ctx.component.description) { %}\n aria-describedby=\"d-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n>\n{% if (ctx.component.leftIcon) { %}<span class=\"{{ctx.component.leftIcon}}\"></span>&nbsp;{% } %}\n{% if (ctx.input.content) { %}<span>{{ctx.input.content}}</span> {% } %}\n{% if (ctx.component.tooltip) { %}\n <i ref=\"tooltip\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{ctx.component.tooltip}}\"></i>\n{% } %}\n{% if (ctx.component.rightIcon) { %}&nbsp;<span class=\"{{ctx.component.rightIcon}}\"></span>{% } %}\n</{{ctx.input.type}}>\n<div ref=\"buttonMessageContainer\">\n <span class=\"help-block\" ref=\"buttonMessage\"></span>\n</div>\n","\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","attr","html","button"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,EAAAA,KAAO,QACLD,IAAOD,EAAI,MAAM,SAAU,OAAO,KAAKC,KACzC;AAAA;AAAA;AACC,WAASE,KAAQH,EAAI,MAAM;AAC5B,IAAAE,KAAO;AAAA,QACLD,IAAOE,MAAU,OAAO,KAAKF,KAC/B,SACEA,IAAOD,EAAI,MAAM,KAAKG,CAAI,MAAO,OAAO,KAAKF,KAC/C;AAAA;AAEA,SAAAC,KAAO;AAAA,KACFF,EAAI,UAAU,gBACnBE,KAAO;AAAA,8BACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,MAEAC,KAAO;AAAA;AAAA,GACFF,EAAI,UAAU,aACnBE,KAAO,oBACLD,IAAOD,EAAI,UAAU,aAAc,OAAO,KAAKC,KACjD,oBAEAC,KAAO;AAAA,GACFF,EAAI,MAAM,YACfE,KAAO,aACLD,IAAOD,EAAI,MAAM,YAAa,OAAO,KAAKC,KAC5C,aAEAC,KAAO;AAAA,GACFF,EAAI,UAAU,YACnBE,KAAO;AAAA,gCACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOD,EAAI,UAAU,YAAa,OAAO,KAAKC,KAChD;AAAA,IAEAC,KAAO;AAAA,GACFF,EAAI,UAAU,cACnBE,KAAO,0BACLD,IAAOD,EAAI,UAAU,cAAe,OAAO,KAAKC,KAClD,cAEAC,KAAO;AAAA,QACLD,IAAOD,EAAI,MAAM,SAAU,OAAO,KAAKC,KACzC;AAAA;AAAA;AAAA;AAAA,GACOC;AACP;ACnDe,SAAQE,EAACJ,GAAK;AAC1B,MAAME,IAAM;AACf,SAAAA,KAAO;AAAA,GACAA;AACP;ACDA,MAAAG,IAAe,EAAE,MAAAN,GAAM,MAAAK,EAAK;"}
@@ -1,7 +1,5 @@
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;
1
+ declare const _default: {
2
+ form: string;
3
+ html: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,42 @@
1
+ function a(l) {
2
+ var n, e = "";
3
+ e += `<div class="form-check checkbox">
4
+ <label class="` + ((n = l.input.labelClass) == null ? "" : n) + ` form-check-label">
5
+ <` + ((n = l.input.type) == null ? "" : n) + `
6
+ ref="input"
7
+ `;
8
+ for (var i in l.input.attr)
9
+ e += `
10
+ ` + ((n = i) == null ? "" : n) + '="' + ((n = l.input.attr[i]) == null ? "" : n) + `"
11
+ `;
12
+ return e += `
13
+ `, l.checked && (e += "checked=true"), e += `
14
+ aria-required="` + ((n = l.component.validate.required) == null ? "" : n) + `"
15
+ `, l.component.description && (e += `
16
+ aria-describedby="d-` + ((n = l.instance.id) == null ? "" : n) + "-" + ((n = l.component.key) == null ? "" : n) + `"
17
+ `), e += `
18
+ >
19
+ `, l.self.labelIsHidden() || (e += "<span>" + ((n = l.input.label) == null ? "" : n) + "</span>"), e += `
20
+ `, l.component.tooltip && (e += `
21
+ <i ref="tooltip" tabindex="0" class="` + ((n = l.iconClass("question-sign")) == null ? "" : n) + ' text-muted" data-tooltip="' + ((n = l.component.tooltip) == null ? "" : n) + `"></i>
22
+ `), e += `
23
+ ` + ((n = l.input.content) == null ? "" : n) + `
24
+ </` + ((n = l.input.type) == null ? "" : n) + `>
25
+ </label>
26
+ </div>
27
+ `, e;
28
+ }
29
+ function u(l) {
30
+ var n, e = "";
31
+ return e += '<label class="' + ((n = l.input.labelClass) == null ? "" : n) + `">
32
+ ` + ((n = l.input.content) == null ? "" : n) + `
33
+ `, l.self.labelIsHidden() || (e += "<span>" + ((n = l.input.label) == null ? "" : n) + "</span>"), e += `
34
+ </label>
35
+ <div ref="value">`, l.checked ? e += "True" : e += "False", e += `</div>
36
+ `, e;
37
+ }
38
+ const o = { form: a, html: u };
39
+ export {
40
+ o as default
41
+ };
42
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/checkbox/form.ejs","../../../../src/templates/tailwind/checkbox/html.ejs","../../../../src/templates/tailwind/checkbox/index.ts"],"sourcesContent":["<div class=\"form-check checkbox\">\n <label class=\"{{ctx.input.labelClass}} form-check-label\">\n <{{ctx.input.type}}\n ref=\"input\"\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n {% if (ctx.checked) { %}checked=true{% } %}\n aria-required=\"{{ctx.component.validate.required}}\"\n {% if (ctx.component.description) { %}\n aria-describedby=\"d-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n >\n {% if (!ctx.self.labelIsHidden()) { %}<span>{{ctx.input.label}}</span>{% } %}\n {% if (ctx.component.tooltip) { %}\n <i ref=\"tooltip\" tabindex=\"0\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{ctx.component.tooltip}}\"></i>\n {% } %}\n {{ctx.input.content}}\n </{{ctx.input.type}}>\n </label>\n</div>\n","<label class=\"{{ctx.input.labelClass}}\">\n {{ctx.input.content}}\n {% if (!ctx.self.labelIsHidden()) { %}<span>{{ctx.input.label}}</span>{% } %}\n</label>\n<div ref=\"value\">{% if (ctx.checked) { %}True{% } else { %}False{% } %}</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","attr","html","checkbox"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,EAAAA,KAAO;AAAA,sBACLD,IAAOD,EAAI,MAAM,eAAgB,OAAO,KAAKC,KAC/C;AAAA,WACEA,IAAOD,EAAI,MAAM,SAAU,OAAO,KAAKC,KACzC;AAAA;AAAA;AACC,WAASE,KAAQH,EAAI,MAAM;AAC5B,IAAAE,KAAO;AAAA,YACLD,IAAOE,MAAU,OAAO,KAAKF,KAC/B,SACEA,IAAOD,EAAI,MAAM,KAAKG,CAAI,MAAO,OAAO,KAAKF,KAC/C;AAAA;AAEA,SAAAC,KAAO;AAAA,SACFF,EAAI,YACTE,KAAO,iBAEPA,KAAO;AAAA,2BACLD,IAAOD,EAAI,UAAU,SAAS,aAAc,OAAO,KAAKC,KAC1D;AAAA,SACKD,EAAI,UAAU,gBACnBE,KAAO;AAAA,gCACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,UAEAC,KAAO;AAAA;AAAA,OACDF,EAAI,KAAK,cAAa,MAC5BE,KAAO,aACLD,IAAOD,EAAI,MAAM,UAAW,OAAO,KAAKC,KAC1C,YAEAC,KAAO;AAAA,OACFF,EAAI,UAAU,YACnBE,KAAO;AAAA,iDACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOD,EAAI,UAAU,YAAa,OAAO,KAAKC,KAChD;AAAA,QAEAC,KAAO;AAAA,UACLD,IAAOD,EAAI,MAAM,YAAa,OAAO,KAAKC,KAC5C;AAAA,YACEA,IAAOD,EAAI,MAAM,SAAU,OAAO,KAAKC,KACzC;AAAA;AAAA;AAAA,GACOC;AACP;ACjDe,SAAQE,EAACJ,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,qBACLD,IAAOD,EAAI,MAAM,eAAgB,OAAO,KAAKC,KAC/C;AAAA,UACEA,IAAOD,EAAI,MAAM,YAAa,OAAO,KAAKC,KAC5C;AAAA,OACMD,EAAI,KAAK,cAAa,MAC5BE,KAAO,aACLD,IAAOD,EAAI,MAAM,UAAW,OAAO,KAAKC,KAC1C,YAEAC,KAAO;AAAA;AAAA,oBACFF,EAAI,UACTE,KAAO,SAEPA,KAAO,SAEPA,KAAO;AAAA,GACAA;AACP;AClBA,MAAAG,IAAe,EAAE,MAAAN,GAAM,MAAAK,EAAK;"}
@@ -1,5 +1,4 @@
1
- import form from "./form.ejs.js";
2
- declare const _default: {
3
- form: typeof form;
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,21 @@
1
+ function o(s) {
2
+ var n, u = "";
3
+ return s.component.columns.forEach(function(l, e) {
4
+ u += `
5
+ <div class="
6
+ col-` + ((n = l.size) == null ? "" : n) + "-" + ((n = l.currentWidth || l.width) == null ? "" : n) + `
7
+ col-` + ((n = l.size) == null ? "" : n) + "-offset-" + ((n = l.offset) == null ? "" : n) + `
8
+ col-` + ((n = l.size) == null ? "" : n) + "-push-" + ((n = l.push) == null ? "" : n) + `
9
+ col-` + ((n = l.size) == null ? "" : n) + "-pull-" + ((n = l.pull) == null ? "" : n) + `
10
+ " ref="` + ((n = s.columnKey) == null ? "" : n) + `">
11
+ ` + ((n = s.columnComponents[e]) == null ? "" : n) + `
12
+ </div>
13
+ `;
14
+ }), u += `
15
+ `, u;
16
+ }
17
+ const t = { form: o };
18
+ export {
19
+ t as default
20
+ };
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/columns/form.ejs","../../../../src/templates/tailwind/columns/index.ts"],"sourcesContent":["{% ctx.component.columns.forEach(function(column, index) { %}\n<div class=\"\n col-{{column.size}}-{{column.currentWidth || column.width}}\n col-{{column.size}}-offset-{{column.offset}}\n col-{{column.size}}-push-{{column.push}}\n col-{{column.size}}-pull-{{column.pull}}\n \" ref=\"{{ctx.columnKey}}\">\n {{ctx.columnComponents[index]}}\n</div>\n{% }) %}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","column","index","columns"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAAF,EAAI,UAAU,QAAQ,QAAQ,SAASG,GAAQC,GAAO;AACvD,IAAAF,KAAO;AAAA;AAAA,cACLD,IAAOE,EAAO,SAAU,OAAO,KAAKF,KACtC,QACEA,IAAOE,EAAO,gBAAgBA,EAAO,UAAW,OAAO,KAAKF,KAC9D;AAAA,cACEA,IAAOE,EAAO,SAAU,OAAO,KAAKF,KACtC,eACEA,IAAOE,EAAO,WAAY,OAAO,KAAKF,KACxC;AAAA,cACEA,IAAOE,EAAO,SAAU,OAAO,KAAKF,KACtC,aACEA,IAAOE,EAAO,SAAU,OAAO,KAAKF,KACtC;AAAA,cACEA,IAAOE,EAAO,SAAU,OAAO,KAAKF,KACtC,aACEA,IAAOE,EAAO,SAAU,OAAO,KAAKF,KACtC;AAAA,eACEA,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC;AAAA,QACEA,IAAOD,EAAI,iBAAiBI,CAAK,MAAO,OAAO,KAAKH,KACtD;AAAA;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA,GACAA;AACP;AC3BA,MAAeG,IAAA,EAAE,MAAAN,EAAK;"}
@@ -1,5 +1,4 @@
1
- import form from "./form.ejs.js";
2
- declare const _default: {
3
- form: typeof form;
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,15 @@
1
+ function l(e) {
2
+ var n, s = "";
3
+ return s += '<div id="' + ((n = e.id) == null ? "" : n) + '" class="' + ((n = e.classes) == null ? "" : n) + '"', e.styles && (s += ' styles="' + ((n = e.styles) == null ? "" : n) + '"'), s += ` ref="component">
4
+ `, e.visible && (s += `
5
+ ` + ((n = e.children) == null ? "" : n) + `
6
+ <div ref="messageContainer" class="formio-errors invalid-feedback"></div>
7
+ `), s += `
8
+ </div>
9
+ `, s;
10
+ }
11
+ const i = { form: l };
12
+ export {
13
+ i as default
14
+ };
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/component/form.ejs","../../../../src/templates/tailwind/component/index.ts"],"sourcesContent":["<div id=\"{{ctx.id}}\" class=\"{{ctx.classes}}\"{% if (ctx.styles) { %} styles=\"{{ctx.styles}}\"{% } %} ref=\"component\">\n {% if (ctx.visible) { %}\n {{ctx.children}}\n <div ref=\"messageContainer\" class=\"formio-errors invalid-feedback\"></div>\n {% } %}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","component"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,gBACLD,IAAOD,EAAI,OAAQ,OAAO,KAAKC,KACjC,gBACEA,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC,KACKD,EAAI,WACTE,KAAO,gBACLD,IAAOD,EAAI,WAAY,OAAO,KAAKC,KACrC,MAEAC,KAAO;AAAA,KACFF,EAAI,YACTE,KAAO;AAAA,QACLD,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA,GACAA;AACP;ACnBA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
@@ -1,5 +1,4 @@
1
- import form from "./form.ejs.js";
2
- declare const _default: {
3
- form: typeof form;
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;