From e90f15f64a68b3dad7d5ad342a8556c607164108 Mon Sep 17 00:00:00 2001 From: stanislav <91570355+stanislavopeida@users.noreply.github.com> Date: Sat, 1 Jun 2024 20:05:40 +0200 Subject: [PATCH 1/8] Add matrix representation --- components/application/applicationField.tsx | 18 ++++++++++++++++++ lib/schemas/tally.ts | 8 ++++++++ 2 files changed, 26 insertions(+) diff --git a/components/application/applicationField.tsx b/components/application/applicationField.tsx index 62471567..f9940f41 100644 --- a/components/application/applicationField.tsx +++ b/components/application/applicationField.tsx @@ -139,6 +139,24 @@ const ApplicationValue = ({ field }: ApplicationFieldProps) => { ))} ); + + case "MATRIX": + return ( +
fC}%u6m%@J7Mkk_(OH<
zDIWHCA$|?87S7{&POuCR{>7}V@#;xF3}K7zE`|~xF=Jt4*#)tu7`6)LK}rDL^yqM)
zF=iz46a5|5;+`jb^*oalD?3`R;-Zj(Pfwk%+J}y+=NWO)fe{}gY{jir?Jq;S3VQR4
zs8ih9M$bJ+Oezi!e8_b06S+!Q+sldrL{bTq@vw0C(5&}A3u$shMRG|jF)hTDlGv*~
zhn8>{@~&)G!tr|C5VSiKr$3mbJ>um9XNc>a3eS%(R17IK@u-I$^%Y+tt89mlc&d~&
z+;J^XhQD0rzAMtjT6AbZ4c#-ZWukW})Kd@7&YV?~`_0H)e|* A49t;gwzIn!
{selected_value.text}
; + return{selected_value.text}
; } returnNo value
; @@ -182,9 +184,13 @@ const ApplicationValue = ({ field }: ApplicationFieldProps) => { export const ApplicationField = ({ field, className, + index, }: ApplicationFieldProps) => ( -