blixify-ui-web 0.4.241 → 0.4.243

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.
@@ -1 +1 @@
1
- {"version":3,"file":"testSchema.d.ts","sourceRoot":"","sources":["../../../src/components/data/testSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAgPrD,eAAO,MAAM,aAAa,EAAE,aAAa,EAkrDxC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,aAAa,EAgEzC,CAAC;AA0BF,eAAO,MAAM,kBAAkB,EAAE,aAAa,EAqJ7C,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,aAAa,EAyRpD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,aAAa,EA0L1C,CAAC;AA6BF,eAAO,MAAM,4BAA4B,UAChC,eAAe,GAAG,sBAAsB,KAC9C,aAAa,EAyEf,CAAC;AAEF,eAAO,MAAM,sBAAsB,UAC1B,gBAAgB,KACtB,aAAa,EAoLf,CAAC;AAEF,eAAO,MAAM,uBAAuB,UAC3B,iBAAiB,KACvB,aAAa,EAoTf,CAAC;AAEF,eAAO,MAAM,+BAA+B,UACnC,cAAc,GAAG,uBAAuB,KAC9C,aAAa,EA4Pf,CAAC;AAEF,eAAO,MAAM,mCAAmC,UACvC,eAAe,GAAG,4BAA4B,KACpD,aAAa,EA0Cf,CAAC;AAGF,eAAO,MAAM,4BAA4B,EAAE,aAAa,EAMvD,CAAC"}
1
+ {"version":3,"file":"testSchema.d.ts","sourceRoot":"","sources":["../../../src/components/data/testSchema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAgPrD,eAAO,MAAM,aAAa,EAAE,aAAa,EA6xDxC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,aAAa,EAgEzC,CAAC;AA0BF,eAAO,MAAM,kBAAkB,EAAE,aAAa,EAqJ7C,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,aAAa,EAyRpD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,aAAa,EA0L1C,CAAC;AA6BF,eAAO,MAAM,4BAA4B,UAChC,eAAe,GAAG,sBAAsB,KAC9C,aAAa,EAyEf,CAAC;AAEF,eAAO,MAAM,sBAAsB,UAC1B,gBAAgB,KACtB,aAAa,EAoLf,CAAC;AAEF,eAAO,MAAM,uBAAuB,UAC3B,iBAAiB,KACvB,aAAa,EAoTf,CAAC;AAEF,eAAO,MAAM,+BAA+B,UACnC,cAAc,GAAG,uBAAuB,KAC9C,aAAa,EA4Pf,CAAC;AAEF,eAAO,MAAM,mCAAmC,UACvC,eAAe,GAAG,4BAA4B,KACpD,aAAa,EA0Cf,CAAC;AAGF,eAAO,MAAM,4BAA4B,EAAE,aAAa,EAMvD,CAAC"}
@@ -14,6 +14,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.OMMaintenanceChecklistSchema = exports.renderSubmissionAndSignaturesSchema = exports.renderTechnicalChecklistsSchema = exports.renderPostServiceSchema = exports.renderPreServiceSchema = exports.renderBasicInformationSchema = exports.KMProjectSchema = exports.OrganisationProfileSchema = exports.OrganisationSchema = exports.ProposalSchema = exports.ProjectSchema = void 0;
16
16
  var moment_1 = __importDefault(require("moment"));
17
+ var react_1 = __importDefault(require("react"));
18
+ var textButton_1 = require("../action/textButton");
17
19
  var testData_1 = require("./testData");
18
20
  var clusterList = [];
19
21
  var Placeholder = {
@@ -174,6 +176,7 @@ exports.ProjectSchema = [
174
176
  popoverDesc: Placeholder.protocolIdentifyingNumberAndDate,
175
177
  tabId: "A. Research Identification",
176
178
  groupId: "Research Details",
179
+ disabled: true,
177
180
  },
178
181
  {
179
182
  id: "researchTitle",
@@ -225,6 +228,7 @@ exports.ProjectSchema = [
225
228
  ],
226
229
  defaultValue: ProjectStatus.PendingSubmission,
227
230
  disabled: true,
231
+ optional: true,
228
232
  groupId: "Application Details",
229
233
  tabId: "A. Research Identification",
230
234
  hideForm: true,
@@ -250,12 +254,14 @@ exports.ProjectSchema = [
250
254
  groupId: "Application Details",
251
255
  tabId: "A. Research Identification",
252
256
  hide: true,
257
+ optional: true,
253
258
  },
254
259
  {
255
260
  id: "createdAt",
256
261
  name: "Created At",
257
262
  type: "date",
258
263
  disabled: true,
264
+ optional: true,
259
265
  hide: true,
260
266
  hideForm: true,
261
267
  groupId: "Application Details",
@@ -266,6 +272,7 @@ exports.ProjectSchema = [
266
272
  name: "Updated At",
267
273
  type: "date",
268
274
  disabled: true,
275
+ optional: true,
269
276
  hideForm: true,
270
277
  groupId: "Application Details",
271
278
  tabId: "A. Research Identification",
@@ -731,6 +738,16 @@ exports.ProjectSchema = [
731
738
  groupId: "Risks of the research",
732
739
  hide: true,
733
740
  },
741
+ {
742
+ id: "otherDocs",
743
+ name: "Other Documents",
744
+ type: "multipleFile",
745
+ imageCollectionName: projectId,
746
+ fileExtension: ".pdf, image/*",
747
+ tabId: "E. Ethical Issues",
748
+ groupId: "Other Documents",
749
+ hide: true,
750
+ },
734
751
  // SECTION F: EXECUTIVE SUMMARY OF RESEARCH PROPOSAL
735
752
  {
736
753
  id: "executiveSummary",
@@ -945,7 +962,7 @@ exports.ProjectSchema = [
945
962
  name: "Study Flowchart",
946
963
  type: "multipleFile",
947
964
  imageCollectionName: projectId,
948
- imageFileName: "studyFlowchart.pdf",
965
+ fileExtension: "image/*, .pdf",
949
966
  hideWhen: [
950
967
  {
951
968
  type: "!=",
@@ -1341,6 +1358,7 @@ exports.ProjectSchema = [
1341
1358
  id: "startingDate",
1342
1359
  name: "Starting Date",
1343
1360
  type: "date",
1361
+ hideShowTime: true,
1344
1362
  listObjOrder: true,
1345
1363
  groupId: "Key Milestones",
1346
1364
  tabId: "H. Research Methodology",
@@ -1349,6 +1367,7 @@ exports.ProjectSchema = [
1349
1367
  {
1350
1368
  id: "expectedCompletionDate",
1351
1369
  name: "Expected Completion Date",
1370
+ hideShowTime: true,
1352
1371
  listObjOrder: true,
1353
1372
  type: "date",
1354
1373
  groupId: "Key Milestones",
@@ -1368,6 +1387,7 @@ exports.ProjectSchema = [
1368
1387
  id: "milestones",
1369
1388
  name: "Research Activities / Key Milestones",
1370
1389
  type: "markdown",
1390
+ groupId: "Key Milestones",
1371
1391
  tabId: "H. Research Methodology",
1372
1392
  placeholder: Placeholder.milestones,
1373
1393
  popoverDesc: Placeholder.milestones,
@@ -1378,8 +1398,126 @@ exports.ProjectSchema = [
1378
1398
  name: " Gantt Chart",
1379
1399
  type: "ganttchart",
1380
1400
  tableColWidth: "200%",
1401
+ groupId: "Key Milestones",
1402
+ tabId: "H. Research Methodology",
1403
+ hide: true,
1404
+ },
1405
+ {
1406
+ id: "sustainabilityPhDPostDoc",
1407
+ name: "Number of PhD/ Post-Doctoral Researcher",
1408
+ type: "number",
1409
+ tabId: "H. Research Methodology",
1410
+ groupId: "Publication Outcome",
1411
+ hide: true,
1412
+ },
1413
+ {
1414
+ id: "sustainabilityMasterStudent",
1415
+ name: "Number of Master Student",
1416
+ type: "number",
1417
+ tabId: "H. Research Methodology",
1418
+ groupId: "Publication Outcome",
1419
+ hide: true,
1420
+ },
1421
+ {
1422
+ id: "sustainabilityResearchAssistantOfficer",
1423
+ name: "Number of Research Assistant/Research Officer",
1424
+ type: "number",
1425
+ tabId: "H. Research Methodology",
1426
+ groupId: "Publication Outcome",
1427
+ hide: true,
1428
+ },
1429
+ {
1430
+ id: "sustainabilityKPJStaffIndustryResearcher",
1431
+ name: "Number of KPJ Staff/Industry Researcher",
1432
+ type: "number",
1433
+ tabId: "H. Research Methodology",
1434
+ groupId: "Publication Outcome",
1435
+ hide: true,
1436
+ },
1437
+ {
1438
+ id: "sustainabilityUndergraduateStudent",
1439
+ name: "Number of Undergraduate Student Researcher",
1440
+ type: "number",
1441
+ tabId: "H. Research Methodology",
1442
+ groupId: "Publication Outcome",
1443
+ hide: true,
1444
+ },
1445
+ {
1446
+ id: "publicationCount",
1447
+ name: "No. Of publications",
1448
+ type: "string",
1449
+ placeholder: Placeholder.publicationCount,
1450
+ popoverDesc: Placeholder.publicationCount,
1451
+ tabId: "H. Research Methodology",
1452
+ groupId: "Publication Outcome",
1453
+ hide: true,
1454
+ },
1455
+ {
1456
+ id: "journalIndexing",
1457
+ name: "Journal Indexing",
1458
+ type: "multipleList",
1459
+ listSelection: [
1460
+ "WoS",
1461
+ "Scopus",
1462
+ "MyCite",
1463
+ "Proceedings",
1464
+ "Books",
1465
+ "Chapter",
1466
+ "Others",
1467
+ ],
1468
+ listView: "radioview",
1469
+ disabledAutoSelect: true,
1470
+ tabId: "H. Research Methodology",
1471
+ groupId: "Publication Outcome",
1472
+ hide: true,
1473
+ },
1474
+ {
1475
+ id: "othersSpecifyPublication",
1476
+ name: "If others, please specify",
1477
+ type: "markdown",
1478
+ hideWhen: [
1479
+ {
1480
+ type: "!in",
1481
+ queryId: "journalIndexing",
1482
+ value: "Others",
1483
+ },
1484
+ ],
1485
+ placeholder: Placeholder.othersSpecifyPublication,
1486
+ popoverDesc: Placeholder.othersSpecifyPublication,
1487
+ tabId: "H. Research Methodology",
1488
+ groupId: "Publication Outcome",
1489
+ hide: true,
1490
+ },
1491
+ {
1492
+ id: "consentForm",
1493
+ name: "Consent Form",
1494
+ type: "file",
1495
+ imageCollectionName: projectId,
1496
+ imageFileName: "consentForm.pdf",
1381
1497
  tabId: "H. Research Methodology",
1498
+ groupId: "Consent and Data Collection Form",
1382
1499
  hide: true,
1500
+ optional: true,
1501
+ customElement: react_1.default.createElement(textButton_1.TextButton, {
1502
+ text: "Download Template",
1503
+ onClick: function () {
1504
+ var link = document.createElement("a");
1505
+ link.href = "/consent_form.pdf";
1506
+ link.download = "consent_form.pdf";
1507
+ link.click();
1508
+ },
1509
+ }),
1510
+ },
1511
+ {
1512
+ id: "dataCollectionForm",
1513
+ name: "Data Collection Form",
1514
+ type: "file",
1515
+ imageCollectionName: projectId,
1516
+ imageFileName: "dataCollectionForm.pdf",
1517
+ tabId: "H. Research Methodology",
1518
+ groupId: "Consent and Data Collection Form",
1519
+ hide: true,
1520
+ optional: true,
1383
1521
  },
1384
1522
  // SECTION I: COMMERCIAL AND TECHNOLOGICAL RELEVANCE
1385
1523
  {
@@ -1390,6 +1528,7 @@ exports.ProjectSchema = [
1390
1528
  popoverDesc: Placeholder.projectFeasibility,
1391
1529
  tabId: "I. Commercial and Technological Relevance",
1392
1530
  groupId: "A. Commercialization Potential",
1531
+ optional: true,
1393
1532
  hide: true,
1394
1533
  },
1395
1534
  {
@@ -1400,6 +1539,7 @@ exports.ProjectSchema = [
1400
1539
  popoverDesc: Placeholder.projectViability,
1401
1540
  tabId: "I. Commercial and Technological Relevance",
1402
1541
  groupId: "A. Commercialization Potential",
1542
+ optional: true,
1403
1543
  hide: true,
1404
1544
  },
1405
1545
  {
@@ -1410,6 +1550,7 @@ exports.ProjectSchema = [
1410
1550
  popoverDesc: Placeholder.profitability,
1411
1551
  tabId: "I. Commercial and Technological Relevance",
1412
1552
  groupId: "A. Commercialization Potential",
1553
+ optional: true,
1413
1554
  hide: true,
1414
1555
  },
1415
1556
  {
@@ -1420,6 +1561,7 @@ exports.ProjectSchema = [
1420
1561
  popoverDesc: Placeholder.preCommercializationGrant,
1421
1562
  tabId: "I. Commercial and Technological Relevance",
1422
1563
  groupId: "A. Commercialization Potential",
1564
+ optional: true,
1423
1565
  hide: true,
1424
1566
  },
1425
1567
  {
@@ -1430,6 +1572,7 @@ exports.ProjectSchema = [
1430
1572
  popoverDesc: Placeholder.marketSurvey,
1431
1573
  tabId: "I. Commercial and Technological Relevance",
1432
1574
  groupId: "A. Commercialization Potential",
1575
+ optional: true,
1433
1576
  hide: true,
1434
1577
  },
1435
1578
  {
@@ -1465,6 +1608,7 @@ exports.ProjectSchema = [
1465
1608
  disabledAutoSelect: true,
1466
1609
  tabId: "I. Commercial and Technological Relevance",
1467
1610
  groupId: "B. Tech Readiness",
1611
+ optional: true,
1468
1612
  hide: true,
1469
1613
  },
1470
1614
  {
@@ -1482,6 +1626,7 @@ exports.ProjectSchema = [
1482
1626
  disabledAutoSelect: true,
1483
1627
  tabId: "I. Commercial and Technological Relevance",
1484
1628
  groupId: "C. IP Generation",
1629
+ optional: true,
1485
1630
  hide: true,
1486
1631
  },
1487
1632
  {
@@ -1499,6 +1644,7 @@ exports.ProjectSchema = [
1499
1644
  popoverDesc: Placeholder.ipGenerationExplanation,
1500
1645
  tabId: "I. Commercial and Technological Relevance",
1501
1646
  groupId: "C. IP Generation",
1647
+ optional: true,
1502
1648
  hide: true,
1503
1649
  },
1504
1650
  // SECTION J: ECONOMIC AND OPERATIONAL IMPACT & EXPECTED OUTPUT
@@ -1510,6 +1656,7 @@ exports.ProjectSchema = [
1510
1656
  popoverDesc: Placeholder.costSavings,
1511
1657
  tabId: "J. Economic and Operational Impact & Expected Output",
1512
1658
  groupId: "A. Cost Savings",
1659
+ optional: true,
1513
1660
  hide: true,
1514
1661
  },
1515
1662
  {
@@ -1520,6 +1667,7 @@ exports.ProjectSchema = [
1520
1667
  popoverDesc: Placeholder.outputPerStaff,
1521
1668
  tabId: "J. Economic and Operational Impact & Expected Output",
1522
1669
  groupId: "B. Productivity",
1670
+ optional: true,
1523
1671
  hide: true,
1524
1672
  },
1525
1673
  {
@@ -1530,6 +1678,7 @@ exports.ProjectSchema = [
1530
1678
  popoverDesc: Placeholder.timeEfficiency,
1531
1679
  tabId: "J. Economic and Operational Impact & Expected Output",
1532
1680
  groupId: "B. Productivity",
1681
+ optional: true,
1533
1682
  hide: true,
1534
1683
  },
1535
1684
  {
@@ -1540,6 +1689,7 @@ exports.ProjectSchema = [
1540
1689
  popoverDesc: Placeholder.processOptimization,
1541
1690
  tabId: "J. Economic and Operational Impact & Expected Output",
1542
1691
  groupId: "B. Productivity",
1692
+ optional: true,
1543
1693
  hide: true,
1544
1694
  },
1545
1695
  {
@@ -1550,6 +1700,7 @@ exports.ProjectSchema = [
1550
1700
  popoverDesc: Placeholder.resourcesUtilization,
1551
1701
  tabId: "J. Economic and Operational Impact & Expected Output",
1552
1702
  groupId: "B. Productivity",
1703
+ optional: true,
1553
1704
  hide: true,
1554
1705
  },
1555
1706
  {
@@ -1560,6 +1711,7 @@ exports.ProjectSchema = [
1560
1711
  popoverDesc: Placeholder.qualityConsistency,
1561
1712
  tabId: "J. Economic and Operational Impact & Expected Output",
1562
1713
  groupId: "B. Productivity",
1714
+ optional: true,
1563
1715
  hide: true,
1564
1716
  },
1565
1717
  {
@@ -1571,6 +1723,7 @@ exports.ProjectSchema = [
1571
1723
  popoverDesc: Placeholder.potentialRevenue,
1572
1724
  tabId: "J. Economic and Operational Impact & Expected Output",
1573
1725
  groupId: "C. Potential Revenue",
1726
+ optional: true,
1574
1727
  hide: true,
1575
1728
  },
1576
1729
  // SECTION K: INDUSTRY COLLABORATION
@@ -1582,6 +1735,7 @@ exports.ProjectSchema = [
1582
1735
  popoverDesc: Placeholder.localIndustryCollaborationDesc,
1583
1736
  tabId: "K. Industry Collaboration",
1584
1737
  groupId: "Industry Collaboration",
1738
+ optional: true,
1585
1739
  hide: true,
1586
1740
  },
1587
1741
  {
@@ -1592,6 +1746,7 @@ exports.ProjectSchema = [
1592
1746
  placeholder: Placeholder.internationalIndustryCollaborationDesc,
1593
1747
  tabId: "K. Industry Collaboration",
1594
1748
  groupId: "Industry Collaboration",
1749
+ optional: true,
1595
1750
  hide: true,
1596
1751
  },
1597
1752
  {
@@ -1604,11 +1759,15 @@ exports.ProjectSchema = [
1604
1759
  objectData: [
1605
1760
  {
1606
1761
  id: "collaborationType",
1607
- name: "Collaboration Type",
1762
+ name: "Document Type",
1608
1763
  type: "list",
1609
1764
  listSelection: [
1610
- "Local/National Industry Collaboration",
1611
- "International Industry Collaboration",
1765
+ "LOI",
1766
+ "NDA",
1767
+ "Research Agreement (RA)",
1768
+ "MoU",
1769
+ "MoA",
1770
+ "Other",
1612
1771
  ],
1613
1772
  },
1614
1773
  {
@@ -1624,9 +1783,9 @@ exports.ProjectSchema = [
1624
1783
  type: "multipleFile",
1625
1784
  imageCollectionName: projectId,
1626
1785
  imageFileName: "collaboration_documentation.pdf",
1627
- optional: true,
1628
1786
  },
1629
1787
  ],
1788
+ optional: true,
1630
1789
  hide: true,
1631
1790
  },
1632
1791
  // SECTION L: SUSTAINABILITY
@@ -1638,6 +1797,7 @@ exports.ProjectSchema = [
1638
1797
  placeholder: Placeholder.environmentalImpact,
1639
1798
  tabId: "L. Sustainability",
1640
1799
  groupId: "Sustainability",
1800
+ optional: true,
1641
1801
  hide: true,
1642
1802
  },
1643
1803
  {
@@ -1648,6 +1808,7 @@ exports.ProjectSchema = [
1648
1808
  placeholder: Placeholder.socialImpact,
1649
1809
  tabId: "L. Sustainability",
1650
1810
  groupId: "Sustainability",
1811
+ optional: true,
1651
1812
  hide: true,
1652
1813
  },
1653
1814
  {
@@ -1658,6 +1819,7 @@ exports.ProjectSchema = [
1658
1819
  placeholder: Placeholder.governanceImpact,
1659
1820
  tabId: "L. Sustainability",
1660
1821
  groupId: "Sustainability",
1822
+ optional: true,
1661
1823
  hide: true,
1662
1824
  },
1663
1825
  {
@@ -1687,6 +1849,7 @@ exports.ProjectSchema = [
1687
1849
  disabledAutoSelect: true,
1688
1850
  tabId: "L. Sustainability",
1689
1851
  groupId: "Sustainability",
1852
+ optional: true,
1690
1853
  hide: true,
1691
1854
  },
1692
1855
  {
@@ -1697,92 +1860,7 @@ exports.ProjectSchema = [
1697
1860
  popoverDesc: Placeholder.sustainabilityDescription,
1698
1861
  tabId: "L. Sustainability",
1699
1862
  groupId: "Sustainability",
1700
- hide: true,
1701
- },
1702
- {
1703
- id: "sustainabilityPhDPostDoc",
1704
- name: "Number of PhD/ Post-Doctoral Researcher",
1705
- type: "number",
1706
- tabId: "L. Sustainability",
1707
- groupId: "Sustainability",
1708
- hide: true,
1709
- },
1710
- {
1711
- id: "sustainabilityMasterStudent",
1712
- name: "Number of Master Student",
1713
- type: "number",
1714
- tabId: "L. Sustainability",
1715
- groupId: "Sustainability",
1716
- hide: true,
1717
- },
1718
- {
1719
- id: "sustainabilityResearchAssistantOfficer",
1720
- name: "Number of Research Assistant/Research Officer",
1721
- type: "number",
1722
- tabId: "L. Sustainability",
1723
- groupId: "Sustainability",
1724
- hide: true,
1725
- },
1726
- {
1727
- id: "sustainabilityKPJStaffIndustryResearcher",
1728
- name: "Number of KPJ Staff/Industry Researcher",
1729
- type: "number",
1730
- tabId: "L. Sustainability",
1731
- groupId: "Sustainability",
1732
- hide: true,
1733
- },
1734
- {
1735
- id: "sustainabilityUndergraduateStudent",
1736
- name: "Number of Undergraduate Student Researcher",
1737
- type: "number",
1738
- tabId: "L. Sustainability",
1739
- groupId: "Sustainability",
1740
- hide: true,
1741
- },
1742
- {
1743
- id: "journalIndexing",
1744
- name: "Journal Indexing",
1745
- type: "list",
1746
- listSelection: [
1747
- "WoS",
1748
- "Scopus",
1749
- "MyCite",
1750
- "Proceedings",
1751
- "Books",
1752
- "Chapter",
1753
- "Others",
1754
- ],
1755
- listView: "radioview",
1756
- disabledAutoSelect: true,
1757
- tabId: "L. Sustainability",
1758
- groupId: "Publication Outcome",
1759
- hide: true,
1760
- },
1761
- {
1762
- id: "publicationCount",
1763
- name: "No. Of publications",
1764
- type: "string",
1765
- placeholder: Placeholder.publicationCount,
1766
- popoverDesc: Placeholder.publicationCount,
1767
- tabId: "L. Sustainability",
1768
- groupId: "Publication Outcome",
1769
- hide: true,
1770
- },
1771
- {
1772
- id: "othersSpecifyPublication",
1773
- name: "If others, please specify",
1774
- type: "markdown",
1775
- hideWhen: [
1776
- {
1777
- type: "!=",
1778
- queryId: "journalIndexing",
1779
- value: "Others",
1780
- },
1781
- ],
1782
- placeholder: Placeholder.othersSpecifyPublication,
1783
- popoverDesc: Placeholder.othersSpecifyPublication,
1784
- tabId: "L. Sustainability",
1785
- groupId: "Publication Outcome",
1863
+ optional: true,
1786
1864
  hide: true,
1787
1865
  },
1788
1866
  // SECTION M: PRIVACY AND CONFIDENTIALITY
@@ -1843,6 +1921,16 @@ exports.ProjectSchema = [
1843
1921
  groupId: "Funding of Project",
1844
1922
  hide: true,
1845
1923
  },
1924
+ {
1925
+ id: "quotation",
1926
+ name: "Quotation",
1927
+ type: "multipleFile",
1928
+ imageCollectionName: projectId,
1929
+ imageFileName: "quotation.pdf",
1930
+ tabId: "O. Funding of Project",
1931
+ groupId: "Funding of Project",
1932
+ hide: true,
1933
+ },
1846
1934
  // SECTION P: APPLICANT ENDORSEMENT (PRINCIPAL INVESTIGATOR)
1847
1935
  {
1848
1936
  id: "applicantSignature",
@@ -1852,6 +1940,15 @@ exports.ProjectSchema = [
1852
1940
  imageFileName: "endorsement.pdf",
1853
1941
  tabId: "P. Applicant Endorsement",
1854
1942
  groupId: "Applicant Endorsement",
1943
+ customElement: react_1.default.createElement(textButton_1.TextButton, {
1944
+ text: "Download Template",
1945
+ onClick: function () {
1946
+ var link = document.createElement("a");
1947
+ link.href = "/endorsement_form.pdf";
1948
+ link.download = "endorsement_form.pdf";
1949
+ link.click();
1950
+ },
1951
+ }),
1855
1952
  hide: true,
1856
1953
  },
1857
1954
  {
@@ -1873,6 +1970,16 @@ exports.ProjectSchema = [
1873
1970
  tabId: "P. Applicant Endorsement",
1874
1971
  groupId: "Applicant Endorsement",
1875
1972
  },
1973
+ {
1974
+ id: "otherDocuments",
1975
+ name: "Other Documents",
1976
+ type: "multipleFile",
1977
+ imageCollectionName: projectId,
1978
+ imageFileName: "other_documents.pdf",
1979
+ tabId: "P. Applicant Endorsement",
1980
+ groupId: "Applicant Endorsement",
1981
+ hide: true,
1982
+ },
1876
1983
  ];
1877
1984
  exports.ProposalSchema = [
1878
1985
  {