@tsed/tailwind-formio 2.3.2 → 3.0.0-alpha.2

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 +7 -5
  294. package/tsconfig.node.json +9 -4
  295. package/vite.config.mts +86 -0
  296. package/.eslintignore +0 -14
  297. package/.eslintrc.js +0 -7
  298. package/dist/index.modern.js +0 -2021
  299. package/dist/index.modern.js.map +0 -1
  300. package/dist/templates/stories/alert.stories.d.ts +0 -17
  301. package/dist/templates/stories/badge.stories.d.ts +0 -17
  302. package/dist/templates/stories/breadcrumbs.stories.d.ts +0 -37
  303. package/dist/templates/stories/builder.stories.d.ts +0 -3057
  304. package/dist/templates/stories/pagination.stories.d.ts +0 -17
  305. package/dist/templates/stories/progress.stories.d.ts +0 -22
  306. package/dist/templates/stories/wizard.stories.d.ts +0 -3057
  307. package/dist/templates/tailwind/address/form.ejs.d.ts +0 -1
  308. package/dist/templates/tailwind/address/html.ejs.d.ts +0 -1
  309. package/dist/templates/tailwind/alert/form.ejs.d.ts +0 -1
  310. package/dist/templates/tailwind/builder/form.ejs.d.ts +0 -1
  311. package/dist/templates/tailwind/builderComponent/form.ejs.d.ts +0 -1
  312. package/dist/templates/tailwind/builderComponents/form.ejs.d.ts +0 -1
  313. package/dist/templates/tailwind/builderEditForm/form.ejs.d.ts +0 -1
  314. package/dist/templates/tailwind/builderPlaceholder/form.ejs.d.ts +0 -1
  315. package/dist/templates/tailwind/builderSidebar/form.ejs.d.ts +0 -1
  316. package/dist/templates/tailwind/builderSidebarGroup/form.ejs.d.ts +0 -1
  317. package/dist/templates/tailwind/builderWizard/form.ejs.d.ts +0 -1
  318. package/dist/templates/tailwind/button/button.stories.d.ts +0 -22
  319. package/dist/templates/tailwind/button/form.ejs.d.ts +0 -1
  320. package/dist/templates/tailwind/button/html.ejs.d.ts +0 -1
  321. package/dist/templates/tailwind/checkbox/form.ejs.d.ts +0 -1
  322. package/dist/templates/tailwind/checkbox/html.ejs.d.ts +0 -1
  323. package/dist/templates/tailwind/columns/form.ejs.d.ts +0 -1
  324. package/dist/templates/tailwind/component/form.ejs.d.ts +0 -1
  325. package/dist/templates/tailwind/componentModal/form.ejs.d.ts +0 -1
  326. package/dist/templates/tailwind/components/form.ejs.d.ts +0 -1
  327. package/dist/templates/tailwind/container/form.ejs.d.ts +0 -1
  328. package/dist/templates/tailwind/datagrid/form.ejs.d.ts +0 -1
  329. package/dist/templates/tailwind/datagrid/html.ejs.d.ts +0 -1
  330. package/dist/templates/tailwind/day/form.ejs.d.ts +0 -1
  331. package/dist/templates/tailwind/dialog/form.ejs.d.ts +0 -1
  332. package/dist/templates/tailwind/editgrid/form.ejs.d.ts +0 -1
  333. package/dist/templates/tailwind/editgrid/html.ejs.d.ts +0 -1
  334. package/dist/templates/tailwind/editgridTable/form.ejs.d.ts +0 -1
  335. package/dist/templates/tailwind/editgridTable/html.ejs.d.ts +0 -1
  336. package/dist/templates/tailwind/errorsList/form.ejs.d.ts +0 -1
  337. package/dist/templates/tailwind/field/align.ejs.d.ts +0 -1
  338. package/dist/templates/tailwind/field/form.ejs.d.ts +0 -1
  339. package/dist/templates/tailwind/fieldset/form.ejs.d.ts +0 -1
  340. package/dist/templates/tailwind/file/form.ejs.d.ts +0 -1
  341. package/dist/templates/tailwind/html/form.ejs.d.ts +0 -1
  342. package/dist/templates/tailwind/icon/form.ejs.d.ts +0 -1
  343. package/dist/templates/tailwind/input/form.ejs.d.ts +0 -1
  344. package/dist/templates/tailwind/input/html.ejs.d.ts +0 -1
  345. package/dist/templates/tailwind/label/form.ejs.d.ts +0 -1
  346. package/dist/templates/tailwind/loader/form.ejs.d.ts +0 -1
  347. package/dist/templates/tailwind/loading/form.ejs.d.ts +0 -1
  348. package/dist/templates/tailwind/map/form.ejs.d.ts +0 -1
  349. package/dist/templates/tailwind/message/form.ejs.d.ts +0 -1
  350. package/dist/templates/tailwind/modalPreview/form.ejs.d.ts +0 -1
  351. package/dist/templates/tailwind/modaldialog/form.ejs.d.ts +0 -1
  352. package/dist/templates/tailwind/modaledit/form.ejs.d.ts +0 -1
  353. package/dist/templates/tailwind/multiValueRow/form.ejs.d.ts +0 -1
  354. package/dist/templates/tailwind/multiValueTable/form.ejs.d.ts +0 -1
  355. package/dist/templates/tailwind/multipleMasksInput/form.ejs.d.ts +0 -1
  356. package/dist/templates/tailwind/panel/form.ejs.d.ts +0 -1
  357. package/dist/templates/tailwind/pdf/form.ejs.d.ts +0 -1
  358. package/dist/templates/tailwind/pdfBuilder/form.ejs.d.ts +0 -1
  359. package/dist/templates/tailwind/pdfBuilderUpload/form.ejs.d.ts +0 -1
  360. package/dist/templates/tailwind/radio/form.ejs.d.ts +0 -1
  361. package/dist/templates/tailwind/radio/html.ejs.d.ts +0 -1
  362. package/dist/templates/tailwind/resourceAdd/form.ejs.d.ts +0 -1
  363. package/dist/templates/tailwind/select/form.ejs.d.ts +0 -1
  364. package/dist/templates/tailwind/select/html.ejs.d.ts +0 -1
  365. package/dist/templates/tailwind/selectOption/form.ejs.d.ts +0 -1
  366. package/dist/templates/tailwind/selectOption/html.ejs.d.ts +0 -1
  367. package/dist/templates/tailwind/signature/form.ejs.d.ts +0 -1
  368. package/dist/templates/tailwind/signature/html.ejs.d.ts +0 -1
  369. package/dist/templates/tailwind/survey/form.ejs.d.ts +0 -1
  370. package/dist/templates/tailwind/survey/html.ejs.d.ts +0 -1
  371. package/dist/templates/tailwind/tab/flat.ejs.d.ts +0 -1
  372. package/dist/templates/tailwind/tab/form.ejs.d.ts +0 -1
  373. package/dist/templates/tailwind/table/form.ejs.d.ts +0 -1
  374. package/dist/templates/tailwind/tableComponents/form.ejs.d.ts +0 -1
  375. package/dist/templates/tailwind/tree/form.ejs.d.ts +0 -1
  376. package/dist/templates/tailwind/tree/partials/edit.ejs.d.ts +0 -1
  377. package/dist/templates/tailwind/tree/partials/view.ejs.d.ts +0 -1
  378. package/dist/templates/tailwind/webform/builder.ejs.d.ts +0 -1
  379. package/dist/templates/tailwind/webform/form.ejs.d.ts +0 -1
  380. package/dist/templates/tailwind/well/form.ejs.d.ts +0 -1
  381. package/dist/templates/tailwind/wizard/builder.ejs.d.ts +0 -1
  382. package/dist/templates/tailwind/wizard/form.ejs.d.ts +0 -1
  383. package/dist/templates/tailwind/wizardHeader/form.ejs.d.ts +0 -1
  384. package/dist/templates/tailwind/wizardHeaderClassic/form.ejs.d.ts +0 -1
  385. package/dist/templates/tailwind/wizardHeaderVertical/form.ejs.d.ts +0 -1
  386. package/dist/templates/tailwind/wizardNav/form.ejs.d.ts +0 -1
  387. package/gulpfile.js +0 -25
  388. package/src/templates/tailwind/address/form.ejs.js +0 -58
  389. package/src/templates/tailwind/address/html.ejs.js +0 -13
  390. package/src/templates/tailwind/alert/form.ejs.js +0 -24
  391. package/src/templates/tailwind/alert/index.js +0 -3
  392. package/src/templates/tailwind/builder/form.ejs.js +0 -9
  393. package/src/templates/tailwind/builderComponent/form.ejs.js +0 -24
  394. package/src/templates/tailwind/builderComponents/form.ejs.js +0 -11
  395. package/src/templates/tailwind/builderEditForm/form.ejs.js +0 -50
  396. package/src/templates/tailwind/builderPlaceholder/form.ejs.js +0 -9
  397. package/src/templates/tailwind/builderSidebar/form.ejs.js +0 -16
  398. package/src/templates/tailwind/builderSidebarGroup/form.ejs.js +0 -60
  399. package/src/templates/tailwind/builderWizard/form.ejs.js +0 -30
  400. package/src/templates/tailwind/button/form.ejs.js +0 -52
  401. package/src/templates/tailwind/button/html.ejs.js +0 -5
  402. package/src/templates/tailwind/checkbox/form.ejs.js +0 -50
  403. package/src/templates/tailwind/checkbox/html.ejs.js +0 -22
  404. package/src/templates/tailwind/columns/form.ejs.js +0 -30
  405. package/src/templates/tailwind/component/form.ejs.js +0 -22
  406. package/src/templates/tailwind/componentModal/form.ejs.js +0 -44
  407. package/src/templates/tailwind/components/form.ejs.js +0 -7
  408. package/src/templates/tailwind/container/form.ejs.js +0 -9
  409. package/src/templates/tailwind/datagrid/form.ejs.js +0 -144
  410. package/src/templates/tailwind/datagrid/html.ejs.js +0 -46
  411. package/src/templates/tailwind/day/form.ejs.js +0 -98
  412. package/src/templates/tailwind/dialog/form.ejs.js +0 -5
  413. package/src/templates/tailwind/editgrid/form.ejs.js +0 -62
  414. package/src/templates/tailwind/editgrid/html.ejs.js +0 -52
  415. package/src/templates/tailwind/editgridTable/form.ejs.js +0 -66
  416. package/src/templates/tailwind/editgridTable/html.ejs.js +0 -56
  417. package/src/templates/tailwind/errorsList/form.ejs.js +0 -22
  418. package/src/templates/tailwind/field/align.ejs.js +0 -38
  419. package/src/templates/tailwind/field/form.ejs.js +0 -36
  420. package/src/templates/tailwind/fieldset/form.ejs.js +0 -30
  421. package/src/templates/tailwind/file/form.ejs.js +0 -224
  422. package/src/templates/tailwind/html/form.ejs.js +0 -25
  423. package/src/templates/tailwind/icon/form.ejs.js +0 -13
  424. package/src/templates/tailwind/input/form.ejs.js +0 -108
  425. package/src/templates/tailwind/input/html.ejs.js +0 -13
  426. package/src/templates/tailwind/label/form.ejs.js +0 -32
  427. package/src/templates/tailwind/loader/form.ejs.js +0 -5
  428. package/src/templates/tailwind/loading/form.ejs.js +0 -7
  429. package/src/templates/tailwind/map/form.ejs.js +0 -7
  430. package/src/templates/tailwind/message/form.ejs.js +0 -13
  431. package/src/templates/tailwind/modalPreview/form.ejs.js +0 -21
  432. package/src/templates/tailwind/modaldialog/form.ejs.js +0 -7
  433. package/src/templates/tailwind/modaledit/form.ejs.js +0 -9
  434. package/src/templates/tailwind/multiValueRow/form.ejs.js +0 -14
  435. package/src/templates/tailwind/multiValueTable/form.ejs.js +0 -16
  436. package/src/templates/tailwind/multipleMasksInput/form.ejs.js +0 -30
  437. package/src/templates/tailwind/panel/form.ejs.js +0 -58
  438. package/src/templates/tailwind/pdf/form.ejs.js +0 -13
  439. package/src/templates/tailwind/pdfBuilder/form.ejs.js +0 -9
  440. package/src/templates/tailwind/pdfBuilderUpload/form.ejs.js +0 -13
  441. package/src/templates/tailwind/radio/form.ejs.js +0 -84
  442. package/src/templates/tailwind/radio/html.ejs.js +0 -10
  443. package/src/templates/tailwind/resourceAdd/form.ejs.js +0 -11
  444. package/src/templates/tailwind/select/form.ejs.js +0 -46
  445. package/src/templates/tailwind/select/html.ejs.js +0 -13
  446. package/src/templates/tailwind/selectOption/form.ejs.js +0 -20
  447. package/src/templates/tailwind/selectOption/html.ejs.js +0 -11
  448. package/src/templates/tailwind/signature/form.ejs.js +0 -30
  449. package/src/templates/tailwind/signature/html.ejs.js +0 -5
  450. package/src/templates/tailwind/survey/form.ejs.js +0 -52
  451. package/src/templates/tailwind/survey/html.ejs.js +0 -22
  452. package/src/templates/tailwind/tab/flat.ejs.js +0 -16
  453. package/src/templates/tailwind/tab/form.ejs.js +0 -38
  454. package/src/templates/tailwind/table/form.ejs.js +0 -48
  455. package/src/templates/tailwind/tableComponents/form.ejs.js +0 -12
  456. package/src/templates/tailwind/tree/form.ejs.js +0 -32
  457. package/src/templates/tailwind/tree/partials/edit.ejs.js +0 -16
  458. package/src/templates/tailwind/tree/partials/view.ejs.js +0 -34
  459. package/src/templates/tailwind/webform/builder.ejs.js +0 -7
  460. package/src/templates/tailwind/webform/form.ejs.js +0 -9
  461. package/src/templates/tailwind/well/form.ejs.js +0 -9
  462. package/src/templates/tailwind/wizard/builder.ejs.js +0 -7
  463. package/src/templates/tailwind/wizard/form.ejs.js +0 -42
  464. package/src/templates/tailwind/wizardHeader/form.ejs.js +0 -32
  465. package/src/templates/tailwind/wizardHeaderClassic/form.ejs.js +0 -26
  466. package/src/templates/tailwind/wizardHeaderVertical/form.ejs.js +0 -28
  467. package/src/templates/tailwind/wizardNav/form.ejs.js +0 -64
@@ -1,108 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
-
5
- if (ctx.prefix || ctx.suffix) { ;
6
- __p += '\n<div class="input-group">\n ';
7
- } ;
8
- __p += '\n ';
9
- if (ctx.prefix) { ;
10
- __p += '\n <div class="input-group-prepend" ref="prefix">\n <span class="input-group-text">\n ';
11
- if(ctx.prefix instanceof HTMLElement){ ;
12
- __p += '\n ' +
13
- ((__t = ( ctx.t(ctx.prefix.outerHTML, { _userInput: true }) )) == null ? '' : __t) +
14
- '\n ';
15
- } else{ ;
16
- __p += '\n ' +
17
- ((__t = ( ctx.t(ctx.prefix, { _userInput: true }) )) == null ? '' : __t) +
18
- '\n ';
19
- } ;
20
- __p += '\n </span>\n </div>\n ';
21
- } ;
22
- __p += '\n ';
23
- if (!ctx.component.editor && !ctx.component.wysiwyg) { ;
24
- __p += '\n <' +
25
- ((__t = (ctx.input.type)) == null ? '' : __t) +
26
- '\n ref="' +
27
- ((__t = (ctx.input.ref ? ctx.input.ref : 'input')) == null ? '' : __t) +
28
- '"\n ';
29
- for (var attr in ctx.input.attr) { ;
30
- __p += '\n ' +
31
- ((__t = (attr)) == null ? '' : __t) +
32
- '="' +
33
- ((__t = (ctx.input.attr[attr])) == null ? '' : __t) +
34
- '"\n ';
35
- } ;
36
- __p += '\n id="' +
37
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
38
- '-' +
39
- ((__t = (ctx.component.key)) == null ? '' : __t) +
40
- '"\n aria-labelledby="l-' +
41
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
42
- '-' +
43
- ((__t = (ctx.component.key)) == null ? '' : __t) +
44
- ' ';
45
- if (ctx.component.description) { ;
46
- __p += 'd-' +
47
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
48
- '-' +
49
- ((__t = (ctx.component.key)) == null ? '' : __t);
50
- } ;
51
- __p += '"\n aria-required="' +
52
- ((__t = (ctx.input.ref === 'input' || !ctx.input.ref ? ctx.component.validate.required :
53
- ctx.component.fields && ctx.component.fields[ctx.input.ref] && ctx.component.fields[ctx.input.ref].required || false)) == null ? '' : __t) +
54
- '"\n >' +
55
- ((__t = (ctx.input.content)) == null ? '' : __t) +
56
- '</' +
57
- ((__t = (ctx.input.type)) == null ? '' : __t) +
58
- '>\n ';
59
- if (ctx.hasValueMaskInput) { ;
60
- __p += '\n <input ref="valueMaskInput" />\n ';
61
- } ;
62
- __p += '\n';
63
- } ;
64
- __p += '\n';
65
- if (ctx.component.editor || ctx.component.wysiwyg) { ;
66
- __p += '\n <div ref="input"></div>\n';
67
- } ;
68
- __p += '\n';
69
- if (ctx.component.type === 'datetime') { ;
70
- __p += '\n<span aria-live="assertive" id="' +
71
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
72
- '-liveRegion" class="sr-only" ref="liveRegion"></span>\n';
73
- } ;
74
- __p += '\n';
75
- if (ctx.suffix) { ;
76
- __p += '\n <div class="input-group-append" ref="suffix">\n <span class="input-group-text">\n ';
77
- if(ctx.suffix instanceof HTMLElement){ ;
78
- __p += '\n ' +
79
- ((__t = ( ctx.t(ctx.suffix.outerHTML, { _userInput: true }) )) == null ? '' : __t) +
80
- '\n ';
81
- } else{ ;
82
- __p += '\n ' +
83
- ((__t = ( ctx.t(ctx.suffix, { _userInput: true }) )) == null ? '' : __t) +
84
- '\n ';
85
- } ;
86
- __p += '\n </span>\n </div>\n';
87
- } ;
88
- __p += '\n';
89
- if (ctx.prefix || ctx.suffix) { ;
90
- __p += '\n </div>\n';
91
- } ;
92
- __p += '\n';
93
- if (ctx.component.showCharCount || ctx.component.showWordCount) { ;
94
- __p += '\n<div class="form-text ' +
95
- ((__t = (ctx.component.description ? 'pull-right' : 'text-right')) == null ? '' : __t) +
96
- '">\n ';
97
- if (ctx.component.showCharCount) { ;
98
- __p += '\n <span class="text-muted" ref="charcount" aria-live="polite"></span>\n ';
99
- } ;
100
- __p += '\n ';
101
- if (ctx.component.showWordCount) { ;
102
- __p += '\n <span class="text-muted" ref="wordcount" aria-live="polite"></span>\n ';
103
- } ;
104
- __p += '\n</div>\n';
105
- } ;
106
- __p += '\n';
107
- return __p
108
- }
@@ -1,13 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p += '<div ref="value">';
5
- if (ctx.value) { ;
6
- __p +=
7
- ((__t = (ctx.value)) == null ? '' : __t);
8
- } else { ;
9
- __p += '-';
10
- } ;
11
- __p += '</div>\n';
12
- return __p
13
- }
@@ -1,32 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p += '<label\n ref="label"\n class="col-form-label ' +
5
- ((__t = (ctx.label.className)) == null ? '' : __t) +
6
- '"\n for="' +
7
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
8
- '-' +
9
- ((__t = (ctx.component.key)) == null ? '' : __t) +
10
- '"\n id="l-' +
11
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
12
- '-' +
13
- ((__t = (ctx.component.key)) == null ? '' : __t) +
14
- '"\n>\n ' +
15
- ((__t = ( ctx.t(ctx.component.label, { _userInput: true }) )) == null ? '' : __t) +
16
- '\n ';
17
- if (ctx.component.type === 'number' || ctx.component.type === 'phoneNumber' || ctx.component.type === 'currency') { ;
18
- __p += '\n <span class=\'sr-only\'>, ' +
19
- ((__t = (ctx.t('numeric only'))) == null ? '' : __t) +
20
- ',</span>\n ';
21
- } ;
22
- __p += '\n ';
23
- if (ctx.component.tooltip) { ;
24
- __p += '\n <i ref="tooltip" tabindex="0" class="' +
25
- ((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
26
- ' text-muted" data-tooltip="' +
27
- ((__t = (ctx.component.tooltip)) == null ? '' : __t) +
28
- '"></i>\n ';
29
- } ;
30
- __p += '\n</label>\n';
31
- return __p
32
- }
@@ -1,5 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
3
- __p += '<div class="formio-loader">\n <div class="loader-wrapper">\n <div class="loader text-center"></div>\n </div> \n</div>\n';
4
- return __p
5
- }
@@ -1,7 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
3
- __p +=
4
- ((__t = (ctx.t('Loading'))) == null ? '' : __t) +
5
- '...\n';
6
- return __p
7
- }
@@ -1,7 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
3
- __p += '<div id="' +
4
- ((__t = (ctx.mapId)) == null ? '' : __t) +
5
- '" style="min-height: 300px; height: calc(100vh - 600px);" ref="gmapElement"></div>\n';
6
- return __p
7
- }
@@ -1,13 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
3
- __p += '<div id="e-' +
4
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
5
- '-' +
6
- ((__t = (ctx.key)) == null ? '' : __t) +
7
- '" class="form-text ' +
8
- ((__t = (ctx.level || 'error')) == null ? '' : __t) +
9
- '">' +
10
- ((__t = (ctx.message)) == null ? '' : __t) +
11
- '</div>\n';
12
- return __p
13
- }
@@ -1,21 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
3
- __p += '<label id="l-' +
4
- ((__t = (ctx.component.key)) == null ? '' : __t) +
5
- '" class="control-label ' +
6
- ((__t = ( ctx.label.className )) == null ? '' : __t) +
7
- '">\n ' +
8
- ((__t = ( ctx.t(ctx.component.label, { _userInput: true }) )) == null ? '' : __t) +
9
- '<span ref="modalLabelValue" class="sr-only">. ' +
10
- ((__t = ( ctx.component.type === 'signature' ? ctx.self.getValueAsString(ctx.previewText) : ctx.previewText )) == null ? '' : __t) +
11
- '</span>\n</label><br>\n<span class="sr-only" ref="modalPreviewLiveRegion" aria-live="assertive"></span>\n<button\n lang="en"\n class="btn btn-light btn-md open-modal-button form-control ' +
12
- ((__t = (ctx.openModalBtnClasses || '')) == null ? '' : __t) +
13
- '"\n ref="openModal"\n aria-labelledby="l-' +
14
- ((__t = (ctx.component.key)) == null ? '' : __t) +
15
- '"\n>\n ' +
16
- ((__t = ( ctx.previewText )) == null ? '' : __t) +
17
- '\n</button>\n<div class="formio-errors invalid-feedback">\n ' +
18
- ((__t = ( ctx.messages )) == null ? '' : __t) +
19
- '\n</div>\n';
20
- return __p
21
- }
@@ -1,7 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
3
- __p += '<div class="formio-dialog formio-dialog-theme-default formio-modaledit-dialog">\n <div ref="overlay" class="formio-dialog-overlay"></div>\n <div ref="content" class="formio-modaledit-content">\n <button\n ref="close"\n type="button"\n role="button"\n class="btn btn-primary btn-xs formio-modaledit-close">\n ' +
4
- ((__t = (ctx.t('Close'))) == null ? '' : __t) +
5
- '\n </button>\n <div ref="inner" class="reset-margins"></div>\n </div>\n</div>\n';
6
- return __p
7
- }
@@ -1,9 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
3
- __p += '<div ref="container" class="formio-modaledit-view-container">\n <button\n ref="edit"\n type="button"\n role="button"\n class="btn btn-xxs btn-warning formio-modaledit-edit">\n <i class="' +
4
- ((__t = (ctx.iconClass('edit'))) == null ? '' : __t) +
5
- '"></i>\n </button>\n <div ref="input" class="modaledit-view-inner reset-margins">' +
6
- ((__t = (ctx.content)) == null ? '' : __t) +
7
- '</div>\n</div>\n';
8
- return __p
9
- }
@@ -1,14 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p += '<tr ref="row">\n <td>\n ' +
5
- ((__t = (ctx.element)) == null ? '' : __t) +
6
- '\n </td>\n ';
7
- if (!ctx.disabled) { ;
8
- __p += '\n <td>\n <button type="button" class="btn btn-secondary" ref="removeRow">\n <i class="' +
9
- ((__t = (ctx.iconClass('remove-circle'))) == null ? '' : __t) +
10
- '"></i>\n </button>\n </td>\n ';
11
- } ;
12
- __p += '\n</tr>\n';
13
- return __p
14
- }
@@ -1,16 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p += '<table class="table table-bordered">\n <tbody>\n ' +
5
- ((__t = (ctx.rows)) == null ? '' : __t) +
6
- '\n ';
7
- if (!ctx.disabled) { ;
8
- __p += '\n <tr>\n <td colspan="2">\n <button class="btn btn-primary formio-button-add-another" ref="addButton"><i class="' +
9
- ((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +
10
- '"></i> ' +
11
- ((__t = (ctx.t(ctx.addAnother, { _userInput: true }))) == null ? '' : __t) +
12
- '</button>\n </td>\n </tr>\n ';
13
- } ;
14
- __p += '\n </tbody>\n</table>\n';
15
- return __p
16
- }
@@ -1,30 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p += '<div\n class="input-group formio-multiple-mask-container"\n ref="' +
5
- ((__t = (ctx.input.ref ? ctx.input.ref : 'input')) == null ? '' : __t) +
6
- '"\n>\n <select\n class="form-control formio-multiple-mask-select"\n id="' +
7
- ((__t = (ctx.key)) == null ? '' : __t) +
8
- '-mask"\n ref="select"\n ';
9
- if (ctx.input.attr.disabled) { ;
10
- __p += 'disabled';
11
- } ;
12
- __p += '>\n ';
13
- ctx.selectOptions.forEach(function(option) { ;
14
- __p += '\n <option value="' +
15
- ((__t = (option.value)) == null ? '' : __t) +
16
- '">' +
17
- ((__t = (option.label)) == null ? '' : __t) +
18
- '</option>\n ';
19
- }); ;
20
- __p += '\n </select>\n <input\n ref="mask"\n ';
21
- for (var attr in ctx.input.attr) { ;
22
- __p += '\n ' +
23
- ((__t = (attr)) == null ? '' : __t) +
24
- '="' +
25
- ((__t = (ctx.input.attr[attr])) == null ? '' : __t) +
26
- '"\n ';
27
- } ;
28
- __p += '\n >\n</div>\n';
29
- return __p
30
- }
@@ -1,58 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p += '<div class="mb-2 card border">\n ';
5
- if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { ;
6
- __p += '\n <div class="card-header ' +
7
- ((__t = (ctx.transform('class', 'bg-' + ctx.component.theme))) == null ? '' : __t) +
8
- '"\n ';
9
- if (ctx.component.collapsible) { ;
10
- __p += '\n tabindex="0"\n ';
11
- } ;
12
- __p += '\n role="button"\n aria-expanded="' +
13
- ((__t = (ctx.component.collapsible ? !ctx.collapsed : true)) == null ? '' : __t) +
14
- '"\n aria-controls="' +
15
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
16
- '-' +
17
- ((__t = (ctx.component.key)) == null ? '' : __t) +
18
- '"\n ref="header"\n >\n <span class="mb-0 card-title ';
19
- if (ctx.component.theme && ctx.component.theme !== 'default') { ;
20
- __p += 'text-light';
21
- } ;
22
- __p += '">\n ';
23
- if (ctx.component.collapsible) { ;
24
- __p += '\n <i class="formio-collapse-icon ' +
25
- ((__t = (ctx.iconClass(ctx.collapsed ? 'plus-square-o' : 'minus-square-o'))) == null ? '' : __t) +
26
- ' text-muted" data-title="Collapse Panel"></i>\n ';
27
- } ;
28
- __p += '\n ';
29
- if (!ctx.component.hideLabel || ctx.builder) { ;
30
- __p += '\n ' +
31
- ((__t = (ctx.t(ctx.component.title, { _userInput: true }))) == null ? '' : __t) +
32
- '\n ';
33
- } ;
34
- __p += '\n ';
35
- if (ctx.component.tooltip) { ;
36
- __p += '\n <i ref="tooltip" tabindex="0" class="' +
37
- ((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
38
- ' text-muted" data-tooltip="' +
39
- ((__t = (ctx.component.tooltip)) == null ? '' : __t) +
40
- '"></i>\n ';
41
- } ;
42
- __p += '\n </span>\n </div>\n ';
43
- } ;
44
- __p += '\n ';
45
- if (!ctx.collapsed || ctx.builder) { ;
46
- __p += '\n <div class="card-body" ref="' +
47
- ((__t = (ctx.nestedKey)) == null ? '' : __t) +
48
- '" id="' +
49
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
50
- '-' +
51
- ((__t = (ctx.component.key)) == null ? '' : __t) +
52
- '">\n ' +
53
- ((__t = (ctx.children)) == null ? '' : __t) +
54
- '\n </div>\n ';
55
- } ;
56
- __p += '\n</div>\n';
57
- return __p
58
- }
@@ -1,13 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
3
- __p += '<div class="' +
4
- ((__t = (ctx.classes)) == null ? '' : __t) +
5
- '" ref="webform">\n <button data-noattach="true" ref="zoomIn" style="position:absolute;right:10px;top:10px;cursor:pointer;" class="btn btn-default btn-secondary no-disable">\n <i class="' +
6
- ((__t = ( ctx.iconClass('zoom-in') )) == null ? '' : __t) +
7
- '"></i>\n </button>\n <button data-noattach="true" ref="zoomOut" style="position:absolute;right:10px;top:60px;cursor:pointer;" class="btn btn-default btn-secondary no-disable">\n <i class="' +
8
- ((__t = ( ctx.iconClass('zoom-out') )) == null ? '' : __t) +
9
- '"></i>\n </button>\n <div data-noattach="true" ref="iframeContainer"></div>\n ' +
10
- ((__t = ( ctx.submitButton )) == null ? '' : __t) +
11
- '\n</div>\n';
12
- return __p
13
- }
@@ -1,9 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
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 ' +
4
- ((__t = (ctx.sidebar)) == null ? '' : __t) +
5
- '\n </div>\n <div class="col-span-12 xs:col-span-8 sm:col-span-9 md:col-span-10 formarea" ref="form">\n <div class="formio-drop-zone" ref="iframeDropzone"></div>\n ' +
6
- ((__t = (ctx.form)) == null ? '' : __t) +
7
- '\n </div>\n</div>\n';
8
- return __p
9
- }
@@ -1,13 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
3
- __p += '<div class="pdf-upload formio-component-file">\n <h3 class="label">' +
4
- ((__t = (ctx.t('Upload a PDF File'))) == null ? '' : __t) +
5
- '</h3>\n <input type="file" style="opacity: 0; position: absolute;" tabindex="-1" accept=".pdf" ref="hiddenFileInputElement">\n <div class="fileSelector" ref="fileDrop">\n <span ref="dragDropText">\n <i class="' +
6
- ((__t = (ctx.iconClass('cloud-upload'))) == null ? '' : __t) +
7
- '"></i>' +
8
- ((__t = (ctx.t('Drop pdf to start, or'))) == null ? '' : __t) +
9
- ' <a href="#" ref="fileBrowse" class="browse">' +
10
- ((__t = (ctx.t('browse'))) == null ? '' : __t) +
11
- '</a>\n </span>\n <div class="progress pdf-progress" ref="uploadProgressWrapper" style="display:none;">\n <div class="progress-bar" ref="uploadProgress" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>\n </div>\n </div>\n <div class="alert alert-danger" ref="uploadError">\n\n </div>\n</div>\n\n';
12
- return __p
13
- }
@@ -1,84 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p += '<div\n class="form-radio radio"\n ref="radioGroup"\n role="' +
5
- ((__t = (ctx.component.type === 'selectboxes' ? 'group' : 'radiogroup')) == null ? '' : __t) +
6
- '"\n aria-required="' +
7
- ((__t = (ctx.input.component.validate.required)) == null ? '' : __t) +
8
- '"\n aria-labelledby="l-' +
9
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
10
- '-' +
11
- ((__t = (ctx.component.key)) == null ? '' : __t) +
12
- '"\n ';
13
- if (ctx.component.description) { ;
14
- __p += '\n aria-describedby="d-' +
15
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
16
- '-' +
17
- ((__t = (ctx.component.key)) == null ? '' : __t) +
18
- '"\n ';
19
- } ;
20
- __p += '\n>\n ';
21
- ctx.values.forEach(function(item) { ;
22
- __p += '\n <div class="' +
23
- ((__t = (ctx.input.attr.type)) == null ? '' : __t) +
24
- ' ' +
25
- ((__t = ( ctx.component.optionsLabelPosition && ctx.component.optionsLabelPosition !== 'right' ? 'pl-0' : '')) == null ? '' : __t) +
26
- ' form-check' +
27
- ((__t = (ctx.inline ? '-inline' : '')) == null ? '' : __t) +
28
- '" ref="wrapper">\n <label class="form-check-label label-position-' +
29
- ((__t = ( ctx.component.optionsLabelPosition )) == null ? '' : __t) +
30
- '" for="' +
31
- ((__t = (ctx.instance.root && ctx.instance.root.id)) == null ? '' : __t) +
32
- '-' +
33
- ((__t = (ctx.id)) == null ? '' : __t) +
34
- '-' +
35
- ((__t = (ctx.row)) == null ? '' : __t) +
36
- '-' +
37
- ((__t = (item.value)) == null ? '' : __t) +
38
- '">\n ';
39
- if (ctx.component.optionsLabelPosition === 'left' || ctx.component.optionsLabelPosition === 'top') { ;
40
- __p += '\n <span>' +
41
- ((__t = (ctx.t(item.label, { _userInput: true }))) == null ? '' : __t) +
42
- '</span>\n ';
43
- } ;
44
- __p += '\n <' +
45
- ((__t = (ctx.input.type)) == null ? '' : __t) +
46
- '\n ref="input"\n ';
47
- for (var attr in ctx.input.attr) { ;
48
- __p += '\n ' +
49
- ((__t = (attr)) == null ? '' : __t) +
50
- '="' +
51
- ((__t = (ctx.input.attr[attr])) == null ? '' : __t) +
52
- '"\n ';
53
- } ;
54
- __p += '\n value="' +
55
- ((__t = (item.value)) == null ? '' : __t) +
56
- '"\n ';
57
- if (ctx.value && (ctx.value === item.value || (typeof ctx.value === 'object' && ctx.value.hasOwnProperty(item.value) && ctx.value[item.value]))) { ;
58
- __p += '\n checked=true\n ';
59
- } ;
60
- __p += '\n ';
61
- if (item.disabled) { ;
62
- __p += '\n disabled=true\n ';
63
- } ;
64
- __p += '\n id="' +
65
- ((__t = (ctx.instance.root && ctx.instance.root.id)) == null ? '' : __t) +
66
- '-' +
67
- ((__t = (ctx.id)) == null ? '' : __t) +
68
- '-' +
69
- ((__t = (ctx.row)) == null ? '' : __t) +
70
- '-' +
71
- ((__t = (item.value)) == null ? '' : __t) +
72
- '"\n role="' +
73
- ((__t = (ctx.component.type === 'selectboxes' ? 'checkbox' : 'radio')) == null ? '' : __t) +
74
- '"\n >\n ';
75
- if (!ctx.component.optionsLabelPosition || ctx.component.optionsLabelPosition === 'right' || ctx.component.optionsLabelPosition === 'bottom') { ;
76
- __p += '\n <span>' +
77
- ((__t = (ctx.t(item.label, { _userInput: true }))) == null ? '' : __t) +
78
- '</span>\n ';
79
- } ;
80
- __p += '\n </label>\n </div>\n ';
81
- }) ;
82
- __p += '\n</div>\n';
83
- return __p
84
- }
@@ -1,10 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p += '<div ref="value">\n ';
5
- var filtered = ctx.values.filter(function(item) {return ctx.value === item.value || (typeof ctx.value === 'object' && ctx.value.hasOwnProperty(item.value) && ctx.value[item.value])}).map(function(item) { return ctx.t(item.label, { _userInput: true })}).join(', ') ;
6
- __p += '\n ' +
7
- ((__t = ( filtered )) == null ? '' : __t) +
8
- '\n</div>\n';
9
- return __p
10
- }
@@ -1,11 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
3
- __p += '<table class="table table-bordered">\n <tbody>\n <tr>\n <td>\n ' +
4
- ((__t = (ctx.element)) == null ? '' : __t) +
5
- '\n </td>\n </tr>\n <tr>\n <td colspan="2">\n <button class="btn btn-primary formio-button-add-resource" ref="addResource">\n <i class="' +
6
- ((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +
7
- ' mr-1"></i>\n ' +
8
- ((__t = (ctx.t(ctx.component.addResourceLabel || 'Add Resource', { _userInput: true }))) == null ? '' : __t) +
9
- '\n </button>\n </td>\n </tr>\n </tbody>\n</table>\n';
10
- return __p
11
- }
@@ -1,46 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p += '<select\n ref="' +
5
- ((__t = (ctx.input.ref ? ctx.input.ref : 'selectContainer')) == null ? '' : __t) +
6
- '"\n ' +
7
- ((__t = ( ctx.input.multiple ? 'multiple' : '' )) == null ? '' : __t) +
8
- '\n ';
9
- for (var attr in ctx.input.attr) { ;
10
- __p += '\n ' +
11
- ((__t = (attr)) == null ? '' : __t) +
12
- '="' +
13
- ((__t = (ctx.input.attr[attr])) == null ? '' : __t) +
14
- '"\n ';
15
- } ;
16
- __p += '\n ';
17
- if (!ctx.input.attr.id) { ;
18
- __p += '\n id="' +
19
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
20
- '-' +
21
- ((__t = (ctx.component.key)) == null ? '' : __t) +
22
- '"\n ';
23
- } ;
24
- __p += '\n ';
25
- if (ctx.component.description) { ;
26
- __p += '\n aria-describedby="d-' +
27
- ((__t = (ctx.instance.id)) == null ? '' : __t) +
28
- '-' +
29
- ((__t = (ctx.component.key)) == null ? '' : __t) +
30
- '"\n ';
31
- } ;
32
- __p += '\n aria-required="' +
33
- ((__t = (ctx.input.ref === 'selectContainer' || !ctx.input.ref ? ctx.input.component.validate.required : ctx.component.fields[ctx.input.ref].required)) == null ? '' : __t) +
34
- '"\n>' +
35
- ((__t = (ctx.selectOptions)) == null ? '' : __t) +
36
- '</select>\n<input type="text"\n class="formio-select-autocomplete-input"\n ref="autocompleteInput"\n ';
37
- if (ctx.input.attr.autocomplete) { ;
38
- __p += '\n autocomplete="' +
39
- ((__t = (ctx.input.attr.autocomplete)) == null ? '' : __t) +
40
- '"\n ';
41
- } ;
42
- __p += '\n tabindex="-1"\n aria-label="' +
43
- ((__t = (ctx.t('autocomplete'))) == null ? '' : __t) +
44
- '"\n/>\n';
45
- return __p
46
- }
@@ -1,13 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p += '<div ref="value">';
5
- if (ctx.value) { ;
6
- __p +=
7
- ((__t = ( ctx.self.itemValueForHTMLMode(ctx.value) )) == null ? '' : __t);
8
- } else { ;
9
- __p += '-';
10
- } ;
11
- __p += '</div>\n';
12
- return __p
13
- }
@@ -1,20 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p += '<option ' +
5
- ((__t = ( ctx.selected ? 'selected="selected"' : '' )) == null ? '' : __t) +
6
- '\n value=\'' +
7
- ((__t = (ctx.useId ? ctx.id : ctx.option.value)) == null ? '' : __t) +
8
- '\'\n ';
9
- for (var attr in ctx.attrs) { ;
10
- __p += '\n ' +
11
- ((__t = (attr)) == null ? '' : __t) +
12
- '="' +
13
- ((__t = (ctx.attrs[attr])) == null ? '' : __t) +
14
- '"\n ';
15
- } ;
16
- __p += '\n >\n ' +
17
- ((__t = (ctx.t(ctx.option.label, { _userInput: true }))) == null ? '' : __t) +
18
- '\n</option>\n';
19
- return __p
20
- }
@@ -1,11 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
-
5
- if (ctx.selected) { ;
6
- __p +=
7
- ((__t = (ctx.t(ctx.option.label, { _userInput: true }))) == null ? '' : __t);
8
- } ;
9
- __p += '\n';
10
- return __p
11
- }
@@ -1,30 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '', __j = Array.prototype.join;
3
- function print() { __p += __j.call(arguments, '') }
4
- __p +=
5
- ((__t = (ctx.element)) == null ? '' : __t) +
6
- '\n<div\n class="signature-pad-body"\n style="width: ' +
7
- ((__t = (ctx.component.width)) == null ? '' : __t) +
8
- ';height: ' +
9
- ((__t = (ctx.component.height)) == null ? '' : __t) +
10
- ';padding:0;margin:0;"\n tabindex="' +
11
- ((__t = (ctx.component.tabindex || 0)) == null ? '' : __t) +
12
- '"\n ref="padBody"\n>\n <button class="btn btn-sm btn-light signature-pad-refresh" ref="refresh">\n <i class="' +
13
- ((__t = (ctx.iconClass('refresh'))) == null ? '' : __t) +
14
- '"></i>\n </button>\n <canvas class="signature-pad-canvas" style="display: none;" height="' +
15
- ((__t = (ctx.component.height)) == null ? '' : __t) +
16
- '" ref="canvas"></canvas>\n ';
17
- if (ctx.required) { ;
18
- __p += '\n <span class="form-control-feedback field-required-inline text-danger">\n <i class="' +
19
- ((__t = (ctx.iconClass('asterisk'))) == null ? '' : __t) +
20
- '"></i>\n </span>\n ';
21
- } ;
22
- __p += '\n <img style="width: 100%;display: inherit;" ref="signatureImage">\n</div>\n';
23
- if (ctx.component.footer) { ;
24
- __p += '\n <div class="signature-pad-footer">\n ' +
25
- ((__t = (ctx.t(ctx.component.footer, { _userInput: true }))) == null ? '' : __t) +
26
- '\n </div>\n';
27
- } ;
28
- __p += '\n';
29
- return __p
30
- }
@@ -1,5 +0,0 @@
1
- export default function(ctx) {
2
- var __t, __p = '';
3
- __p += '<img style="width: 100%;" ref="signatureImage">\n';
4
- return __p
5
- }