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