@opencitylabs/bootstrap-italia 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (445) hide show
  1. package/dist/bootstrapItalia.js +1 -0
  2. package/lib/cjs/bootstrapItalia.d.ts +232 -0
  3. package/lib/cjs/bootstrapItalia.js +9 -0
  4. package/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js +3 -1
  5. package/lib/cjs/templates/bootstrap4/builderComponent/form.ejs.js +14 -6
  6. package/lib/cjs/templates/bootstrap4/checkbox/form.ejs.js +19 -3
  7. package/lib/cjs/templates/bootstrap4/datagrid/form.ejs.js +2 -2
  8. package/lib/cjs/templates/bootstrap5/builderComponent/form.ejs.js +14 -6
  9. package/lib/cjs/templates/bootstrap5/builderSidebar/form.ejs.js +3 -1
  10. package/lib/cjs/templates/bootstrap5/checkbox/form.ejs.js +20 -4
  11. package/lib/cjs/templates/bootstrap5/datagrid/form.ejs.js +2 -2
  12. package/lib/cjs/templates/bootstrapItalia/address/form.ejs.js +61 -0
  13. package/lib/cjs/templates/bootstrapItalia/address/html.ejs.js +16 -0
  14. package/lib/cjs/templates/bootstrapItalia/address/index.d.ts +5 -0
  15. package/lib/cjs/templates/bootstrapItalia/address/index.js +5 -0
  16. package/lib/cjs/templates/bootstrapItalia/alert/form.ejs.js +31 -0
  17. package/lib/cjs/templates/bootstrapItalia/alert/index.d.ts +4 -0
  18. package/lib/cjs/templates/bootstrapItalia/alert/index.js +4 -0
  19. package/lib/cjs/templates/bootstrapItalia/builder/form.ejs.js +12 -0
  20. package/lib/cjs/templates/bootstrapItalia/builder/index.d.ts +4 -0
  21. package/lib/cjs/templates/bootstrapItalia/builder/index.js +4 -0
  22. package/lib/cjs/templates/bootstrapItalia/builderComponent/form.ejs.js +35 -0
  23. package/lib/cjs/templates/bootstrapItalia/builderComponent/index.d.ts +4 -0
  24. package/lib/cjs/templates/bootstrapItalia/builderComponent/index.js +4 -0
  25. package/lib/cjs/templates/bootstrapItalia/builderComponents/form.ejs.js +14 -0
  26. package/lib/cjs/templates/bootstrapItalia/builderComponents/index.d.ts +4 -0
  27. package/lib/cjs/templates/bootstrapItalia/builderComponents/index.js +4 -0
  28. package/lib/cjs/templates/bootstrapItalia/builderEditForm/form.ejs.js +65 -0
  29. package/lib/cjs/templates/bootstrapItalia/builderEditForm/index.d.ts +4 -0
  30. package/lib/cjs/templates/bootstrapItalia/builderEditForm/index.js +4 -0
  31. package/lib/cjs/templates/bootstrapItalia/builderPlaceholder/form.ejs.js +12 -0
  32. package/lib/cjs/templates/bootstrapItalia/builderPlaceholder/index.d.ts +4 -0
  33. package/lib/cjs/templates/bootstrapItalia/builderPlaceholder/index.js +4 -0
  34. package/lib/cjs/templates/bootstrapItalia/builderSidebar/form.ejs.js +21 -0
  35. package/lib/cjs/templates/bootstrapItalia/builderSidebar/index.d.ts +4 -0
  36. package/lib/cjs/templates/bootstrapItalia/builderSidebar/index.js +4 -0
  37. package/lib/cjs/templates/bootstrapItalia/builderSidebarGroup/form.ejs.js +71 -0
  38. package/lib/cjs/templates/bootstrapItalia/builderSidebarGroup/index.d.ts +4 -0
  39. package/lib/cjs/templates/bootstrapItalia/builderSidebarGroup/index.js +4 -0
  40. package/lib/cjs/templates/bootstrapItalia/builderWizard/form.ejs.js +33 -0
  41. package/lib/cjs/templates/bootstrapItalia/builderWizard/index.d.ts +4 -0
  42. package/lib/cjs/templates/bootstrapItalia/builderWizard/index.js +4 -0
  43. package/lib/cjs/templates/bootstrapItalia/button/form.ejs.js +51 -0
  44. package/lib/cjs/templates/bootstrapItalia/button/html.ejs.js +8 -0
  45. package/lib/cjs/templates/bootstrapItalia/button/index.d.ts +5 -0
  46. package/lib/cjs/templates/bootstrapItalia/button/index.js +5 -0
  47. package/lib/cjs/templates/bootstrapItalia/checkbox/form.ejs.js +65 -0
  48. package/lib/cjs/templates/bootstrapItalia/checkbox/html.ejs.js +25 -0
  49. package/lib/cjs/templates/bootstrapItalia/checkbox/index.d.ts +5 -0
  50. package/lib/cjs/templates/bootstrapItalia/checkbox/index.js +5 -0
  51. package/lib/cjs/templates/bootstrapItalia/columns/form.ejs.js +25 -0
  52. package/lib/cjs/templates/bootstrapItalia/columns/index.d.ts +4 -0
  53. package/lib/cjs/templates/bootstrapItalia/columns/index.js +4 -0
  54. package/lib/cjs/templates/bootstrapItalia/component/form.ejs.js +25 -0
  55. package/lib/cjs/templates/bootstrapItalia/component/index.d.ts +4 -0
  56. package/lib/cjs/templates/bootstrapItalia/component/index.js +4 -0
  57. package/lib/cjs/templates/bootstrapItalia/componentModal/form.ejs.js +47 -0
  58. package/lib/cjs/templates/bootstrapItalia/componentModal/index.d.ts +4 -0
  59. package/lib/cjs/templates/bootstrapItalia/componentModal/index.js +4 -0
  60. package/lib/cjs/templates/bootstrapItalia/components/form.ejs.js +10 -0
  61. package/lib/cjs/templates/bootstrapItalia/components/index.d.ts +4 -0
  62. package/lib/cjs/templates/bootstrapItalia/components/index.js +4 -0
  63. package/lib/cjs/templates/bootstrapItalia/container/form.ejs.js +12 -0
  64. package/lib/cjs/templates/bootstrapItalia/container/index.d.ts +4 -0
  65. package/lib/cjs/templates/bootstrapItalia/container/index.js +4 -0
  66. package/lib/cjs/templates/bootstrapItalia/cssClasses.d.ts +17 -0
  67. package/lib/cjs/templates/bootstrapItalia/cssClasses.js +18 -0
  68. package/lib/cjs/templates/bootstrapItalia/datagrid/form.ejs.js +145 -0
  69. package/lib/cjs/templates/bootstrapItalia/datagrid/html.ejs.js +49 -0
  70. package/lib/cjs/templates/bootstrapItalia/datagrid/index.d.ts +5 -0
  71. package/lib/cjs/templates/bootstrapItalia/datagrid/index.js +5 -0
  72. package/lib/cjs/templates/bootstrapItalia/day/form.ejs.js +101 -0
  73. package/lib/cjs/templates/bootstrapItalia/day/index.d.ts +4 -0
  74. package/lib/cjs/templates/bootstrapItalia/day/index.js +4 -0
  75. package/lib/cjs/templates/bootstrapItalia/dialog/form.ejs.js +8 -0
  76. package/lib/cjs/templates/bootstrapItalia/dialog/index.d.ts +4 -0
  77. package/lib/cjs/templates/bootstrapItalia/dialog/index.js +4 -0
  78. package/lib/cjs/templates/bootstrapItalia/editgrid/form.ejs.js +65 -0
  79. package/lib/cjs/templates/bootstrapItalia/editgrid/html.ejs.js +55 -0
  80. package/lib/cjs/templates/bootstrapItalia/editgrid/index.d.ts +5 -0
  81. package/lib/cjs/templates/bootstrapItalia/editgrid/index.js +5 -0
  82. package/lib/cjs/templates/bootstrapItalia/editgridTable/form.ejs.js +69 -0
  83. package/lib/cjs/templates/bootstrapItalia/editgridTable/html.ejs.js +59 -0
  84. package/lib/cjs/templates/bootstrapItalia/editgridTable/index.d.ts +5 -0
  85. package/lib/cjs/templates/bootstrapItalia/editgridTable/index.js +5 -0
  86. package/lib/cjs/templates/bootstrapItalia/errorsList/form.ejs.js +25 -0
  87. package/lib/cjs/templates/bootstrapItalia/errorsList/index.d.ts +4 -0
  88. package/lib/cjs/templates/bootstrapItalia/errorsList/index.js +4 -0
  89. package/lib/cjs/templates/bootstrapItalia/field/align.ejs.js +41 -0
  90. package/lib/cjs/templates/bootstrapItalia/field/form.ejs.js +39 -0
  91. package/lib/cjs/templates/bootstrapItalia/field/index.d.ts +5 -0
  92. package/lib/cjs/templates/bootstrapItalia/field/index.js +5 -0
  93. package/lib/cjs/templates/bootstrapItalia/fieldset/form.ejs.js +31 -0
  94. package/lib/cjs/templates/bootstrapItalia/fieldset/index.d.ts +4 -0
  95. package/lib/cjs/templates/bootstrapItalia/fieldset/index.js +4 -0
  96. package/lib/cjs/templates/bootstrapItalia/file/form.ejs.js +345 -0
  97. package/lib/cjs/templates/bootstrapItalia/file/index.d.ts +4 -0
  98. package/lib/cjs/templates/bootstrapItalia/file/index.js +4 -0
  99. package/lib/cjs/templates/bootstrapItalia/html/form.ejs.js +28 -0
  100. package/lib/cjs/templates/bootstrapItalia/html/index.d.ts +4 -0
  101. package/lib/cjs/templates/bootstrapItalia/html/index.js +4 -0
  102. package/lib/cjs/templates/bootstrapItalia/icon/form.ejs.js +16 -0
  103. package/lib/cjs/templates/bootstrapItalia/icon/index.d.ts +4 -0
  104. package/lib/cjs/templates/bootstrapItalia/icon/index.js +4 -0
  105. package/lib/cjs/templates/bootstrapItalia/iconClass.d.ts +2 -0
  106. package/lib/cjs/templates/bootstrapItalia/iconClass.js +137 -0
  107. package/lib/cjs/templates/bootstrapItalia/index.d.ts +227 -0
  108. package/lib/cjs/templates/bootstrapItalia/index.js +144 -0
  109. package/lib/cjs/templates/bootstrapItalia/input/form.ejs.js +129 -0
  110. package/lib/cjs/templates/bootstrapItalia/input/html.ejs.js +16 -0
  111. package/lib/cjs/templates/bootstrapItalia/input/index.d.ts +5 -0
  112. package/lib/cjs/templates/bootstrapItalia/input/index.js +5 -0
  113. package/lib/cjs/templates/bootstrapItalia/label/form.ejs.js +41 -0
  114. package/lib/cjs/templates/bootstrapItalia/label/index.d.ts +4 -0
  115. package/lib/cjs/templates/bootstrapItalia/label/index.js +4 -0
  116. package/lib/cjs/templates/bootstrapItalia/loader/form.ejs.js +8 -0
  117. package/lib/cjs/templates/bootstrapItalia/loader/index.d.ts +4 -0
  118. package/lib/cjs/templates/bootstrapItalia/loader/index.js +4 -0
  119. package/lib/cjs/templates/bootstrapItalia/loading/form.ejs.js +8 -0
  120. package/lib/cjs/templates/bootstrapItalia/loading/index.d.ts +4 -0
  121. package/lib/cjs/templates/bootstrapItalia/loading/index.js +4 -0
  122. package/lib/cjs/templates/bootstrapItalia/map/form.ejs.js +10 -0
  123. package/lib/cjs/templates/bootstrapItalia/map/index.d.ts +4 -0
  124. package/lib/cjs/templates/bootstrapItalia/map/index.js +4 -0
  125. package/lib/cjs/templates/bootstrapItalia/message/form.ejs.js +16 -0
  126. package/lib/cjs/templates/bootstrapItalia/message/index.d.ts +4 -0
  127. package/lib/cjs/templates/bootstrapItalia/message/index.js +4 -0
  128. package/lib/cjs/templates/bootstrapItalia/modalPreview/form.ejs.js +24 -0
  129. package/lib/cjs/templates/bootstrapItalia/modalPreview/index.d.ts +4 -0
  130. package/lib/cjs/templates/bootstrapItalia/modalPreview/index.js +4 -0
  131. package/lib/cjs/templates/bootstrapItalia/modaldialog/form.ejs.js +10 -0
  132. package/lib/cjs/templates/bootstrapItalia/modaldialog/index.d.ts +4 -0
  133. package/lib/cjs/templates/bootstrapItalia/modaldialog/index.js +4 -0
  134. package/lib/cjs/templates/bootstrapItalia/modaledit/form.ejs.js +12 -0
  135. package/lib/cjs/templates/bootstrapItalia/modaledit/index.d.ts +4 -0
  136. package/lib/cjs/templates/bootstrapItalia/modaledit/index.js +4 -0
  137. package/lib/cjs/templates/bootstrapItalia/multiValueRow/form.ejs.js +17 -0
  138. package/lib/cjs/templates/bootstrapItalia/multiValueRow/index.d.ts +4 -0
  139. package/lib/cjs/templates/bootstrapItalia/multiValueRow/index.js +4 -0
  140. package/lib/cjs/templates/bootstrapItalia/multiValueTable/form.ejs.js +19 -0
  141. package/lib/cjs/templates/bootstrapItalia/multiValueTable/index.d.ts +4 -0
  142. package/lib/cjs/templates/bootstrapItalia/multiValueTable/index.js +4 -0
  143. package/lib/cjs/templates/bootstrapItalia/multipleMasksInput/form.ejs.js +33 -0
  144. package/lib/cjs/templates/bootstrapItalia/multipleMasksInput/index.d.ts +4 -0
  145. package/lib/cjs/templates/bootstrapItalia/multipleMasksInput/index.js +4 -0
  146. package/lib/cjs/templates/bootstrapItalia/panel/form.ejs.js +61 -0
  147. package/lib/cjs/templates/bootstrapItalia/panel/index.d.ts +4 -0
  148. package/lib/cjs/templates/bootstrapItalia/panel/index.js +4 -0
  149. package/lib/cjs/templates/bootstrapItalia/pdf/form.ejs.js +16 -0
  150. package/lib/cjs/templates/bootstrapItalia/pdf/index.d.ts +4 -0
  151. package/lib/cjs/templates/bootstrapItalia/pdf/index.js +4 -0
  152. package/lib/cjs/templates/bootstrapItalia/pdfBuilder/form.ejs.js +12 -0
  153. package/lib/cjs/templates/bootstrapItalia/pdfBuilder/index.d.ts +4 -0
  154. package/lib/cjs/templates/bootstrapItalia/pdfBuilder/index.js +4 -0
  155. package/lib/cjs/templates/bootstrapItalia/pdfBuilderUpload/form.ejs.js +16 -0
  156. package/lib/cjs/templates/bootstrapItalia/pdfBuilderUpload/index.d.ts +4 -0
  157. package/lib/cjs/templates/bootstrapItalia/pdfBuilderUpload/index.js +4 -0
  158. package/lib/cjs/templates/bootstrapItalia/radio/form.ejs.js +97 -0
  159. package/lib/cjs/templates/bootstrapItalia/radio/html.ejs.js +13 -0
  160. package/lib/cjs/templates/bootstrapItalia/radio/index.d.ts +5 -0
  161. package/lib/cjs/templates/bootstrapItalia/radio/index.js +5 -0
  162. package/lib/cjs/templates/bootstrapItalia/resourceAdd/form.ejs.js +14 -0
  163. package/lib/cjs/templates/bootstrapItalia/resourceAdd/index.d.ts +4 -0
  164. package/lib/cjs/templates/bootstrapItalia/resourceAdd/index.js +4 -0
  165. package/lib/cjs/templates/bootstrapItalia/select/form.ejs.js +49 -0
  166. package/lib/cjs/templates/bootstrapItalia/select/html.ejs.js +16 -0
  167. package/lib/cjs/templates/bootstrapItalia/select/index.d.ts +5 -0
  168. package/lib/cjs/templates/bootstrapItalia/select/index.js +5 -0
  169. package/lib/cjs/templates/bootstrapItalia/selectOption/form.ejs.js +23 -0
  170. package/lib/cjs/templates/bootstrapItalia/selectOption/html.ejs.js +14 -0
  171. package/lib/cjs/templates/bootstrapItalia/selectOption/index.d.ts +5 -0
  172. package/lib/cjs/templates/bootstrapItalia/selectOption/index.js +5 -0
  173. package/lib/cjs/templates/bootstrapItalia/signature/form.ejs.js +33 -0
  174. package/lib/cjs/templates/bootstrapItalia/signature/html.ejs.js +8 -0
  175. package/lib/cjs/templates/bootstrapItalia/signature/index.d.ts +5 -0
  176. package/lib/cjs/templates/bootstrapItalia/signature/index.js +5 -0
  177. package/lib/cjs/templates/bootstrapItalia/survey/form.ejs.js +55 -0
  178. package/lib/cjs/templates/bootstrapItalia/survey/html.ejs.js +25 -0
  179. package/lib/cjs/templates/bootstrapItalia/survey/index.d.ts +5 -0
  180. package/lib/cjs/templates/bootstrapItalia/survey/index.js +5 -0
  181. package/lib/cjs/templates/bootstrapItalia/tab/flat.ejs.js +19 -0
  182. package/lib/cjs/templates/bootstrapItalia/tab/form.ejs.js +41 -0
  183. package/lib/cjs/templates/bootstrapItalia/tab/index.d.ts +5 -0
  184. package/lib/cjs/templates/bootstrapItalia/tab/index.js +5 -0
  185. package/lib/cjs/templates/bootstrapItalia/table/form.ejs.js +51 -0
  186. package/lib/cjs/templates/bootstrapItalia/table/index.d.ts +4 -0
  187. package/lib/cjs/templates/bootstrapItalia/table/index.js +4 -0
  188. package/lib/cjs/templates/bootstrapItalia/tableComponents/form.ejs.js +15 -0
  189. package/lib/cjs/templates/bootstrapItalia/tableComponents/index.d.ts +4 -0
  190. package/lib/cjs/templates/bootstrapItalia/tableComponents/index.js +4 -0
  191. package/lib/cjs/templates/bootstrapItalia/tree/form.ejs.js +35 -0
  192. package/lib/cjs/templates/bootstrapItalia/tree/index.d.ts +4 -0
  193. package/lib/cjs/templates/bootstrapItalia/tree/index.js +4 -0
  194. package/lib/cjs/templates/bootstrapItalia/tree/partials/edit.ejs.js +19 -0
  195. package/lib/cjs/templates/bootstrapItalia/tree/partials/index.d.ts +9 -0
  196. package/lib/cjs/templates/bootstrapItalia/tree/partials/index.js +12 -0
  197. package/lib/cjs/templates/bootstrapItalia/tree/partials/view.ejs.js +37 -0
  198. package/lib/cjs/templates/bootstrapItalia/webform/builder.ejs.js +10 -0
  199. package/lib/cjs/templates/bootstrapItalia/webform/form.ejs.js +12 -0
  200. package/lib/cjs/templates/bootstrapItalia/webform/index.d.ts +5 -0
  201. package/lib/cjs/templates/bootstrapItalia/webform/index.js +5 -0
  202. package/lib/cjs/templates/bootstrapItalia/well/form.ejs.js +12 -0
  203. package/lib/cjs/templates/bootstrapItalia/well/index.d.ts +4 -0
  204. package/lib/cjs/templates/bootstrapItalia/well/index.js +4 -0
  205. package/lib/cjs/templates/bootstrapItalia/wizard/builder.ejs.js +10 -0
  206. package/lib/cjs/templates/bootstrapItalia/wizard/form.ejs.js +45 -0
  207. package/lib/cjs/templates/bootstrapItalia/wizard/index.d.ts +5 -0
  208. package/lib/cjs/templates/bootstrapItalia/wizard/index.js +5 -0
  209. package/lib/cjs/templates/bootstrapItalia/wizardHeader/form.ejs.js +35 -0
  210. package/lib/cjs/templates/bootstrapItalia/wizardHeader/index.d.ts +4 -0
  211. package/lib/cjs/templates/bootstrapItalia/wizardHeader/index.js +4 -0
  212. package/lib/cjs/templates/bootstrapItalia/wizardHeaderClassic/form.ejs.js +29 -0
  213. package/lib/cjs/templates/bootstrapItalia/wizardHeaderClassic/index.d.ts +4 -0
  214. package/lib/cjs/templates/bootstrapItalia/wizardHeaderClassic/index.js +4 -0
  215. package/lib/cjs/templates/bootstrapItalia/wizardHeaderVertical/form.ejs.js +31 -0
  216. package/lib/cjs/templates/bootstrapItalia/wizardHeaderVertical/index.d.ts +4 -0
  217. package/lib/cjs/templates/bootstrapItalia/wizardHeaderVertical/index.js +4 -0
  218. package/lib/cjs/templates/bootstrapItalia/wizardNav/form.ejs.js +67 -0
  219. package/lib/cjs/templates/bootstrapItalia/wizardNav/index.d.ts +4 -0
  220. package/lib/cjs/templates/bootstrapItalia/wizardNav/index.js +4 -0
  221. package/lib/css/styles.css +0 -0
  222. package/lib/mjs/bootstrapItalia.d.ts +232 -0
  223. package/lib/mjs/bootstrapItalia.js +7 -0
  224. package/lib/mjs/templates/bootstrap3/builderSidebar/form.ejs.js +3 -1
  225. package/lib/mjs/templates/bootstrap4/builderComponent/form.ejs.js +14 -6
  226. package/lib/mjs/templates/bootstrap4/checkbox/form.ejs.js +19 -3
  227. package/lib/mjs/templates/bootstrap4/datagrid/form.ejs.js +2 -2
  228. package/lib/mjs/templates/bootstrap5/builderComponent/form.ejs.js +14 -6
  229. package/lib/mjs/templates/bootstrap5/builderSidebar/form.ejs.js +3 -1
  230. package/lib/mjs/templates/bootstrap5/checkbox/form.ejs.js +20 -4
  231. package/lib/mjs/templates/bootstrap5/datagrid/form.ejs.js +2 -2
  232. package/lib/mjs/templates/bootstrapItalia/address/form.ejs.js +58 -0
  233. package/lib/mjs/templates/bootstrapItalia/address/html.ejs.js +13 -0
  234. package/lib/mjs/templates/bootstrapItalia/address/index.d.ts +5 -0
  235. package/lib/mjs/templates/bootstrapItalia/address/index.js +3 -0
  236. package/lib/mjs/templates/bootstrapItalia/alert/form.ejs.js +28 -0
  237. package/lib/mjs/templates/bootstrapItalia/alert/index.d.ts +4 -0
  238. package/lib/mjs/templates/bootstrapItalia/alert/index.js +2 -0
  239. package/lib/mjs/templates/bootstrapItalia/builder/form.ejs.js +9 -0
  240. package/lib/mjs/templates/bootstrapItalia/builder/index.d.ts +4 -0
  241. package/lib/mjs/templates/bootstrapItalia/builder/index.js +2 -0
  242. package/lib/mjs/templates/bootstrapItalia/builderComponent/form.ejs.js +32 -0
  243. package/lib/mjs/templates/bootstrapItalia/builderComponent/index.d.ts +4 -0
  244. package/lib/mjs/templates/bootstrapItalia/builderComponent/index.js +2 -0
  245. package/lib/mjs/templates/bootstrapItalia/builderComponents/form.ejs.js +11 -0
  246. package/lib/mjs/templates/bootstrapItalia/builderComponents/index.d.ts +4 -0
  247. package/lib/mjs/templates/bootstrapItalia/builderComponents/index.js +2 -0
  248. package/lib/mjs/templates/bootstrapItalia/builderEditForm/form.ejs.js +62 -0
  249. package/lib/mjs/templates/bootstrapItalia/builderEditForm/index.d.ts +4 -0
  250. package/lib/mjs/templates/bootstrapItalia/builderEditForm/index.js +2 -0
  251. package/lib/mjs/templates/bootstrapItalia/builderPlaceholder/form.ejs.js +9 -0
  252. package/lib/mjs/templates/bootstrapItalia/builderPlaceholder/index.d.ts +4 -0
  253. package/lib/mjs/templates/bootstrapItalia/builderPlaceholder/index.js +2 -0
  254. package/lib/mjs/templates/bootstrapItalia/builderSidebar/form.ejs.js +18 -0
  255. package/lib/mjs/templates/bootstrapItalia/builderSidebar/index.d.ts +4 -0
  256. package/lib/mjs/templates/bootstrapItalia/builderSidebar/index.js +2 -0
  257. package/lib/mjs/templates/bootstrapItalia/builderSidebarGroup/form.ejs.js +68 -0
  258. package/lib/mjs/templates/bootstrapItalia/builderSidebarGroup/index.d.ts +4 -0
  259. package/lib/mjs/templates/bootstrapItalia/builderSidebarGroup/index.js +2 -0
  260. package/lib/mjs/templates/bootstrapItalia/builderWizard/form.ejs.js +30 -0
  261. package/lib/mjs/templates/bootstrapItalia/builderWizard/index.d.ts +4 -0
  262. package/lib/mjs/templates/bootstrapItalia/builderWizard/index.js +2 -0
  263. package/lib/mjs/templates/bootstrapItalia/button/form.ejs.js +48 -0
  264. package/lib/mjs/templates/bootstrapItalia/button/html.ejs.js +5 -0
  265. package/lib/mjs/templates/bootstrapItalia/button/index.d.ts +5 -0
  266. package/lib/mjs/templates/bootstrapItalia/button/index.js +3 -0
  267. package/lib/mjs/templates/bootstrapItalia/checkbox/form.ejs.js +62 -0
  268. package/lib/mjs/templates/bootstrapItalia/checkbox/html.ejs.js +22 -0
  269. package/lib/mjs/templates/bootstrapItalia/checkbox/index.d.ts +5 -0
  270. package/lib/mjs/templates/bootstrapItalia/checkbox/index.js +3 -0
  271. package/lib/mjs/templates/bootstrapItalia/columns/form.ejs.js +22 -0
  272. package/lib/mjs/templates/bootstrapItalia/columns/index.d.ts +4 -0
  273. package/lib/mjs/templates/bootstrapItalia/columns/index.js +2 -0
  274. package/lib/mjs/templates/bootstrapItalia/component/form.ejs.js +22 -0
  275. package/lib/mjs/templates/bootstrapItalia/component/index.d.ts +4 -0
  276. package/lib/mjs/templates/bootstrapItalia/component/index.js +2 -0
  277. package/lib/mjs/templates/bootstrapItalia/componentModal/form.ejs.js +44 -0
  278. package/lib/mjs/templates/bootstrapItalia/componentModal/index.d.ts +4 -0
  279. package/lib/mjs/templates/bootstrapItalia/componentModal/index.js +2 -0
  280. package/lib/mjs/templates/bootstrapItalia/components/form.ejs.js +7 -0
  281. package/lib/mjs/templates/bootstrapItalia/components/index.d.ts +4 -0
  282. package/lib/mjs/templates/bootstrapItalia/components/index.js +2 -0
  283. package/lib/mjs/templates/bootstrapItalia/container/form.ejs.js +9 -0
  284. package/lib/mjs/templates/bootstrapItalia/container/index.d.ts +4 -0
  285. package/lib/mjs/templates/bootstrapItalia/container/index.js +2 -0
  286. package/lib/mjs/templates/bootstrapItalia/cssClasses.d.ts +17 -0
  287. package/lib/mjs/templates/bootstrapItalia/cssClasses.js +16 -0
  288. package/lib/mjs/templates/bootstrapItalia/datagrid/form.ejs.js +142 -0
  289. package/lib/mjs/templates/bootstrapItalia/datagrid/html.ejs.js +46 -0
  290. package/lib/mjs/templates/bootstrapItalia/datagrid/index.d.ts +5 -0
  291. package/lib/mjs/templates/bootstrapItalia/datagrid/index.js +3 -0
  292. package/lib/mjs/templates/bootstrapItalia/day/form.ejs.js +98 -0
  293. package/lib/mjs/templates/bootstrapItalia/day/index.d.ts +4 -0
  294. package/lib/mjs/templates/bootstrapItalia/day/index.js +2 -0
  295. package/lib/mjs/templates/bootstrapItalia/dialog/form.ejs.js +5 -0
  296. package/lib/mjs/templates/bootstrapItalia/dialog/index.d.ts +4 -0
  297. package/lib/mjs/templates/bootstrapItalia/dialog/index.js +2 -0
  298. package/lib/mjs/templates/bootstrapItalia/editgrid/form.ejs.js +62 -0
  299. package/lib/mjs/templates/bootstrapItalia/editgrid/html.ejs.js +52 -0
  300. package/lib/mjs/templates/bootstrapItalia/editgrid/index.d.ts +5 -0
  301. package/lib/mjs/templates/bootstrapItalia/editgrid/index.js +3 -0
  302. package/lib/mjs/templates/bootstrapItalia/editgridTable/form.ejs.js +66 -0
  303. package/lib/mjs/templates/bootstrapItalia/editgridTable/html.ejs.js +56 -0
  304. package/lib/mjs/templates/bootstrapItalia/editgridTable/index.d.ts +5 -0
  305. package/lib/mjs/templates/bootstrapItalia/editgridTable/index.js +3 -0
  306. package/lib/mjs/templates/bootstrapItalia/errorsList/form.ejs.js +22 -0
  307. package/lib/mjs/templates/bootstrapItalia/errorsList/index.d.ts +4 -0
  308. package/lib/mjs/templates/bootstrapItalia/errorsList/index.js +2 -0
  309. package/lib/mjs/templates/bootstrapItalia/field/align.ejs.js +38 -0
  310. package/lib/mjs/templates/bootstrapItalia/field/form.ejs.js +36 -0
  311. package/lib/mjs/templates/bootstrapItalia/field/index.d.ts +5 -0
  312. package/lib/mjs/templates/bootstrapItalia/field/index.js +3 -0
  313. package/lib/mjs/templates/bootstrapItalia/fieldset/form.ejs.js +28 -0
  314. package/lib/mjs/templates/bootstrapItalia/fieldset/index.d.ts +4 -0
  315. package/lib/mjs/templates/bootstrapItalia/fieldset/index.js +2 -0
  316. package/lib/mjs/templates/bootstrapItalia/file/form.ejs.js +342 -0
  317. package/lib/mjs/templates/bootstrapItalia/file/index.d.ts +4 -0
  318. package/lib/mjs/templates/bootstrapItalia/file/index.js +2 -0
  319. package/lib/mjs/templates/bootstrapItalia/html/form.ejs.js +25 -0
  320. package/lib/mjs/templates/bootstrapItalia/html/index.d.ts +4 -0
  321. package/lib/mjs/templates/bootstrapItalia/html/index.js +2 -0
  322. package/lib/mjs/templates/bootstrapItalia/icon/form.ejs.js +13 -0
  323. package/lib/mjs/templates/bootstrapItalia/icon/index.d.ts +4 -0
  324. package/lib/mjs/templates/bootstrapItalia/icon/index.js +2 -0
  325. package/lib/mjs/templates/bootstrapItalia/iconClass.d.ts +2 -0
  326. package/lib/mjs/templates/bootstrapItalia/iconClass.js +135 -0
  327. package/lib/mjs/templates/bootstrapItalia/index.d.ts +227 -0
  328. package/lib/mjs/templates/bootstrapItalia/index.js +148 -0
  329. package/lib/mjs/templates/bootstrapItalia/input/form.ejs.js +126 -0
  330. package/lib/mjs/templates/bootstrapItalia/input/html.ejs.js +13 -0
  331. package/lib/mjs/templates/bootstrapItalia/input/index.d.ts +5 -0
  332. package/lib/mjs/templates/bootstrapItalia/input/index.js +3 -0
  333. package/lib/mjs/templates/bootstrapItalia/label/form.ejs.js +38 -0
  334. package/lib/mjs/templates/bootstrapItalia/label/index.d.ts +4 -0
  335. package/lib/mjs/templates/bootstrapItalia/label/index.js +2 -0
  336. package/lib/mjs/templates/bootstrapItalia/loader/form.ejs.js +5 -0
  337. package/lib/mjs/templates/bootstrapItalia/loader/index.d.ts +4 -0
  338. package/lib/mjs/templates/bootstrapItalia/loader/index.js +2 -0
  339. package/lib/mjs/templates/bootstrapItalia/loading/form.ejs.js +5 -0
  340. package/lib/mjs/templates/bootstrapItalia/loading/index.d.ts +4 -0
  341. package/lib/mjs/templates/bootstrapItalia/loading/index.js +2 -0
  342. package/lib/mjs/templates/bootstrapItalia/map/form.ejs.js +7 -0
  343. package/lib/mjs/templates/bootstrapItalia/map/index.d.ts +4 -0
  344. package/lib/mjs/templates/bootstrapItalia/map/index.js +2 -0
  345. package/lib/mjs/templates/bootstrapItalia/message/form.ejs.js +13 -0
  346. package/lib/mjs/templates/bootstrapItalia/message/index.d.ts +4 -0
  347. package/lib/mjs/templates/bootstrapItalia/message/index.js +2 -0
  348. package/lib/mjs/templates/bootstrapItalia/modalPreview/form.ejs.js +21 -0
  349. package/lib/mjs/templates/bootstrapItalia/modalPreview/index.d.ts +4 -0
  350. package/lib/mjs/templates/bootstrapItalia/modalPreview/index.js +2 -0
  351. package/lib/mjs/templates/bootstrapItalia/modaldialog/form.ejs.js +7 -0
  352. package/lib/mjs/templates/bootstrapItalia/modaldialog/index.d.ts +4 -0
  353. package/lib/mjs/templates/bootstrapItalia/modaldialog/index.js +2 -0
  354. package/lib/mjs/templates/bootstrapItalia/modaledit/form.ejs.js +9 -0
  355. package/lib/mjs/templates/bootstrapItalia/modaledit/index.d.ts +4 -0
  356. package/lib/mjs/templates/bootstrapItalia/modaledit/index.js +2 -0
  357. package/lib/mjs/templates/bootstrapItalia/multiValueRow/form.ejs.js +14 -0
  358. package/lib/mjs/templates/bootstrapItalia/multiValueRow/index.d.ts +4 -0
  359. package/lib/mjs/templates/bootstrapItalia/multiValueRow/index.js +2 -0
  360. package/lib/mjs/templates/bootstrapItalia/multiValueTable/form.ejs.js +16 -0
  361. package/lib/mjs/templates/bootstrapItalia/multiValueTable/index.d.ts +4 -0
  362. package/lib/mjs/templates/bootstrapItalia/multiValueTable/index.js +2 -0
  363. package/lib/mjs/templates/bootstrapItalia/multipleMasksInput/form.ejs.js +30 -0
  364. package/lib/mjs/templates/bootstrapItalia/multipleMasksInput/index.d.ts +4 -0
  365. package/lib/mjs/templates/bootstrapItalia/multipleMasksInput/index.js +2 -0
  366. package/lib/mjs/templates/bootstrapItalia/panel/form.ejs.js +58 -0
  367. package/lib/mjs/templates/bootstrapItalia/panel/index.d.ts +4 -0
  368. package/lib/mjs/templates/bootstrapItalia/panel/index.js +2 -0
  369. package/lib/mjs/templates/bootstrapItalia/pdf/form.ejs.js +13 -0
  370. package/lib/mjs/templates/bootstrapItalia/pdf/index.d.ts +4 -0
  371. package/lib/mjs/templates/bootstrapItalia/pdf/index.js +2 -0
  372. package/lib/mjs/templates/bootstrapItalia/pdfBuilder/form.ejs.js +9 -0
  373. package/lib/mjs/templates/bootstrapItalia/pdfBuilder/index.d.ts +4 -0
  374. package/lib/mjs/templates/bootstrapItalia/pdfBuilder/index.js +2 -0
  375. package/lib/mjs/templates/bootstrapItalia/pdfBuilderUpload/form.ejs.js +13 -0
  376. package/lib/mjs/templates/bootstrapItalia/pdfBuilderUpload/index.d.ts +4 -0
  377. package/lib/mjs/templates/bootstrapItalia/pdfBuilderUpload/index.js +2 -0
  378. package/lib/mjs/templates/bootstrapItalia/radio/form.ejs.js +94 -0
  379. package/lib/mjs/templates/bootstrapItalia/radio/html.ejs.js +10 -0
  380. package/lib/mjs/templates/bootstrapItalia/radio/index.d.ts +5 -0
  381. package/lib/mjs/templates/bootstrapItalia/radio/index.js +3 -0
  382. package/lib/mjs/templates/bootstrapItalia/resourceAdd/form.ejs.js +11 -0
  383. package/lib/mjs/templates/bootstrapItalia/resourceAdd/index.d.ts +4 -0
  384. package/lib/mjs/templates/bootstrapItalia/resourceAdd/index.js +2 -0
  385. package/lib/mjs/templates/bootstrapItalia/select/form.ejs.js +46 -0
  386. package/lib/mjs/templates/bootstrapItalia/select/html.ejs.js +13 -0
  387. package/lib/mjs/templates/bootstrapItalia/select/index.d.ts +5 -0
  388. package/lib/mjs/templates/bootstrapItalia/select/index.js +3 -0
  389. package/lib/mjs/templates/bootstrapItalia/selectOption/form.ejs.js +20 -0
  390. package/lib/mjs/templates/bootstrapItalia/selectOption/html.ejs.js +11 -0
  391. package/lib/mjs/templates/bootstrapItalia/selectOption/index.d.ts +5 -0
  392. package/lib/mjs/templates/bootstrapItalia/selectOption/index.js +3 -0
  393. package/lib/mjs/templates/bootstrapItalia/signature/form.ejs.js +30 -0
  394. package/lib/mjs/templates/bootstrapItalia/signature/html.ejs.js +5 -0
  395. package/lib/mjs/templates/bootstrapItalia/signature/index.d.ts +5 -0
  396. package/lib/mjs/templates/bootstrapItalia/signature/index.js +3 -0
  397. package/lib/mjs/templates/bootstrapItalia/survey/form.ejs.js +52 -0
  398. package/lib/mjs/templates/bootstrapItalia/survey/html.ejs.js +22 -0
  399. package/lib/mjs/templates/bootstrapItalia/survey/index.d.ts +5 -0
  400. package/lib/mjs/templates/bootstrapItalia/survey/index.js +3 -0
  401. package/lib/mjs/templates/bootstrapItalia/tab/flat.ejs.js +16 -0
  402. package/lib/mjs/templates/bootstrapItalia/tab/form.ejs.js +38 -0
  403. package/lib/mjs/templates/bootstrapItalia/tab/index.d.ts +5 -0
  404. package/lib/mjs/templates/bootstrapItalia/tab/index.js +3 -0
  405. package/lib/mjs/templates/bootstrapItalia/table/form.ejs.js +48 -0
  406. package/lib/mjs/templates/bootstrapItalia/table/index.d.ts +4 -0
  407. package/lib/mjs/templates/bootstrapItalia/table/index.js +2 -0
  408. package/lib/mjs/templates/bootstrapItalia/tableComponents/form.ejs.js +12 -0
  409. package/lib/mjs/templates/bootstrapItalia/tableComponents/index.d.ts +4 -0
  410. package/lib/mjs/templates/bootstrapItalia/tableComponents/index.js +2 -0
  411. package/lib/mjs/templates/bootstrapItalia/tree/form.ejs.js +32 -0
  412. package/lib/mjs/templates/bootstrapItalia/tree/index.d.ts +4 -0
  413. package/lib/mjs/templates/bootstrapItalia/tree/index.js +2 -0
  414. package/lib/mjs/templates/bootstrapItalia/tree/partials/edit.ejs.js +16 -0
  415. package/lib/mjs/templates/bootstrapItalia/tree/partials/index.d.ts +9 -0
  416. package/lib/mjs/templates/bootstrapItalia/tree/partials/index.js +10 -0
  417. package/lib/mjs/templates/bootstrapItalia/tree/partials/view.ejs.js +34 -0
  418. package/lib/mjs/templates/bootstrapItalia/webform/builder.ejs.js +7 -0
  419. package/lib/mjs/templates/bootstrapItalia/webform/form.ejs.js +9 -0
  420. package/lib/mjs/templates/bootstrapItalia/webform/index.d.ts +5 -0
  421. package/lib/mjs/templates/bootstrapItalia/webform/index.js +3 -0
  422. package/lib/mjs/templates/bootstrapItalia/well/form.ejs.js +9 -0
  423. package/lib/mjs/templates/bootstrapItalia/well/index.d.ts +4 -0
  424. package/lib/mjs/templates/bootstrapItalia/well/index.js +2 -0
  425. package/lib/mjs/templates/bootstrapItalia/wizard/builder.ejs.js +7 -0
  426. package/lib/mjs/templates/bootstrapItalia/wizard/form.ejs.js +42 -0
  427. package/lib/mjs/templates/bootstrapItalia/wizard/index.d.ts +5 -0
  428. package/lib/mjs/templates/bootstrapItalia/wizard/index.js +3 -0
  429. package/lib/mjs/templates/bootstrapItalia/wizardHeader/form.ejs.js +32 -0
  430. package/lib/mjs/templates/bootstrapItalia/wizardHeader/index.d.ts +4 -0
  431. package/lib/mjs/templates/bootstrapItalia/wizardHeader/index.js +2 -0
  432. package/lib/mjs/templates/bootstrapItalia/wizardHeaderClassic/form.ejs.js +26 -0
  433. package/lib/mjs/templates/bootstrapItalia/wizardHeaderClassic/index.d.ts +4 -0
  434. package/lib/mjs/templates/bootstrapItalia/wizardHeaderClassic/index.js +2 -0
  435. package/lib/mjs/templates/bootstrapItalia/wizardHeaderVertical/form.ejs.js +28 -0
  436. package/lib/mjs/templates/bootstrapItalia/wizardHeaderVertical/index.d.ts +4 -0
  437. package/lib/mjs/templates/bootstrapItalia/wizardHeaderVertical/index.js +2 -0
  438. package/lib/mjs/templates/bootstrapItalia/wizardNav/form.ejs.js +64 -0
  439. package/lib/mjs/templates/bootstrapItalia/wizardNav/index.d.ts +4 -0
  440. package/lib/mjs/templates/bootstrapItalia/wizardNav/index.js +2 -0
  441. package/lib/sass/styles.scss +0 -0
  442. package/package.json +1 -1
  443. package/dist/bootstrap3.js +0 -1
  444. package/dist/bootstrap4.js +0 -1
  445. package/dist/bootstrap5.js +0 -1
@@ -0,0 +1,66 @@
1
+ export default function(ctx) {
2
+ var __t, __p = '', __j = Array.prototype.join;
3
+ function print() { __p += __j.call(arguments, '') }
4
+ __p += '<div class="editgrid-table-container">\n <div class="table-responsive">\n <table class="table\n ' +
5
+ ((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +
6
+ '\n ' +
7
+ ((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +
8
+ '\n ' +
9
+ ((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +
10
+ '\n ' +
11
+ ((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +
12
+ '\n ">\n ';
13
+ if (ctx.header) { ;
14
+ __p += '\n <thead class="editgrid-table-head">\n ' +
15
+ ((__t = (ctx.header)) == null ? '' : __t) +
16
+ '\n </thead>\n ';
17
+ } ;
18
+ __p += '\n <tbody class="editgrid-table-body">\n ';
19
+ ctx.rows.forEach(function(row, rowIndex) { ;
20
+ __p += '\n <tr ref="' +
21
+ ((__t = (ctx.ref.row)) == null ? '' : __t) +
22
+ '">\n ' +
23
+ ((__t = (row)) == null ? '' : __t) +
24
+ '\n ';
25
+ if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;
26
+ __p += '\n <td class="editgrid-table-column">\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="' +
27
+ ((__t = (ctx.ref.saveRow)) == null ? '' : __t) +
28
+ '">' +
29
+ ((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +
30
+ '</button>\n ';
31
+ if (ctx.component.removeRow) { ;
32
+ __p += '\n <button class="btn btn-danger" ref="' +
33
+ ((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +
34
+ '">' +
35
+ ((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +
36
+ '</button>\n ';
37
+ } ;
38
+ __p += '\n </div>\n </td>\n ';
39
+ } ;
40
+ __p += '\n ';
41
+ if (ctx.errors[rowIndex]) { ;
42
+ __p += '\n <td class="editgrid-table-column">\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n ' +
43
+ ((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +
44
+ '\n </div>\n </div>\n </td>\n ';
45
+ } ;
46
+ __p += '\n </tr>\n ';
47
+ }) ;
48
+ __p += '\n </tbody>\n ';
49
+ if (ctx.footer) { ;
50
+ __p += '\n <tfoot>\n <tr>\n ' +
51
+ ((__t = (ctx.footer)) == null ? '' : __t) +
52
+ '\n </tr>\n <tfoot>\n ';
53
+ } ;
54
+ __p += '\n </table>\n </div>\n</div>\n';
55
+ if (!ctx.readOnly && ctx.hasAddButton) { ;
56
+ __p += '\n<button class="btn btn-primary" ref="' +
57
+ ((__t = (ctx.ref.addRow)) == null ? '' : __t) +
58
+ '">\n <i class="' +
59
+ ((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +
60
+ '"></i>\n ' +
61
+ ((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +
62
+ '\n</button>\n';
63
+ } ;
64
+ __p += '\n';
65
+ return __p
66
+ }
@@ -0,0 +1,56 @@
1
+ export default function(ctx) {
2
+ var __t, __p = '', __j = Array.prototype.join;
3
+ function print() { __p += __j.call(arguments, '') }
4
+ __p += '<div class="editgrid-table-container">\n <div class="table-responsive">\n <table class="table\n ' +
5
+ ((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +
6
+ '\n ' +
7
+ ((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +
8
+ '\n ' +
9
+ ((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +
10
+ '\n ' +
11
+ ((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +
12
+ '\n ">\n ';
13
+ if (ctx.header) { ;
14
+ __p += '\n <thead class="editgrid-table-head">\n ' +
15
+ ((__t = (ctx.header)) == null ? '' : __t) +
16
+ '\n </thead>\n ';
17
+ } ;
18
+ __p += '\n <tbody class="editgrid-table-body">\n ';
19
+ ctx.rows.forEach(function(row, rowIndex) { ;
20
+ __p += '\n <tr ref="' +
21
+ ((__t = (ctx.ref.row)) == null ? '' : __t) +
22
+ '">\n ' +
23
+ ((__t = (row)) == null ? '' : __t) +
24
+ '\n ';
25
+ if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;
26
+ __p += '\n <td class="editgrid-table-column">\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="' +
27
+ ((__t = (ctx.ref.saveRow)) == null ? '' : __t) +
28
+ '">' +
29
+ ((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +
30
+ '</button>\n ';
31
+ if (ctx.component.removeRow) { ;
32
+ __p += '\n <button class="btn btn-danger" ref="' +
33
+ ((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +
34
+ '">' +
35
+ ((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +
36
+ '</button>\n ';
37
+ } ;
38
+ __p += '\n </div>\n </td>\n ';
39
+ } ;
40
+ __p += '\n ';
41
+ if (ctx.errors[rowIndex]) { ;
42
+ __p += '\n <td class="editgrid-table-column">\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n ' +
43
+ ((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +
44
+ '\n </div>\n </div>\n </td>\n ';
45
+ } ;
46
+ __p += '\n </tr>\n ';
47
+ }) ;
48
+ __p += '\n </tbody>\n ';
49
+ if (ctx.footer) { ;
50
+ __p += '\n <tfoot>\n <tr>\n ' +
51
+ ((__t = (ctx.footer)) == null ? '' : __t) +
52
+ '\n </tr>\n <tfoot>\n ';
53
+ } ;
54
+ __p += '\n </table>\n </div>\n</div>\n';
55
+ return __p
56
+ }
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ form: string;
3
+ html: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import form from './form.ejs';
2
+ import html from './html.ejs';
3
+ export default { form, html };
@@ -0,0 +1,22 @@
1
+ export default function(ctx) {
2
+ var __t, __p = '', __j = Array.prototype.join;
3
+ function print() { __p += __j.call(arguments, '') }
4
+ __p += '<p>' +
5
+ ((__t = (ctx.t('error'))) == null ? '' : __t) +
6
+ '\n ';
7
+ if (ctx.options.vpat) { ;
8
+ __p += '\n <span ref="errorTooltip" class="' +
9
+ ((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
10
+ '" tabindex="0"></span>\n ';
11
+ } ;
12
+ __p += '\n</p>\n<ul>\n ';
13
+ ctx.errors.forEach(function(err) { ;
14
+ __p += '\n <li>\n <span\n data-component-key = "' +
15
+ ((__t = (err.keyOrPath)) == null ? '' : __t) +
16
+ '"\n ref = "errorRef"\n tabIndex = "0"\n role="link"\n >\n ' +
17
+ ((__t = (err.message)) == null ? '' : __t) +
18
+ '\n </span>\n </li>\n ';
19
+ }) ;
20
+ __p += '\n</ul>\n';
21
+ return __p
22
+ }
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import form from './form.ejs';
2
+ export default { form };
@@ -0,0 +1,38 @@
1
+ export default function(ctx) {
2
+ var __t, __p = '', __j = Array.prototype.join;
3
+ function print() { __p += __j.call(arguments, '') }
4
+ __p += '<div class="field-wrapper flex-fill\n ' +
5
+ ((__t = (ctx.isRightPosition ? 'field-wrapper--reverse' : '')) == null ? '' : __t) +
6
+ '">\n ';
7
+ if (!ctx.label.hidden) { ;
8
+ __p += '\n <div class="field-label\n ' +
9
+ ((__t = (ctx.isRightAlign ? 'field-label--right' : '')) == null ? '' : __t) +
10
+ '"\n style="' +
11
+ ((__t = (ctx.labelStyles)) == null ? '' : __t) +
12
+ '">\n ' +
13
+ ((__t = ( ctx.labelMarkup )) == null ? '' : __t) +
14
+ '\n </div>\n ';
15
+ } ;
16
+ __p += '\n\n ';
17
+ if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { ;
18
+ __p += '\n <div class="field-label\n ' +
19
+ ((__t = (ctx.isRightAlign ? 'field-label--right' : '')) == null ? '' : __t) +
20
+ '"\n style="' +
21
+ ((__t = (ctx.labelStyles)) == null ? '' : __t) +
22
+ '">\n <label class="' +
23
+ ((__t = (ctx.label.className)) == null ? '' : __t) +
24
+ '"></label>\n </div>\n ';
25
+ } ;
26
+ __p += '\n\n <div class="field-content" style="' +
27
+ ((__t = (ctx.contentStyles)) == null ? '' : __t) +
28
+ '">\n ' +
29
+ ((__t = (ctx.element)) == null ? '' : __t) +
30
+ '\n </div>\n</div>\n\n';
31
+ if (ctx.component.description) { ;
32
+ __p += '\n <div class="form-text text-muted">' +
33
+ ((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) +
34
+ '</div>\n';
35
+ } ;
36
+ __p += '\n';
37
+ return __p
38
+ }
@@ -0,0 +1,36 @@
1
+ export default function(ctx) {
2
+ var __t, __p = '', __j = Array.prototype.join;
3
+ function print() { __p += __j.call(arguments, '') }
4
+
5
+ if (!ctx.label.hidden && ctx.label.labelPosition !== 'bottom') { ;
6
+ __p += '\n ' +
7
+ ((__t = ( ctx.labelMarkup )) == null ? '' : __t) +
8
+ '\n';
9
+ } ;
10
+ __p += '\n\n';
11
+ if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { ;
12
+ __p += '\n <label class="' +
13
+ ((__t = (ctx.label.className)) == null ? '' : __t) +
14
+ '"></label>\n';
15
+ } ;
16
+ __p += '\n\n' +
17
+ ((__t = (ctx.element)) == null ? '' : __t) +
18
+ '\n\n';
19
+ if (!ctx.label.hidden && ctx.label.labelPosition === 'bottom') { ;
20
+ __p += '\n ' +
21
+ ((__t = ( ctx.labelMarkup )) == null ? '' : __t) +
22
+ '\n';
23
+ } ;
24
+ __p += '\n';
25
+ if (ctx.component.description) { ;
26
+ __p += '\n <div id="d-' +
27
+ ((__t = (ctx.instance.id)) == null ? '' : __t) +
28
+ '-' +
29
+ ((__t = (ctx.component.key)) == null ? '' : __t) +
30
+ '" class="form-text text-muted">' +
31
+ ((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) +
32
+ '</div>\n';
33
+ } ;
34
+ __p += '\n';
35
+ return __p
36
+ }
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ form: string;
3
+ align: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import form from './form.ejs';
2
+ import align from './align.ejs';
3
+ export default { form, align };
@@ -0,0 +1,28 @@
1
+ export default function(ctx) {
2
+ var __t, __p = '', __j = Array.prototype.join;
3
+ function print() { __p += __j.call(arguments, '') }
4
+ __p += '<fieldset class="it-page-section">\n <div class="cmp-card mb-40 mt-2">\n <div class="card has-bkg-grey shadow-sm p-big">\n ';
5
+ if (ctx.component.legend) { ;
6
+ __p += '\n <div ref="header" class="' +
7
+ ((__t = (ctx.component.collapsible ? 'formio-clickable card-header border-0 p-0 mb-lg-30' : 'card-header border-0 p-0 mb-lg-30')) == null ? '' : __t) +
8
+ '">\n <div class="d-flex">\n <h2 class="title-xxlarge mb-1">\n ' +
9
+ ((__t = (ctx.t(ctx.component.legend, { _userInput: true }))) == null ? '' : __t) +
10
+ '\n </h2>\n </div>\n ';
11
+ if (ctx.component.tooltip) { ;
12
+ __p += '\n <p class="subtitle-small mb-0">' +
13
+ ((__t = (ctx.component.tooltip)) == null ? '' : __t) +
14
+ '</p>\n ';
15
+ } ;
16
+ __p += '\n </div>\n ';
17
+ } ;
18
+ __p += '\n ';
19
+ if (!ctx.collapsed) { ;
20
+ __p += '\n <div class="card p-3 p-lg-4 fieldset-body" ref="' +
21
+ ((__t = (ctx.nestedKey)) == null ? '' : __t) +
22
+ '">\n ' +
23
+ ((__t = (ctx.children)) == null ? '' : __t) +
24
+ '\n </div>\n ';
25
+ } ;
26
+ __p += '\n </div>\n </div>\n</fieldset>\n';
27
+ return __p
28
+ }
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import form from './form.ejs';
2
+ export default { form };
@@ -0,0 +1,342 @@
1
+ export default function(ctx) {
2
+ var __t, __p = '', __j = Array.prototype.join;
3
+ function print() { __p += __j.call(arguments, '') }
4
+
5
+ if (ctx.options.vpat) { ;
6
+ __p += '\n <span tabindex="-1" class="visually-hidden" id="invisible-' +
7
+ ((__t = (ctx.instance.id)) == null ? '' : __t) +
8
+ '-' +
9
+ ((__t = (ctx.component.key)) == null ? '' : __t) +
10
+ '"></span>\n';
11
+ } ;
12
+ __p += '\n';
13
+ if (!ctx.self.imageUpload) { console.log(ctx) ;
14
+ __p += '\n ';
15
+ if (ctx.options.vpat) { ;
16
+ __p += '\n <div>' +
17
+ ((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)) == null ? '' : __t) +
18
+ '</div>\n ';
19
+ } ;
20
+ __p += '\n <ul class="list-group list-group-striped">\n <li class="list-group-item list-group-header hidden-xs hidden-sm">\n <div class="row">\n <div class="col-md-' +
21
+ ((__t = (ctx.columns.name)) == null ? '' : __t) +
22
+ '"><strong>' +
23
+ ((__t = (ctx.t('File Name'))) == null ? '' : __t) +
24
+ '</strong></div>\n <div class="col-md-' +
25
+ ((__t = (ctx.columns.size)) == null ? '' : __t) +
26
+ '"><strong>' +
27
+ ((__t = (ctx.t('Size'))) == null ? '' : __t) +
28
+ '</strong></div>\n ';
29
+ if (ctx.self.hasTypes) { ;
30
+ __p += '\n <div class="col-md-' +
31
+ ((__t = (ctx.columns.type)) == null ? '' : __t) +
32
+ '"><strong>' +
33
+ ((__t = (ctx.t('Type'))) == null ? '' : __t) +
34
+ '</strong></div>\n ';
35
+ } ;
36
+ __p += '\n <div class="col-md-' +
37
+ ((__t = (ctx.columns.actions)) == null ? '' : __t) +
38
+ ' justify-center">\n ';
39
+ if (ctx.showSyncButton) { ;
40
+ __p += '\n <button\n class="btn btn-primary btn-sm"\n ref="syncNow"\n ';
41
+ if (ctx.disabled || ctx.isSyncing) { ;
42
+ __p += 'disabled=true';
43
+ } ;
44
+ __p += '\n >' +
45
+ ((__t = (ctx.isSyncing ? ctx.t('Syncing...') : ctx.t('Sync Now'))) == null ? '' : __t) +
46
+ '</button>\n ';
47
+ } ;
48
+ __p += '\n </div>\n </div>\n </li>\n ';
49
+ ctx.files.forEach(function(file) { ;
50
+ __p += '\n <li class="list-group-item">\n <div class="row">\n <div class="col-md-' +
51
+ ((__t = (ctx.columns.name)) == null ? '' : __t) +
52
+ '">\n ';
53
+ if (ctx.component.uploadOnly) { ;
54
+ __p += '\n ' +
55
+ ((__t = (file.originalName || file.name)) == null ? '' : __t) +
56
+ '\n ';
57
+ } else { ;
58
+ __p += '\n <a href="' +
59
+ ((__t = (file.url || '#')) == null ? '' : __t) +
60
+ '" target="_blank" ref="fileLink">\n <span class="visually-hidden">' +
61
+ ((__t = (ctx.t('Press to open '))) == null ? '' : __t) +
62
+ '</span>' +
63
+ ((__t = (file.originalName || file.name)) == null ? '' : __t) +
64
+ '\n </a>\n ';
65
+ } ;
66
+ __p += '\n </div>\n <div class="col-md-' +
67
+ ((__t = (ctx.columns.size)) == null ? '' : __t) +
68
+ '">' +
69
+ ((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
70
+ '</div>\n ';
71
+ if (ctx.self.hasTypes && !ctx.disabled) { ;
72
+ __p += '\n <div class="col-md-' +
73
+ ((__t = (ctx.columns.type)) == null ? '' : __t) +
74
+ '">\n <select class="file-type" ref="fileType">\n ';
75
+ ctx.component.fileTypes.map(function(type) { ;
76
+ __p += '\n <option class="test" value="' +
77
+ ((__t = ( type.value )) == null ? '' : __t) +
78
+ '" ';
79
+ if (type.label === file.fileType) { ;
80
+ __p += 'selected="selected"';
81
+ } ;
82
+ __p += '>' +
83
+ ((__t = (ctx.t(type.label))) == null ? '' : __t) +
84
+ '</option>\n ';
85
+ }); ;
86
+ __p += '\n </select>\n </div>\n ';
87
+ } ;
88
+ __p += '\n ';
89
+ if (ctx.self.hasTypes && ctx.disabled) { ;
90
+ __p += '\n <div class="col-md-' +
91
+ ((__t = (ctx.columns.type)) == null ? '' : __t) +
92
+ '">' +
93
+ ((__t = (file.fileType)) == null ? '' : __t) +
94
+ '</div>\n ';
95
+ } ;
96
+ __p += '\n ';
97
+ if (!ctx.disabled) { ;
98
+ __p += '\n <div class="col-md-' +
99
+ ((__t = (ctx.columns.actions)) == null ? '' : __t) +
100
+ ' justify-center"><i tabindex="0" class="' +
101
+ ((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
102
+ '" ref="removeLink"></i></div>\n ';
103
+ } ;
104
+ __p += '\n </div>\n </li>\n ';
105
+ }) ;
106
+ __p += '\n ';
107
+ ctx.filesToDelete.forEach(function(file) { ;
108
+ __p += '\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-' +
109
+ ((__t = (ctx.columns.name)) == null ? '' : __t) +
110
+ '">\n <div>' +
111
+ ((__t = (file.originalName || file.name)) == null ? '' : __t) +
112
+ '</div>\n <div class="status text-' +
113
+ ((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +
114
+ '">' +
115
+ ((__t = (ctx.t(file.message))) == null ? '' : __t) +
116
+ '</div>\n </div>\n <div class="col-md-' +
117
+ ((__t = (ctx.columns.size)) == null ? '' : __t) +
118
+ '">' +
119
+ ((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
120
+ '</div>\n ';
121
+ if (ctx.self.hasTypes) { ;
122
+ __p += '\n <div class="col-md-' +
123
+ ((__t = (ctx.columns.type)) == null ? '' : __t) +
124
+ '">\n <select class="file-type" ref="fileType">\n ';
125
+ ctx.component.fileTypes.map(function(type) { ;
126
+ __p += '\n <option class="test" value="' +
127
+ ((__t = ( type.value )) == null ? '' : __t) +
128
+ '" ';
129
+ if (type.label === file.fileType) { ;
130
+ __p += 'selected="selected"';
131
+ } ;
132
+ __p += '>' +
133
+ ((__t = (ctx.t(type.label))) == null ? '' : __t) +
134
+ '</option>\n ';
135
+ }); ;
136
+ __p += '\n </select>\n </div>\n ';
137
+ } ;
138
+ __p += '\n ';
139
+ if (!ctx.isSyncing && file.status !== 'success') { ;
140
+ __p += '\n <div class="col-md-' +
141
+ ((__t = (ctx.columns.actions)) == null ? '' : __t) +
142
+ ' justify-center"><i tabindex="0" class="' +
143
+ ((__t = (ctx.iconClass('arrow-counterclockwise'))) == null ? '' : __t) +
144
+ '" ref="restoreFile"></i></div>\n ';
145
+ } ;
146
+ __p += '\n </div>\n </li>\n ';
147
+ }) ;
148
+ __p += '\n ';
149
+ ctx.filesToUpload.forEach(function(file) { ;
150
+ __p += '\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-' +
151
+ ((__t = (ctx.columns.name)) == null ? '' : __t) +
152
+ '">\n <div>' +
153
+ ((__t = (file.originalName || file.name)) == null ? '' : __t) +
154
+ '</div>\n ';
155
+ if (file.status === 'progress') { ;
156
+ __p += '\n <div class="status progress">\n <div id="' +
157
+ ((__t = (file.id)) == null ? '' : __t) +
158
+ '" class="progress-bar" role="progressbar" aria-valuenow="' +
159
+ ((__t = (file.progress)) == null ? '' : __t) +
160
+ '" aria-valuemin="0" aria-valuemax="100" style="width: ' +
161
+ ((__t = (file.progress)) == null ? '' : __t) +
162
+ '%" ref="progress">\n <span class="visually-hidden">' +
163
+ ((__t = (file.progress)) == null ? '' : __t) +
164
+ '% ' +
165
+ ((__t = (ctx.t('Complete'))) == null ? '' : __t) +
166
+ '</span>\n </div>\n </div>\n ';
167
+ } else { ;
168
+ __p += '\n <div class="status text-' +
169
+ ((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +
170
+ '">' +
171
+ ((__t = (ctx.t(file.message))) == null ? '' : __t) +
172
+ '</div>\n ';
173
+ } ;
174
+ __p += '\n </div>\n <div class="col-md-' +
175
+ ((__t = (ctx.columns.size)) == null ? '' : __t) +
176
+ '">' +
177
+ ((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
178
+ '</div>\n ';
179
+ if (ctx.self.hasTypes) { ;
180
+ __p += '\n <div class="col-md-' +
181
+ ((__t = (ctx.columns.type)) == null ? '' : __t) +
182
+ '">\n <select class="file-type" ref="fileType">\n ';
183
+ ctx.component.fileTypes.map(function(type) { ;
184
+ __p += '\n <option class="test" value="' +
185
+ ((__t = ( type.value )) == null ? '' : __t) +
186
+ '" ';
187
+ if (type.label === file.fileType) { ;
188
+ __p += 'selected="selected"';
189
+ } ;
190
+ __p += '>' +
191
+ ((__t = (ctx.t(type.label))) == null ? '' : __t) +
192
+ '</option>\n ';
193
+ }); ;
194
+ __p += '\n </select>\n </div>\n ';
195
+ } ;
196
+ __p += '\n ';
197
+ if (file.status === 'progress') { ;
198
+ __p += '\n <div class="col-md-' +
199
+ ((__t = (ctx.columns.actions)) == null ? '' : __t) +
200
+ ' justify-center"><i id="abort-' +
201
+ ((__t = (file.id)) == null ? '' : __t) +
202
+ '" tabindex="0" class="' +
203
+ ((__t = (ctx.iconClass('ban'))) == null ? '' : __t) +
204
+ '"></i></div>\n ';
205
+ } else if (!ctx.isSyncing && file.status !== 'success') { ;
206
+ __p += '\n <div class="col-md-' +
207
+ ((__t = (ctx.columns.actions)) == null ? '' : __t) +
208
+ ' justify-center"><i tabindex="0" class="' +
209
+ ((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
210
+ '" ref="fileToSyncRemove"></i></div>\n ';
211
+ } ;
212
+ __p += '\n </div>\n </li>\n ';
213
+ }) ;
214
+ __p += '\n </ul>\n';
215
+ } else { ;
216
+ __p += '\n <div>\n ';
217
+ ctx.files.forEach(function(file) { ;
218
+ __p += '\n <div>\n <span>\n <img ref="fileImage" src="" alt="' +
219
+ ((__t = (file.originalName || file.name)) == null ? '' : __t) +
220
+ '" style="width:' +
221
+ ((__t = (ctx.component.imageSize)) == null ? '' : __t) +
222
+ 'px">\n ';
223
+ if (!ctx.disabled) { ;
224
+ __p += '\n <i tabindex="0" class="' +
225
+ ((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
226
+ '" ref="removeLink"></i>\n ';
227
+ } ;
228
+ __p += '\n </span>\n </div>\n ';
229
+ }) ;
230
+ __p += '\n </div>\n';
231
+ } ;
232
+ __p += '\n';
233
+ if (!ctx.disabled && (ctx.component.multiple || !ctx.files.length)) { ;
234
+ __p += '\n ';
235
+ if (ctx.self.useWebViewCamera) { ;
236
+ __p += '\n <div class="fileSelector">\n <button class="btn btn-primary" ref="galleryButton"><i class="' +
237
+ ((__t = (ctx.iconClass('book'))) == null ? '' : __t) +
238
+ '"></i> ' +
239
+ ((__t = (ctx.t('Gallery'))) == null ? '' : __t) +
240
+ '</button>\n <button class="btn btn-primary" ref="cameraButton"><i class="' +
241
+ ((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
242
+ '"></i> ' +
243
+ ((__t = (ctx.t('Camera'))) == null ? '' : __t) +
244
+ '</button>\n </div>\n ';
245
+ } else if (!ctx.self.cameraMode) { ;
246
+ __p += '\n <div class="fileSelector" ref="fileDrop" ' +
247
+ ((__t = (ctx.fileDropHidden ?'hidden' : '')) == null ? '' : __t) +
248
+ '>\n ';
249
+ if (!ctx.self.isMobile.any) { ;
250
+ __p += '\n <i class="' +
251
+ ((__t = (ctx.iconClass('cloud-upload'))) == null ? '' : __t) +
252
+ '"></i> ' +
253
+ ((__t = (ctx.t('Drop files to attach,'))) == null ? '' : __t) +
254
+ '\n ';
255
+ } ;
256
+ __p += '\n ';
257
+ if (ctx.self.imageUpload && ctx.component.webcam) { ;
258
+ __p += '\n <a href="#" ref="toggleCameraMode"><i class="' +
259
+ ((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
260
+ '"></i>' +
261
+ ((__t = (ctx.t('Use Camera'))) == null ? '' : __t) +
262
+ '</a>\n ' +
263
+ ((__t = (ctx.t('or'))) == null ? '' : __t) +
264
+ '\n ';
265
+ } ;
266
+ __p += '\n <a href="#" ref="fileBrowse" class="browse">\n ';
267
+ if (ctx.self.isMobile.any && ctx.component.capture) { ;
268
+ __p += '\n ';
269
+ if (ctx.component.filePattern && ctx.component.filePattern.includes("video")) { ;
270
+ __p += '\n <i class="' +
271
+ ((__t = (ctx.iconClass('video'))) == null ? '' : __t) +
272
+ '"></i>' +
273
+ ((__t = (ctx.t('Capture Video'))) == null ? '' : __t) +
274
+ '\n ';
275
+ } else if (ctx.component.filePattern && ctx.component.filePattern.includes("audio")) { ;
276
+ __p += '\n <i class="' +
277
+ ((__t = (ctx.iconClass('microphone'))) == null ? '' : __t) +
278
+ '"></i>' +
279
+ ((__t = (ctx.t('Capture Audio'))) == null ? '' : __t) +
280
+ '\n ';
281
+ } else { ;
282
+ __p += '\n <i class="' +
283
+ ((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
284
+ '"></i>' +
285
+ ((__t = (ctx.t('Capture Image'))) == null ? '' : __t) +
286
+ '\n ';
287
+ } ;
288
+ __p += '\n ';
289
+ } else { ;
290
+ __p += '\n <i class="' +
291
+ ((__t = (ctx.iconClass('folder-open'))) == null ? '' : __t) +
292
+ '"></i>' +
293
+ ((__t = (ctx.t('Browse Files'))) == null ? '' : __t) +
294
+ '\n ';
295
+ } ;
296
+ __p += '\n <span class="visually-hidden">\n ' +
297
+ ((__t = (ctx.t('Browse to attach file for ' + ctx.component.label + '. ' +
298
+ (ctx.component.description ? ctx.component.description + '. ' : '') +
299
+ ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)))) == null ? '' : __t) +
300
+ '\n </span>\n </a>\n <div ref="fileProcessingLoader" class="loader-wrapper">\n <div class="loader text-center"></div>\n </div>\n </div>\n ';
301
+ } else { ;
302
+ __p += '\n <div class="video-container">\n <video class="video" autoplay="true" ref="videoPlayer" tabindex="-1"></video>\n </div>\n <button class="btn btn-primary" ref="takePictureButton"><i class="' +
303
+ ((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
304
+ '"></i> ' +
305
+ ((__t = (ctx.t('Take Picture'))) == null ? '' : __t) +
306
+ '</button>\n <button class="btn btn-primary" ref="toggleCameraMode">' +
307
+ ((__t = (ctx.t('Switch to file upload'))) == null ? '' : __t) +
308
+ '</button>\n ';
309
+ } ;
310
+ __p += '\n';
311
+ } ;
312
+ __p += '\n';
313
+ if (!ctx.component.storage || ctx.support.hasWarning) { ;
314
+ __p += '\n <div class="alert alert-warning">\n ';
315
+ if (!ctx.component.storage) { ;
316
+ __p += '\n <p>' +
317
+ ((__t = (ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.'))) == null ? '' : __t) +
318
+ '</p>\n ';
319
+ } ;
320
+ __p += '\n ';
321
+ if (!ctx.support.filereader) { ;
322
+ __p += '\n <p>' +
323
+ ((__t = (ctx.t('File API & FileReader API not supported.'))) == null ? '' : __t) +
324
+ '</p>\n ';
325
+ } ;
326
+ __p += '\n ';
327
+ if (!ctx.support.formdata) { ;
328
+ __p += '\n <p>' +
329
+ ((__t = (ctx.t("XHR2's FormData is not supported."))) == null ? '' : __t) +
330
+ '</p>\n ';
331
+ } ;
332
+ __p += '\n ';
333
+ if (!ctx.support.progress) { ;
334
+ __p += '\n <p>' +
335
+ ((__t = (ctx.t("XHR2's upload progress isn't supported."))) == null ? '' : __t) +
336
+ '</p>\n ';
337
+ } ;
338
+ __p += '\n </div>\n';
339
+ } ;
340
+ __p += '\n';
341
+ return __p
342
+ }
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import form from './form.ejs';
2
+ export default { form };