@tsed/tailwind-formio 2.3.6 → 3.0.0-alpha.10

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 (475) 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 -2017
  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 +32 -22
  218. package/readme.md +13 -129
  219. package/src/tailwind/colors.ts +20 -0
  220. package/src/tailwind/preset.ts +163 -0
  221. package/src/templates/stories/__fixtures__/WrapperForm.jsx +103 -0
  222. package/src/templates/stories/__fixtures__/form-firstname.fixture.json +256 -0
  223. package/src/templates/stories/__fixtures__/form.fixtures.js +1840 -0
  224. package/src/templates/stories/__fixtures__/useEditForm.jsx +82 -0
  225. package/src/templates/stories/breadcrumbs.stories.jsx +2 -1
  226. package/src/templates/tailwind/address/index.ts +1 -1
  227. package/src/templates/tailwind/alert/index.ts +3 -0
  228. package/src/templates/tailwind/builder/index.ts +1 -1
  229. package/src/templates/tailwind/builderComponent/index.ts +1 -1
  230. package/src/templates/tailwind/builderComponents/index.ts +1 -1
  231. package/src/templates/tailwind/builderEditForm/form.ejs +4 -2
  232. package/src/templates/tailwind/builderEditForm/index.ts +1 -1
  233. package/src/templates/tailwind/builderPlaceholder/index.ts +1 -1
  234. package/src/templates/tailwind/builderSidebar/index.ts +1 -1
  235. package/src/templates/tailwind/builderSidebarGroup/form.ejs +1 -1
  236. package/src/templates/tailwind/builderSidebarGroup/index.ts +1 -1
  237. package/src/templates/tailwind/builderWizard/index.ts +1 -1
  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/input/index.ts +2 -2
  257. package/src/templates/tailwind/label/index.ts +1 -1
  258. package/src/templates/tailwind/loader/index.ts +1 -1
  259. package/src/templates/tailwind/loading/index.ts +1 -1
  260. package/src/templates/tailwind/map/index.ts +1 -1
  261. package/src/templates/tailwind/message/index.ts +1 -1
  262. package/src/templates/tailwind/modalPreview/index.ts +1 -1
  263. package/src/templates/tailwind/modaldialog/index.ts +1 -1
  264. package/src/templates/tailwind/modaledit/index.ts +1 -1
  265. package/src/templates/tailwind/multiValueRow/index.ts +1 -1
  266. package/src/templates/tailwind/multiValueTable/index.ts +1 -1
  267. package/src/templates/tailwind/multipleMasksInput/index.ts +1 -1
  268. package/src/templates/tailwind/panel/index.ts +1 -1
  269. package/src/templates/tailwind/pdf/index.ts +1 -1
  270. package/src/templates/tailwind/pdfBuilder/index.ts +1 -1
  271. package/src/templates/tailwind/pdfBuilderUpload/index.ts +1 -1
  272. package/src/templates/tailwind/radio/index.ts +2 -2
  273. package/src/templates/tailwind/resourceAdd/index.ts +1 -1
  274. package/src/templates/tailwind/select/index.ts +2 -2
  275. package/src/templates/tailwind/selectOption/index.ts +2 -2
  276. package/src/templates/tailwind/signature/index.ts +2 -2
  277. package/src/templates/tailwind/survey/index.ts +2 -2
  278. package/src/templates/tailwind/tab/index.ts +2 -2
  279. package/src/templates/tailwind/table/index.ts +1 -1
  280. package/src/templates/tailwind/tableComponents/index.ts +1 -1
  281. package/src/templates/tailwind/tree/index.ts +1 -1
  282. package/src/templates/tailwind/tree/partials/index.ts +2 -2
  283. package/src/templates/tailwind/webform/index.ts +2 -2
  284. package/src/templates/tailwind/well/index.ts +1 -1
  285. package/src/templates/tailwind/wizard/index.ts +2 -2
  286. package/src/templates/tailwind/wizardHeader/index.ts +1 -1
  287. package/src/templates/tailwind/wizardHeaderClassic/index.ts +1 -1
  288. package/src/templates/tailwind/wizardHeaderVertical/index.ts +1 -1
  289. package/src/templates/tailwind/wizardNav/index.ts +1 -1
  290. package/styles/badge.css +4 -4
  291. package/styles/choices.css +45 -10
  292. package/styles/form-edit.css +13 -21
  293. package/styles/form.css +7 -2
  294. package/styles/index.css +1 -0
  295. package/styles/modal.css +1 -0
  296. package/styles/react-select.css +105 -0
  297. package/styles/tables.css +20 -57
  298. package/tsconfig.app.json +11 -0
  299. package/tsconfig.json +7 -5
  300. package/tsconfig.node.json +9 -4
  301. package/vite.config.mts +86 -0
  302. package/.eslintignore +0 -14
  303. package/.eslintrc.js +0 -7
  304. package/dist/index.modern.js +0 -2020
  305. package/dist/index.modern.js.map +0 -1
  306. package/dist/templates/stories/alert.stories.d.ts +0 -17
  307. package/dist/templates/stories/badge.stories.d.ts +0 -17
  308. package/dist/templates/stories/breadcrumbs.stories.d.ts +0 -37
  309. package/dist/templates/stories/builder.stories.d.ts +0 -3057
  310. package/dist/templates/stories/pagination.stories.d.ts +0 -17
  311. package/dist/templates/stories/progress.stories.d.ts +0 -22
  312. package/dist/templates/stories/wizard.stories.d.ts +0 -3057
  313. package/dist/templates/tailwind/address/form.ejs.d.ts +0 -1
  314. package/dist/templates/tailwind/address/html.ejs.d.ts +0 -1
  315. package/dist/templates/tailwind/alert/form.ejs.d.ts +0 -1
  316. package/dist/templates/tailwind/builder/form.ejs.d.ts +0 -1
  317. package/dist/templates/tailwind/builderComponent/form.ejs.d.ts +0 -1
  318. package/dist/templates/tailwind/builderComponents/form.ejs.d.ts +0 -1
  319. package/dist/templates/tailwind/builderEditForm/form.ejs.d.ts +0 -1
  320. package/dist/templates/tailwind/builderPlaceholder/form.ejs.d.ts +0 -1
  321. package/dist/templates/tailwind/builderSidebar/form.ejs.d.ts +0 -1
  322. package/dist/templates/tailwind/builderSidebarGroup/form.ejs.d.ts +0 -1
  323. package/dist/templates/tailwind/builderWizard/form.ejs.d.ts +0 -1
  324. package/dist/templates/tailwind/button/button.stories.d.ts +0 -22
  325. package/dist/templates/tailwind/button/form.ejs.d.ts +0 -1
  326. package/dist/templates/tailwind/button/html.ejs.d.ts +0 -1
  327. package/dist/templates/tailwind/checkbox/form.ejs.d.ts +0 -1
  328. package/dist/templates/tailwind/checkbox/html.ejs.d.ts +0 -1
  329. package/dist/templates/tailwind/columns/form.ejs.d.ts +0 -1
  330. package/dist/templates/tailwind/component/form.ejs.d.ts +0 -1
  331. package/dist/templates/tailwind/componentModal/form.ejs.d.ts +0 -1
  332. package/dist/templates/tailwind/components/form.ejs.d.ts +0 -1
  333. package/dist/templates/tailwind/container/form.ejs.d.ts +0 -1
  334. package/dist/templates/tailwind/datagrid/form.ejs.d.ts +0 -1
  335. package/dist/templates/tailwind/datagrid/html.ejs.d.ts +0 -1
  336. package/dist/templates/tailwind/day/form.ejs.d.ts +0 -1
  337. package/dist/templates/tailwind/dialog/form.ejs.d.ts +0 -1
  338. package/dist/templates/tailwind/editgrid/form.ejs.d.ts +0 -1
  339. package/dist/templates/tailwind/editgrid/html.ejs.d.ts +0 -1
  340. package/dist/templates/tailwind/editgridTable/form.ejs.d.ts +0 -1
  341. package/dist/templates/tailwind/editgridTable/html.ejs.d.ts +0 -1
  342. package/dist/templates/tailwind/errorsList/form.ejs.d.ts +0 -1
  343. package/dist/templates/tailwind/field/align.ejs.d.ts +0 -1
  344. package/dist/templates/tailwind/field/form.ejs.d.ts +0 -1
  345. package/dist/templates/tailwind/fieldset/form.ejs.d.ts +0 -1
  346. package/dist/templates/tailwind/file/form.ejs.d.ts +0 -1
  347. package/dist/templates/tailwind/html/form.ejs.d.ts +0 -1
  348. package/dist/templates/tailwind/icon/form.ejs.d.ts +0 -1
  349. package/dist/templates/tailwind/input/form.ejs.d.ts +0 -1
  350. package/dist/templates/tailwind/input/html.ejs.d.ts +0 -1
  351. package/dist/templates/tailwind/label/form.ejs.d.ts +0 -1
  352. package/dist/templates/tailwind/loader/form.ejs.d.ts +0 -1
  353. package/dist/templates/tailwind/loading/form.ejs.d.ts +0 -1
  354. package/dist/templates/tailwind/map/form.ejs.d.ts +0 -1
  355. package/dist/templates/tailwind/message/form.ejs.d.ts +0 -1
  356. package/dist/templates/tailwind/modalPreview/form.ejs.d.ts +0 -1
  357. package/dist/templates/tailwind/modaldialog/form.ejs.d.ts +0 -1
  358. package/dist/templates/tailwind/modaledit/form.ejs.d.ts +0 -1
  359. package/dist/templates/tailwind/multiValueRow/form.ejs.d.ts +0 -1
  360. package/dist/templates/tailwind/multiValueTable/form.ejs.d.ts +0 -1
  361. package/dist/templates/tailwind/multipleMasksInput/form.ejs.d.ts +0 -1
  362. package/dist/templates/tailwind/panel/form.ejs.d.ts +0 -1
  363. package/dist/templates/tailwind/pdf/form.ejs.d.ts +0 -1
  364. package/dist/templates/tailwind/pdfBuilder/form.ejs.d.ts +0 -1
  365. package/dist/templates/tailwind/pdfBuilderUpload/form.ejs.d.ts +0 -1
  366. package/dist/templates/tailwind/radio/form.ejs.d.ts +0 -1
  367. package/dist/templates/tailwind/radio/html.ejs.d.ts +0 -1
  368. package/dist/templates/tailwind/resourceAdd/form.ejs.d.ts +0 -1
  369. package/dist/templates/tailwind/select/form.ejs.d.ts +0 -1
  370. package/dist/templates/tailwind/select/html.ejs.d.ts +0 -1
  371. package/dist/templates/tailwind/selectOption/form.ejs.d.ts +0 -1
  372. package/dist/templates/tailwind/selectOption/html.ejs.d.ts +0 -1
  373. package/dist/templates/tailwind/signature/form.ejs.d.ts +0 -1
  374. package/dist/templates/tailwind/signature/html.ejs.d.ts +0 -1
  375. package/dist/templates/tailwind/survey/form.ejs.d.ts +0 -1
  376. package/dist/templates/tailwind/survey/html.ejs.d.ts +0 -1
  377. package/dist/templates/tailwind/tab/flat.ejs.d.ts +0 -1
  378. package/dist/templates/tailwind/tab/form.ejs.d.ts +0 -1
  379. package/dist/templates/tailwind/table/form.ejs.d.ts +0 -1
  380. package/dist/templates/tailwind/tableComponents/form.ejs.d.ts +0 -1
  381. package/dist/templates/tailwind/tree/form.ejs.d.ts +0 -1
  382. package/dist/templates/tailwind/tree/partials/edit.ejs.d.ts +0 -1
  383. package/dist/templates/tailwind/tree/partials/view.ejs.d.ts +0 -1
  384. package/dist/templates/tailwind/webform/builder.ejs.d.ts +0 -1
  385. package/dist/templates/tailwind/webform/form.ejs.d.ts +0 -1
  386. package/dist/templates/tailwind/well/form.ejs.d.ts +0 -1
  387. package/dist/templates/tailwind/wizard/builder.ejs.d.ts +0 -1
  388. package/dist/templates/tailwind/wizard/form.ejs.d.ts +0 -1
  389. package/dist/templates/tailwind/wizardHeader/form.ejs.d.ts +0 -1
  390. package/dist/templates/tailwind/wizardHeaderClassic/form.ejs.d.ts +0 -1
  391. package/dist/templates/tailwind/wizardHeaderVertical/form.ejs.d.ts +0 -1
  392. package/dist/templates/tailwind/wizardNav/form.ejs.d.ts +0 -1
  393. package/gulpfile.js +0 -25
  394. package/src/templates/stories/builder.stories.jsx +0 -1917
  395. package/src/templates/stories/wizard.stories.jsx +0 -1917
  396. package/src/templates/tailwind/address/form.ejs.js +0 -58
  397. package/src/templates/tailwind/address/html.ejs.js +0 -13
  398. package/src/templates/tailwind/alert/form.ejs.js +0 -24
  399. package/src/templates/tailwind/alert/index.js +0 -3
  400. package/src/templates/tailwind/builder/form.ejs.js +0 -9
  401. package/src/templates/tailwind/builderComponent/form.ejs.js +0 -24
  402. package/src/templates/tailwind/builderComponents/form.ejs.js +0 -11
  403. package/src/templates/tailwind/builderEditForm/form.ejs.js +0 -50
  404. package/src/templates/tailwind/builderPlaceholder/form.ejs.js +0 -9
  405. package/src/templates/tailwind/builderSidebar/form.ejs.js +0 -16
  406. package/src/templates/tailwind/builderSidebarGroup/form.ejs.js +0 -60
  407. package/src/templates/tailwind/builderWizard/form.ejs.js +0 -30
  408. package/src/templates/tailwind/button/form.ejs.js +0 -52
  409. package/src/templates/tailwind/button/html.ejs.js +0 -5
  410. package/src/templates/tailwind/checkbox/form.ejs.js +0 -50
  411. package/src/templates/tailwind/checkbox/html.ejs.js +0 -22
  412. package/src/templates/tailwind/columns/form.ejs.js +0 -30
  413. package/src/templates/tailwind/component/form.ejs.js +0 -22
  414. package/src/templates/tailwind/componentModal/form.ejs.js +0 -44
  415. package/src/templates/tailwind/components/form.ejs.js +0 -7
  416. package/src/templates/tailwind/container/form.ejs.js +0 -9
  417. package/src/templates/tailwind/datagrid/form.ejs.js +0 -144
  418. package/src/templates/tailwind/datagrid/html.ejs.js +0 -46
  419. package/src/templates/tailwind/day/form.ejs.js +0 -98
  420. package/src/templates/tailwind/dialog/form.ejs.js +0 -5
  421. package/src/templates/tailwind/editgrid/form.ejs.js +0 -62
  422. package/src/templates/tailwind/editgrid/html.ejs.js +0 -52
  423. package/src/templates/tailwind/editgridTable/form.ejs.js +0 -66
  424. package/src/templates/tailwind/editgridTable/html.ejs.js +0 -56
  425. package/src/templates/tailwind/errorsList/form.ejs.js +0 -22
  426. package/src/templates/tailwind/field/align.ejs.js +0 -38
  427. package/src/templates/tailwind/field/form.ejs.js +0 -36
  428. package/src/templates/tailwind/fieldset/form.ejs.js +0 -30
  429. package/src/templates/tailwind/file/form.ejs.js +0 -224
  430. package/src/templates/tailwind/html/form.ejs.js +0 -25
  431. package/src/templates/tailwind/icon/form.ejs.js +0 -13
  432. package/src/templates/tailwind/input/form.ejs.js +0 -108
  433. package/src/templates/tailwind/input/html.ejs.js +0 -13
  434. package/src/templates/tailwind/label/form.ejs.js +0 -32
  435. package/src/templates/tailwind/loader/form.ejs.js +0 -5
  436. package/src/templates/tailwind/loading/form.ejs.js +0 -7
  437. package/src/templates/tailwind/map/form.ejs.js +0 -7
  438. package/src/templates/tailwind/message/form.ejs.js +0 -13
  439. package/src/templates/tailwind/modalPreview/form.ejs.js +0 -21
  440. package/src/templates/tailwind/modaldialog/form.ejs.js +0 -7
  441. package/src/templates/tailwind/modaledit/form.ejs.js +0 -9
  442. package/src/templates/tailwind/multiValueRow/form.ejs.js +0 -14
  443. package/src/templates/tailwind/multiValueTable/form.ejs.js +0 -16
  444. package/src/templates/tailwind/multipleMasksInput/form.ejs.js +0 -30
  445. package/src/templates/tailwind/panel/form.ejs.js +0 -58
  446. package/src/templates/tailwind/pdf/form.ejs.js +0 -13
  447. package/src/templates/tailwind/pdfBuilder/form.ejs.js +0 -9
  448. package/src/templates/tailwind/pdfBuilderUpload/form.ejs.js +0 -13
  449. package/src/templates/tailwind/radio/form.ejs.js +0 -84
  450. package/src/templates/tailwind/radio/html.ejs.js +0 -10
  451. package/src/templates/tailwind/resourceAdd/form.ejs.js +0 -11
  452. package/src/templates/tailwind/select/form.ejs.js +0 -46
  453. package/src/templates/tailwind/select/html.ejs.js +0 -13
  454. package/src/templates/tailwind/selectOption/form.ejs.js +0 -20
  455. package/src/templates/tailwind/selectOption/html.ejs.js +0 -11
  456. package/src/templates/tailwind/signature/form.ejs.js +0 -30
  457. package/src/templates/tailwind/signature/html.ejs.js +0 -5
  458. package/src/templates/tailwind/survey/form.ejs.js +0 -52
  459. package/src/templates/tailwind/survey/html.ejs.js +0 -22
  460. package/src/templates/tailwind/tab/flat.ejs.js +0 -16
  461. package/src/templates/tailwind/tab/form.ejs.js +0 -38
  462. package/src/templates/tailwind/table/form.ejs.js +0 -48
  463. package/src/templates/tailwind/tableComponents/form.ejs.js +0 -12
  464. package/src/templates/tailwind/tree/form.ejs.js +0 -32
  465. package/src/templates/tailwind/tree/partials/edit.ejs.js +0 -16
  466. package/src/templates/tailwind/tree/partials/view.ejs.js +0 -34
  467. package/src/templates/tailwind/webform/builder.ejs.js +0 -7
  468. package/src/templates/tailwind/webform/form.ejs.js +0 -9
  469. package/src/templates/tailwind/well/form.ejs.js +0 -9
  470. package/src/templates/tailwind/wizard/builder.ejs.js +0 -7
  471. package/src/templates/tailwind/wizard/form.ejs.js +0 -42
  472. package/src/templates/tailwind/wizardHeader/form.ejs.js +0 -32
  473. package/src/templates/tailwind/wizardHeaderClassic/form.ejs.js +0 -26
  474. package/src/templates/tailwind/wizardHeaderVertical/form.ejs.js +0 -28
  475. package/src/templates/tailwind/wizardNav/form.ejs.js +0 -64
@@ -0,0 +1,35 @@
1
+ function e(n) {
2
+ var o, l = "";
3
+ return l += '<div class="formio-component-modal-wrapper formio-component-modal-wrapper-' + ((o = n.component.type) == null ? "" : o) + `" ref="componentModalWrapper">
4
+ <div ref="openModalWrapper"></div>
5
+ <div class="formio-dialog formio-dialog-theme-default component-rendering-hidden" ref="modalWrapper">
6
+ <div class="formio-dialog-overlay" ref="modalOverlay"></div>
7
+ <div class="formio-dialog-content" aria-labelledby="ml-` + ((o = n.instance.id) == null ? "" : o) + "-" + ((o = n.component.key) == null ? "" : o) + '" ', n.self.isIE() || (l += ' role="dialog" '), l += ` ref="modalContents">
8
+ <label class="sr-only" id="ml-` + ((o = n.instance.id) == null ? "" : o) + "-" + ((o = n.component.key) == null ? "" : o) + '">' + ((o = n.t(n.component.label)) == null ? "" : o) + ((o = n.self.isIE() ? ", dialog" : "") == null ? "" : o) + `</label>
9
+ `, n.options.vpat ? l += `
10
+ <button class="formio-dialog-close float-right" title="Close" aria-label="Close button. Click to get back to the form" ref="modalCloseButton"></button>
11
+ ` : l += `
12
+ <button class="formio-dialog-close float-right btn btn-secondary btn-sm" aria-label="Close button. Click to get back to the form" ref="modalClose"></button>
13
+ `, l += `
14
+ <div ref="modalContents">
15
+ `, n.visible && (l += `
16
+ ` + ((o = n.children) == null ? "" : o) + `
17
+ `), l += `
18
+ <div class="formio-dialog-buttons">
19
+ `, n.options.vpat && (l += `
20
+ <button class="btn btn-secondary formio-dialog-button" aria-label="Cancel button. Click to cancel the changes and get back to the form." ref="modalClose">` + ((o = n.t("Cancel")) == null ? "" : o) + `</button>
21
+ `), l += `
22
+ <button class="btn btn-success formio-dialog-button" ref="modalSave" aria-label="Save button. Click to save the changes and get back to the form.">` + ((o = n.t("Save")) == null ? "" : o) + `</button>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ <span class="sr-only" ref="modalLiveRegion" aria-live="assertive"></span>
27
+ </div>
28
+ </div>
29
+ `, l;
30
+ }
31
+ const a = { form: e };
32
+ export {
33
+ a as default
34
+ };
35
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/componentModal/form.ejs","../../../../src/templates/tailwind/componentModal/index.ts"],"sourcesContent":["<div class=\"formio-component-modal-wrapper formio-component-modal-wrapper-{{ ctx.component.type }}\" ref=\"componentModalWrapper\">\n <div ref=\"openModalWrapper\"></div>\n <div class=\"formio-dialog formio-dialog-theme-default component-rendering-hidden\" ref=\"modalWrapper\">\n <div class=\"formio-dialog-overlay\" ref=\"modalOverlay\"></div>\n <div class=\"formio-dialog-content\" aria-labelledby=\"ml-{{ctx.instance.id}}-{{ctx.component.key}}\" {% if (!ctx.self.isIE()) { %} role=\"dialog\" {% } %} ref=\"modalContents\">\n <label class=\"sr-only\" id=\"ml-{{ctx.instance.id}}-{{ctx.component.key}}\">{{ ctx.t(ctx.component.label) }}{{ctx.self.isIE() ? ', dialog' : ''}}</label>\n {% if (ctx.options.vpat) { %}\n <button class=\"formio-dialog-close float-right\" title=\"Close\" aria-label=\"Close button. Click to get back to the form\" ref=\"modalCloseButton\"></button>\n {% } else { %}\n <button class=\"formio-dialog-close float-right btn btn-secondary btn-sm\" aria-label=\"Close button. Click to get back to the form\" ref=\"modalClose\"></button>\n {% } %}\n <div ref=\"modalContents\">\n {% if (ctx.visible) { %}\n {{ctx.children}}\n {% } %}\n <div class=\"formio-dialog-buttons\">\n {% if (ctx.options.vpat) { %}\n <button class=\"btn btn-secondary formio-dialog-button\" aria-label=\"Cancel button. Click to cancel the changes and get back to the form.\" ref=\"modalClose\">{{ctx.t('Cancel')}}</button>\n {% } %}\n <button class=\"btn btn-success formio-dialog-button\" ref=\"modalSave\" aria-label=\"Save button. Click to save the changes and get back to the form.\">{{ctx.t('Save')}}</button>\n </div>\n </div>\n </div>\n <span class=\"sr-only\" ref=\"modalLiveRegion\" aria-live=\"assertive\"></span>\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","componentModal"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,iFACLD,IAAQD,EAAI,UAAU,SAAW,OAAO,KAAKC,KAC/C;AAAA;AAAA;AAAA;AAAA,iEACEA,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C,MACMD,EAAI,KAAK,KAAI,MACnBE,KAAO,oBAEPA,KAAO;AAAA,0CACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C,SACEA,IAAQD,EAAI,EAAEA,EAAI,UAAU,KAAK,MAAQ,OAAO,KAAKC,OAErDA,IAAOD,EAAI,KAAK,KAAM,IAAG,aAAa,OAAQ,OAAO,KAAKC,KAC5D;AAAA,SACKD,EAAI,QAAQ,OACjBE,KAAO;AAAA;AAAA,UAEPA,KAAO;AAAA;AAAA,SAEPA,KAAO;AAAA;AAAA,WACFF,EAAI,YACTE,KAAO;AAAA,cACLD,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA,YAEAC,KAAO;AAAA;AAAA,aACFF,EAAI,QAAQ,SACjBE,KAAO;AAAA,0KACLD,IAAOD,EAAI,EAAE,QAAQ,MAAO,OAAO,KAAKC,KAC1C;AAAA,cAEAC,KAAO;AAAA,mKACLD,IAAOD,EAAI,EAAE,MAAM,MAAO,OAAO,KAAKC,KACxC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACOC;AACP;ACzCA,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,10 @@
1
+ function r(t) {
2
+ var n, o = "";
3
+ return o += ((n = t.children.join("")) == null ? "" : n) + `
4
+ `, o;
5
+ }
6
+ const e = { form: r };
7
+ export {
8
+ e as default
9
+ };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/components/form.ejs","../../../../src/templates/tailwind/components/index.ts"],"sourcesContent":["{{ ctx.children.join('') }}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","components"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,OACED,IAAQD,EAAI,SAAS,KAAK,EAAE,MAAQ,OAAO,KAAKC,KAClD;AAAA,GACOC;AACP;ACJA,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 t(e) {
2
+ var n, r = "";
3
+ return r += '<div ref="' + ((n = e.nestedKey) == null ? "" : n) + `">
4
+ ` + ((n = e.children) == null ? "" : n) + `
5
+ </div>
6
+ `, r;
7
+ }
8
+ const l = { form: t };
9
+ export {
10
+ l as default
11
+ };
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/container/form.ejs","../../../../src/templates/tailwind/container/index.ts"],"sourcesContent":["<div ref=\"{{ctx.nestedKey}}\">\n {{ctx.children}}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","container"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,iBACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC;AAAA,QACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA,GACOC;AACP;ACNA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
@@ -1,7 +1,7 @@
1
- declare const _default: {
2
- "border-default": string;
3
- "formio-tab-panel-active": string;
4
- "formio-tab-link-active": string;
5
- "formio-tab-link-container-active": string;
6
- };
7
- export default _default;
1
+ declare const _default: {
2
+ "border-default": string;
3
+ "formio-tab-panel-active": string;
4
+ "formio-tab-link-active": string;
5
+ "formio-tab-link-container-active": string;
6
+ };
7
+ export default _default;
@@ -0,0 +1,10 @@
1
+ const a = {
2
+ "border-default": "",
3
+ "formio-tab-panel-active": "active",
4
+ "formio-tab-link-active": "active",
5
+ "formio-tab-link-container-active": "active"
6
+ };
7
+ export {
8
+ a as default
9
+ };
10
+ //# sourceMappingURL=cssClasses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cssClasses.js","sources":["../../../src/templates/tailwind/cssClasses.ts"],"sourcesContent":["export default {\n \"border-default\": \"\",\n \"formio-tab-panel-active\": \"active\",\n \"formio-tab-link-active\": \"active\",\n \"formio-tab-link-container-active\": \"active\"\n};\n"],"names":["cssClasses"],"mappings":"AAAA,MAAeA,IAAA;AAAA,EACb,kBAAkB;AAAA,EAClB,2BAA2B;AAAA,EAC3B,0BAA0B;AAAA,EAC1B,oCAAoC;AACtC;"}
@@ -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,132 @@
1
+ function d(l) {
2
+ var n, t = "";
3
+ return t += `<table class="table datagrid-table table-bordered
4
+ ` + ((n = l.component.striped ? "table-striped" : "") == null ? "" : n) + `
5
+ ` + ((n = l.component.hover ? "table-hover" : "") == null ? "" : n) + `
6
+ ` + ((n = l.component.condensed ? "table-sm" : "") == null ? "" : n) + `
7
+ " `, l.component.layoutFixed && (t += 'style="table-layout: fixed;"'), t += `>
8
+ `, l.hasHeader && (t += `
9
+ <thead>
10
+ <tr>
11
+ `, l.component.reorder && (t += "<th></th>"), t += `
12
+ `, l.columns.forEach(function(e) {
13
+ t += `
14
+ <th class="` + ((n = e.validate && e.validate.required ? "field-required" : "") == null ? "" : n) + `">
15
+ ` + ((n = e.hideLabel ? "" : l.t(e.label || e.title, { _userInput: !0 })) == null ? "" : n) + `
16
+ `, e.tooltip && (t += ' <i ref="tooltip" tabindex="0" data-title="' + ((n = e.tooltip) == null ? "" : n) + '" class="' + ((n = l.iconClass("question-sign")) == null ? "" : n) + ' text-muted" data-tooltip="' + ((n = e.tooltip) == null ? "" : n) + '"></i>'), t += `
17
+ </th>
18
+ `;
19
+ }), t += `
20
+ `, l.hasExtraColumn && (t += `
21
+ <th>
22
+ <span class="sr-only">` + ((n = l.t("Add/Remove")) == null ? "" : n) + `</span>
23
+ `, !l.builder && l.hasAddButton && l.hasTopSubmit && (t += `
24
+ <button class="btn btn-primary formio-button-add-row" ref="` + ((n = l.datagridKey) == null ? "" : n) + '-addRow" tabindex="' + ((n = l.tabIndex) == null ? "" : n) + `">
25
+ <i class="` + ((n = l.iconClass("plus")) == null ? "" : n) + '"></i>' + ((n = l.t(l.component.addAnother || "Add Another", { _userInput: !0 })) == null ? "" : n) + `
26
+ </button>
27
+ `), t += `
28
+ </th>
29
+ `), t += `
30
+ </tr>
31
+ </thead>
32
+ `), t += `
33
+ <tbody ref="` + ((n = l.datagridKey) == null ? "" : n) + '-tbody" data-key="' + ((n = l.datagridKey) == null ? "" : n) + `">
34
+ `, l.rows.forEach(function(e, o) {
35
+ t += `
36
+ `, l.hasGroups && l.groups[o] && (t += `
37
+ <tr ref="` + ((n = l.datagridKey) == null ? "" : n) + '-group-header" class="datagrid-group-header' + ((n = l.hasToggle ? " clickable" : "") == null ? "" : n) + `">
38
+ <td
39
+ ref="` + ((n = l.datagridKey) == null ? "" : n) + `-group-label"
40
+ colspan="` + ((n = l.numColumns) == null ? "" : n) + `"
41
+ class="datagrid-group-label">` + ((n = l.groups[o].label) == null ? "" : n) + `</td>
42
+ </tr>
43
+ `), t += `
44
+ <tr ref="` + ((n = l.datagridKey) == null ? "" : n) + `-row">
45
+ `, l.component.reorder && (t += `
46
+ <td class="align-middle">
47
+ <button type="button" class="formio-drag-button btn btn-sm btn-light ` + ((n = l.iconClass("bars")) == null ? "" : n) + '" data-key="' + ((n = l.datagridKey) == null ? "" : n) + `"></button>
48
+ </td>
49
+ `), t += `
50
+ `, l.columns.forEach(function(a) {
51
+ t += `
52
+ <td ref="` + ((n = l.datagridKey) == null ? "" : n) + '" ', a.key && a.overlay && a.overlay.width && (t += ' style="width: ' + ((n = a.overlay.width + "px") == null ? "" : n) + '"'), t += ` >
53
+ ` + ((n = e[a.key]) == null ? "" : n) + `
54
+ </td>
55
+ `;
56
+ }), t += `
57
+ `, l.hasExtraColumn && (t += `
58
+ `, l.hasRemoveButtons && (t += `
59
+ <td class="align-middle">
60
+ <button type="button" class="btn btn-light btn-sm formio-button-remove-row" ref="` + ((n = l.datagridKey) == null ? "" : n) + '-removeRow" tabindex="' + ((n = l.tabIndex) == null ? "" : n) + '" aria-label="' + ((n = l.t("remove")) == null ? "" : n) + `">
61
+ <i class="` + ((n = l.iconClass("remove-circle")) == null ? "" : n) + `"></i>
62
+ </button>
63
+ </td>
64
+ `), t += `
65
+ `, l.canAddColumn && (t += `
66
+ <td ref="` + ((n = l.key) == null ? "" : n) + `-container">
67
+ ` + ((n = l.placeholder) == null ? "" : n) + `
68
+ </td>
69
+ `), t += `
70
+ `), t += `
71
+ </tr>
72
+ `;
73
+ }), t += `
74
+ </tbody>
75
+ `, !l.builder && l.hasAddButton && l.hasBottomSubmit && (t += `
76
+ <tfoot>
77
+ <tr>
78
+ <td colspan="` + ((n = l.component.layoutFixed ? l.numColumns : l.numColumns + 1) == null ? "" : n) + `">
79
+ <button class="btn btn-primary formio-button-add-row" ref="` + ((n = l.datagridKey) == null ? "" : n) + '-addRow" tabindex="' + ((n = l.tabIndex) == null ? "" : n) + `">
80
+ <i class="` + ((n = l.iconClass("plus")) == null ? "" : n) + ' mr-1"></i> ' + ((n = l.t(l.component.addAnother || "Add Another", { _userInput: !0 })) == null ? "" : n) + `
81
+ </button>
82
+ </td>
83
+ </tr>
84
+ </tfoot>
85
+ `), t += `
86
+ </table>
87
+ `, t;
88
+ }
89
+ function r(l) {
90
+ var n, t = "";
91
+ return t += `<table class="table datagrid-table table-bordered
92
+ ` + ((n = l.component.striped ? "table-striped" : "") == null ? "" : n) + `
93
+ ` + ((n = l.component.hover ? "table-hover" : "") == null ? "" : n) + `
94
+ ` + ((n = l.component.condensed ? "table-sm" : "") == null ? "" : n) + `
95
+ ">
96
+ `, l.hasHeader && (t += `
97
+ <thead>
98
+ <tr>
99
+ `, l.columns.forEach(function(e) {
100
+ t += `
101
+ <th class="` + ((n = e.validate && e.validate.required ? "field-required" : "") == null ? "" : n) + `">
102
+ ` + ((n = e.hideLabel ? "" : l.t(e.label || e.title, { _userInput: !0 })) == null ? "" : n) + `
103
+ `, e.tooltip && (t += ' <i ref="tooltip" tabindex="0" data-title="' + ((n = e.tooltip) == null ? "" : n) + '" class="' + ((n = l.iconClass("question-sign")) == null ? "" : n) + ' text-muted" data-tooltip="' + ((n = e.tooltip) == null ? "" : n) + '"></i>'), t += `
104
+ </th>
105
+ `;
106
+ }), t += `
107
+ </tr>
108
+ </thead>
109
+ `), t += `
110
+ <tbody>
111
+ `, l.rows.forEach(function(e) {
112
+ t += `
113
+ <tr>
114
+ `, l.columns.forEach(function(o) {
115
+ t += `
116
+ <td ref="` + ((n = l.datagridKey) == null ? "" : n) + `">
117
+ ` + ((n = e[o.key]) == null ? "" : n) + `
118
+ </td>
119
+ `;
120
+ }), t += `
121
+ </tr>
122
+ `;
123
+ }), t += `
124
+ </tbody>
125
+ </table>
126
+ `, t;
127
+ }
128
+ const u = { form: d, html: r };
129
+ export {
130
+ u as default
131
+ };
132
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/datagrid/form.ejs","../../../../src/templates/tailwind/datagrid/html.ejs","../../../../src/templates/tailwind/datagrid/index.ts"],"sourcesContent":["<table class=\"table datagrid-table table-bordered\n {{ ctx.component.striped ? 'table-striped' : ''}}\n {{ ctx.component.hover ? 'table-hover' : ''}}\n {{ ctx.component.condensed ? 'table-sm' : ''}}\n \" {% if (ctx.component.layoutFixed) { %}style=\"table-layout: fixed;\"{% } %}>\n {% if (ctx.hasHeader) { %}\n <thead>\n <tr>\n {% if (ctx.component.reorder) { %}<th></th>{% } %}\n {% ctx.columns.forEach(function(col) { %}\n <th class=\"{{col.validate && col.validate.required ? 'field-required' : ''}}\">\n {{ col.hideLabel ? '' : ctx.t(col.label || col.title, { _userInput: true }) }}\n {% if (col.tooltip) { %} <i ref=\"tooltip\" tabindex=\"0\" data-title=\"{{col.tooltip}}\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{col.tooltip}}\"></i>{% } %}\n </th>\n {% }) %}\n {% if (ctx.hasExtraColumn) { %}\n <th>\n <span class=\"sr-only\">{{ ctx.t('Add/Remove') }}</span>\n {% if (!ctx.builder && ctx.hasAddButton && ctx.hasTopSubmit) { %}\n <button class=\"btn btn-primary formio-button-add-row\" ref=\"{{ctx.datagridKey}}-addRow\" tabindex=\"{{ctx.tabIndex}}\">\n <i class=\"{{ctx.iconClass('plus')}}\"></i>{{ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true })}}\n </button>\n {% } %}\n </th>\n {% } %}\n </tr>\n </thead>\n {% } %}\n <tbody ref=\"{{ctx.datagridKey}}-tbody\" data-key=\"{{ctx.datagridKey}}\">\n {% ctx.rows.forEach(function(row, index) { %}\n {% if (ctx.hasGroups && ctx.groups[index]) { %}\n <tr ref=\"{{ctx.datagridKey}}-group-header\" class=\"datagrid-group-header{{ctx.hasToggle ? ' clickable' : ''}}\">\n <td\n ref=\"{{ctx.datagridKey}}-group-label\"\n colspan=\"{{ctx.numColumns}}\"\n class=\"datagrid-group-label\">{{ctx.groups[index].label}}</td>\n </tr>\n {% } %}\n <tr ref=\"{{ctx.datagridKey}}-row\">\n {% if (ctx.component.reorder) { %}\n <td class=\"align-middle\">\n <button type=\"button\" class=\"formio-drag-button btn btn-sm btn-light {{ctx.iconClass('bars')}}\" data-key=\"{{ctx.datagridKey}}\"></button>\n </td>\n {% } %}\n {% ctx.columns.forEach(function(col) { %}\n <td ref=\"{{ctx.datagridKey}}\" {% if (col.key && col.overlay && col.overlay.width) { %} style=\"width: {{col.overlay.width + 'px'}}\"{% } %} >\n {{row[col.key]}}\n </td>\n {% }) %}\n {% if (ctx.hasExtraColumn) { %}\n {% if (ctx.hasRemoveButtons) { %}\n <td class=\"align-middle\">\n <button type=\"button\" class=\"btn btn-light btn-sm formio-button-remove-row\" ref=\"{{ctx.datagridKey}}-removeRow\" tabindex=\"{{ctx.tabIndex}}\" aria-label=\"{{ctx.t('remove')}}\">\n <i class=\"{{ctx.iconClass('remove-circle')}}\"></i>\n </button>\n </td>\n {% } %}\n {% if (ctx.canAddColumn) { %}\n <td ref=\"{{ctx.key}}-container\">\n {{ctx.placeholder}}\n </td>\n {% } %}\n {% } %}\n </tr>\n {% }) %}\n </tbody>\n {% if (!ctx.builder && ctx.hasAddButton && ctx.hasBottomSubmit) { %}\n <tfoot>\n <tr>\n <td colspan=\"{{ctx.component.layoutFixed ? ctx.numColumns : ctx.numColumns + 1}}\">\n <button class=\"btn btn-primary formio-button-add-row\" ref=\"{{ctx.datagridKey}}-addRow\" tabindex=\"{{ctx.tabIndex}}\">\n <i class=\"{{ctx.iconClass('plus')}} mr-1\"></i> {{ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true })}}\n </button>\n </td>\n </tr>\n </tfoot>\n {% } %}\n</table>\n","<table class=\"table datagrid-table table-bordered\n {{ ctx.component.striped ? 'table-striped' : ''}}\n {{ ctx.component.hover ? 'table-hover' : ''}}\n {{ ctx.component.condensed ? 'table-sm' : ''}}\n \">\n {% if (ctx.hasHeader) { %}\n <thead>\n <tr>\n {% ctx.columns.forEach(function(col) { %}\n <th class=\"{{col.validate && col.validate.required ? 'field-required' : ''}}\">\n {{ col.hideLabel ? '' : ctx.t(col.label || col.title, { _userInput: true }) }}\n {% if (col.tooltip) { %} <i ref=\"tooltip\" tabindex=\"0\" data-title=\"{{col.tooltip}}\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{col.tooltip}}\"></i>{% } %}\n </th>\n {% }) %}\n </tr>\n </thead>\n {% } %}\n <tbody>\n {% ctx.rows.forEach(function(row) { %}\n <tr>\n {% ctx.columns.forEach(function(col) { %}\n <td ref=\"{{ctx.datagridKey}}\">\n {{row[col.key]}}\n </td>\n {% }) %}\n </tr>\n {% }) %}\n </tbody>\n</table>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","col","row","index","html","datagrid"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,UACLD,IAAQD,EAAI,UAAU,UAAU,kBAAkB,OAAQ,OAAO,KAAKC,KACxE;AAAA,UACEA,IAAQD,EAAI,UAAU,QAAQ,gBAAgB,OAAQ,OAAO,KAAKC,KACpE;AAAA,UACEA,IAAQD,EAAI,UAAU,YAAY,aAAa,OAAQ,OAAO,KAAKC,KACrE;AAAA,SACKD,EAAI,UAAU,gBACnBE,KAAO,iCAEPA,KAAO;AAAA,KACFF,EAAI,cACTE,KAAO;AAAA;AAAA;AAAA,SACFF,EAAI,UAAU,YACnBE,KAAO,cAEPA,KAAO;AAAA,SACNF,EAAI,QAAQ,QAAQ,SAASG,GAAK;AACnC,IAAAD,KAAO;AAAA,yBACLD,IAAOE,EAAI,YAAYA,EAAI,SAAS,WAAW,mBAAmB,OAAQ,OAAO,KAAKF,KACxF;AAAA,gBACEA,IAAQE,EAAI,YAAY,KAAKH,EAAI,EAAEG,EAAI,SAASA,EAAI,OAAO,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKF,KACrG;AAAA,aACKE,EAAI,YACTD,KAAO,kDACLD,IAAOE,EAAI,YAAa,OAAO,KAAKF,KACtC,gBACEA,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOE,EAAI,YAAa,OAAO,KAAKF,KACtC,WAEAC,KAAO;AAAA;AAAA;AAAA,EACP,CAAE,GACFA,KAAO;AAAA,SACFF,EAAI,mBACTE,KAAO;AAAA;AAAA,oCACLD,IAAQD,EAAI,EAAE,YAAY,MAAQ,OAAO,KAAKC,KAChD;AAAA,WACK,CAACD,EAAI,WAA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ID,EAAI,GAAG,MAAO,OAAO,KAAKF,KACvC;AAAA;AAAA;AAAA,IACA,CAAE,GACFC,KAAO;AAAA;AAAA;AAAA,EACP,CAAE,GACFA,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;AC1CA,MAAAK,IAAe,EAAE,MAAAR,GAAM,MAAAO,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,53 @@
1
+ function i(l) {
2
+ var n, e = "";
3
+ return e += `<div class="grid grid-cols-12 gap-4"
4
+ `, l.component.hideLabel ? e += `
5
+ aria-label="` + ((n = l.component.label) == null ? "" : n) + `"
6
+ ` : e += `
7
+ aria-labelledby="l-` + ((n = l.instance.id) == null ? "" : n) + "-" + ((n = l.component.key) == null ? "" : n) + `"
8
+ `, e += `
9
+ `, l.component.description && (e += `
10
+ aria-describedby="d-` + ((n = l.instance.id) == null ? "" : n) + "-" + ((n = l.component.key) == null ? "" : n) + `"
11
+ `), e += `
12
+ >
13
+ `, l.dayFirst && l.showDay && (e += `
14
+ <div class="col-span-3">
15
+ `, l.component.hideInputLabels || (e += `
16
+ <label for="` + ((n = l.component.key) == null ? "" : n) + '-day" class="', l.component.fields.day.required && (e += "field-required"), e += '">' + ((n = l.t("Day")) == null ? "" : n) + `</label>
17
+ `), e += `
18
+ <div>` + ((n = l.day) == null ? "" : n) + `</div>
19
+ </div>
20
+ `), e += `
21
+ `, l.showMonth && (e += `
22
+ <div class="col-span-4">
23
+ `, l.component.hideInputLabels || (e += `
24
+ <label for="` + ((n = l.component.key) == null ? "" : n) + '-month" class="', l.component.fields.month.required && (e += "field-required"), e += '">' + ((n = l.t("Month")) == null ? "" : n) + `</label>
25
+ `), e += `
26
+ <div>` + ((n = l.month) == null ? "" : n) + `</div>
27
+ </div>
28
+ `), e += `
29
+ `, !l.dayFirst && l.showDay && (e += `
30
+ <div class="col-span-3">
31
+ `, l.component.hideInputLabels || (e += `
32
+ <label for="` + ((n = l.component.key) == null ? "" : n) + '-day" class="', l.component.fields.day.required && (e += "field-required"), e += '">' + ((n = l.t("Day")) == null ? "" : n) + `</label>
33
+ `), e += `
34
+ <div>` + ((n = l.day) == null ? "" : n) + `</div>
35
+ </div>
36
+ `), e += `
37
+ `, l.showYear && (e += `
38
+ <div class="col-span-5">
39
+ `, l.component.hideInputLabels || (e += `
40
+ <label for="` + ((n = l.component.key) == null ? "" : n) + '-year" class="', l.component.fields.year.required && (e += "field-required"), e += '">' + ((n = l.t("Year")) == null ? "" : n) + `</label>
41
+ `), e += `
42
+ <div>` + ((n = l.year) == null ? "" : n) + `</div>
43
+ </div>
44
+ `), e += `
45
+ </div>
46
+ <input name="ctx.data[day]" type="hidden" class="form-control" lang="en" value="" ref="input">
47
+ `, e;
48
+ }
49
+ const a = { form: i };
50
+ export {
51
+ a as default
52
+ };
53
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/day/form.ejs","../../../../src/templates/tailwind/day/index.ts"],"sourcesContent":["<div class=\"grid grid-cols-12 gap-4\"\n {% if (ctx.component.hideLabel) { %}\n aria-label=\"{{ctx.component.label}}\"\n {% } else { %}\n aria-labelledby=\"l-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n {% if (ctx.component.description) { %}\n aria-describedby=\"d-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n >\n {% if (ctx.dayFirst && ctx.showDay) { %}\n <div class=\"col-span-3\">\n {% if (!ctx.component.hideInputLabels) { %}\n <label for=\"{{ctx.component.key}}-day\" class=\"{% if(ctx.component.fields.day.required) { %}field-required{% } %}\">{{ctx.t('Day')}}</label>\n {% } %}\n <div>{{ctx.day}}</div>\n </div>\n {% } %}\n {% if (ctx.showMonth) { %}\n <div class=\"col-span-4\">\n {% if (!ctx.component.hideInputLabels) { %}\n <label for=\"{{ctx.component.key}}-month\" class=\"{% if(ctx.component.fields.month.required) { %}field-required{% } %}\">{{ctx.t('Month')}}</label>\n {% } %}\n <div>{{ctx.month}}</div>\n </div>\n {% } %}\n {% if (!ctx.dayFirst && ctx.showDay) { %}\n <div class=\"col-span-3\">\n {% if (!ctx.component.hideInputLabels) { %}\n <label for=\"{{ctx.component.key}}-day\" class=\"{% if(ctx.component.fields.day.required) { %}field-required{% } %}\">{{ctx.t('Day')}}</label>\n {% } %}\n <div>{{ctx.day}}</div>\n </div>\n {% } %}\n {% if (ctx.showYear) { %}\n <div class=\"col-span-5\">\n {% if (!ctx.component.hideInputLabels) { %}\n <label for=\"{{ctx.component.key}}-year\" class=\"{% if(ctx.component.fields.year.required) { %}field-required{% } %}\">{{ctx.t('Year')}}</label>\n {% } %}\n <div>{{ctx.year}}</div>\n </div>\n {% } %}\n</div>\n<input name=\"ctx.data[day]\" type=\"hidden\" class=\"form-control\" lang=\"en\" value=\"\" ref=\"input\">\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","day"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,KACFF,EAAI,UAAU,YACnBE,KAAO;AAAA,oBACLD,IAAOD,EAAI,UAAU,UAAW,OAAO,KAAKC,KAC9C;AAAA,MAEAC,KAAO;AAAA,2BACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,KAEAC,KAAO;AAAA,KACFF,EAAI,UAAU,gBACnBE,KAAO;AAAA,4BACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,MAEAC,KAAO;AAAA;AAAA,KACFF,EAAI,YAAYA,EAAI,YACzBE,KAAO;AAAA;AAAA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AM,MAAO,OAAO,KAAKC,KACxC;AAAA,QAEAC,KAAO;AAAA,eACLD,IAAOD,EAAI,SAAU,OAAO,KAAKC,KACnC;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;AC/FA,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,16 @@
1
+ function i(a) {
2
+ var o = "";
3
+ return o += `<div class="formio-dialog formio-dialog-theme-default component-settings">
4
+ <div class="formio-dialog-overlay" ref="dialogOverlay"></div>
5
+ <div class="formio-dialog-content" ref="dialogContents" role="dialog">
6
+ <div ref="dialogContents"></div>
7
+ <button class="formio-dialog-close float-right btn btn-secondary btn-sm" aria-label="Close modal window." ref="dialogClose"></button>
8
+ </div>
9
+ </div>
10
+ `, o;
11
+ }
12
+ const l = { form: i };
13
+ export {
14
+ l as default
15
+ };
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/dialog/form.ejs","../../../../src/templates/tailwind/dialog/index.ts"],"sourcesContent":["<div class=\"formio-dialog formio-dialog-theme-default component-settings\">\n <div class=\"formio-dialog-overlay\" ref=\"dialogOverlay\"></div>\n <div class=\"formio-dialog-content\" ref=\"dialogContents\" role=\"dialog\">\n <div ref=\"dialogContents\"></div>\n <button class=\"formio-dialog-close float-right btn btn-secondary btn-sm\" aria-label=\"Close modal window.\" ref=\"dialogClose\"></button>\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__p","dialog"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAAMC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACAA;AACP;ACFA,MAAeC,IAAA,EAAE,MAAAH,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,92 @@
1
+ function s(e) {
2
+ var n, l = "";
3
+ return l += `<ul class="editgrid-listgroup list-group
4
+ ` + ((n = e.component.striped ? "table-striped" : "") == null ? "" : n) + `
5
+ ` + ((n = e.component.bordered ? "table-bordered" : "") == null ? "" : n) + `
6
+ ` + ((n = e.component.hover ? "table-hover" : "") == null ? "" : n) + `
7
+ ` + ((n = e.component.condensed ? "table-sm" : "") == null ? "" : n) + `
8
+ ">
9
+ `, e.header && (l += `
10
+ <li class="list-group-item list-group-header">
11
+ ` + ((n = e.header) == null ? "" : n) + `
12
+ </li>
13
+ `), l += `
14
+ `, e.rows.forEach(function(r, o) {
15
+ l += `
16
+ <li class="list-group-item" ref="` + ((n = e.ref.row) == null ? "" : n) + `">
17
+ ` + ((n = r) == null ? "" : n) + `
18
+ `, e.openRows[o] && !e.readOnly && (l += `
19
+ <div class="editgrid-actions">
20
+ <button class="btn btn-primary" ref="` + ((n = e.ref.saveRow) == null ? "" : n) + '">' + ((n = e.t(e.component.saveRow || "Save", { _userInput: !0 })) == null ? "" : n) + `</button>
21
+ `, e.component.removeRow && (l += `
22
+ <button class="btn btn-danger" ref="` + ((n = e.ref.cancelRow) == null ? "" : n) + '">' + ((n = e.t(e.component.removeRow || "Cancel", { _userInput: !0 })) == null ? "" : n) + `</button>
23
+ `), l += `
24
+ </div>
25
+ `), l += `
26
+ <div class="has-error">
27
+ <div class="editgrid-row-error help-block">
28
+ ` + ((n = e.errors[o]) == null ? "" : n) + `
29
+ </div>
30
+ </div>
31
+ </li>
32
+ `;
33
+ }), l += `
34
+ `, e.footer && (l += `
35
+ <li class="list-group-item list-group-footer">
36
+ ` + ((n = e.footer) == null ? "" : n) + `
37
+ </li>
38
+ `), l += `
39
+ </ul>
40
+ `, !e.readOnly && e.hasAddButton && (l += `
41
+ <button class="btn btn-primary" ref="` + ((n = e.ref.addRow) == null ? "" : n) + `">
42
+ <i class="` + ((n = e.iconClass("plus")) == null ? "" : n) + '"></i> ' + ((n = e.t(e.component.addAnother || "Add Another", { _userInput: !0 })) == null ? "" : n) + `
43
+ </button>
44
+ `), l += `
45
+ `, l;
46
+ }
47
+ function i(e) {
48
+ var n, l = "";
49
+ return l += `<ul class="editgrid-listgroup list-group
50
+ ` + ((n = e.component.striped ? "table-striped" : "") == null ? "" : n) + `
51
+ ` + ((n = e.component.bordered ? "table-bordered" : "") == null ? "" : n) + `
52
+ ` + ((n = e.component.hover ? "table-hover" : "") == null ? "" : n) + `
53
+ ` + ((n = e.component.condensed ? "table-sm" : "") == null ? "" : n) + `
54
+ ">
55
+ `, e.header && (l += `
56
+ <li class="list-group-item list-group-header">
57
+ ` + ((n = e.header) == null ? "" : n) + `
58
+ </li>
59
+ `), l += `
60
+ `, e.rows.forEach(function(r, o) {
61
+ l += `
62
+ <li class="list-group-item" ref="` + ((n = e.ref.row) == null ? "" : n) + `">
63
+ ` + ((n = r) == null ? "" : n) + `
64
+ `, e.openRows[o] && !e.readOnly && (l += `
65
+ <div class="editgrid-actions">
66
+ <button class="btn btn-primary" ref="` + ((n = e.ref.saveRow) == null ? "" : n) + '">' + ((n = e.t(e.component.saveRow || "Save", { _userInput: !0 })) == null ? "" : n) + `</button>
67
+ `, e.component.removeRow && (l += `
68
+ <button class="btn btn-danger" ref="` + ((n = e.ref.cancelRow) == null ? "" : n) + '">' + ((n = e.t(e.component.removeRow || "Cancel", { _userInput: !0 })) == null ? "" : n) + `</button>
69
+ `), l += `
70
+ </div>
71
+ `), l += `
72
+ <div class="has-error">
73
+ <div class="editgrid-row-error help-block">
74
+ ` + ((n = e.errors[o]) == null ? "" : n) + `
75
+ </div>
76
+ </div>
77
+ </li>
78
+ `;
79
+ }), l += `
80
+ `, e.footer && (l += `
81
+ <li class="list-group-item list-group-footer">
82
+ ` + ((n = e.footer) == null ? "" : n) + `
83
+ </li>
84
+ `), l += `
85
+ </ul>
86
+ `, l;
87
+ }
88
+ const u = { form: s, html: i };
89
+ export {
90
+ u as default
91
+ };
92
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/editgrid/form.ejs","../../../../src/templates/tailwind/editgrid/html.ejs","../../../../src/templates/tailwind/editgrid/index.ts"],"sourcesContent":["<ul class=\"editgrid-listgroup list-group\n {{ ctx.component.striped ? 'table-striped' : ''}}\n {{ ctx.component.bordered ? 'table-bordered' : ''}}\n {{ ctx.component.hover ? 'table-hover' : ''}}\n {{ ctx.component.condensed ? 'table-sm' : ''}}\n \">\n {% if (ctx.header) { %}\n <li class=\"list-group-item list-group-header\">\n {{ctx.header}}\n </li>\n {% } %}\n {% ctx.rows.forEach(function(row, rowIndex) { %}\n <li class=\"list-group-item\" ref=\"{{ctx.ref.row}}\">\n {{row}}\n {% if (ctx.openRows[rowIndex] && !ctx.readOnly) { %}\n <div class=\"editgrid-actions\">\n <button class=\"btn btn-primary\" ref=\"{{ctx.ref.saveRow}}\">{{ctx.t(ctx.component.saveRow || 'Save', { _userInput: true })}}</button>\n {% if (ctx.component.removeRow) { %}\n <button class=\"btn btn-danger\" ref=\"{{ctx.ref.cancelRow}}\">{{ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true })}}</button>\n {% } %}\n </div>\n {% } %}\n <div class=\"has-error\">\n <div class=\"editgrid-row-error help-block\">\n {{ctx.errors[rowIndex]}}\n </div>\n </div>\n </li>\n {% }) %}\n {% if (ctx.footer) { %}\n <li class=\"list-group-item list-group-footer\">\n {{ctx.footer}}\n </li>\n {% } %}\n</ul>\n{% if (!ctx.readOnly && ctx.hasAddButton) { %}\n<button class=\"btn btn-primary\" ref=\"{{ctx.ref.addRow}}\">\n <i class=\"{{ctx.iconClass('plus')}}\"></i> {{ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true })}}\n</button>\n{% } %}\n","<ul class=\"editgrid-listgroup list-group\n {{ ctx.component.striped ? 'table-striped' : ''}}\n {{ ctx.component.bordered ? 'table-bordered' : ''}}\n {{ ctx.component.hover ? 'table-hover' : ''}}\n {{ ctx.component.condensed ? 'table-sm' : ''}}\n \">\n {% if (ctx.header) { %}\n <li class=\"list-group-item list-group-header\">\n {{ctx.header}}\n </li>\n {% } %}\n {% ctx.rows.forEach(function(row, rowIndex) { %}\n <li class=\"list-group-item\" ref=\"{{ctx.ref.row}}\">\n {{row}}\n {% if (ctx.openRows[rowIndex] && !ctx.readOnly) { %}\n <div class=\"editgrid-actions\">\n <button class=\"btn btn-primary\" ref=\"{{ctx.ref.saveRow}}\">{{ctx.t(ctx.component.saveRow || 'Save', { _userInput: true })}}</button>\n {% if (ctx.component.removeRow) { %}\n <button class=\"btn btn-danger\" ref=\"{{ctx.ref.cancelRow}}\">{{ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true })}}</button>\n {% } %}\n </div>\n {% } %}\n <div class=\"has-error\">\n <div class=\"editgrid-row-error help-block\">\n {{ctx.errors[rowIndex]}}\n </div>\n </div>\n </li>\n {% }) %}\n {% if (ctx.footer) { %}\n <li class=\"list-group-item list-group-footer\">\n {{ctx.footer}}\n </li>\n {% } %}\n</ul>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","row","rowIndex","html","editgrid"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,UACLD,IAAQD,EAAI,UAAU,UAAU,kBAAkB,OAAQ,OAAO,KAAKC,KACxE;AAAA,UACEA,IAAQD,EAAI,UAAU,WAAW,mBAAmB,OAAQ,OAAO,KAAKC,KAC1E;AAAA,UACEA,IAAQD,EAAI,UAAU,QAAQ,gBAAgB,OAA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AI,CAAE,MAAO,OAAO,KAAKC,KAC3F;AAAA,UAEAC,KAAO;AAAA;AAAA,QAEPA,KAAO;AAAA;AAAA;AAAA,cACLD,IAAOD,EAAI,OAAOI,CAAQ,MAAO,OAAO,KAAKH,KAC/C;AAAA;AAAA;AAAA;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA,KACFF,EAAI,WACTE,KAAO;AAAA;AAAA,UACLD,IAAOD,EAAI,WAAY,OAAO,KAAKC,KACrC;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA,GACAA;AACP;AChDA,MAAAI,IAAe,EAAE,MAAAP,GAAM,MAAAM,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;