@formio/angular 7.5.0-dev.1060.57ea833 → 7.5.0-dev.1060.b272e25

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 (425) hide show
  1. package/.dockerignore +5 -0
  2. package/.editorconfig +13 -0
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  4. package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +15 -0
  5. package/.github/ISSUE_TEMPLATE/question.md +8 -0
  6. package/.github/pull_request_template.md +35 -0
  7. package/.github/workflows/ci.yml +171 -0
  8. package/.travis.yml +4 -0
  9. package/.yo-rc.json +7 -0
  10. package/CHANGELOG.md +1154 -0
  11. package/Dockerfile +20 -0
  12. package/LICENSE +21 -0
  13. package/README.md +204 -13
  14. package/angular.json +38 -0
  15. package/bs-config.json +11 -0
  16. package/dist/angular-formio/README.md +24 -0
  17. package/package.json +52 -61
  18. package/projects/angular-formio/README.md +24 -0
  19. package/projects/angular-formio/auth/ng-package.json +5 -0
  20. package/projects/angular-formio/auth/src/auth.component.html +11 -0
  21. package/projects/angular-formio/auth/src/auth.component.ts +5 -0
  22. package/projects/angular-formio/auth/src/auth.config.ts +72 -0
  23. package/projects/angular-formio/auth/src/auth.module.ts +33 -0
  24. package/projects/angular-formio/auth/src/auth.routes.ts +34 -0
  25. package/projects/angular-formio/auth/src/auth.service.ts +221 -0
  26. package/projects/angular-formio/auth/src/index.ts +8 -0
  27. package/projects/angular-formio/auth/src/login/login.component.html +1 -0
  28. package/projects/angular-formio/auth/src/login/login.component.ts +11 -0
  29. package/projects/angular-formio/auth/src/public_api.ts +5 -0
  30. package/projects/angular-formio/auth/src/register/register.component.html +1 -0
  31. package/projects/angular-formio/auth/src/register/register.component.ts +11 -0
  32. package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +1 -0
  33. package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +8 -0
  34. package/projects/angular-formio/embed/ng-package.json +5 -0
  35. package/projects/angular-formio/embed/src/app.service.ts +59 -0
  36. package/projects/angular-formio/embed/src/builder.component.ts +19 -0
  37. package/projects/angular-formio/embed/src/embed.module.ts +23 -0
  38. package/projects/angular-formio/embed/src/formio.component.ts +27 -0
  39. package/projects/angular-formio/embed/src/index.ts +6 -0
  40. package/projects/angular-formio/grid/ng-package.json +5 -0
  41. package/projects/angular-formio/grid/src/GridBodyComponent.ts +80 -0
  42. package/projects/angular-formio/grid/src/GridFooterComponent.ts +25 -0
  43. package/projects/angular-formio/grid/src/GridHeaderComponent.ts +25 -0
  44. package/projects/angular-formio/grid/src/form/FormGridBody.component.html +22 -0
  45. package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +4 -0
  46. package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +46 -0
  47. package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +21 -0
  48. package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +23 -0
  49. package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +18 -0
  50. package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +24 -0
  51. package/projects/angular-formio/grid/src/form/index.ts +8 -0
  52. package/projects/angular-formio/grid/src/form/time-since.pipe.ts +31 -0
  53. package/projects/angular-formio/grid/src/grid.component.html +18 -0
  54. package/projects/angular-formio/grid/src/grid.component.scss +9 -0
  55. package/projects/angular-formio/grid/src/grid.component.ts +242 -0
  56. package/projects/angular-formio/grid/src/grid.footer.scss +14 -0
  57. package/projects/angular-formio/grid/src/grid.module.ts +49 -0
  58. package/projects/angular-formio/grid/src/grid.service.ts +16 -0
  59. package/projects/angular-formio/grid/src/index.ts +12 -0
  60. package/projects/angular-formio/grid/src/public_api.ts +5 -0
  61. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +7 -0
  62. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +39 -0
  63. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +18 -0
  64. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +20 -0
  65. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +11 -0
  66. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +72 -0
  67. package/projects/angular-formio/grid/src/submission/index.ts +8 -0
  68. package/projects/angular-formio/grid/src/types/grid-column.ts +7 -0
  69. package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +5 -0
  70. package/projects/angular-formio/grid/src/types/grid-header.ts +14 -0
  71. package/projects/angular-formio/karma.conf.js +32 -0
  72. package/projects/angular-formio/manager/ng-package.json +5 -0
  73. package/projects/angular-formio/manager/src/create/create.component.ts +11 -0
  74. package/projects/angular-formio/manager/src/delete/delete.component.html +6 -0
  75. package/projects/angular-formio/manager/src/delete/delete.component.ts +37 -0
  76. package/projects/angular-formio/manager/src/edit/edit.component.html +19 -0
  77. package/projects/angular-formio/manager/src/edit/edit.component.ts +110 -0
  78. package/projects/angular-formio/manager/src/form/form.component.html +32 -0
  79. package/projects/angular-formio/manager/src/form/form.component.ts +73 -0
  80. package/projects/angular-formio/manager/src/form-manager.config.ts +31 -0
  81. package/projects/angular-formio/manager/src/form-manager.module.ts +54 -0
  82. package/projects/angular-formio/manager/src/form-manager.routes.ts +75 -0
  83. package/projects/angular-formio/manager/src/form-manager.service.ts +190 -0
  84. package/projects/angular-formio/manager/src/index/index.component.html +14 -0
  85. package/projects/angular-formio/manager/src/index/index.component.scss +22 -0
  86. package/projects/angular-formio/manager/src/index/index.component.ts +100 -0
  87. package/projects/angular-formio/manager/src/index.ts +16 -0
  88. package/projects/angular-formio/manager/src/public_api.ts +5 -0
  89. package/projects/angular-formio/manager/src/submission/delete/delete.component.html +6 -0
  90. package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +26 -0
  91. package/projects/angular-formio/manager/src/submission/edit/edit.component.html +7 -0
  92. package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +18 -0
  93. package/projects/angular-formio/manager/src/submission/index/index.component.html +1 -0
  94. package/projects/angular-formio/manager/src/submission/index/index.component.ts +18 -0
  95. package/projects/angular-formio/manager/src/submission/submission/submission.component.html +8 -0
  96. package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +24 -0
  97. package/projects/angular-formio/manager/src/submission/view/view.component.html +7 -0
  98. package/projects/angular-formio/manager/src/submission/view/view.component.ts +9 -0
  99. package/projects/angular-formio/manager/src/view/view.component.html +11 -0
  100. package/projects/angular-formio/manager/src/view/view.component.ts +44 -0
  101. package/projects/angular-formio/ng-package.json +7 -0
  102. package/projects/angular-formio/package.json +37 -0
  103. package/projects/angular-formio/resource/ng-package.json +5 -0
  104. package/projects/angular-formio/resource/src/create/create.component.html +13 -0
  105. package/projects/angular-formio/resource/src/create/create.component.scss +3 -0
  106. package/projects/angular-formio/resource/src/create/create.component.ts +37 -0
  107. package/projects/angular-formio/resource/src/delete/delete.component.html +5 -0
  108. package/projects/angular-formio/resource/src/delete/delete.component.ts +24 -0
  109. package/projects/angular-formio/resource/src/edit/edit.component.html +7 -0
  110. package/projects/angular-formio/resource/src/edit/edit.component.ts +35 -0
  111. package/projects/angular-formio/resource/src/index/index.component.html +10 -0
  112. package/projects/angular-formio/resource/src/index/index.component.ts +64 -0
  113. package/projects/angular-formio/resource/src/index.js +24 -0
  114. package/projects/angular-formio/resource/src/index.ts +11 -0
  115. package/projects/angular-formio/resource/src/public_api.ts +5 -0
  116. package/projects/angular-formio/resource/src/resource.component.html +7 -0
  117. package/projects/angular-formio/resource/src/resource.component.ts +48 -0
  118. package/projects/angular-formio/resource/src/resource.config.ts +17 -0
  119. package/projects/angular-formio/resource/src/resource.module.ts +43 -0
  120. package/projects/angular-formio/resource/src/resource.routes.ts +43 -0
  121. package/projects/angular-formio/resource/src/resource.service.ts +258 -0
  122. package/projects/angular-formio/resource/src/resources.service.ts +24 -0
  123. package/projects/angular-formio/resource/src/view/view.component.html +6 -0
  124. package/projects/angular-formio/resource/src/view/view.component.ts +19 -0
  125. package/projects/angular-formio/src/FormioBaseComponent.ts +554 -0
  126. package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +3 -0
  127. package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +19 -0
  128. package/projects/angular-formio/src/components/alerts/formio.alerts.ts +21 -0
  129. package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +15 -0
  130. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +1 -0
  131. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +213 -0
  132. package/projects/angular-formio/src/components/formio/formio.component.html +8 -0
  133. package/projects/angular-formio/src/components/formio/formio.component.ts +33 -0
  134. package/projects/angular-formio/src/components/formioreport/formioreport.component.html +8 -0
  135. package/projects/angular-formio/src/components/formioreport/formioreport.component.ts +95 -0
  136. package/projects/angular-formio/src/components/loader/formio.loader.component.html +3 -0
  137. package/projects/angular-formio/src/components/loader/formio.loader.component.scss +26 -0
  138. package/projects/angular-formio/src/components/loader/formio.loader.component.ts +10 -0
  139. package/projects/angular-formio/src/core.ts +25 -0
  140. package/projects/angular-formio/src/custom-tags.service.ts +9 -0
  141. package/projects/angular-formio/src/formio-promise.service.ts +36 -0
  142. package/projects/angular-formio/src/formio.common.ts +91 -0
  143. package/projects/angular-formio/src/formio.config.ts +26 -0
  144. package/projects/angular-formio/src/formio.module.ts +38 -0
  145. package/projects/angular-formio/src/formio.service.ts +57 -0
  146. package/projects/angular-formio/src/formio.utils.ts +23 -0
  147. package/projects/angular-formio/src/index.ts +3 -0
  148. package/projects/angular-formio/src/public-api.ts +5 -0
  149. package/projects/angular-formio/src/test.ts +28 -0
  150. package/projects/angular-formio/src/types/alerts-position.ts +6 -0
  151. package/projects/angular-formio/src/types/formio-metadata.ts +10 -0
  152. package/projects/angular-formio/src/types/formio-submission.ts +20 -0
  153. package/projects/angular-formio/tsconfig.lib.json +27 -0
  154. package/projects/angular-formio/tsconfig.lib.prod.json +8 -0
  155. package/projects/angular-formio/tsconfig.spec.json +17 -0
  156. package/projects/angular-formio/tslint.json +17 -0
  157. package/tsconfig.json +39 -0
  158. package/tslint.json +140 -0
  159. /package/{FormioBaseComponent.d.ts → dist/angular-formio/FormioBaseComponent.d.ts} +0 -0
  160. /package/{FormioBaseComponent.d.ts.map → dist/angular-formio/FormioBaseComponent.d.ts.map} +0 -0
  161. /package/{auth → dist/angular-formio/auth}/auth.component.d.ts +0 -0
  162. /package/{auth → dist/angular-formio/auth}/auth.component.d.ts.map +0 -0
  163. /package/{auth → dist/angular-formio/auth}/auth.config.d.ts +0 -0
  164. /package/{auth → dist/angular-formio/auth}/auth.config.d.ts.map +0 -0
  165. /package/{auth → dist/angular-formio/auth}/auth.module.d.ts +0 -0
  166. /package/{auth → dist/angular-formio/auth}/auth.module.d.ts.map +0 -0
  167. /package/{auth → dist/angular-formio/auth}/auth.routes.d.ts +0 -0
  168. /package/{auth → dist/angular-formio/auth}/auth.routes.d.ts.map +0 -0
  169. /package/{auth → dist/angular-formio/auth}/auth.service.d.ts +0 -0
  170. /package/{auth → dist/angular-formio/auth}/auth.service.d.ts.map +0 -0
  171. /package/{auth → dist/angular-formio/auth}/formio-angular-auth.d.ts.map +0 -0
  172. /package/{auth → dist/angular-formio/auth}/index.d.ts +0 -0
  173. /package/{auth → dist/angular-formio/auth}/index.d.ts.map +0 -0
  174. /package/{auth → dist/angular-formio/auth}/login/login.component.d.ts +0 -0
  175. /package/{auth → dist/angular-formio/auth}/login/login.component.d.ts.map +0 -0
  176. /package/{auth → dist/angular-formio/auth}/register/register.component.d.ts +0 -0
  177. /package/{auth → dist/angular-formio/auth}/register/register.component.d.ts.map +0 -0
  178. /package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts +0 -0
  179. /package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts.map +0 -0
  180. /package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts +0 -0
  181. /package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts.map +0 -0
  182. /package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts +0 -0
  183. /package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts.map +0 -0
  184. /package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts +0 -0
  185. /package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts.map +0 -0
  186. /package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts +0 -0
  187. /package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts.map +0 -0
  188. /package/{components → dist/angular-formio/components}/formio/formio.component.d.ts +0 -0
  189. /package/{components → dist/angular-formio/components}/formio/formio.component.d.ts.map +0 -0
  190. /package/{components → dist/angular-formio/components}/formioreport/formioreport.component.d.ts +0 -0
  191. /package/{components → dist/angular-formio/components}/formioreport/formioreport.component.d.ts.map +0 -0
  192. /package/{components → dist/angular-formio/components}/loader/formio.loader.component.d.ts +0 -0
  193. /package/{components → dist/angular-formio/components}/loader/formio.loader.component.d.ts.map +0 -0
  194. /package/{core.d.ts → dist/angular-formio/core.d.ts} +0 -0
  195. /package/{core.d.ts.map → dist/angular-formio/core.d.ts.map} +0 -0
  196. /package/{custom-tags.service.d.ts → dist/angular-formio/custom-tags.service.d.ts} +0 -0
  197. /package/{custom-tags.service.d.ts.map → dist/angular-formio/custom-tags.service.d.ts.map} +0 -0
  198. /package/{embed → dist/angular-formio/embed}/app.service.d.ts +0 -0
  199. /package/{embed → dist/angular-formio/embed}/app.service.d.ts.map +0 -0
  200. /package/{embed → dist/angular-formio/embed}/builder.component.d.ts +0 -0
  201. /package/{embed → dist/angular-formio/embed}/builder.component.d.ts.map +0 -0
  202. /package/{embed → dist/angular-formio/embed}/embed.module.d.ts +0 -0
  203. /package/{embed → dist/angular-formio/embed}/embed.module.d.ts.map +0 -0
  204. /package/{embed → dist/angular-formio/embed}/formio-angular-embed.d.ts.map +0 -0
  205. /package/{embed → dist/angular-formio/embed}/formio.component.d.ts +0 -0
  206. /package/{embed → dist/angular-formio/embed}/formio.component.d.ts.map +0 -0
  207. /package/{embed → dist/angular-formio/embed}/index.d.ts +0 -0
  208. /package/{embed → dist/angular-formio/embed}/index.d.ts.map +0 -0
  209. /package/{esm2022 → dist/angular-formio/esm2022}/FormioBaseComponent.mjs +0 -0
  210. /package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.component.mjs +0 -0
  211. /package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.config.mjs +0 -0
  212. /package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.module.mjs +0 -0
  213. /package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.routes.mjs +0 -0
  214. /package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.service.mjs +0 -0
  215. /package/{esm2022 → dist/angular-formio/esm2022}/auth/formio-angular-auth.mjs +0 -0
  216. /package/{esm2022 → dist/angular-formio/esm2022}/auth/index.mjs +0 -0
  217. /package/{esm2022 → dist/angular-formio/esm2022}/auth/login/login.component.mjs +0 -0
  218. /package/{esm2022 → dist/angular-formio/esm2022}/auth/register/register.component.mjs +0 -0
  219. /package/{esm2022 → dist/angular-formio/esm2022}/auth/resetpass/resetpass.component.mjs +0 -0
  220. /package/{esm2022 → dist/angular-formio/esm2022}/components/alerts/formio.alerts.component.mjs +0 -0
  221. /package/{esm2022 → dist/angular-formio/esm2022}/components/alerts/formio.alerts.mjs +0 -0
  222. /package/{esm2022 → dist/angular-formio/esm2022}/components/alerts/parse-html-content.pipe.mjs +0 -0
  223. /package/{esm2022 → dist/angular-formio/esm2022}/components/formbuilder/formbuilder.component.mjs +0 -0
  224. /package/{esm2022 → dist/angular-formio/esm2022}/components/formio/formio.component.mjs +0 -0
  225. /package/{esm2022 → dist/angular-formio/esm2022}/components/formioreport/formioreport.component.mjs +0 -0
  226. /package/{esm2022 → dist/angular-formio/esm2022}/components/loader/formio.loader.component.mjs +0 -0
  227. /package/{esm2022 → dist/angular-formio/esm2022}/core.mjs +0 -0
  228. /package/{esm2022 → dist/angular-formio/esm2022}/custom-tags.service.mjs +0 -0
  229. /package/{esm2022 → dist/angular-formio/esm2022}/embed/app.service.mjs +0 -0
  230. /package/{esm2022 → dist/angular-formio/esm2022}/embed/builder.component.mjs +0 -0
  231. /package/{esm2022 → dist/angular-formio/esm2022}/embed/embed.module.mjs +0 -0
  232. /package/{esm2022 → dist/angular-formio/esm2022}/embed/formio-angular-embed.mjs +0 -0
  233. /package/{esm2022 → dist/angular-formio/esm2022}/embed/formio.component.mjs +0 -0
  234. /package/{esm2022 → dist/angular-formio/esm2022}/embed/index.mjs +0 -0
  235. /package/{esm2022 → dist/angular-formio/esm2022}/formio-angular.mjs +0 -0
  236. /package/{esm2022 → dist/angular-formio/esm2022}/formio-promise.service.mjs +0 -0
  237. /package/{esm2022 → dist/angular-formio/esm2022}/formio.common.mjs +0 -0
  238. /package/{esm2022 → dist/angular-formio/esm2022}/formio.config.mjs +0 -0
  239. /package/{esm2022 → dist/angular-formio/esm2022}/formio.module.mjs +0 -0
  240. /package/{esm2022 → dist/angular-formio/esm2022}/formio.service.mjs +0 -0
  241. /package/{esm2022 → dist/angular-formio/esm2022}/formio.utils.mjs +0 -0
  242. /package/{esm2022 → dist/angular-formio/esm2022}/grid/GridBodyComponent.mjs +0 -0
  243. /package/{esm2022 → dist/angular-formio/esm2022}/grid/GridFooterComponent.mjs +0 -0
  244. /package/{esm2022 → dist/angular-formio/esm2022}/grid/GridHeaderComponent.mjs +0 -0
  245. /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/FormGridBody.component.mjs +0 -0
  246. /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/FormGridFooter.component.mjs +0 -0
  247. /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/FormGridHeader.component.mjs +0 -0
  248. /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/index.mjs +0 -0
  249. /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/time-since.pipe.mjs +0 -0
  250. /package/{esm2022 → dist/angular-formio/esm2022}/grid/formio-angular-grid.mjs +0 -0
  251. /package/{esm2022 → dist/angular-formio/esm2022}/grid/grid.component.mjs +0 -0
  252. /package/{esm2022 → dist/angular-formio/esm2022}/grid/grid.module.mjs +0 -0
  253. /package/{esm2022 → dist/angular-formio/esm2022}/grid/grid.service.mjs +0 -0
  254. /package/{esm2022 → dist/angular-formio/esm2022}/grid/index.mjs +0 -0
  255. /package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/SubmissionGridBody.component.mjs +0 -0
  256. /package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/SubmissionGridFooter.component.mjs +0 -0
  257. /package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/SubmissionGridHeader.component.mjs +0 -0
  258. /package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/index.mjs +0 -0
  259. /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-column.mjs +0 -0
  260. /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-footer-positions.mjs +0 -0
  261. /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-header.mjs +0 -0
  262. /package/{esm2022 → dist/angular-formio/esm2022}/index.mjs +0 -0
  263. /package/{esm2022 → dist/angular-formio/esm2022}/manager/create/create.component.mjs +0 -0
  264. /package/{esm2022 → dist/angular-formio/esm2022}/manager/delete/delete.component.mjs +0 -0
  265. /package/{esm2022 → dist/angular-formio/esm2022}/manager/edit/edit.component.mjs +0 -0
  266. /package/{esm2022 → dist/angular-formio/esm2022}/manager/form/form.component.mjs +0 -0
  267. /package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.config.mjs +0 -0
  268. /package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.module.mjs +0 -0
  269. /package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.routes.mjs +0 -0
  270. /package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.service.mjs +0 -0
  271. /package/{esm2022 → dist/angular-formio/esm2022}/manager/formio-angular-manager.mjs +0 -0
  272. /package/{esm2022 → dist/angular-formio/esm2022}/manager/index/index.component.mjs +0 -0
  273. /package/{esm2022 → dist/angular-formio/esm2022}/manager/index.mjs +0 -0
  274. /package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/delete/delete.component.mjs +0 -0
  275. /package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/edit/edit.component.mjs +0 -0
  276. /package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/index/index.component.mjs +0 -0
  277. /package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/submission/submission.component.mjs +0 -0
  278. /package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/view/view.component.mjs +0 -0
  279. /package/{esm2022 → dist/angular-formio/esm2022}/manager/view/view.component.mjs +0 -0
  280. /package/{esm2022 → dist/angular-formio/esm2022}/resource/create/create.component.mjs +0 -0
  281. /package/{esm2022 → dist/angular-formio/esm2022}/resource/delete/delete.component.mjs +0 -0
  282. /package/{esm2022 → dist/angular-formio/esm2022}/resource/edit/edit.component.mjs +0 -0
  283. /package/{esm2022 → dist/angular-formio/esm2022}/resource/formio-angular-resource.mjs +0 -0
  284. /package/{esm2022 → dist/angular-formio/esm2022}/resource/index/index.component.mjs +0 -0
  285. /package/{esm2022 → dist/angular-formio/esm2022}/resource/index.mjs +0 -0
  286. /package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.component.mjs +0 -0
  287. /package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.config.mjs +0 -0
  288. /package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.module.mjs +0 -0
  289. /package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.routes.mjs +0 -0
  290. /package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.service.mjs +0 -0
  291. /package/{esm2022 → dist/angular-formio/esm2022}/resource/resources.service.mjs +0 -0
  292. /package/{esm2022 → dist/angular-formio/esm2022}/resource/view/view.component.mjs +0 -0
  293. /package/{esm2022 → dist/angular-formio/esm2022}/types/alerts-position.mjs +0 -0
  294. /package/{esm2022 → dist/angular-formio/esm2022}/types/formio-metadata.mjs +0 -0
  295. /package/{esm2022 → dist/angular-formio/esm2022}/types/formio-submission.mjs +0 -0
  296. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-auth.mjs +0 -0
  297. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-auth.mjs.map +0 -0
  298. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-embed.mjs +0 -0
  299. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-embed.mjs.map +0 -0
  300. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-grid.mjs +0 -0
  301. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-grid.mjs.map +0 -0
  302. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-manager.mjs +0 -0
  303. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-manager.mjs.map +0 -0
  304. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-resource.mjs +0 -0
  305. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-resource.mjs.map +0 -0
  306. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular.mjs +0 -0
  307. /package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular.mjs.map +0 -0
  308. /package/{formio-angular.d.ts.map → dist/angular-formio/formio-angular.d.ts.map} +0 -0
  309. /package/{formio-promise.service.d.ts → dist/angular-formio/formio-promise.service.d.ts} +0 -0
  310. /package/{formio-promise.service.d.ts.map → dist/angular-formio/formio-promise.service.d.ts.map} +0 -0
  311. /package/{formio.common.d.ts → dist/angular-formio/formio.common.d.ts} +0 -0
  312. /package/{formio.common.d.ts.map → dist/angular-formio/formio.common.d.ts.map} +0 -0
  313. /package/{formio.config.d.ts → dist/angular-formio/formio.config.d.ts} +0 -0
  314. /package/{formio.config.d.ts.map → dist/angular-formio/formio.config.d.ts.map} +0 -0
  315. /package/{formio.module.d.ts → dist/angular-formio/formio.module.d.ts} +0 -0
  316. /package/{formio.module.d.ts.map → dist/angular-formio/formio.module.d.ts.map} +0 -0
  317. /package/{formio.service.d.ts → dist/angular-formio/formio.service.d.ts} +0 -0
  318. /package/{formio.service.d.ts.map → dist/angular-formio/formio.service.d.ts.map} +0 -0
  319. /package/{formio.utils.d.ts → dist/angular-formio/formio.utils.d.ts} +0 -0
  320. /package/{formio.utils.d.ts.map → dist/angular-formio/formio.utils.d.ts.map} +0 -0
  321. /package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts +0 -0
  322. /package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts.map +0 -0
  323. /package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts +0 -0
  324. /package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts.map +0 -0
  325. /package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts +0 -0
  326. /package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts.map +0 -0
  327. /package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts +0 -0
  328. /package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts.map +0 -0
  329. /package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts +0 -0
  330. /package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts.map +0 -0
  331. /package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts +0 -0
  332. /package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts.map +0 -0
  333. /package/{grid → dist/angular-formio/grid}/form/index.d.ts +0 -0
  334. /package/{grid → dist/angular-formio/grid}/form/index.d.ts.map +0 -0
  335. /package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts +0 -0
  336. /package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts.map +0 -0
  337. /package/{grid → dist/angular-formio/grid}/formio-angular-grid.d.ts.map +0 -0
  338. /package/{grid → dist/angular-formio/grid}/grid.component.d.ts +0 -0
  339. /package/{grid → dist/angular-formio/grid}/grid.component.d.ts.map +0 -0
  340. /package/{grid → dist/angular-formio/grid}/grid.module.d.ts +0 -0
  341. /package/{grid → dist/angular-formio/grid}/grid.module.d.ts.map +0 -0
  342. /package/{grid → dist/angular-formio/grid}/grid.service.d.ts +0 -0
  343. /package/{grid → dist/angular-formio/grid}/grid.service.d.ts.map +0 -0
  344. /package/{grid → dist/angular-formio/grid}/index.d.ts +0 -0
  345. /package/{grid → dist/angular-formio/grid}/index.d.ts.map +0 -0
  346. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts +0 -0
  347. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts.map +0 -0
  348. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts +0 -0
  349. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts.map +0 -0
  350. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts +0 -0
  351. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts.map +0 -0
  352. /package/{grid → dist/angular-formio/grid}/submission/index.d.ts +0 -0
  353. /package/{grid → dist/angular-formio/grid}/submission/index.d.ts.map +0 -0
  354. /package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts +0 -0
  355. /package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts.map +0 -0
  356. /package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts +0 -0
  357. /package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts.map +0 -0
  358. /package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts +0 -0
  359. /package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts.map +0 -0
  360. /package/{index.d.ts → dist/angular-formio/index.d.ts} +0 -0
  361. /package/{index.d.ts.map → dist/angular-formio/index.d.ts.map} +0 -0
  362. /package/{manager → dist/angular-formio/manager}/create/create.component.d.ts +0 -0
  363. /package/{manager → dist/angular-formio/manager}/create/create.component.d.ts.map +0 -0
  364. /package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts +0 -0
  365. /package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts.map +0 -0
  366. /package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts +0 -0
  367. /package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts.map +0 -0
  368. /package/{manager → dist/angular-formio/manager}/form/form.component.d.ts +0 -0
  369. /package/{manager → dist/angular-formio/manager}/form/form.component.d.ts.map +0 -0
  370. /package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts +0 -0
  371. /package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts.map +0 -0
  372. /package/{manager → dist/angular-formio/manager}/form-manager.module.d.ts +0 -0
  373. /package/{manager → dist/angular-formio/manager}/form-manager.module.d.ts.map +0 -0
  374. /package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts +0 -0
  375. /package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts.map +0 -0
  376. /package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts +0 -0
  377. /package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts.map +0 -0
  378. /package/{manager → dist/angular-formio/manager}/formio-angular-manager.d.ts.map +0 -0
  379. /package/{manager → dist/angular-formio/manager}/index/index.component.d.ts +0 -0
  380. /package/{manager → dist/angular-formio/manager}/index/index.component.d.ts.map +0 -0
  381. /package/{manager → dist/angular-formio/manager}/index.d.ts +0 -0
  382. /package/{manager → dist/angular-formio/manager}/index.d.ts.map +0 -0
  383. /package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts +0 -0
  384. /package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts.map +0 -0
  385. /package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts +0 -0
  386. /package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts.map +0 -0
  387. /package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts +0 -0
  388. /package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts.map +0 -0
  389. /package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts +0 -0
  390. /package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts.map +0 -0
  391. /package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts +0 -0
  392. /package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts.map +0 -0
  393. /package/{manager → dist/angular-formio/manager}/view/view.component.d.ts +0 -0
  394. /package/{manager → dist/angular-formio/manager}/view/view.component.d.ts.map +0 -0
  395. /package/{resource → dist/angular-formio/resource}/create/create.component.d.ts +0 -0
  396. /package/{resource → dist/angular-formio/resource}/create/create.component.d.ts.map +0 -0
  397. /package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts +0 -0
  398. /package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts.map +0 -0
  399. /package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts +0 -0
  400. /package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts.map +0 -0
  401. /package/{resource → dist/angular-formio/resource}/formio-angular-resource.d.ts.map +0 -0
  402. /package/{resource → dist/angular-formio/resource}/index/index.component.d.ts +0 -0
  403. /package/{resource → dist/angular-formio/resource}/index/index.component.d.ts.map +0 -0
  404. /package/{resource → dist/angular-formio/resource}/index.d.ts +0 -0
  405. /package/{resource → dist/angular-formio/resource}/index.d.ts.map +0 -0
  406. /package/{resource → dist/angular-formio/resource}/resource.component.d.ts +0 -0
  407. /package/{resource → dist/angular-formio/resource}/resource.component.d.ts.map +0 -0
  408. /package/{resource → dist/angular-formio/resource}/resource.config.d.ts +0 -0
  409. /package/{resource → dist/angular-formio/resource}/resource.config.d.ts.map +0 -0
  410. /package/{resource → dist/angular-formio/resource}/resource.module.d.ts +0 -0
  411. /package/{resource → dist/angular-formio/resource}/resource.module.d.ts.map +0 -0
  412. /package/{resource → dist/angular-formio/resource}/resource.routes.d.ts +0 -0
  413. /package/{resource → dist/angular-formio/resource}/resource.routes.d.ts.map +0 -0
  414. /package/{resource → dist/angular-formio/resource}/resource.service.d.ts +0 -0
  415. /package/{resource → dist/angular-formio/resource}/resource.service.d.ts.map +0 -0
  416. /package/{resource → dist/angular-formio/resource}/resources.service.d.ts +0 -0
  417. /package/{resource → dist/angular-formio/resource}/resources.service.d.ts.map +0 -0
  418. /package/{resource → dist/angular-formio/resource}/view/view.component.d.ts +0 -0
  419. /package/{resource → dist/angular-formio/resource}/view/view.component.d.ts.map +0 -0
  420. /package/{types → dist/angular-formio/types}/alerts-position.d.ts +0 -0
  421. /package/{types → dist/angular-formio/types}/alerts-position.d.ts.map +0 -0
  422. /package/{types → dist/angular-formio/types}/formio-metadata.d.ts +0 -0
  423. /package/{types → dist/angular-formio/types}/formio-metadata.d.ts.map +0 -0
  424. /package/{types → dist/angular-formio/types}/formio-submission.d.ts +0 -0
  425. /package/{types → dist/angular-formio/types}/formio-submission.d.ts.map +0 -0
package/.dockerignore ADDED
@@ -0,0 +1,5 @@
1
+ # Created by .ignore support plugin (hsz.mobi)
2
+ npm-debug.log
3
+ .ebignore
4
+ .elasticbeanstalk
5
+ node_modules
package/.editorconfig ADDED
@@ -0,0 +1,13 @@
1
+ # editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ indent_style = space
6
+ indent_size = 2
7
+ end_of_line = lf
8
+ charset = utf-8
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
11
+
12
+ [*.md]
13
+ trim_trailing_whitespace = false
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: "[BUG] "
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ## Environment
11
+ Please provide as many details as you can:
12
+
13
+ - Hosting type
14
+ - [x] Form.io
15
+ - [ ] Local deployment
16
+ - Version:
17
+ - Formio.js version:
18
+ - Frontend framework:
19
+ - Browser:
20
+ - Browser version:
21
+
22
+ ## Steps to Reproduce
23
+ 1.
24
+ 2.
25
+ 3.
26
+
27
+ ## Expected behavior
28
+
29
+ ## Observed behavior
30
+
31
+ ## Example
32
+ If possible, please provide a screenshot, live example (via [JSFiddle](https://jsfiddle.net/) or similar), and/or example code to help demonstrate the issue.
33
+
34
+ For code or form JSON, please enclose in a code block:
35
+
36
+ ```js
37
+ // your code here
38
+ ```
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: Custom Components Support Request
3
+ about: Questions about Custom Components
4
+ title: "[Custom Components] "
5
+ labels: 'question, scope: community, scope: custom components'
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ <!--
11
+ Thank you for reaching us regarding to Custom Components.
12
+ Please note that Angular wrapper for Custom Components is community build which also means you may get help from the community.
13
+
14
+ Before submitting your request, please read our Wiki page: https://github.com/formio/angular-formio/wiki/Custom-Components-with-Angular-Elements
15
+ -->
@@ -0,0 +1,8 @@
1
+ ---
2
+ name: Question
3
+ about: General Questions
4
+ title: "[Question] "
5
+ labels: 'question'
6
+ assignees: ''
7
+
8
+ ---
@@ -0,0 +1,35 @@
1
+ ## Link to Jira Ticket
2
+
3
+ https://formio.atlassian.net/browse/FIO-XXXX
4
+
5
+ ## Description
6
+
7
+ **What changed?**
8
+
9
+ *Use this section to provide a summary description of the changes you've made*
10
+
11
+ **Why have you chosen this solution?**
12
+
13
+ *Use this section to justify your choices*
14
+
15
+ ## Breaking Changes / Backwards Compatibility
16
+
17
+ *Use this section to describe any potentially breaking changes this PR introduces or any effects this PR might have on backwards compatibility*
18
+
19
+ ## Dependencies
20
+
21
+ *Use this section to list any dependent changes/PRs in other Form.io modules*
22
+
23
+ ## How has this PR been tested?
24
+
25
+ *Use this section to describe how you tested your changes; if you haven't included automated tests, justify your reasoning*
26
+
27
+ ## Checklist:
28
+
29
+ - [ ] I have completed the above PR template
30
+ - [ ] I have commented my code, particularly in hard-to-understand areas
31
+ - [ ] I have made corresponding changes to the documentation (if applicable)
32
+ - [ ] My changes generate no new warnings
33
+ - [ ] My changes include tests that prove my fix is effective (or that my feature works as intended)
34
+ - [ ] New and existing unit/integration tests pass locally with my changes
35
+ - [ ] Any dependent changes have corresponding PRs that are listed above
@@ -0,0 +1,171 @@
1
+ name: Build, Publish
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, synchronize]
6
+
7
+ env:
8
+ NODE_VERSION: 20.x
9
+
10
+ jobs:
11
+ #####################################################################
12
+ ## Setup
13
+ #####################################################################
14
+ setup:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - run: echo "Triggered by ${{ github.event_name }} event."
18
+
19
+ - name: Check out repository code ${{ github.repository }} on ${{ github.ref }}
20
+ uses: actions/checkout@v3
21
+
22
+ - name: Set up Node.js ${{ env.NODE_VERSION }}
23
+ uses: actions/setup-node@v3
24
+ with:
25
+ node-version: ${{ env.NODE_VERSION }}
26
+ cache: 'npm'
27
+
28
+ - name: Cache node modules
29
+ uses: actions/cache@v3
30
+ with:
31
+ path: node_modules
32
+ key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
33
+ restore-keys: |
34
+ ${{ runner.os }}-node-
35
+
36
+ - name: Installing dependencies
37
+ if: steps.cache.outputs.cache-hit != 'true'
38
+ uses: borales/actions-yarn@v4
39
+ with:
40
+ cmd: install --frozen-lockfile
41
+
42
+ # - name: Lint
43
+ # uses: borales/actions-yarn@v4
44
+ # with:
45
+ # cmd: lint
46
+
47
+ #####################################################################
48
+ ## Build
49
+ #####################################################################
50
+ build:
51
+ needs: setup
52
+ runs-on: ubuntu-latest
53
+ steps:
54
+ - name: Check out repository code ${{ github.repository }} on ${{ github.ref }}
55
+ uses: actions/checkout@v3
56
+
57
+ - name: Restore node modules from cache
58
+ uses: actions/cache@v3
59
+ with:
60
+ path: node_modules
61
+ key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
62
+ restore-keys: |
63
+ ${{ runner.os }}-node-
64
+
65
+ - name: Build
66
+ uses: borales/actions-yarn@v4
67
+ with:
68
+ cmd: build:prod
69
+
70
+ - name: Show build directory contents
71
+ run: |
72
+ ls -R ./dist/angular-formio
73
+
74
+ - name: Cache build directory
75
+ uses: actions/cache@v3
76
+ with:
77
+ path: dist
78
+ key: ${{ runner.os }}-dist-${{ hashFiles('dist.tgz') }}
79
+ restore-keys: |
80
+ ${{ runner.os }}-dist-
81
+
82
+ #####################################################################
83
+ ## Test (Trys to launch a chrome browser, will need additional work)
84
+ #####################################################################
85
+ # test:
86
+ # needs: setup
87
+ # runs-on: ubuntu-latest
88
+ # steps:
89
+ # - name: Check out repository code ${{ github.repository }} on ${{ github.ref }}
90
+ # uses: actions/checkout@v3
91
+
92
+ # - name: Restore node modules from cache
93
+ # uses: actions/cache@v3
94
+ # with:
95
+ # path: node_modules
96
+ # key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
97
+ # restore-keys: |
98
+ # ${{ runner.os }}-node-
99
+
100
+ # - name: Test
101
+ # uses: borales/actions-yarn@v4
102
+ # with:
103
+ # cmd: test
104
+
105
+ #####################################################################
106
+ ## Publish
107
+ #####################################################################
108
+ publish:
109
+ needs: [setup, build]
110
+ if: ${{ github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'synchronize') }}
111
+ runs-on: ubuntu-latest
112
+ steps:
113
+ - name: Check out repository code ${{ github.repository }} on ${{ github.ref }}
114
+ uses: actions/checkout@v3
115
+
116
+ - name: Set up Node.js ${{ env.NODE_VERSION }}
117
+ uses: actions/setup-node@v3
118
+ with:
119
+ node-version: ${{ env.NODE_VERSION }}
120
+ cache: 'npm'
121
+ registry-url: 'https://registry.npmjs.org/'
122
+
123
+ - name: Prepare version for publish
124
+ id: prep
125
+ run: |
126
+ # Extract the pull request number and the short SHA of the commit
127
+ PR_NUMBER=$(echo ${{ github.event.number }})
128
+ COMMIT_SHORT_SHA=$(echo "${{ github.event.pull_request.head.sha }}" | cut -c1-7)
129
+
130
+ # Extract the current version from package.json
131
+ CURRENT_VERSION=$(node -p "require('./package.json').version")
132
+
133
+ # Get base SemVer to us for new dev version
134
+ BASE_VERSION=$(echo "$CURRENT_VERSION" | cut -d'-' -f1)
135
+
136
+ # Construct the new version string
137
+ NEW_VERSION="${BASE_VERSION}-dev.${PR_NUMBER}.${COMMIT_SHORT_SHA}"
138
+
139
+ # Output the new version for use in subsequent GitHub Actions steps
140
+ echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
141
+
142
+ - name: Echo version to Publish
143
+ run: |
144
+ echo "Version to publish: $NEW_VERSION"
145
+
146
+ # Restore Build cache
147
+ - name: Restore build cache
148
+ uses: actions/cache@v3
149
+ with:
150
+ path: dist
151
+ key: ${{ runner.os }}-dist-${{ hashFiles('dist.tgz') }}
152
+ restore-keys: |
153
+ ${{ runner.os }}-dist-
154
+
155
+ - name: Switch to dist directory
156
+ run: cd ./dist/angular-formio
157
+
158
+ - name: Configure Git user
159
+ run: |
160
+ git config --global user.email "pkgbot@form.io"
161
+ git config --global user.name "pkgbot"
162
+
163
+ - name: Add npm token to .npmrc
164
+ run: |
165
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
166
+
167
+ - name: Publish to npm
168
+ run: |
169
+ npm version $NEW_VERSION --no-git-tag-version
170
+ npm publish --tag=dev
171
+
package/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: node_js
2
+ sudo: false
3
+ node_js:
4
+ - '4.2.1'
package/.yo-rc.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "generator-angular2-library": {
3
+ "promptValues": {
4
+ "gitRepositoryUrl": "https://github.com/formio/angular-formio"
5
+ }
6
+ }
7
+ }