@opencitylabs/bootstrap-italia 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +8 -4
  443. package/dist/bootstrap3.js +0 -1
  444. package/dist/bootstrap4.js +0 -1
  445. package/dist/bootstrap5.js +0 -1
@@ -0,0 +1,345 @@
1
+ Object.defineProperty(exports, "__esModule", {
2
+ value: true
3
+ });
4
+ exports.default=function(ctx) {
5
+ var __t, __p = '', __j = Array.prototype.join;
6
+ function print() { __p += __j.call(arguments, '') }
7
+
8
+ if (ctx.options.vpat) { ;
9
+ __p += '\n <span tabindex="-1" class="visually-hidden" id="invisible-' +
10
+ ((__t = (ctx.instance.id)) == null ? '' : __t) +
11
+ '-' +
12
+ ((__t = (ctx.component.key)) == null ? '' : __t) +
13
+ '"></span>\n';
14
+ } ;
15
+ __p += '\n';
16
+ if (!ctx.self.imageUpload) { console.log(ctx) ;
17
+ __p += '\n ';
18
+ if (ctx.options.vpat) { ;
19
+ __p += '\n <div>' +
20
+ ((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)) == null ? '' : __t) +
21
+ '</div>\n ';
22
+ } ;
23
+ __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-' +
24
+ ((__t = (ctx.columns.name)) == null ? '' : __t) +
25
+ '"><strong>' +
26
+ ((__t = (ctx.t('File Name'))) == null ? '' : __t) +
27
+ '</strong></div>\n <div class="col-md-' +
28
+ ((__t = (ctx.columns.size)) == null ? '' : __t) +
29
+ '"><strong>' +
30
+ ((__t = (ctx.t('Size'))) == null ? '' : __t) +
31
+ '</strong></div>\n ';
32
+ if (ctx.self.hasTypes) { ;
33
+ __p += '\n <div class="col-md-' +
34
+ ((__t = (ctx.columns.type)) == null ? '' : __t) +
35
+ '"><strong>' +
36
+ ((__t = (ctx.t('Type'))) == null ? '' : __t) +
37
+ '</strong></div>\n ';
38
+ } ;
39
+ __p += '\n <div class="col-md-' +
40
+ ((__t = (ctx.columns.actions)) == null ? '' : __t) +
41
+ ' justify-center">\n ';
42
+ if (ctx.showSyncButton) { ;
43
+ __p += '\n <button\n class="btn btn-primary btn-sm"\n ref="syncNow"\n ';
44
+ if (ctx.disabled || ctx.isSyncing) { ;
45
+ __p += 'disabled=true';
46
+ } ;
47
+ __p += '\n >' +
48
+ ((__t = (ctx.isSyncing ? ctx.t('Syncing...') : ctx.t('Sync Now'))) == null ? '' : __t) +
49
+ '</button>\n ';
50
+ } ;
51
+ __p += '\n </div>\n </div>\n </li>\n ';
52
+ ctx.files.forEach(function(file) { ;
53
+ __p += '\n <li class="list-group-item">\n <div class="row">\n <div class="col-md-' +
54
+ ((__t = (ctx.columns.name)) == null ? '' : __t) +
55
+ '">\n ';
56
+ if (ctx.component.uploadOnly) { ;
57
+ __p += '\n ' +
58
+ ((__t = (file.originalName || file.name)) == null ? '' : __t) +
59
+ '\n ';
60
+ } else { ;
61
+ __p += '\n <a href="' +
62
+ ((__t = (file.url || '#')) == null ? '' : __t) +
63
+ '" target="_blank" ref="fileLink">\n <span class="visually-hidden">' +
64
+ ((__t = (ctx.t('Press to open '))) == null ? '' : __t) +
65
+ '</span>' +
66
+ ((__t = (file.originalName || file.name)) == null ? '' : __t) +
67
+ '\n </a>\n ';
68
+ } ;
69
+ __p += '\n </div>\n <div class="col-md-' +
70
+ ((__t = (ctx.columns.size)) == null ? '' : __t) +
71
+ '">' +
72
+ ((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
73
+ '</div>\n ';
74
+ if (ctx.self.hasTypes && !ctx.disabled) { ;
75
+ __p += '\n <div class="col-md-' +
76
+ ((__t = (ctx.columns.type)) == null ? '' : __t) +
77
+ '">\n <select class="file-type" ref="fileType">\n ';
78
+ ctx.component.fileTypes.map(function(type) { ;
79
+ __p += '\n <option class="test" value="' +
80
+ ((__t = ( type.value )) == null ? '' : __t) +
81
+ '" ';
82
+ if (type.label === file.fileType) { ;
83
+ __p += 'selected="selected"';
84
+ } ;
85
+ __p += '>' +
86
+ ((__t = (ctx.t(type.label))) == null ? '' : __t) +
87
+ '</option>\n ';
88
+ }); ;
89
+ __p += '\n </select>\n </div>\n ';
90
+ } ;
91
+ __p += '\n ';
92
+ if (ctx.self.hasTypes && ctx.disabled) { ;
93
+ __p += '\n <div class="col-md-' +
94
+ ((__t = (ctx.columns.type)) == null ? '' : __t) +
95
+ '">' +
96
+ ((__t = (file.fileType)) == null ? '' : __t) +
97
+ '</div>\n ';
98
+ } ;
99
+ __p += '\n ';
100
+ if (!ctx.disabled) { ;
101
+ __p += '\n <div class="col-md-' +
102
+ ((__t = (ctx.columns.actions)) == null ? '' : __t) +
103
+ ' justify-center"><i tabindex="0" class="' +
104
+ ((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
105
+ '" ref="removeLink"></i></div>\n ';
106
+ } ;
107
+ __p += '\n </div>\n </li>\n ';
108
+ }) ;
109
+ __p += '\n ';
110
+ ctx.filesToDelete.forEach(function(file) { ;
111
+ __p += '\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-' +
112
+ ((__t = (ctx.columns.name)) == null ? '' : __t) +
113
+ '">\n <div>' +
114
+ ((__t = (file.originalName || file.name)) == null ? '' : __t) +
115
+ '</div>\n <div class="status text-' +
116
+ ((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +
117
+ '">' +
118
+ ((__t = (ctx.t(file.message))) == null ? '' : __t) +
119
+ '</div>\n </div>\n <div class="col-md-' +
120
+ ((__t = (ctx.columns.size)) == null ? '' : __t) +
121
+ '">' +
122
+ ((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
123
+ '</div>\n ';
124
+ if (ctx.self.hasTypes) { ;
125
+ __p += '\n <div class="col-md-' +
126
+ ((__t = (ctx.columns.type)) == null ? '' : __t) +
127
+ '">\n <select class="file-type" ref="fileType">\n ';
128
+ ctx.component.fileTypes.map(function(type) { ;
129
+ __p += '\n <option class="test" value="' +
130
+ ((__t = ( type.value )) == null ? '' : __t) +
131
+ '" ';
132
+ if (type.label === file.fileType) { ;
133
+ __p += 'selected="selected"';
134
+ } ;
135
+ __p += '>' +
136
+ ((__t = (ctx.t(type.label))) == null ? '' : __t) +
137
+ '</option>\n ';
138
+ }); ;
139
+ __p += '\n </select>\n </div>\n ';
140
+ } ;
141
+ __p += '\n ';
142
+ if (!ctx.isSyncing && file.status !== 'success') { ;
143
+ __p += '\n <div class="col-md-' +
144
+ ((__t = (ctx.columns.actions)) == null ? '' : __t) +
145
+ ' justify-center"><i tabindex="0" class="' +
146
+ ((__t = (ctx.iconClass('arrow-counterclockwise'))) == null ? '' : __t) +
147
+ '" ref="restoreFile"></i></div>\n ';
148
+ } ;
149
+ __p += '\n </div>\n </li>\n ';
150
+ }) ;
151
+ __p += '\n ';
152
+ ctx.filesToUpload.forEach(function(file) { ;
153
+ __p += '\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-' +
154
+ ((__t = (ctx.columns.name)) == null ? '' : __t) +
155
+ '">\n <div>' +
156
+ ((__t = (file.originalName || file.name)) == null ? '' : __t) +
157
+ '</div>\n ';
158
+ if (file.status === 'progress') { ;
159
+ __p += '\n <div class="status progress">\n <div id="' +
160
+ ((__t = (file.id)) == null ? '' : __t) +
161
+ '" class="progress-bar" role="progressbar" aria-valuenow="' +
162
+ ((__t = (file.progress)) == null ? '' : __t) +
163
+ '" aria-valuemin="0" aria-valuemax="100" style="width: ' +
164
+ ((__t = (file.progress)) == null ? '' : __t) +
165
+ '%" ref="progress">\n <span class="visually-hidden">' +
166
+ ((__t = (file.progress)) == null ? '' : __t) +
167
+ '% ' +
168
+ ((__t = (ctx.t('Complete'))) == null ? '' : __t) +
169
+ '</span>\n </div>\n </div>\n ';
170
+ } else { ;
171
+ __p += '\n <div class="status text-' +
172
+ ((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +
173
+ '">' +
174
+ ((__t = (ctx.t(file.message))) == null ? '' : __t) +
175
+ '</div>\n ';
176
+ } ;
177
+ __p += '\n </div>\n <div class="col-md-' +
178
+ ((__t = (ctx.columns.size)) == null ? '' : __t) +
179
+ '">' +
180
+ ((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
181
+ '</div>\n ';
182
+ if (ctx.self.hasTypes) { ;
183
+ __p += '\n <div class="col-md-' +
184
+ ((__t = (ctx.columns.type)) == null ? '' : __t) +
185
+ '">\n <select class="file-type" ref="fileType">\n ';
186
+ ctx.component.fileTypes.map(function(type) { ;
187
+ __p += '\n <option class="test" value="' +
188
+ ((__t = ( type.value )) == null ? '' : __t) +
189
+ '" ';
190
+ if (type.label === file.fileType) { ;
191
+ __p += 'selected="selected"';
192
+ } ;
193
+ __p += '>' +
194
+ ((__t = (ctx.t(type.label))) == null ? '' : __t) +
195
+ '</option>\n ';
196
+ }); ;
197
+ __p += '\n </select>\n </div>\n ';
198
+ } ;
199
+ __p += '\n ';
200
+ if (file.status === 'progress') { ;
201
+ __p += '\n <div class="col-md-' +
202
+ ((__t = (ctx.columns.actions)) == null ? '' : __t) +
203
+ ' justify-center"><i id="abort-' +
204
+ ((__t = (file.id)) == null ? '' : __t) +
205
+ '" tabindex="0" class="' +
206
+ ((__t = (ctx.iconClass('ban'))) == null ? '' : __t) +
207
+ '"></i></div>\n ';
208
+ } else if (!ctx.isSyncing && file.status !== 'success') { ;
209
+ __p += '\n <div class="col-md-' +
210
+ ((__t = (ctx.columns.actions)) == null ? '' : __t) +
211
+ ' justify-center"><i tabindex="0" class="' +
212
+ ((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
213
+ '" ref="fileToSyncRemove"></i></div>\n ';
214
+ } ;
215
+ __p += '\n </div>\n </li>\n ';
216
+ }) ;
217
+ __p += '\n </ul>\n';
218
+ } else { ;
219
+ __p += '\n <div>\n ';
220
+ ctx.files.forEach(function(file) { ;
221
+ __p += '\n <div>\n <span>\n <img ref="fileImage" src="" alt="' +
222
+ ((__t = (file.originalName || file.name)) == null ? '' : __t) +
223
+ '" style="width:' +
224
+ ((__t = (ctx.component.imageSize)) == null ? '' : __t) +
225
+ 'px">\n ';
226
+ if (!ctx.disabled) { ;
227
+ __p += '\n <i tabindex="0" class="' +
228
+ ((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
229
+ '" ref="removeLink"></i>\n ';
230
+ } ;
231
+ __p += '\n </span>\n </div>\n ';
232
+ }) ;
233
+ __p += '\n </div>\n';
234
+ } ;
235
+ __p += '\n';
236
+ if (!ctx.disabled && (ctx.component.multiple || !ctx.files.length)) { ;
237
+ __p += '\n ';
238
+ if (ctx.self.useWebViewCamera) { ;
239
+ __p += '\n <div class="fileSelector">\n <button class="btn btn-primary" ref="galleryButton"><i class="' +
240
+ ((__t = (ctx.iconClass('book'))) == null ? '' : __t) +
241
+ '"></i> ' +
242
+ ((__t = (ctx.t('Gallery'))) == null ? '' : __t) +
243
+ '</button>\n <button class="btn btn-primary" ref="cameraButton"><i class="' +
244
+ ((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
245
+ '"></i> ' +
246
+ ((__t = (ctx.t('Camera'))) == null ? '' : __t) +
247
+ '</button>\n </div>\n ';
248
+ } else if (!ctx.self.cameraMode) { ;
249
+ __p += '\n <div class="fileSelector" ref="fileDrop" ' +
250
+ ((__t = (ctx.fileDropHidden ?'hidden' : '')) == null ? '' : __t) +
251
+ '>\n ';
252
+ if (!ctx.self.isMobile.any) { ;
253
+ __p += '\n <i class="' +
254
+ ((__t = (ctx.iconClass('cloud-upload'))) == null ? '' : __t) +
255
+ '"></i> ' +
256
+ ((__t = (ctx.t('Drop files to attach,'))) == null ? '' : __t) +
257
+ '\n ';
258
+ } ;
259
+ __p += '\n ';
260
+ if (ctx.self.imageUpload && ctx.component.webcam) { ;
261
+ __p += '\n <a href="#" ref="toggleCameraMode"><i class="' +
262
+ ((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
263
+ '"></i>' +
264
+ ((__t = (ctx.t('Use Camera'))) == null ? '' : __t) +
265
+ '</a>\n ' +
266
+ ((__t = (ctx.t('or'))) == null ? '' : __t) +
267
+ '\n ';
268
+ } ;
269
+ __p += '\n <a href="#" ref="fileBrowse" class="browse">\n ';
270
+ if (ctx.self.isMobile.any && ctx.component.capture) { ;
271
+ __p += '\n ';
272
+ if (ctx.component.filePattern && ctx.component.filePattern.includes("video")) { ;
273
+ __p += '\n <i class="' +
274
+ ((__t = (ctx.iconClass('video'))) == null ? '' : __t) +
275
+ '"></i>' +
276
+ ((__t = (ctx.t('Capture Video'))) == null ? '' : __t) +
277
+ '\n ';
278
+ } else if (ctx.component.filePattern && ctx.component.filePattern.includes("audio")) { ;
279
+ __p += '\n <i class="' +
280
+ ((__t = (ctx.iconClass('microphone'))) == null ? '' : __t) +
281
+ '"></i>' +
282
+ ((__t = (ctx.t('Capture Audio'))) == null ? '' : __t) +
283
+ '\n ';
284
+ } else { ;
285
+ __p += '\n <i class="' +
286
+ ((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
287
+ '"></i>' +
288
+ ((__t = (ctx.t('Capture Image'))) == null ? '' : __t) +
289
+ '\n ';
290
+ } ;
291
+ __p += '\n ';
292
+ } else { ;
293
+ __p += '\n <i class="' +
294
+ ((__t = (ctx.iconClass('folder-open'))) == null ? '' : __t) +
295
+ '"></i>' +
296
+ ((__t = (ctx.t('Browse Files'))) == null ? '' : __t) +
297
+ '\n ';
298
+ } ;
299
+ __p += '\n <span class="visually-hidden">\n ' +
300
+ ((__t = (ctx.t('Browse to attach file for ' + ctx.component.label + '. ' +
301
+ (ctx.component.description ? ctx.component.description + '. ' : '') +
302
+ ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)))) == null ? '' : __t) +
303
+ '\n </span>\n </a>\n <div ref="fileProcessingLoader" class="loader-wrapper">\n <div class="loader text-center"></div>\n </div>\n </div>\n ';
304
+ } else { ;
305
+ __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="' +
306
+ ((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
307
+ '"></i> ' +
308
+ ((__t = (ctx.t('Take Picture'))) == null ? '' : __t) +
309
+ '</button>\n <button class="btn btn-primary" ref="toggleCameraMode">' +
310
+ ((__t = (ctx.t('Switch to file upload'))) == null ? '' : __t) +
311
+ '</button>\n ';
312
+ } ;
313
+ __p += '\n';
314
+ } ;
315
+ __p += '\n';
316
+ if (!ctx.component.storage || ctx.support.hasWarning) { ;
317
+ __p += '\n <div class="alert alert-warning">\n ';
318
+ if (!ctx.component.storage) { ;
319
+ __p += '\n <p>' +
320
+ ((__t = (ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.'))) == null ? '' : __t) +
321
+ '</p>\n ';
322
+ } ;
323
+ __p += '\n ';
324
+ if (!ctx.support.filereader) { ;
325
+ __p += '\n <p>' +
326
+ ((__t = (ctx.t('File API & FileReader API not supported.'))) == null ? '' : __t) +
327
+ '</p>\n ';
328
+ } ;
329
+ __p += '\n ';
330
+ if (!ctx.support.formdata) { ;
331
+ __p += '\n <p>' +
332
+ ((__t = (ctx.t("XHR2's FormData is not supported."))) == null ? '' : __t) +
333
+ '</p>\n ';
334
+ } ;
335
+ __p += '\n ';
336
+ if (!ctx.support.progress) { ;
337
+ __p += '\n <p>' +
338
+ ((__t = (ctx.t("XHR2's upload progress isn't supported."))) == null ? '' : __t) +
339
+ '</p>\n ';
340
+ } ;
341
+ __p += '\n </div>\n';
342
+ } ;
343
+ __p += '\n';
344
+ return __p
345
+ }
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const form_ejs_1 = require("./form.ejs");
4
+ exports.default = { form: form_ejs_1.default };
@@ -0,0 +1,28 @@
1
+ Object.defineProperty(exports, "__esModule", {
2
+ value: true
3
+ });
4
+ exports.default=function(ctx) {
5
+ var __t, __p = '', __j = Array.prototype.join;
6
+ function print() { __p += __j.call(arguments, '') }
7
+ __p += '<' +
8
+ ((__t = (ctx.tag)) == null ? '' : __t) +
9
+ ' class="formio-component-htmlelement ' +
10
+ ((__t = ( ctx.component.className )) == null ? '' : __t) +
11
+ '" ref="html"\n ';
12
+ ctx.attrs.forEach(function(attr) { ;
13
+ __p += '\n ' +
14
+ ((__t = (attr.attr)) == null ? '' : __t) +
15
+ '="' +
16
+ ((__t = (attr.value)) == null ? '' : __t) +
17
+ '"\n ';
18
+ }) ;
19
+ __p += '\n>' +
20
+ ((__t = (ctx.t(ctx.content))) == null ? '' : __t);
21
+ if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { ;
22
+ __p += '</' +
23
+ ((__t = (ctx.tag)) == null ? '' : __t) +
24
+ '>';
25
+ } ;
26
+ __p += '\n';
27
+ return __p
28
+ }
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const form_ejs_1 = require("./form.ejs");
4
+ exports.default = { form: form_ejs_1.default };
@@ -0,0 +1,16 @@
1
+ Object.defineProperty(exports, "__esModule", {
2
+ value: true
3
+ });
4
+ exports.default=function(ctx) {
5
+ var __t, __p = '';
6
+ __p += '<i ref="' +
7
+ ((__t = (ctx.ref)) == null ? '' : __t) +
8
+ '" class="' +
9
+ ((__t = (ctx.className)) == null ? '' : __t) +
10
+ '" style="' +
11
+ ((__t = (ctx.styles)) == null ? '' : __t) +
12
+ '">' +
13
+ ((__t = (ctx.content)) == null ? '' : __t) +
14
+ '</i>\n';
15
+ return __p
16
+ }
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ form: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const form_ejs_1 = require("./form.ejs");
4
+ exports.default = { form: form_ejs_1.default };
@@ -0,0 +1,2 @@
1
+ declare const _default: (iconset: any, name: any, spinning: any) => string;
2
+ export default _default;
@@ -0,0 +1,137 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = (iconset, name, spinning) => {
4
+ let biName = name;
5
+ switch (name) {
6
+ case 'cog':
7
+ biName = 'gear';
8
+ break;
9
+ case 'copy':
10
+ biName = 'back';
11
+ break;
12
+ case 'bars':
13
+ biName = 'list';
14
+ break;
15
+ case 'remove':
16
+ biName = 'trash';
17
+ break;
18
+ case 'font':
19
+ biName = 'type';
20
+ break;
21
+ case 'hashtag':
22
+ biName = 'hash';
23
+ break;
24
+ case 'th-list':
25
+ biName = 'menu-button-wide';
26
+ break;
27
+ case 'dot-circle-o':
28
+ biName = 'ui-radios';
29
+ break;
30
+ case 'plus-square-o':
31
+ biName = 'plus-square';
32
+ break;
33
+ case 'minus-square-o':
34
+ biName = 'dash-square';
35
+ break;
36
+ case 'plus-square':
37
+ biName = 'ui-checks';
38
+ break;
39
+ case 'phone-square':
40
+ biName = 'phone';
41
+ break;
42
+ case 'home':
43
+ biName = 'house';
44
+ break;
45
+ case 'clock-o':
46
+ biName = 'clock';
47
+ break;
48
+ case 'usd':
49
+ biName = 'currency-dollar';
50
+ break;
51
+ case 'html5':
52
+ biName = 'file-richtext';
53
+ break;
54
+ case 'pencil-square-o':
55
+ biName = 'pencil-square';
56
+ break;
57
+ case 'columns':
58
+ biName = 'layout-three-columns';
59
+ break;
60
+ case 'list-alt':
61
+ biName = 'window';
62
+ break;
63
+ case 'th-large':
64
+ biName = 'grid-fill';
65
+ break;
66
+ case 'folder-o':
67
+ biName = 'folder';
68
+ break;
69
+ case 'square-o':
70
+ biName = 'square';
71
+ break;
72
+ case 'user-secret':
73
+ biName = 'person-fill-slash';
74
+ break;
75
+ case 'folder-open':
76
+ biName = 'folder2-open';
77
+ break;
78
+ case 'th':
79
+ biName = 'grid-3x3-gap-fill';
80
+ break;
81
+ case 'tasks':
82
+ biName = 'view-stacked';
83
+ break;
84
+ case 'indent':
85
+ biName = 'text-indent-left';
86
+ break;
87
+ case 'refresh':
88
+ biName = 'arrow-repeat';
89
+ break;
90
+ case 'files-o':
91
+ biName = 'files';
92
+ break;
93
+ case 'wpforms':
94
+ biName = 'window-stack';
95
+ break;
96
+ case 'cube':
97
+ biName = 'box';
98
+ break;
99
+ case 'cubes':
100
+ biName = 'boxes';
101
+ break;
102
+ case 'check-square-o':
103
+ biName = 'check-square';
104
+ break;
105
+ case 'plus':
106
+ biName = 'plus-lg';
107
+ break;
108
+ case 'question-sign':
109
+ biName = 'question-circle';
110
+ break;
111
+ case 'remove-circle':
112
+ biName = 'x-circle';
113
+ break;
114
+ case 'new-window':
115
+ biName = 'window-plus';
116
+ break;
117
+ case 'move':
118
+ biName = 'arrows-move';
119
+ break;
120
+ case 'edit':
121
+ biName = 'pencil';
122
+ break;
123
+ case 'time':
124
+ biName = 'clock';
125
+ break;
126
+ case 'video':
127
+ biName = 'camera-video';
128
+ break;
129
+ case 'microphone':
130
+ biName = 'mic';
131
+ break;
132
+ case 'calendar':
133
+ biName = 'file-break';
134
+ break;
135
+ }
136
+ return spinning ? 'spinner-border spinner-border-sm' : `fa fa-${name} bi bi-${biName}`;
137
+ };