Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

1 рядок
20 KiB

  1. {"ast":null,"code":"export var deviationFormBuilder = function deviationFormBuilder(s) {\n var basicInfo1 = [[{\n 'inputType': 'text',\n 'inputLabel': 'Part Number',\n 'inputClass': '',\n 'inputId': 'partNumber',\n 'defaultValue': s.partNumber,\n 'inputDisabled': false\n }, {\n 'inputType': 'select',\n 'inputLabel': 'Deviation Type',\n 'inputClass': '',\n 'inputId': 'type',\n 'defaultValue': s.type,\n 'opts': ['Not Selected', 1, 2],\n 'inputDisabled': false\n }], [{\n 'inputType': 'text',\n 'inputLabel': 'Order Number',\n 'inputClass': '',\n 'inputId': 'orderNumber',\n 'defaultValue': s.orderNumber,\n 'inputDisabled': false\n }, {\n 'inputType': 'checkbox',\n 'inputLabel': 'Renewal of Prev?',\n 'inputClass': '',\n 'inputId': 'renew',\n 'defaultValue': s.renew || false,\n 'inputDisabled': false\n }], [{\n 'inputType': 'text',\n 'inputLabel': 'Date',\n 'inputClass': '',\n 'inputId': 'createDate',\n 'defaultValue': s.createDate,\n 'inputDisabled': false\n }, {\n 'inputType': 'text',\n 'inputLabel': 'Prev. Deviation No',\n 'inputClass': '',\n 'inputId': 'previousId',\n 'defaultValue': s.previousId,\n 'inputDisabled': true\n }]];\n var basicInfo2 = [[{\n 'inputType': 'textarea',\n 'inputLabel': 'Reason for Deviation',\n 'inputClass': '',\n 'inputId': 'reason',\n 'defaultValue': s.reason,\n 'inputDisabled': false\n }], [{\n 'inputType': 'textarea',\n 'inputLabel': 'Description of Deviation',\n 'inputClass': '',\n 'inputId': 'description',\n 'defaultValue': s.description,\n 'inputDisabled': false\n }]];\n var deviationTerminationConditions = [[{\n 'inputType': 'text',\n 'inputLabel': 'Number of Pieces',\n 'inputClass': '',\n 'inputId': 'pieces',\n 'defaultValue': s.pieces,\n 'inputDisabled': false\n }], [{\n 'inputType': 'text',\n 'inputLabel': '-or- Quantity of Material',\n 'inputClass': '',\n 'inputId': 'qtyOfMaterial',\n 'defaultValue': s.qtyOfMaterial,\n 'inputDisabled': false\n }], [{\n 'inputType': 'none',\n 'inputLabel': '-or- Length of Time Termination',\n 'inputClass': '',\n 'inputId': '--',\n 'defaultValue': '',\n // This item doesn't need any values. It's just a label\n 'inputDisabled': false\n }, {\n 'inputType': 'text',\n 'inputLabel': 'Start Date',\n 'inputClass': '',\n 'inputId': 'startDate',\n 'defaultValue': s.startDate,\n 'inputDisabled': false\n }, {\n 'inputType': 'text',\n 'inputLabel': 'End Date',\n 'inputClass': '',\n 'inputId': 'endDate',\n 'defaultValue': s.endDate,\n 'inputDisabled': false\n }]];\n var correctiveAction = [[{\n 'inputType': 'textarea',\n 'inputLabel': 'Corrective Action Plan',\n 'inputClass': '',\n 'inputId': 'caplan',\n 'defaultValue': s.caplan,\n 'inputDisabled': false\n }], [{\n 'inputType': 'select',\n 'inputLabel': 'Responsibility for Corrective Action',\n 'inputClass': '',\n 'inputId': 'responsibleUserName',\n 'defaultValue': s.responsibleUserName,\n 'inputDisabled': false\n }, {\n 'inputType': 'text',\n 'inputLabel': 'Date Corrective Plan Implemented',\n 'inputClass': '',\n 'inputId': 'caplanDate',\n 'defaultValue': s.caplanDate,\n 'inputDisabled': false\n }]];\n var productIssues = [[{\n 'inputType': 'checkbox-alt',\n 'inputLabel': 'Revalidation or Further Testing Required',\n 'inputClass': '',\n 'inputId': 'revalidate',\n 'defaultValue': s.revalidate || false,\n 'inputDisabled': false\n }, {\n 'inputType': 'checkbox-alt',\n 'inputLabel': 'Does the Deviation Effect Fit, Form or Function',\n 'inputClass': '',\n 'inputId': 'fff',\n 'defaultValue': s.fff || false,\n 'inputDisabled': false\n }, {\n 'inputType': 'checkbox-alt',\n 'inputLabel': 'Customer Waives Deviation Marking on Packages',\n 'inputClass': '',\n 'inputId': 'marking',\n 'defaultValue': s.marking || false,\n 'inputDisabled': false\n }], [{\n 'inputType': 'text',\n 'inputLabel': 'Customer Name',\n 'inputClass': '',\n 'inputId': 'customer',\n 'defaultValue': s.customer,\n //Todo implement a dropdown.\n 'inputDisabled': false\n }, {\n 'inputType': 'text',\n 'inputLabel': 'Contact Name',\n 'inputClass': '',\n 'inputId': 'contact',\n 'defaultValue': s.contact,\n 'inputDisabled': false\n }, {\n 'inputType': 'text',\n 'inputLabel': 'Contact Date',\n 'inputClass': '',\n 'inputId': 'contractDate',\n 'defaultValue': s.contactDate,\n 'inputDisabled': false\n }], [{\n 'inputType': 'textarea',\n 'inputLabel': 'Comments',\n 'inputClass': '',\n 'inputId': 'comment',\n 'defaultValue': s.comment,\n 'inputDisabled': false\n }]];\n var inventoryIssues = [[{\n 'inputType': 'checkbox-alt',\n 'inputLabel': 'Material Substitution',\n 'inputClass': '',\n 'inputId': 'materialSub',\n 'defaultValue': s.materialSub || false,\n 'inputDisabled': false\n }, {\n 'inputType': 'checkbox-alt',\n 'inputLabel': 'Part Substitution',\n 'inputClass': '',\n 'inputId': 'partSub',\n 'defaultValue': s.partSub || false,\n 'inputDisabled': false\n }], [{\n 'inputType': 'text',\n 'inputLabel': 'Inventory Adjusted By',\n 'inputClass': '',\n 'inputId': 'adjustUserName',\n 'defaultValue': s.adjustUserName,\n 'inputDisabled': false\n }, {\n 'inputType': 'textarea',\n 'inputLabel': 'Effect on Inventory',\n 'inputClass': '',\n 'inputId': 'effect',\n 'defaultValue': s.effect,\n 'inputDisabled': false\n }], [{\n 'inputType': 'text',\n 'inputLabel': 'Adjusted Date',\n 'inputClass': '',\n 'inputId': 'adjustDate',\n 'defaultValue': s.adjustDate,\n 'inputDisabled': false\n }, {\n 'inputType': 'textarea',\n 'inputLabel': 'Remarks',\n 'inputClass': '',\n 'inputId': 'remarks',\n 'defaultValue': s.remarks,\n 'inputDisabled': false\n }]];\n var traceability = [[{\n 'inputType': 'text',\n 'inputLabel': 'Verified By',\n 'inputClass': '',\n 'inputId': 'verifyUserName',\n 'defaultValue': s.verifyUserName,\n 'inputDisabled': true\n }], [{\n 'inputType': 'text',\n 'inputLabel': 'Date',\n 'inputClass': '',\n 'inputId': 'verifyDate',\n 'defaultValue': s.verifyDate,\n 'inputDisabled': true\n }]];\n return {\n basicInfo1: basicInfo1,\n basicInfo2: basicInfo2,\n deviationTerminationConditions: deviationTerminationConditions,\n correctiveAction: correctiveAction,\n productIssues: productIssues,\n inventoryIssues: inventoryIssues,\n traceability: traceability\n };\n};","map":{"version":3,"sources":["/Users/michielcarman/Projects/React Access/React_Client_App_Access/src/containers/RequestForDeviation/deviationFormBuilder.tsx"],"names":["deviationFormBuilder","s","basicInfo1","partNumber","type","orderNumber","renew","createDate","previousId","basicInfo2","reason","description","deviationTerminationConditions","pieces","qtyOfMaterial","startDate","endDate","correctiveAction","caplan","responsibleUserName","caplanDate","productIssues","revalidate","fff","marking","customer","contact","contactDate","comment","inventoryIssues","materialSub","partSub","adjustUserName","effect","adjustDate","remarks","traceability","verifyUserName","verifyDate"],"mappings":"AACA,OAAO,IAAMA,oBAAoB,GAAG,SAAvBA,oBAAuB,CAACC,CAAD,EAAqB;AAErD,MAAMC,UAAU,GAAG,CACf,CAAC;AACG,iBAAa,MADhB;AAEG,kBAAc,aAFjB;AAGG,kBAAc,EAHjB;AAIG,eAAW,YAJd;AAKG,oBAAgBD,CAAC,CAACE,UALrB;AAMG,qBAAiB;AANpB,GAAD,EAOG;AACC,iBAAa,QADd;AAEC,kBAAc,gBAFf;AAGC,kBAAc,EAHf;AAIC,eAAW,MAJZ;AAKC,oBAAgBF,CAAC,CAACG,IALnB;AAMC,YAAQ,CAAC,cAAD,EAAiB,CAAjB,EAAoB,CAApB,CANT;AAOC,qBAAiB;AAPlB,GAPH,CADe,EAgBX,CAAC;AACD,iBAAa,MADZ;AAED,kBAAc,cAFb;AAGD,kBAAc,EAHb;AAID,eAAW,aAJV;AAKD,oBAAgBH,CAAC,CAACI,WALjB;AAMD,qBAAiB;AANhB,GAAD,EAOD;AACC,iBAAa,UADd;AAEC,kBAAc,kBAFf;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UADd;AAEC,kBAAc,qBAFf;AAGC,kBAAc,EAHf;AAIC,eAAW,QAJZ;AAKC,oBAAgB/B,CAAC,CAACgC,MALnB;AAMC,qBAAiB;AANlB,GAPC,CAfgB,EA6BhB,CAAC;AACD,iBAAa,MADZ;AAED,kBAAc,eAFb;AAGD,kBAAc,EAHb;AAID,eAAW,YAJV;AAKD,oBAAgBhC,CAAC,CAACiC,UALjB;AAMD,qBAAiB;AANhB,GAAD,EAOD;AACC,iBAAa,UADd;AAEC,kBAAc,SAFf;AAGC,kBAAc,EAHf;AAIC,eAAW,SAJZ;AAKC,oBAAgBjC,CAAC,CAACkC,OALnB;AAMC,qBAAiB;AANlB,GAPC,CA7BgB,CAAxB;AA6CA,MAAMC,YAAY,GAAG,CACjB,CAAC;AACG,iBAAa,MADhB;AAEG,kBAAc,aAFjB;AAGG,kBAAc,EAHjB;AAIG,eAAW,gBAJd;AAKG,oBAAgBnC,CAAC,CAACoC,cALrB;AAMG,qBAAiB;AANpB,GAAD,CADiB,EASjB,CAAC;AACG,iBAAa,MADhB;AAEG,kBAAc,MAFjB;AAGG,kBAAc,EAHjB;AAIG,eAAW,YAJd;AAKG,oBAAgBpC,CAAC,CAACqC,UALrB;AAMG,qBAAiB;AANpB,GAAD,CATiB,CAArB;AAoBA,SAAO;AACHpC,IAAAA,UAAU,EAAVA,UADG;AAEHO,IAAAA,UAAU,EAAVA,UAFG;AAGHG,IAAAA,8BAA8B,EAA9BA,8BAHG;AAIHK,IAAAA,gBAAgB,EAAhBA,gBAJG;AAKHI,IAAAA,aAAa,EAAbA,aALG;AAMHQ,IAAAA,eAAe,EAAfA,eANG;AAOHO,IAAAA,YAAY,EAAZA;AAPG,GAAP;AAWH,CAjQM","sourcesContent":["import { RFDFormState } from './DeviationECO'\nexport const deviationFormBuilder = (s: RFDFormState) => {\n\n const basicInfo1 = [\n [{\n 'inputType': 'text',\n 'inputLabel': 'Part Number',\n 'inputClass': '',\n 'inputId': 'partNumber',\n 'defaultValue': s.partNumber,\n 'inputDisabled': false,\n }, {\n 'inputType': 'select',\n 'inputLabel': 'Deviation Type',\n 'inputClass': '',\n 'inputId': 'type',\n 'defaultValue': s.type,\n 'opts': ['Not Selected', 1, 2],\n 'inputDisabled': false,\n }], [{\n 'inputType': 'text',\n 'inputLabel': 'Order Number',\n 'inputClass': '',\n 'inputId': 'orderNumber',\n 'defaultValue': s.orderNumber,\n 'inputDisabled': false,\n }, {\n 'inputType': 'checkbox',\n 'inputLabel': 'Renewal of Prev?',\n 'inputClass': '',\n 'inputId': 'renew',\n 'defaultValue': s.renew || false,\n 'inputDisabled': false,\n }], [{\n 'inputType': 'text',\n 'inputLabel': 'Date',\n 'inputClass': '',\n 'inputId': 'createDate',\n 'defaultValue': s.createDate,\n 'inputDisabled': false,\n }, {\n 'inputType': 'text',\n 'inputLabel': 'Prev. Deviation No',\n 'inputClass': '',\n 'inputId': 'previousId',\n 'defaultValue': s.previousId,\n 'inputDisabled': true,\n }]\n ];\n\n const basicInfo2 = [\n [{\n 'inputType': 'textarea',\n 'inputLabel': 'Reason for Deviation',\n 'inputClass': '',\n 'inputId': 'reason',\n 'defaultValue': s.reason,\n 'inputDisabled': false,\n }],\n [{\n 'inputType': 'textarea',\n 'inputLabel': 'Description of Deviation',\n 'inputClass': '',\n 'inputId': 'description',\n 'defaultValue': s.description,\n 'inputDisabled': false,\n }]\n ];\n const deviationTerminationConditions = [\n [{\n 'inputType': 'text',\n 'inputLabel': 'Number of Pieces',\n 'inputClass': '',\n 'inputId': 'pieces',\n 'defaultValue': s.pieces,\n 'inputDisabled': false,\n }], [{\n 'inputType': 'text',\n 'inputLabel': '-or- Quantity of Material',\n 'inputClass': '',\n 'inputId': 'qtyOfMaterial',\n 'defaultValue': s.qtyOfMaterial,\n 'inputDisabled': false,\n }], [{\n 'inputType': 'none',\n 'inputLabel': '-or- Length of Time Termination',\n 'inputClass': '',\n 'inputId': '--',\n 'defaultValue': '', // This item doesn't need any values. It's just a label\n 'inputDisabled': false,\n }, {\n 'inputType': 'text',\n 'inputLabel': 'Start Date',\n 'inputClass': '',\n 'inputId': 'startDate',\n 'defaultValue': s.startDate,\n 'inputDisabled': false,\n }, {\n 'inputType': 'text',\n 'inputLabel': 'End Date',\n 'inputClass': '',\n 'inputId': 'endDate',\n 'defaultValue': s.endDate,\n 'inputDisabled': false,\n }]\n ];\n const correctiveAction = [\n [{\n 'inputType': 'textarea',\n 'inputLabel': 'Corrective Action Plan',\n 'inputClass': '',\n 'inputId': 'caplan',\n 'defaultValue': s.caplan,\n 'inputDisabled': false,\n }], [{\n 'inputType': 'select',\n 'inputLabel': 'Responsibility for Corrective Action',\n 'inputClass': '',\n 'inputId': 'responsibleUserName',\n 'defaultValue': s.responsibleUserName,\n 'inputDisabled': false,\n }, {\n 'inputType': 'text',\n 'inputLabel': 'Date Corrective Plan Implemented',\n 'inputClass': '',\n 'inputId': 'caplanDate',\n 'defaultValue': s.caplanDate,\n 'inputDisabled': false,\n }]\n ];\n const productIssues = [\n [{\n 'inputType': 'checkbox-alt',\n 'inputLabel': 'Revalidation or Further Testing Required',\n 'inputClass': '',\n 'inputId': 'revalidate',\n 'defaultValue': s.revalidate || false,\n 'inputDisabled': false,\n }, {\n 'inputType': 'checkbox-alt',\n 'inputLabel': 'Does the Deviation Effect Fit, Form or Function',\n 'inputClass': '',\n 'inputId': 'fff',\n 'defaultValue': s.fff || false,\n 'inputDisabled': false,\n }, {\n 'inputType': 'checkbox-alt',\n 'inputLabel': 'Customer Waives Deviation Marking on Packages',\n 'inputClass': '',\n 'inputId': 'marking',\n 'defaultValue': s.marking || false,\n 'inputDisabled': false,\n }], [{\n 'inputType': 'text',\n 'inputLabel': 'Customer Name',\n 'inputClass': '',\n 'inputId': 'customer',\n 'defaultValue': s.customer, //Todo implement a dropdown.\n 'inputDisabled': false,\n }, {\n 'inputType': 'text',\n 'inputLabel': 'Contact Name',\n 'inputClass': '',\n 'inputId': 'contact',\n 'defaultValue': s.contact,\n 'inputDisabled': false,\n }, {\n 'inputType': 'text',\n 'inputLabel': 'Contact Date',\n 'inputClass': '',\n 'inputId': 'contractDate',\n 'defaultValue': s.contactDate,\n 'inputDisabled': false,\n }], [{\n 'inputType': 'textarea',\n 'inputLabel': 'Comments',\n 'inputClass': '',\n 'inputId': 'comment',\n 'defaultValue': s.comment,\n 'inputDisabled': false,\n }]\n ];\n const inventoryIssues = [\n [{\n 'inputType': 'checkbox-alt',\n 'inputLabel': 'Material Substitution',\n 'inputClass': '',\n 'inputId': 'materialSub',\n 'defaultValue': s.materialSub || false,\n 'inputDisabled': false,\n }, {\n 'inputType': 'checkbox-alt',\n 'inputLabel': 'Part Substitution',\n 'inputClass': '',\n 'inputId': 'partSub',\n 'defaultValue': s.partSub || false,\n 'inputDisabled': false,\n }], [{\n 'inputType': 'text',\n 'inputLabel': 'Inventory Adjusted By',\n 'inputClass': '',\n 'inputId': 'adjustUserName',\n 'defaultValue': s.adjustUserName,\n 'inputDisabled': false,\n }, {\n 'inputType': 'textarea',\n 'inputLabel': 'Effect on Inventory',\n 'inputClass': '',\n 'inputId': 'effect',\n 'defaultValue': s.effect,\n 'inputDisabled': false,\n }], [{\n 'inputType': 'text',\n 'inputLabel': 'Adjusted Date',\n 'inputClass': '',\n 'inputId': 'adjustDate',\n 'defaultValue': s.adjustDate,\n 'inputDisabled': false,\n }, {\n 'inputType': 'textarea',\n 'inputLabel': 'Remarks',\n 'inputClass': '',\n 'inputId': 'remarks',\n 'defaultValue': s.remarks,\n 'inputDisabled': false,\n }]\n ];\n const traceability = [\n [{\n 'inputType': 'text',\n 'inputLabel': 'Verified By',\n 'inputClass': '',\n 'inputId': 'verifyUserName',\n 'defaultValue': s.verifyUserName,\n 'inputDisabled': true,\n }],\n [{\n 'inputType': 'text',\n 'inputLabel': 'Date',\n 'inputClass': '',\n 'inputId': 'verifyDate',\n 'defaultValue': s.verifyDate,\n 'inputDisabled': true,\n }\n ]\n ];\n\n return {\n basicInfo1,\n basicInfo2,\n deviationTerminationConditions,\n correctiveAction,\n productIssues,\n inventoryIssues,\n traceability\n }\n\n\n}\n\n\n\n"]},"metadata":{},"sourceType":"module"}