@tonzxz/government-forms 0.1.0

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 (325) hide show
  1. package/FORM_CATALOG.md +44 -0
  2. package/README.md +165 -0
  3. package/dist/definitions.d.ts +1147 -0
  4. package/dist/definitions.js +60 -0
  5. package/dist/forms/iar.d.ts +172 -0
  6. package/dist/forms/iar.js +6 -0
  7. package/dist/forms/ics.d.ts +48 -0
  8. package/dist/forms/ics.js +6 -0
  9. package/dist/forms/iirup.d.ts +54 -0
  10. package/dist/forms/iirup.js +6 -0
  11. package/dist/forms/iirusp.d.ts +32 -0
  12. package/dist/forms/iirusp.js +6 -0
  13. package/dist/forms/itr.d.ts +42 -0
  14. package/dist/forms/itr.js +6 -0
  15. package/dist/forms/par.d.ts +84 -0
  16. package/dist/forms/par.js +6 -0
  17. package/dist/forms/ppelc.d.ts +34 -0
  18. package/dist/forms/ppelc.js +6 -0
  19. package/dist/forms/pr.d.ts +27 -0
  20. package/dist/forms/pr.js +6 -0
  21. package/dist/forms/property-card.d.ts +68 -0
  22. package/dist/forms/property-card.js +6 -0
  23. package/dist/forms/ptr.d.ts +54 -0
  24. package/dist/forms/ptr.js +6 -0
  25. package/dist/forms/regspi.d.ts +32 -0
  26. package/dist/forms/regspi.js +6 -0
  27. package/dist/forms/ris.d.ts +66 -0
  28. package/dist/forms/ris.js +6 -0
  29. package/dist/forms/rlsddp.d.ts +54 -0
  30. package/dist/forms/rlsddp.js +6 -0
  31. package/dist/forms/rlsddsp.d.ts +42 -0
  32. package/dist/forms/rlsddsp.js +6 -0
  33. package/dist/forms/rpci.d.ts +32 -0
  34. package/dist/forms/rpci.js +6 -0
  35. package/dist/forms/rpcppe.d.ts +32 -0
  36. package/dist/forms/rpcppe.js +6 -0
  37. package/dist/forms/rpcsp.d.ts +32 -0
  38. package/dist/forms/rpcsp.js +6 -0
  39. package/dist/forms/rrsp.d.ts +32 -0
  40. package/dist/forms/rrsp.js +6 -0
  41. package/dist/forms/rsmi.d.ts +32 -0
  42. package/dist/forms/rsmi.js +6 -0
  43. package/dist/forms/rsmp.d.ts +33 -0
  44. package/dist/forms/rsmp.js +6 -0
  45. package/dist/forms/rspi.d.ts +32 -0
  46. package/dist/forms/rspi.js +6 -0
  47. package/dist/forms/spc.d.ts +37 -0
  48. package/dist/forms/spc.js +6 -0
  49. package/dist/forms/splc.d.ts +41 -0
  50. package/dist/forms/splc.js +6 -0
  51. package/dist/forms/stock-card.d.ts +28 -0
  52. package/dist/forms/stock-card.js +6 -0
  53. package/dist/forms/wmr.d.ts +32 -0
  54. package/dist/forms/wmr.js +6 -0
  55. package/dist/gam/components/gam-report-workbench.d.ts +40 -0
  56. package/dist/gam/components/gam-report-workbench.js +2 -0
  57. package/dist/gam/components/grand-total-computation.d.ts +10 -0
  58. package/dist/gam/components/grand-total-computation.js +26 -0
  59. package/dist/gam/components/iar-preview.d.ts +30 -0
  60. package/dist/gam/components/iar-preview.js +150 -0
  61. package/dist/gam/components/ics-preview.d.ts +31 -0
  62. package/dist/gam/components/ics-preview.js +114 -0
  63. package/dist/gam/components/iirup-preview.d.ts +42 -0
  64. package/dist/gam/components/iirup-preview.js +237 -0
  65. package/dist/gam/components/itr-preview.d.ts +31 -0
  66. package/dist/gam/components/itr-preview.js +180 -0
  67. package/dist/gam/components/par-preview.d.ts +28 -0
  68. package/dist/gam/components/par-preview.js +95 -0
  69. package/dist/gam/components/ppelc-preview.d.ts +28 -0
  70. package/dist/gam/components/ppelc-preview.js +128 -0
  71. package/dist/gam/components/property-card-preview.d.ts +21 -0
  72. package/dist/gam/components/property-card-preview.js +117 -0
  73. package/dist/gam/components/ptr-preview.d.ts +36 -0
  74. package/dist/gam/components/ptr-preview.js +122 -0
  75. package/dist/gam/components/purchase-order-page-client.d.ts +66 -0
  76. package/dist/gam/components/purchase-order-page-client.js +179 -0
  77. package/dist/gam/components/reg-spi-preview.d.ts +28 -0
  78. package/dist/gam/components/reg-spi-preview.js +138 -0
  79. package/dist/gam/components/ris-form.d.ts +13 -0
  80. package/dist/gam/components/ris-form.js +20 -0
  81. package/dist/gam/components/ris-preview.d.ts +7 -0
  82. package/dist/gam/components/ris-preview.js +16 -0
  83. package/dist/gam/components/rlsddp-preview.d.ts +34 -0
  84. package/dist/gam/components/rlsddp-preview.js +251 -0
  85. package/dist/gam/components/rlsddsp-preview.d.ts +33 -0
  86. package/dist/gam/components/rlsddsp-preview.js +226 -0
  87. package/dist/gam/components/rpci-preview.d.ts +27 -0
  88. package/dist/gam/components/rpci-preview.js +123 -0
  89. package/dist/gam/components/rpcppe-preview.d.ts +28 -0
  90. package/dist/gam/components/rpcppe-preview.js +133 -0
  91. package/dist/gam/components/rpcsp-preview.d.ts +29 -0
  92. package/dist/gam/components/rpcsp-preview.js +81 -0
  93. package/dist/gam/components/rspi-preview.d.ts +23 -0
  94. package/dist/gam/components/rspi-preview.js +72 -0
  95. package/dist/gam/components/spc-preview.d.ts +23 -0
  96. package/dist/gam/components/spc-preview.js +149 -0
  97. package/dist/gam/components/splc-entry-form.d.ts +14 -0
  98. package/dist/gam/components/splc-entry-form.js +6 -0
  99. package/dist/gam/components/splc-preview.d.ts +27 -0
  100. package/dist/gam/components/splc-preview.js +192 -0
  101. package/dist/gam/components/stock-card-preview.d.ts +14 -0
  102. package/dist/gam/components/stock-card-preview.js +17 -0
  103. package/dist/gam/config/new-report-config.d.ts +1094 -0
  104. package/dist/gam/config/new-report-config.js +1478 -0
  105. package/dist/gam/purchase-order-flow.d.ts +146 -0
  106. package/dist/gam/purchase-order-flow.js +173 -0
  107. package/dist/gam/purchase-request/workflow.d.ts +19 -0
  108. package/dist/gam/purchase-request/workflow.js +45 -0
  109. package/dist/gam/types/ris-types.d.ts +37 -0
  110. package/dist/gam/types/ris-types.js +1 -0
  111. package/dist/gam/utils/export-ics-xlsx.d.ts +28 -0
  112. package/dist/gam/utils/export-ics-xlsx.js +273 -0
  113. package/dist/gam/utils/export-par-xlsx.d.ts +18 -0
  114. package/dist/gam/utils/export-par-xlsx.js +181 -0
  115. package/dist/gam/utils/export-preview-pdf.d.ts +13 -0
  116. package/dist/gam/utils/export-preview-pdf.js +270 -0
  117. package/dist/gam/utils/export-report-xlsx.d.ts +228 -0
  118. package/dist/gam/utils/export-report-xlsx.js +873 -0
  119. package/dist/gam/utils/line-totals.d.ts +6 -0
  120. package/dist/gam/utils/line-totals.js +18 -0
  121. package/dist/gam/utils/monetary-input.d.ts +6 -0
  122. package/dist/gam/utils/monetary-input.js +18 -0
  123. package/dist/gam/utils/print-element.d.ts +8 -0
  124. package/dist/gam/utils/print-element.js +157 -0
  125. package/dist/government-form.d.ts +16 -0
  126. package/dist/government-form.js +45 -0
  127. package/dist/index.d.ts +49 -0
  128. package/dist/index.js +50 -0
  129. package/dist/internal/components/configurable-form-layout.d.ts +20 -0
  130. package/dist/internal/components/configurable-form-layout.js +49 -0
  131. package/dist/internal/components/ui/badge.d.ts +7 -0
  132. package/dist/internal/components/ui/badge.js +34 -0
  133. package/dist/internal/components/ui/button.d.ts +10 -0
  134. package/dist/internal/components/ui/button.js +35 -0
  135. package/dist/internal/components/ui/calendar.d.ts +8 -0
  136. package/dist/internal/components/ui/calendar.js +77 -0
  137. package/dist/internal/components/ui/command.d.ts +19 -0
  138. package/dist/internal/components/ui/command.js +36 -0
  139. package/dist/internal/components/ui/date-input.d.ts +14 -0
  140. package/dist/internal/components/ui/date-input.js +33 -0
  141. package/dist/internal/components/ui/date-picker.d.ts +19 -0
  142. package/dist/internal/components/ui/date-picker.js +34 -0
  143. package/dist/internal/components/ui/dialog.d.ts +18 -0
  144. package/dist/internal/components/ui/dialog.js +38 -0
  145. package/dist/internal/components/ui/input-group.d.ts +18 -0
  146. package/dist/internal/components/ui/input-group.js +57 -0
  147. package/dist/internal/components/ui/input.d.ts +3 -0
  148. package/dist/internal/components/ui/input.js +12 -0
  149. package/dist/internal/components/ui/label.d.ts +3 -0
  150. package/dist/internal/components/ui/label.js +7 -0
  151. package/dist/internal/components/ui/popover.d.ts +9 -0
  152. package/dist/internal/components/ui/popover.js +23 -0
  153. package/dist/internal/components/ui/select.d.ts +17 -0
  154. package/dist/internal/components/ui/select.js +35 -0
  155. package/dist/internal/components/ui/switch.d.ts +5 -0
  156. package/dist/internal/components/ui/switch.js +8 -0
  157. package/dist/internal/components/ui/table.d.ts +10 -0
  158. package/dist/internal/components/ui/table.js +28 -0
  159. package/dist/internal/components/ui/tabs.d.ts +10 -0
  160. package/dist/internal/components/ui/tabs.js +29 -0
  161. package/dist/internal/components/ui/textarea.d.ts +3 -0
  162. package/dist/internal/components/ui/textarea.js +7 -0
  163. package/dist/internal/components/ui/tooltip.d.ts +6 -0
  164. package/dist/internal/components/ui/tooltip.js +17 -0
  165. package/dist/internal/contracts/modules/v1/reg-spi-reports/reg-spi-reports.schema.d.ts +112 -0
  166. package/dist/internal/contracts/modules/v1/reg-spi-reports/reg-spi-reports.schema.js +91 -0
  167. package/dist/internal/hooks/use-form-field-order.d.ts +7 -0
  168. package/dist/internal/hooks/use-form-field-order.js +43 -0
  169. package/dist/internal/lib/utils.d.ts +2 -0
  170. package/dist/internal/lib/utils.js +3 -0
  171. package/dist/inventory/components/inventory-item-form.d.ts +7 -0
  172. package/dist/inventory/components/inventory-item-form.js +5 -0
  173. package/dist/inventory/components/inventory-item-preview.d.ts +6 -0
  174. package/dist/inventory/components/inventory-item-preview.js +5 -0
  175. package/dist/inventory/iar.d.ts +4 -0
  176. package/dist/inventory/iar.js +4 -0
  177. package/dist/inventory/ics.d.ts +2 -0
  178. package/dist/inventory/ics.js +3 -0
  179. package/dist/inventory/iirup.d.ts +2 -0
  180. package/dist/inventory/iirup.js +3 -0
  181. package/dist/inventory/iirusp.d.ts +4 -0
  182. package/dist/inventory/iirusp.js +4 -0
  183. package/dist/inventory/index.d.ts +3 -0
  184. package/dist/inventory/index.js +4 -0
  185. package/dist/inventory/item.d.ts +3 -0
  186. package/dist/inventory/item.js +3 -0
  187. package/dist/inventory/itr.d.ts +4 -0
  188. package/dist/inventory/itr.js +4 -0
  189. package/dist/inventory/par.d.ts +2 -0
  190. package/dist/inventory/par.js +3 -0
  191. package/dist/inventory/po.d.ts +2 -0
  192. package/dist/inventory/po.js +2 -0
  193. package/dist/inventory/ppelc.d.ts +2 -0
  194. package/dist/inventory/ppelc.js +3 -0
  195. package/dist/inventory/pplc.d.ts +2 -0
  196. package/dist/inventory/pplc.js +4 -0
  197. package/dist/inventory/pr.d.ts +4 -0
  198. package/dist/inventory/pr.js +4 -0
  199. package/dist/inventory/property-card.d.ts +2 -0
  200. package/dist/inventory/property-card.js +3 -0
  201. package/dist/inventory/ptr.d.ts +2 -0
  202. package/dist/inventory/ptr.js +3 -0
  203. package/dist/inventory/regspi.d.ts +4 -0
  204. package/dist/inventory/regspi.js +4 -0
  205. package/dist/inventory/ris.d.ts +4 -0
  206. package/dist/inventory/ris.js +4 -0
  207. package/dist/inventory/rlsddp.d.ts +4 -0
  208. package/dist/inventory/rlsddp.js +4 -0
  209. package/dist/inventory/rlsddsp.d.ts +2 -0
  210. package/dist/inventory/rlsddsp.js +3 -0
  211. package/dist/inventory/rpci.d.ts +2 -0
  212. package/dist/inventory/rpci.js +3 -0
  213. package/dist/inventory/rpcppe.d.ts +2 -0
  214. package/dist/inventory/rpcppe.js +3 -0
  215. package/dist/inventory/rpcsp.d.ts +2 -0
  216. package/dist/inventory/rpcsp.js +3 -0
  217. package/dist/inventory/rrsp.d.ts +2 -0
  218. package/dist/inventory/rrsp.js +3 -0
  219. package/dist/inventory/rsmi.d.ts +4 -0
  220. package/dist/inventory/rsmi.js +4 -0
  221. package/dist/inventory/rsmp.d.ts +4 -0
  222. package/dist/inventory/rsmp.js +4 -0
  223. package/dist/inventory/rspi.d.ts +2 -0
  224. package/dist/inventory/rspi.js +3 -0
  225. package/dist/inventory/spc.d.ts +2 -0
  226. package/dist/inventory/spc.js +3 -0
  227. package/dist/inventory/splc.d.ts +3 -0
  228. package/dist/inventory/splc.js +4 -0
  229. package/dist/inventory/stock-card.d.ts +4 -0
  230. package/dist/inventory/stock-card.js +4 -0
  231. package/dist/inventory/types.d.ts +11 -0
  232. package/dist/inventory/types.js +1 -0
  233. package/dist/inventory/wmr.d.ts +4 -0
  234. package/dist/inventory/wmr.js +4 -0
  235. package/dist/lib/rpcsp-accountable-person.d.ts +1 -0
  236. package/dist/lib/rpcsp-accountable-person.js +10 -0
  237. package/dist/reports/iar/_components/create-form.d.ts +13 -0
  238. package/dist/reports/iar/_components/create-form.js +92 -0
  239. package/dist/reports/iar/_components/document-preview.d.ts +11 -0
  240. package/dist/reports/iar/_components/document-preview.js +131 -0
  241. package/dist/reports/iar/types.d.ts +97 -0
  242. package/dist/reports/iar/types.js +24 -0
  243. package/dist/reports/iirusp/_components/create-form.d.ts +17 -0
  244. package/dist/reports/iirusp/_components/create-form.js +118 -0
  245. package/dist/reports/iirusp/_components/document-preview.d.ts +8 -0
  246. package/dist/reports/iirusp/_components/document-preview.js +389 -0
  247. package/dist/reports/iirusp/types.d.ts +134 -0
  248. package/dist/reports/iirusp/types.js +29 -0
  249. package/dist/reports/iirusp/utils.d.ts +29 -0
  250. package/dist/reports/iirusp/utils.js +488 -0
  251. package/dist/reports/itr/_components/create-form.d.ts +28 -0
  252. package/dist/reports/itr/_components/create-form.js +90 -0
  253. package/dist/reports/itr/_components/document-preview.d.ts +6 -0
  254. package/dist/reports/itr/_components/document-preview.js +7 -0
  255. package/dist/reports/itr/types.d.ts +68 -0
  256. package/dist/reports/itr/types.js +27 -0
  257. package/dist/reports/itr/utils.d.ts +24 -0
  258. package/dist/reports/itr/utils.js +76 -0
  259. package/dist/reports/pr/_components/create-form.d.ts +16 -0
  260. package/dist/reports/pr/_components/create-form.js +52 -0
  261. package/dist/reports/pr/_components/document-preview.d.ts +7 -0
  262. package/dist/reports/pr/_components/document-preview.js +9 -0
  263. package/dist/reports/pr/types.d.ts +69 -0
  264. package/dist/reports/pr/types.js +1 -0
  265. package/dist/reports/pr/utils.d.ts +72 -0
  266. package/dist/reports/pr/utils.js +572 -0
  267. package/dist/reports/regspi/_components/create-form.d.ts +19 -0
  268. package/dist/reports/regspi/_components/create-form.js +33 -0
  269. package/dist/reports/regspi/_components/document-preview.d.ts +6 -0
  270. package/dist/reports/regspi/_components/document-preview.js +7 -0
  271. package/dist/reports/regspi/types.d.ts +29 -0
  272. package/dist/reports/regspi/types.js +24 -0
  273. package/dist/reports/regspi/utils.d.ts +48 -0
  274. package/dist/reports/regspi/utils.js +98 -0
  275. package/dist/reports/ris/_components/create-form.d.ts +36 -0
  276. package/dist/reports/ris/_components/create-form.js +149 -0
  277. package/dist/reports/ris/_components/document-preview.d.ts +8 -0
  278. package/dist/reports/ris/_components/document-preview.js +31 -0
  279. package/dist/reports/ris/types.d.ts +93 -0
  280. package/dist/reports/ris/types.js +1 -0
  281. package/dist/reports/rlsddp/_components/create-form.d.ts +11 -0
  282. package/dist/reports/rlsddp/_components/create-form.js +165 -0
  283. package/dist/reports/rlsddp/_components/document-preview.d.ts +8 -0
  284. package/dist/reports/rlsddp/_components/document-preview.js +15 -0
  285. package/dist/reports/rlsddp/types.d.ts +105 -0
  286. package/dist/reports/rlsddp/types.js +31 -0
  287. package/dist/reports/rrsp/components/rrsp-preview.d.ts +21 -0
  288. package/dist/reports/rrsp/components/rrsp-preview.js +155 -0
  289. package/dist/reports/rsmi/components/rsmi-create-form.d.ts +20 -0
  290. package/dist/reports/rsmi/components/rsmi-create-form.js +8 -0
  291. package/dist/reports/rsmi/components/rsmi-document-body.d.ts +15 -0
  292. package/dist/reports/rsmi/components/rsmi-document-body.js +12 -0
  293. package/dist/reports/rsmi/components/rsmi-types.d.ts +45 -0
  294. package/dist/reports/rsmi/components/rsmi-types.js +1 -0
  295. package/dist/reports/rsmi/components/rsmi-utils.d.ts +2 -0
  296. package/dist/reports/rsmi/components/rsmi-utils.js +18 -0
  297. package/dist/reports/rsmp/components/rsmp-create-modal.d.ts +5 -0
  298. package/dist/reports/rsmp/components/rsmp-create-modal.js +7 -0
  299. package/dist/reports/rsmp/components/rsmp-preview-modal.d.ts +11 -0
  300. package/dist/reports/rsmp/components/rsmp-preview-modal.js +47 -0
  301. package/dist/reports/rsmp/components/rsmp-types.d.ts +44 -0
  302. package/dist/reports/rsmp/components/rsmp-types.js +1 -0
  303. package/dist/reports/rsmp/components/rsmp-utils.d.ts +5 -0
  304. package/dist/reports/rsmp/components/rsmp-utils.js +41 -0
  305. package/dist/reports/rsmp/lib/rsmp-grouping.d.ts +14 -0
  306. package/dist/reports/rsmp/lib/rsmp-grouping.js +75 -0
  307. package/dist/reports/stock-card/_components/create-form.d.ts +13 -0
  308. package/dist/reports/stock-card/_components/create-form.js +39 -0
  309. package/dist/reports/stock-card/_components/document-preview.d.ts +7 -0
  310. package/dist/reports/stock-card/_components/document-preview.js +29 -0
  311. package/dist/reports/stock-card/types.d.ts +31 -0
  312. package/dist/reports/stock-card/types.js +1 -0
  313. package/dist/reports/stock-card/utils.d.ts +32 -0
  314. package/dist/reports/stock-card/utils.js +248 -0
  315. package/dist/reports/wmr/_components/create-form.d.ts +22 -0
  316. package/dist/reports/wmr/_components/create-form.js +61 -0
  317. package/dist/reports/wmr/_components/document-preview.d.ts +10 -0
  318. package/dist/reports/wmr/_components/document-preview.js +59 -0
  319. package/dist/reports/wmr/types.d.ts +45 -0
  320. package/dist/reports/wmr/types.js +1 -0
  321. package/dist/reports/wmr/utils.d.ts +32 -0
  322. package/dist/reports/wmr/utils.js +343 -0
  323. package/dist/styles.css +4492 -0
  324. package/extraction-manifest.json +620 -0
  325. package/package.json +197 -0
@@ -0,0 +1,1094 @@
1
+ export declare const newReportConfigs: {
2
+ pr: {
3
+ title: string;
4
+ description: string;
5
+ reportCode: string;
6
+ regulatoryBasis: string;
7
+ story: string;
8
+ acceptanceChecks: string[];
9
+ fields: ({
10
+ id: string;
11
+ label: string;
12
+ type: "text";
13
+ required: true;
14
+ } | {
15
+ id: string;
16
+ label: string;
17
+ type: "number";
18
+ required: true;
19
+ } | {
20
+ id: string;
21
+ label: string;
22
+ type: "date";
23
+ required: true;
24
+ })[];
25
+ initialRows: never[];
26
+ };
27
+ ris: {
28
+ title: string;
29
+ description: string;
30
+ reportCode: string;
31
+ regulatoryBasis: string;
32
+ story: string;
33
+ acceptanceChecks: string[];
34
+ fields: ({
35
+ id: string;
36
+ label: string;
37
+ type: "text";
38
+ required: true;
39
+ placeholder: string;
40
+ options?: undefined;
41
+ } | {
42
+ id: string;
43
+ label: string;
44
+ type: "select";
45
+ required: true;
46
+ options: string[];
47
+ placeholder: string;
48
+ } | {
49
+ id: string;
50
+ label: string;
51
+ type: "textarea";
52
+ required: true;
53
+ placeholder: string;
54
+ options?: undefined;
55
+ } | {
56
+ id: string;
57
+ label: string;
58
+ type: "text";
59
+ required: true;
60
+ placeholder?: undefined;
61
+ options?: undefined;
62
+ } | {
63
+ id: string;
64
+ label: string;
65
+ type: "date";
66
+ required: true;
67
+ placeholder?: undefined;
68
+ options?: undefined;
69
+ })[];
70
+ tableFields: ({
71
+ id: string;
72
+ label: string;
73
+ type: "text";
74
+ required: true;
75
+ placeholder: string;
76
+ } | {
77
+ id: string;
78
+ label: string;
79
+ type: "text";
80
+ required: false;
81
+ placeholder: string;
82
+ } | {
83
+ id: string;
84
+ label: string;
85
+ type: "textarea";
86
+ required: false;
87
+ placeholder: string;
88
+ })[];
89
+ initialRows: never[];
90
+ };
91
+ "stock-card": {
92
+ title: string;
93
+ description: string;
94
+ reportCode: string;
95
+ moduleKey: string;
96
+ regulatoryBasis: string;
97
+ story: string;
98
+ acceptanceChecks: string[];
99
+ fields: ({
100
+ id: string;
101
+ label: string;
102
+ type: "text";
103
+ required: true;
104
+ } | {
105
+ id: string;
106
+ label: string;
107
+ type: "number";
108
+ required: true;
109
+ } | {
110
+ id: string;
111
+ label: string;
112
+ type: "date";
113
+ required: true;
114
+ })[];
115
+ initialRows: never[];
116
+ };
117
+ "property-card": {
118
+ title: string;
119
+ description: string;
120
+ reportCode: string;
121
+ moduleKey: string;
122
+ regulatoryBasis: string;
123
+ story: string;
124
+ acceptanceChecks: string[];
125
+ fields: {
126
+ id: string;
127
+ label: string;
128
+ type: "text";
129
+ required: true;
130
+ }[];
131
+ tableFields: ({
132
+ id: string;
133
+ label: string;
134
+ type: "date";
135
+ required: true;
136
+ numberType?: undefined;
137
+ } | {
138
+ id: string;
139
+ label: string;
140
+ type: "text";
141
+ required: true;
142
+ numberType?: undefined;
143
+ } | {
144
+ id: string;
145
+ label: string;
146
+ type: "number";
147
+ numberType: "int";
148
+ required: true;
149
+ } | {
150
+ id: string;
151
+ label: string;
152
+ type: "number";
153
+ numberType: "float";
154
+ required: true;
155
+ } | {
156
+ id: string;
157
+ label: string;
158
+ type: "textarea";
159
+ required: true;
160
+ numberType?: undefined;
161
+ })[];
162
+ initialRows: {
163
+ values: {
164
+ entityName: string;
165
+ fundCluster: string;
166
+ propertyPlantEquipment: string;
167
+ description: string;
168
+ propertyNumber: string;
169
+ };
170
+ tableRows: {
171
+ entryDate: string;
172
+ referenceParNo: string;
173
+ receiptQty: string;
174
+ issueTransferDisposalQty: string;
175
+ issueTransferDisposalOfficeOfficer: string;
176
+ balanceQty: string;
177
+ amount: string;
178
+ remarks: string;
179
+ }[];
180
+ status: string;
181
+ }[];
182
+ };
183
+ iar: {
184
+ title: string;
185
+ description: string;
186
+ reportCode: string;
187
+ regulatoryBasis: string;
188
+ story: string;
189
+ acceptanceChecks: string[];
190
+ fields: ({
191
+ id: string;
192
+ label: string;
193
+ type: "text";
194
+ required: true;
195
+ autoGenerate: true;
196
+ readonly: true;
197
+ options?: undefined;
198
+ placeholder?: undefined;
199
+ searchable?: undefined;
200
+ defaultToday?: undefined;
201
+ } | {
202
+ id: string;
203
+ label: string;
204
+ type: "select";
205
+ required: true;
206
+ options: string[];
207
+ autoGenerate?: undefined;
208
+ readonly?: undefined;
209
+ placeholder?: undefined;
210
+ searchable?: undefined;
211
+ defaultToday?: undefined;
212
+ } | {
213
+ id: string;
214
+ label: string;
215
+ type: "select";
216
+ required: false;
217
+ placeholder: string;
218
+ options: never[];
219
+ searchable: true;
220
+ autoGenerate?: undefined;
221
+ readonly?: undefined;
222
+ defaultToday?: undefined;
223
+ } | {
224
+ id: string;
225
+ label: string;
226
+ type: "text";
227
+ required: false;
228
+ readonly: true;
229
+ placeholder: string;
230
+ autoGenerate?: undefined;
231
+ options?: undefined;
232
+ searchable?: undefined;
233
+ defaultToday?: undefined;
234
+ } | {
235
+ id: string;
236
+ label: string;
237
+ type: "date";
238
+ required: false;
239
+ defaultToday: true;
240
+ autoGenerate?: undefined;
241
+ readonly?: undefined;
242
+ options?: undefined;
243
+ placeholder?: undefined;
244
+ searchable?: undefined;
245
+ } | {
246
+ id: string;
247
+ label: string;
248
+ type: "date";
249
+ required: false;
250
+ autoGenerate?: undefined;
251
+ readonly?: undefined;
252
+ options?: undefined;
253
+ placeholder?: undefined;
254
+ searchable?: undefined;
255
+ defaultToday?: undefined;
256
+ } | {
257
+ id: string;
258
+ label: string;
259
+ type: "text";
260
+ required: false;
261
+ autoGenerate?: undefined;
262
+ readonly?: undefined;
263
+ options?: undefined;
264
+ placeholder?: undefined;
265
+ searchable?: undefined;
266
+ defaultToday?: undefined;
267
+ } | {
268
+ id: string;
269
+ label: string;
270
+ type: "text";
271
+ required: true;
272
+ autoGenerate?: undefined;
273
+ readonly?: undefined;
274
+ options?: undefined;
275
+ placeholder?: undefined;
276
+ searchable?: undefined;
277
+ defaultToday?: undefined;
278
+ } | {
279
+ id: string;
280
+ label: string;
281
+ type: "date";
282
+ required: true;
283
+ autoGenerate?: undefined;
284
+ readonly?: undefined;
285
+ options?: undefined;
286
+ placeholder?: undefined;
287
+ searchable?: undefined;
288
+ defaultToday?: undefined;
289
+ } | {
290
+ id: string;
291
+ label: string;
292
+ type: "textarea";
293
+ required: false;
294
+ autoGenerate?: undefined;
295
+ readonly?: undefined;
296
+ options?: undefined;
297
+ placeholder?: undefined;
298
+ searchable?: undefined;
299
+ defaultToday?: undefined;
300
+ })[];
301
+ tableFields: ({
302
+ id: string;
303
+ label: string;
304
+ type: "text";
305
+ required: false;
306
+ readonly: true;
307
+ options?: undefined;
308
+ } | {
309
+ id: string;
310
+ label: string;
311
+ type: "select";
312
+ required: true;
313
+ options: string[];
314
+ readonly: true;
315
+ } | {
316
+ id: string;
317
+ label: string;
318
+ type: "text";
319
+ required: true;
320
+ readonly: true;
321
+ options?: undefined;
322
+ } | {
323
+ id: string;
324
+ label: string;
325
+ type: "number";
326
+ required: true;
327
+ readonly: true;
328
+ options?: undefined;
329
+ } | {
330
+ id: string;
331
+ label: string;
332
+ type: "number";
333
+ required: false;
334
+ readonly?: undefined;
335
+ options?: undefined;
336
+ } | {
337
+ id: string;
338
+ label: string;
339
+ type: "number";
340
+ required: false;
341
+ readonly: true;
342
+ options?: undefined;
343
+ } | {
344
+ id: string;
345
+ label: string;
346
+ type: "textarea";
347
+ required: false;
348
+ readonly: true;
349
+ options?: undefined;
350
+ })[];
351
+ initialRows: never[];
352
+ };
353
+ rsmi: {
354
+ title: string;
355
+ description: string;
356
+ reportCode: string;
357
+ regulatoryBasis: string;
358
+ story: string;
359
+ acceptanceChecks: string[];
360
+ fields: ({
361
+ id: string;
362
+ label: string;
363
+ type: "text";
364
+ required: true;
365
+ } | {
366
+ id: string;
367
+ label: string;
368
+ type: "date";
369
+ required: true;
370
+ } | {
371
+ id: string;
372
+ label: string;
373
+ type: "text";
374
+ required: false;
375
+ } | {
376
+ id: string;
377
+ label: string;
378
+ type: "number";
379
+ required: true;
380
+ })[];
381
+ initialRows: never[];
382
+ };
383
+ wmr: {
384
+ title: string;
385
+ description: string;
386
+ reportCode: string;
387
+ regulatoryBasis: string;
388
+ story: string;
389
+ acceptanceChecks: string[];
390
+ fields: ({
391
+ id: string;
392
+ label: string;
393
+ type: "text";
394
+ required: true;
395
+ } | {
396
+ id: string;
397
+ label: string;
398
+ type: "date";
399
+ required: true;
400
+ } | {
401
+ id: string;
402
+ label: string;
403
+ type: "number";
404
+ required: true;
405
+ } | {
406
+ id: string;
407
+ label: string;
408
+ type: "textarea";
409
+ required: true;
410
+ })[];
411
+ initialRows: never[];
412
+ };
413
+ ptr: {
414
+ title: string;
415
+ description: string;
416
+ reportCode: string;
417
+ moduleKey: string;
418
+ regulatoryBasis: string;
419
+ story: string;
420
+ acceptanceChecks: string[];
421
+ fields: ({
422
+ id: string;
423
+ label: string;
424
+ type: "text";
425
+ required: true;
426
+ } | {
427
+ id: string;
428
+ label: string;
429
+ type: "text";
430
+ required: false;
431
+ } | {
432
+ id: string;
433
+ label: string;
434
+ type: "date";
435
+ required: true;
436
+ } | {
437
+ id: string;
438
+ label: string;
439
+ type: "date";
440
+ required: false;
441
+ })[];
442
+ tableFields: ({
443
+ id: string;
444
+ label: string;
445
+ type: "date";
446
+ required: true;
447
+ } | {
448
+ id: string;
449
+ label: string;
450
+ type: "text";
451
+ required: true;
452
+ } | {
453
+ id: string;
454
+ label: string;
455
+ type: "textarea";
456
+ required: true;
457
+ } | {
458
+ id: string;
459
+ label: string;
460
+ type: "number";
461
+ required: true;
462
+ })[];
463
+ initialRows: never[];
464
+ };
465
+ iirup: {
466
+ title: string;
467
+ description: string;
468
+ reportCode: string;
469
+ regulatoryBasis: string;
470
+ story: string;
471
+ acceptanceChecks: string[];
472
+ fields: ({
473
+ id: string;
474
+ label: string;
475
+ type: "date";
476
+ required: true;
477
+ defaultToday: true;
478
+ } | {
479
+ id: string;
480
+ label: string;
481
+ type: "text";
482
+ required: true;
483
+ defaultToday?: undefined;
484
+ } | {
485
+ id: string;
486
+ label: string;
487
+ type: "date";
488
+ required: true;
489
+ defaultToday?: undefined;
490
+ } | {
491
+ id: string;
492
+ label: string;
493
+ type: "textarea";
494
+ required: true;
495
+ defaultToday?: undefined;
496
+ } | {
497
+ id: string;
498
+ label: string;
499
+ type: "number";
500
+ required: true;
501
+ defaultToday?: undefined;
502
+ } | {
503
+ id: string;
504
+ label: string;
505
+ type: "textarea";
506
+ required: false;
507
+ defaultToday?: undefined;
508
+ } | {
509
+ id: string;
510
+ label: string;
511
+ type: "text";
512
+ required: false;
513
+ defaultToday?: undefined;
514
+ })[];
515
+ initialRows: never[];
516
+ };
517
+ ppelc: {
518
+ title: string;
519
+ description: string;
520
+ reportCode: string;
521
+ moduleKey: string;
522
+ regulatoryBasis: string;
523
+ story: string;
524
+ acceptanceChecks: string[];
525
+ fields: {
526
+ id: string;
527
+ label: string;
528
+ type: "text";
529
+ required: true;
530
+ }[];
531
+ tableFields: ({
532
+ id: string;
533
+ label: string;
534
+ type: "date";
535
+ required: true;
536
+ } | {
537
+ id: string;
538
+ label: string;
539
+ type: "text";
540
+ required: true;
541
+ } | {
542
+ id: string;
543
+ label: string;
544
+ type: "number";
545
+ required: true;
546
+ })[];
547
+ initialRows: never[];
548
+ };
549
+ spc: {
550
+ title: string;
551
+ description: string;
552
+ reportCode: string;
553
+ regulatoryBasis: string;
554
+ story: string;
555
+ acceptanceChecks: string[];
556
+ fields: ({
557
+ id: string;
558
+ label: string;
559
+ type: "text";
560
+ required: true;
561
+ } | {
562
+ id: string;
563
+ label: string;
564
+ type: "text";
565
+ required?: undefined;
566
+ } | {
567
+ id: string;
568
+ label: string;
569
+ type: "textarea";
570
+ required: true;
571
+ } | {
572
+ id: string;
573
+ label: string;
574
+ type: "date";
575
+ required: true;
576
+ } | {
577
+ id: string;
578
+ label: string;
579
+ type: "number";
580
+ required: true;
581
+ })[];
582
+ initialRows: never[];
583
+ };
584
+ splc: {
585
+ title: string;
586
+ description: string;
587
+ reportCode: string;
588
+ regulatoryBasis: string;
589
+ story: string;
590
+ acceptanceChecks: string[];
591
+ fields: ({
592
+ id: string;
593
+ label: string;
594
+ type: "text";
595
+ required: true;
596
+ } | {
597
+ id: string;
598
+ label: string;
599
+ type: "textarea";
600
+ required: true;
601
+ })[];
602
+ tableFields: ({
603
+ id: string;
604
+ label: string;
605
+ type: "date";
606
+ required: true;
607
+ numberType?: undefined;
608
+ } | {
609
+ id: string;
610
+ label: string;
611
+ type: "text";
612
+ required: true;
613
+ numberType?: undefined;
614
+ } | {
615
+ id: string;
616
+ label: string;
617
+ type: "number";
618
+ numberType: "float";
619
+ required: true;
620
+ })[];
621
+ initialRows: never[];
622
+ };
623
+ regspi: {
624
+ title: string;
625
+ description: string;
626
+ reportCode: string;
627
+ regulatoryBasis: string;
628
+ story: string;
629
+ acceptanceChecks: string[];
630
+ fields: ({
631
+ id: string;
632
+ label: string;
633
+ type: "text";
634
+ required: true;
635
+ } | {
636
+ id: string;
637
+ label: string;
638
+ type: "date";
639
+ required: true;
640
+ } | {
641
+ id: string;
642
+ label: string;
643
+ type: "textarea";
644
+ required: true;
645
+ } | {
646
+ id: string;
647
+ label: string;
648
+ type: "number";
649
+ required: true;
650
+ })[];
651
+ initialRows: never[];
652
+ };
653
+ itr: {
654
+ title: string;
655
+ description: string;
656
+ reportCode: string;
657
+ regulatoryBasis: string;
658
+ story: string;
659
+ acceptanceChecks: string[];
660
+ fields: ({
661
+ id: string;
662
+ label: string;
663
+ type: "text";
664
+ required: true;
665
+ options?: undefined;
666
+ } | {
667
+ id: string;
668
+ label: string;
669
+ type: "date";
670
+ required: true;
671
+ options?: undefined;
672
+ } | {
673
+ id: string;
674
+ label: string;
675
+ type: "select";
676
+ required: true;
677
+ options: string[];
678
+ } | {
679
+ id: string;
680
+ label: string;
681
+ type: "textarea";
682
+ required: true;
683
+ options?: undefined;
684
+ } | {
685
+ id: string;
686
+ label: string;
687
+ type: "number";
688
+ required: true;
689
+ options?: undefined;
690
+ })[];
691
+ initialRows: never[];
692
+ };
693
+ rrsp: {
694
+ title: string;
695
+ description: string;
696
+ reportCode: string;
697
+ regulatoryBasis: string;
698
+ story: string;
699
+ acceptanceChecks: string[];
700
+ fields: ({
701
+ id: string;
702
+ label: string;
703
+ type: "text";
704
+ required: true;
705
+ } | {
706
+ id: string;
707
+ label: string;
708
+ type: "date";
709
+ required: true;
710
+ } | {
711
+ id: string;
712
+ label: string;
713
+ type: "textarea";
714
+ required: true;
715
+ } | {
716
+ id: string;
717
+ label: string;
718
+ type: "number";
719
+ required: true;
720
+ })[];
721
+ initialRows: never[];
722
+ };
723
+ rspi: {
724
+ title: string;
725
+ description: string;
726
+ reportCode: string;
727
+ regulatoryBasis: string;
728
+ story: string;
729
+ acceptanceChecks: string[];
730
+ fields: ({
731
+ id: string;
732
+ label: string;
733
+ type: "text";
734
+ required: true;
735
+ } | {
736
+ id: string;
737
+ label: string;
738
+ type: "date";
739
+ required: true;
740
+ } | {
741
+ id: string;
742
+ label: string;
743
+ type: "textarea";
744
+ required: true;
745
+ } | {
746
+ id: string;
747
+ label: string;
748
+ type: "number";
749
+ required: true;
750
+ })[];
751
+ initialRows: never[];
752
+ };
753
+ rpcsp: {
754
+ title: string;
755
+ description: string;
756
+ reportCode: string;
757
+ regulatoryBasis: string;
758
+ story: string;
759
+ acceptanceChecks: string[];
760
+ fields: ({
761
+ id: string;
762
+ label: string;
763
+ type: "text";
764
+ required: true;
765
+ } | {
766
+ id: string;
767
+ label: string;
768
+ type: "date";
769
+ required: true;
770
+ } | {
771
+ id: string;
772
+ label: string;
773
+ type: "textarea";
774
+ required: true;
775
+ } | {
776
+ id: string;
777
+ label: string;
778
+ type: "number";
779
+ required: true;
780
+ })[];
781
+ initialRows: never[];
782
+ };
783
+ rlsddsp: {
784
+ title: string;
785
+ description: string;
786
+ reportCode: string;
787
+ regulatoryBasis: string;
788
+ story: string;
789
+ acceptanceChecks: string[];
790
+ fields: ({
791
+ id: string;
792
+ label: string;
793
+ type: "text";
794
+ required: true;
795
+ options?: undefined;
796
+ } | {
797
+ id: string;
798
+ label: string;
799
+ type: "select";
800
+ required: true;
801
+ options: string[];
802
+ } | {
803
+ id: string;
804
+ label: string;
805
+ type: "date";
806
+ required: true;
807
+ options?: undefined;
808
+ } | {
809
+ id: string;
810
+ label: string;
811
+ type: "textarea";
812
+ required: true;
813
+ options?: undefined;
814
+ } | {
815
+ id: string;
816
+ label: string;
817
+ type: "number";
818
+ required: true;
819
+ options?: undefined;
820
+ })[];
821
+ initialRows: never[];
822
+ };
823
+ iirusp: {
824
+ title: string;
825
+ description: string;
826
+ reportCode: string;
827
+ regulatoryBasis: string;
828
+ story: string;
829
+ acceptanceChecks: string[];
830
+ fields: ({
831
+ id: string;
832
+ label: string;
833
+ type: "text";
834
+ required: true;
835
+ } | {
836
+ id: string;
837
+ label: string;
838
+ type: "date";
839
+ required: true;
840
+ } | {
841
+ id: string;
842
+ label: string;
843
+ type: "textarea";
844
+ required: true;
845
+ } | {
846
+ id: string;
847
+ label: string;
848
+ type: "number";
849
+ required: true;
850
+ })[];
851
+ initialRows: never[];
852
+ };
853
+ par: {
854
+ title: string;
855
+ description: string;
856
+ reportCode: string;
857
+ regulatoryBasis: string;
858
+ story: string;
859
+ acceptanceChecks: string[];
860
+ fields: ({
861
+ id: string;
862
+ label: string;
863
+ type: "text";
864
+ required: false;
865
+ options?: undefined;
866
+ placeholder?: undefined;
867
+ autoGenerate?: undefined;
868
+ readonly?: undefined;
869
+ } | {
870
+ id: string;
871
+ label: string;
872
+ type: "select";
873
+ required: true;
874
+ options: string[];
875
+ placeholder: string;
876
+ autoGenerate?: undefined;
877
+ readonly?: undefined;
878
+ } | {
879
+ id: string;
880
+ label: string;
881
+ type: "text";
882
+ required: true;
883
+ options?: undefined;
884
+ placeholder?: undefined;
885
+ autoGenerate?: undefined;
886
+ readonly?: undefined;
887
+ } | {
888
+ id: string;
889
+ label: string;
890
+ type: "text";
891
+ required: true;
892
+ autoGenerate: true;
893
+ readonly: true;
894
+ options?: undefined;
895
+ placeholder?: undefined;
896
+ } | {
897
+ id: string;
898
+ label: string;
899
+ type: "number";
900
+ required: true;
901
+ options?: undefined;
902
+ placeholder?: undefined;
903
+ autoGenerate?: undefined;
904
+ readonly?: undefined;
905
+ } | {
906
+ id: string;
907
+ label: string;
908
+ type: "textarea";
909
+ required: true;
910
+ options?: undefined;
911
+ placeholder?: undefined;
912
+ autoGenerate?: undefined;
913
+ readonly?: undefined;
914
+ } | {
915
+ id: string;
916
+ label: string;
917
+ type: "date";
918
+ required: true;
919
+ options?: undefined;
920
+ placeholder?: undefined;
921
+ autoGenerate?: undefined;
922
+ readonly?: undefined;
923
+ } | {
924
+ id: string;
925
+ label: string;
926
+ type: "date";
927
+ required: false;
928
+ options?: undefined;
929
+ placeholder?: undefined;
930
+ autoGenerate?: undefined;
931
+ readonly?: undefined;
932
+ })[];
933
+ initialRows: never[];
934
+ };
935
+ ics: {
936
+ title: string;
937
+ description: string;
938
+ reportCode: string;
939
+ regulatoryBasis: string;
940
+ story: string;
941
+ acceptanceChecks: string[];
942
+ fields: ({
943
+ id: string;
944
+ label: string;
945
+ type: "text";
946
+ required: true;
947
+ } | {
948
+ id: string;
949
+ label: string;
950
+ type: "text";
951
+ required: false;
952
+ } | {
953
+ id: string;
954
+ label: string;
955
+ type: "textarea";
956
+ required: false;
957
+ })[];
958
+ tableFields: ({
959
+ id: string;
960
+ label: string;
961
+ type: "number";
962
+ required: true;
963
+ } | {
964
+ id: string;
965
+ label: string;
966
+ type: "text";
967
+ required: false;
968
+ } | {
969
+ id: string;
970
+ label: string;
971
+ type: "number";
972
+ required: false;
973
+ } | {
974
+ id: string;
975
+ label: string;
976
+ type: "text";
977
+ required: true;
978
+ })[];
979
+ initialRows: never[];
980
+ };
981
+ rlsddp: {
982
+ title: string;
983
+ description: string;
984
+ reportCode: string;
985
+ regulatoryBasis: string;
986
+ story: string;
987
+ acceptanceChecks: string[];
988
+ fields: ({
989
+ id: string;
990
+ label: string;
991
+ type: "text";
992
+ required: true;
993
+ options?: undefined;
994
+ } | {
995
+ id: string;
996
+ label: string;
997
+ type: "select";
998
+ required: true;
999
+ options: string[];
1000
+ } | {
1001
+ id: string;
1002
+ label: string;
1003
+ type: "text";
1004
+ required: false;
1005
+ options?: undefined;
1006
+ } | {
1007
+ id: string;
1008
+ label: string;
1009
+ type: "date";
1010
+ required: false;
1011
+ options?: undefined;
1012
+ } | {
1013
+ id: string;
1014
+ label: string;
1015
+ type: "date";
1016
+ required: true;
1017
+ options?: undefined;
1018
+ } | {
1019
+ id: string;
1020
+ label: string;
1021
+ type: "textarea";
1022
+ required: true;
1023
+ options?: undefined;
1024
+ } | {
1025
+ id: string;
1026
+ label: string;
1027
+ type: "number";
1028
+ required: true;
1029
+ options?: undefined;
1030
+ })[];
1031
+ initialRows: never[];
1032
+ };
1033
+ rpci: {
1034
+ title: string;
1035
+ description: string;
1036
+ reportCode: string;
1037
+ regulatoryBasis: string;
1038
+ story: string;
1039
+ acceptanceChecks: string[];
1040
+ fields: ({
1041
+ id: string;
1042
+ label: string;
1043
+ type: "date";
1044
+ required: true;
1045
+ } | {
1046
+ id: string;
1047
+ label: string;
1048
+ type: "text";
1049
+ required: true;
1050
+ } | {
1051
+ id: string;
1052
+ label: string;
1053
+ type: "textarea";
1054
+ required: true;
1055
+ } | {
1056
+ id: string;
1057
+ label: string;
1058
+ type: "number";
1059
+ required: true;
1060
+ })[];
1061
+ initialRows: never[];
1062
+ };
1063
+ rpcppe: {
1064
+ title: string;
1065
+ description: string;
1066
+ reportCode: string;
1067
+ regulatoryBasis: string;
1068
+ story: string;
1069
+ acceptanceChecks: string[];
1070
+ fields: ({
1071
+ id: string;
1072
+ label: string;
1073
+ type: "text";
1074
+ required: true;
1075
+ } | {
1076
+ id: string;
1077
+ label: string;
1078
+ type: "date";
1079
+ required: true;
1080
+ } | {
1081
+ id: string;
1082
+ label: string;
1083
+ type: "textarea";
1084
+ required: true;
1085
+ } | {
1086
+ id: string;
1087
+ label: string;
1088
+ type: "number";
1089
+ required: true;
1090
+ })[];
1091
+ initialRows: never[];
1092
+ };
1093
+ };
1094
+ export type NewReportConfigKey = keyof typeof newReportConfigs;