sf-i-reporting 1.0.95 → 1.0.97

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.
package/sf-i-reporting.js CHANGED
@@ -41,8 +41,8 @@ let SfIReporting = class SfIReporting extends LitElement {
41
41
  this.apiIdUploader = "";
42
42
  this.projectid = "";
43
43
  this.projectname = "";
44
- // configjson: string = "[]";
45
- this.configjson = "[{\"type\":\"sf-i-uploader\",\"name\":\"\",\"size\":\"large\",\"label\":\"Contract Document *\",\"hint\":\"Document of the contract\",\"id\":\"contractdocuments\",\"value\":[{\"arrWords\":[\"Sample\",\"Partnership\",\"Agreement\",\"THIS\",\"PARTNERSHIP\",\"AGREEMENT\",\"is\",\"made\",\"this\",\"day\",\"of\",\"2XXX,\",\"by\",\"and\",\"between\",\"Partner\",\"1\",\"and\",\"Partner\",\"2.\",\"Explanatory\",\"Statement\",\"The\",\"parties\",\"hereto\",\"desire\",\"to\",\"enter\",\"into\",\"the\",\"business\",\"of\",\"purchasing,\",\"acquiring,\",\"operating,\",\"leasing,\",\"owning\",\"and\",\"selling\",\"Grape\",\"acreage\",\"and\",\"other\",\"specialty\",\"crop(s),\",\"including\",\"but\",\"not\",\"limited\",\"to\",\"that\",\"certain\",\"parcel\",\"of\",\"land,\",\"and\",\"all\",\"improvements\",\"constructed\",\"thereon,\",\"described\",\"as\",\"[specify\",\"address]\",\"and\",\"engaging\",\"in\",\"any\",\"other\",\"lawful\",\"phase\",\"or\",\"aspect\",\"of\",\"viticulture\",\"or\",\"specialty\",\"crop\",\"agriculture.\",\"In\",\"order\",\"to\",\"accomplish\",\"their\",\"aforesaid\",\"desires,\",\"the\",\"parties\",\"hereto\",\"desire\",\"to\",\"join\",\"together\",\"in\",\"a\",\"general\",\"partnership\",\"under\",\"and\",\"pursuant\",\"to\",\"the\",\"Uniform\",\"Partnership\",\"Act,\",\"amended\",\"from\",\"time\",\"to\",\"time\",\"(the\",\"\\\"Act\\\").\",\"NOW\",\"THEREFORE,\",\"in\",\"consideration\",\"of\",\"their\",\"mutual\",\"promises,\",\"covenants,\",\"and\",\"agreements,\",\"and\",\"the\",\"Explanatory\",\"Statement,\",\"which\",\"Explanatory\",\"Statement\",\"is\",\"incorporated\",\"by\",\"reference\",\"herein\",\"and\",\"made\",\"a\",\"substantive\",\"part\",\"of\",\"this\",\"Partnership\",\"Agreement,\",\"the\",\"parties\",\"hereto\",\"do\",\"hereby\",\"promise,\",\"covenant\",\"and\",\"agree\",\"as\",\"follows:\",\"Section\",\"2.\",\"Principal\",\"Place\",\"of\",\"Business\",\"The\",\"principal\",\"office\",\"and\",\"place\",\"of\",\"business\",\"of\",\"the\",\"Partnership\",\"(the\",\"\\\"Office\\\")\",\"shall\",\"be\",\"located\",\"at\",\"Angell\",\"Road.\",\"Section\",\"3.\",\"Business\",\"and\",\"Purpose\",\"3.1.\",\"The\",\"business\",\"and\",\"purposes\",\"of\",\"the\",\"Partnership\",\"are\",\"to\",\"manage,\",\"and\",\"operate,\",\"grape\",\"vineyards.\",\"(the\",\"\\\"Vineyards\\\"),\",\"or\",\"interest\",\"therein,\",\"including\",\"but\",\"not\",\"limited\",\"to\",\"that\",\"certain\",\"parcel\",\"of\",\"land\",\"and\",\"such\",\"other\",\"businesses\",\"and\",\"purposes\",\"as\",\"the\",\"Partners\",\"may\",\"from\",\"time\",\"to\",\"time\",\"determine\",\"in\",\"accordance\",\"with\",\"Section\",\"8\",\"of\",\"this\",\"Agreement.\",\"Section\",\"4.\",\"Term\",\"The\",\"Partnership\",\"shall\",\"commence\",\"upon\",\"the\",\"date\",\"of\",\"this\",\"Agreement,\",\"as\",\"set\",\"forth\",\"above.\",\"Unless\",\"sooner\",\"terminated\",\"pursuant\",\"to\",\"the\",\"further\",\"provisions\",\"of\",\"this\",\"Agreement,\",\"the\",\"Partnership\",\"shall\",\"continue\",\"without\",\"defined\",\"term.\",\"Section\",\"5.\",\"Capital\",\"Contribution\",\"5.1.\",\"The\",\"original\",\"capital\",\"contributions\",\"to\",\"the\",\"Partnership\",\"of\",\"each\",\"of\",\"the\",\"Partners\",\"shall\",\"be\",\"made\",\"concurrently\",\"with\",\"their\",\"respective\",\"execution,\",\"acknowledgement,\",\"sealing\",\"and\",\"delivery\",\"of\",\"this\",\"Agreement\",\"in\",\"the\",\"following\",\"dollar\",\"amounts\",\"set\",\"forth\",\"after\",\"their\",\"respective\",\"names:\",\"Partner\",\"1:\",\"Capital\",\"contribution\",\"includes\",\"his\",\"existing\",\"grape\",\"acreage\",\"as\",\"of\",\"January\",\"1,\",\"2010.\",\"Grape\",\"acreage\",\"is\",\"estimated,\",\"with\",\"a\",\"5%\",\"margin\",\"of\",\"error,\",\"at\",\"190\",\"acres\",\"valued\",\"at\",\"approximately\",\"775,000.\",\"An\",\"additional\",\"cash\",\"capital\",\"contribution\",\"of\",\"$180,000\",\"will\",\"also\",\"be\",\"made.\",\"Capital\",\"contribution\",\"does\",\"not\",\"include\",\"any\",\"equipment,\",\"buildings,\",\"or\",\"open\",\"land.\",\"Partner\",\"2:\",\"Capital\",\"contribution\",\"is\",\"$180,000\",\"to\",\"be\",\"financed\",\"by\",\"Partner\",\"1\",\"or\",\"another\",\"lender.\",\"5.2.\",\"Except\",\"as\",\"specifically\",\"provided\",\"in\",\"this\",\"Agreement,\",\"or\",\"as\",\"otherwise\",\"provided\",\"by\",\"and\",\"in\",\"accordance\",\"with\",\"law\",\"to\",\"the\",\"extent\",\"such\",\"law\",\"is\",\"not\",\"inconsistent\",\"with\",\"this\",\"Agreement,\",\"no\",\"Partner\",\"shall\",\"have\",\"the\",\"right\",\"to\",\"withdraw\",\"or\",\"reduce\",\"his\",\"or\",\"her\",\"contributions\",\"to\",\"the\",\"capital\",\"of\",\"the\",\"Partnership.\",\"Section\",\"6.\",\"Profit\",\"and\",\"Loss\",\"6.1.\",\"The\",\"percentages\",\"of\",\"Partnership\",\"Rights\",\"and\",\"Partnership\",\"Interest\",\"of\",\"each\",\"of\",\"the\",\"Partners\",\"shall\",\"be\",\"as\",\"follows:\",\"Partner\",\"1:\",\"84%\",\"Partner\",\"2:\",\"16%\",\"6.2.\",\"Except\",\"as\",\"provided\",\"in\",\"Section\",\"7.3.\",\"of\",\"this\",\"Agreement,\",\"for\",\"purposes\",\"of\",\"Sections\",\"702\",\"and\",\"704\",\"of\",\"the\",\"Internal\",\"Revenue\",\"Code\",\"of\",\"1954,\",\"or\",\"the\",\"corresponding\",\"provisions\",\"of\",\"any\",\"future\",\"federal\",\"internal\",\"revenue\",\"law,\",\"or\",\"any\",\"similar\",\"tax\",\"law\",\"of\",\"any\",\"state\",\"or\",\"jurisdiction,\",\"the\",\"determination\",\"of\",\"each\",\"Partner's\",\"distributive\",\"share\",\"of\",\"all\",\"items\",\"of\",\"income,\",\"gain,\",\"loss,\",\"deduction,\",\"credit\",\"or\",\"allowance\",\"of\",\"the\",\"Partnership\",\"for\",\"any\",\"period\",\"or\",\"year\",\"shall\",\"be\",\"made\",\"in\",\"accordance\",\"with,\",\"and\",\"in\",\"proportion\",\"to,\",\"such\",\"Partner's\",\"percentage\",\"of\",\"Partnership\",\"Interest\",\"as\",\"it\",\"may\",\"then\",\"exist.\",\"Section\",\"7.\",\"Distribution\",\"of\",\"Profits\",\"7.1.\",\"Generally,\",\"gross\",\"cash\",\"distribution\",\"in\",\"proportion\",\"to\",\"Partners\",\"percentages\",\"of\",\"partnership\",\"interest,\",\"will\",\"be\",\"made\",\"based\",\"on\",\"the\",\"scheduled\",\"payments\",\"of\",\"processors\",\"or\",\"within\",\"60\",\"days\",\"of\",\"payments\",\"being\",\"made.\",\"The\",\"gross\",\"cash\",\"distribution\",\"7.2\",\"Generally,\",\"operating\",\"expenses\",\"will\",\"be\",\"shared\",\"at\",\"the\",\"time\",\"those\",\"expenses\",\"are\",\"realized\",\"in\",\"proportion\",\"to\",\"Partners\",\"percentages\",\"of\",\"partnership\",\"interest.\",\"While\",\"each\",\"purchase\",\"will\",\"not\",\"require\",\"an\",\"accounting\",\"of\",\"partnership\",\"interest,\",\"reimbursement\",\"to\",\"the\",\"payor,\",\"based\",\"on\",\"share,\",\"will\",\"be\",\"resolved\",\"every\",\"30\",\"days.\",\"7.3\",\"Exception\",\"to\",\"section\",\"7.2:\",\"Partner\",\"2\",\"will\",\"not\",\"be\",\"responsible\",\"for\",\"any\",\"operating\",\"expenses\",\"for\",\"the\",\"first\",\"year.\",\"His\",\"share\",\"of\",\"expenses\",\"during\",\"that\",\"time\",\"will\",\"be\",\"limited\",\"to\",\"his\",\"capital\",\"contribution\",\"payments.\",\"Section\",\"8.\",\"Management\",\"of\",\"the\",\"Partnership\",\"Business\",\"8.1.\",\"All\",\"decisions\",\"respecting\",\"the\",\"management,\",\"operation\",\"and\",\"control\",\"of\",\"the\",\"Partnership\",\"business\",\"and\",\"determination\",\"made\",\"in\",\"accordance\",\"with\",\"the\",\"provisions\",\"of\",\"this\",\"Agreement\",\"shall\",\"be\",\"made\",\"based\",\"upon\",\"a\",\"majority\",\"share\",\"of\",\"the\",\"partnership\",\"in\",\"favor\",\"of\",\"the\",\"decision.\",\"Majority\",\"owner\",\"Partner\",\"1\",\"has\",\"the\",\"full\",\"intention\",\"of\",\"increasing\",\"the\",\"responsibility\",\"and\",\"stake\",\"of\",\"Partner\",\"2's\",\"management,\",\"operation\",\"and\",\"control\",\"of\",\"the\",\"Partnership.\",\"Succession\",\"of\",\"such\",\"powers\",\"will\",\"take\",\"place,\",\"at\",\"first\",\"on\",\"a\",\"day\",\"to\",\"day\",\"basis.\",\"Later,\",\"based\",\"on\",\"performance,\",\"a\",\"management\",\"agreement\",\"will\",\"be\",\"incorporated\",\"into\",\"this\",\"Partnership\",\"8.2.\",\"Nothing\",\"herein\",\"contained\",\"shall\",\"be\",\"construed\",\"to\",\"constitute\",\"any\",\"Partner\",\"or\",\"the\",\"agent\",\"of\",\"another\",\"Partner,\",\"except\",\"as\",\"expressly\",\"provided\",\"herein,\",\"or\",\"in\",\"any\",\"manner\",\"to\",\"limit\",\"the\",\"Partnership\",\"to\",\"the\",\"carrying\",\"on\",\"of\",\"their\",\"own\",\"respective\",\"businesses\",\"or\",\"activities.\",\"Any\",\"of\",\"the\",\"Partners,\",\"or\",\"any\",\"agent,\",\"servant\",\"or\",\"employee\",\"of\",\"any\",\"of\",\"the\",\"Partners,\",\"may\",\"engage\",\"in\",\"and\",\"possess\",\"any\",\"interest\",\"in\",\"other\",\"businesses\",\"or\",\"ventures\",\"of\",\"every\",\"nature\",\"and\",\"description,\",\"independently\",\"or\",\"with\",\"other\",\"persons,\",\"whether\",\"or\",\"not,\",\"directly\",\"or\",\"indirectly,\",\"in\",\"competition\",\"with\",\"the\",\"business\",\"or\",\"purpose\",\"of\",\"the\",\"Partnership,\",\"and\",\"neither\",\"the\",\"Partnership\",\"nor\",\"any\",\"of\",\"the\",\"Partners\",\"shall\",\"have\",\"any\",\"rights,\",\"by\",\"virtue\",\"of\",\"this\",\"Agreement\",\"or\",\"otherwise,\",\"in\",\"and\",\"to\",\"such\",\"independent\",\"ventures\",\"or\",\"the\",\"income\",\"or\",\"profits\",\"derived\"],\"arrWordsMeta\":{\"PAGE\":3,\"LINE\":99,\"WORD\":898},\"jobId\":\"97abbe83ae66c8233ce1bdc3a8db646a2c269e7a46fa58a31d51439c88a9fa69\",\"key\":\"5cb5a798-f1d0-4937-a703-a3e45b49ed59\",\"ext\":\"pdf\"}],\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"multiselect-dropdown\",\"maxselect\":\"1\",\"apiid\":\"1peg5170d3\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"["jpg","png","pdf","xls","xlsx","doc","docx"]\",\"extract\":\"yes\",\"maxsize\":\"5242880\",\"allowdownload\":\"yes\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"date\",\"name\":\"\",\"size\":\"large\",\"label\":\"Date of Execution *\",\"hint\":\"The date of execution of the contract\",\"id\":\"dateofexecution\",\"value\":\"2024-11-01\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"date\",\"name\":\"\",\"size\":\"large\",\"label\":\"Due Date *\",\"hint\":\"The due date for the contract.\",\"id\":\"duedate\",\"value\":\"2025-10-31\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"textarea\",\"name\":\"\",\"size\":\"small\",\"label\":\"Remarks\",\"hint\":\"Remarks on the contract\",\"id\":\"remarks\",\"value\":\"OK\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":null,\"copytoreopen\":true,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"sf-checklist\",\"name\":\"\",\"size\":\"small\",\"label\":\"Terms *\",\"hint\":\"Terms in the contract\",\"id\":\"terms\",\"value\":\"\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":true,\"displayinhistory\":true,\"elementsjson\":\"[{\\\"name\\\":\\\"Test term 1\\\"},{\\\"name\\\":\\\"Test term 2\\\"}]\",\"customreporting\":true}]";
44
+ this.configjson = "[]";
45
+ // configjson: string = "[{\"type\":\"sf-i-uploader\",\"name\":\"\",\"size\":\"large\",\"label\":\"Contract Document *\",\"hint\":\"Document of the contract\",\"id\":\"contractdocuments\",\"value\":[{\"arrWords\":[\"Sample\",\"Partnership\",\"Agreement\",\"THIS\",\"PARTNERSHIP\",\"AGREEMENT\",\"is\",\"made\",\"this\",\"day\",\"of\",\"2XXX,\",\"by\",\"and\",\"between\",\"Partner\",\"1\",\"and\",\"Partner\",\"2.\",\"Explanatory\",\"Statement\",\"The\",\"parties\",\"hereto\",\"desire\",\"to\",\"enter\",\"into\",\"the\",\"business\",\"of\",\"purchasing,\",\"acquiring,\",\"operating,\",\"leasing,\",\"owning\",\"and\",\"selling\",\"Grape\",\"acreage\",\"and\",\"other\",\"specialty\",\"crop(s),\",\"including\",\"but\",\"not\",\"limited\",\"to\",\"that\",\"certain\",\"parcel\",\"of\",\"land,\",\"and\",\"all\",\"improvements\",\"constructed\",\"thereon,\",\"described\",\"as\",\"[specify\",\"address]\",\"and\",\"engaging\",\"in\",\"any\",\"other\",\"lawful\",\"phase\",\"or\",\"aspect\",\"of\",\"viticulture\",\"or\",\"specialty\",\"crop\",\"agriculture.\",\"In\",\"order\",\"to\",\"accomplish\",\"their\",\"aforesaid\",\"desires,\",\"the\",\"parties\",\"hereto\",\"desire\",\"to\",\"join\",\"together\",\"in\",\"a\",\"general\",\"partnership\",\"under\",\"and\",\"pursuant\",\"to\",\"the\",\"Uniform\",\"Partnership\",\"Act,\",\"amended\",\"from\",\"time\",\"to\",\"time\",\"(the\",\"\\\"Act\\\").\",\"NOW\",\"THEREFORE,\",\"in\",\"consideration\",\"of\",\"their\",\"mutual\",\"promises,\",\"covenants,\",\"and\",\"agreements,\",\"and\",\"the\",\"Explanatory\",\"Statement,\",\"which\",\"Explanatory\",\"Statement\",\"is\",\"incorporated\",\"by\",\"reference\",\"herein\",\"and\",\"made\",\"a\",\"substantive\",\"part\",\"of\",\"this\",\"Partnership\",\"Agreement,\",\"the\",\"parties\",\"hereto\",\"do\",\"hereby\",\"promise,\",\"covenant\",\"and\",\"agree\",\"as\",\"follows:\",\"Section\",\"2.\",\"Principal\",\"Place\",\"of\",\"Business\",\"The\",\"principal\",\"office\",\"and\",\"place\",\"of\",\"business\",\"of\",\"the\",\"Partnership\",\"(the\",\"\\\"Office\\\")\",\"shall\",\"be\",\"located\",\"at\",\"Angell\",\"Road.\",\"Section\",\"3.\",\"Business\",\"and\",\"Purpose\",\"3.1.\",\"The\",\"business\",\"and\",\"purposes\",\"of\",\"the\",\"Partnership\",\"are\",\"to\",\"manage,\",\"and\",\"operate,\",\"grape\",\"vineyards.\",\"(the\",\"\\\"Vineyards\\\"),\",\"or\",\"interest\",\"therein,\",\"including\",\"but\",\"not\",\"limited\",\"to\",\"that\",\"certain\",\"parcel\",\"of\",\"land\",\"and\",\"such\",\"other\",\"businesses\",\"and\",\"purposes\",\"as\",\"the\",\"Partners\",\"may\",\"from\",\"time\",\"to\",\"time\",\"determine\",\"in\",\"accordance\",\"with\",\"Section\",\"8\",\"of\",\"this\",\"Agreement.\",\"Section\",\"4.\",\"Term\",\"The\",\"Partnership\",\"shall\",\"commence\",\"upon\",\"the\",\"date\",\"of\",\"this\",\"Agreement,\",\"as\",\"set\",\"forth\",\"above.\",\"Unless\",\"sooner\",\"terminated\",\"pursuant\",\"to\",\"the\",\"further\",\"provisions\",\"of\",\"this\",\"Agreement,\",\"the\",\"Partnership\",\"shall\",\"continue\",\"without\",\"defined\",\"term.\",\"Section\",\"5.\",\"Capital\",\"Contribution\",\"5.1.\",\"The\",\"original\",\"capital\",\"contributions\",\"to\",\"the\",\"Partnership\",\"of\",\"each\",\"of\",\"the\",\"Partners\",\"shall\",\"be\",\"made\",\"concurrently\",\"with\",\"their\",\"respective\",\"execution,\",\"acknowledgement,\",\"sealing\",\"and\",\"delivery\",\"of\",\"this\",\"Agreement\",\"in\",\"the\",\"following\",\"dollar\",\"amounts\",\"set\",\"forth\",\"after\",\"their\",\"respective\",\"names:\",\"Partner\",\"1:\",\"Capital\",\"contribution\",\"includes\",\"his\",\"existing\",\"grape\",\"acreage\",\"as\",\"of\",\"January\",\"1,\",\"2010.\",\"Grape\",\"acreage\",\"is\",\"estimated,\",\"with\",\"a\",\"5%\",\"margin\",\"of\",\"error,\",\"at\",\"190\",\"acres\",\"valued\",\"at\",\"approximately\",\"775,000.\",\"An\",\"additional\",\"cash\",\"capital\",\"contribution\",\"of\",\"$180,000\",\"will\",\"also\",\"be\",\"made.\",\"Capital\",\"contribution\",\"does\",\"not\",\"include\",\"any\",\"equipment,\",\"buildings,\",\"or\",\"open\",\"land.\",\"Partner\",\"2:\",\"Capital\",\"contribution\",\"is\",\"$180,000\",\"to\",\"be\",\"financed\",\"by\",\"Partner\",\"1\",\"or\",\"another\",\"lender.\",\"5.2.\",\"Except\",\"as\",\"specifically\",\"provided\",\"in\",\"this\",\"Agreement,\",\"or\",\"as\",\"otherwise\",\"provided\",\"by\",\"and\",\"in\",\"accordance\",\"with\",\"law\",\"to\",\"the\",\"extent\",\"such\",\"law\",\"is\",\"not\",\"inconsistent\",\"with\",\"this\",\"Agreement,\",\"no\",\"Partner\",\"shall\",\"have\",\"the\",\"right\",\"to\",\"withdraw\",\"or\",\"reduce\",\"his\",\"or\",\"her\",\"contributions\",\"to\",\"the\",\"capital\",\"of\",\"the\",\"Partnership.\",\"Section\",\"6.\",\"Profit\",\"and\",\"Loss\",\"6.1.\",\"The\",\"percentages\",\"of\",\"Partnership\",\"Rights\",\"and\",\"Partnership\",\"Interest\",\"of\",\"each\",\"of\",\"the\",\"Partners\",\"shall\",\"be\",\"as\",\"follows:\",\"Partner\",\"1:\",\"84%\",\"Partner\",\"2:\",\"16%\",\"6.2.\",\"Except\",\"as\",\"provided\",\"in\",\"Section\",\"7.3.\",\"of\",\"this\",\"Agreement,\",\"for\",\"purposes\",\"of\",\"Sections\",\"702\",\"and\",\"704\",\"of\",\"the\",\"Internal\",\"Revenue\",\"Code\",\"of\",\"1954,\",\"or\",\"the\",\"corresponding\",\"provisions\",\"of\",\"any\",\"future\",\"federal\",\"internal\",\"revenue\",\"law,\",\"or\",\"any\",\"similar\",\"tax\",\"law\",\"of\",\"any\",\"state\",\"or\",\"jurisdiction,\",\"the\",\"determination\",\"of\",\"each\",\"Partner's\",\"distributive\",\"share\",\"of\",\"all\",\"items\",\"of\",\"income,\",\"gain,\",\"loss,\",\"deduction,\",\"credit\",\"or\",\"allowance\",\"of\",\"the\",\"Partnership\",\"for\",\"any\",\"period\",\"or\",\"year\",\"shall\",\"be\",\"made\",\"in\",\"accordance\",\"with,\",\"and\",\"in\",\"proportion\",\"to,\",\"such\",\"Partner's\",\"percentage\",\"of\",\"Partnership\",\"Interest\",\"as\",\"it\",\"may\",\"then\",\"exist.\",\"Section\",\"7.\",\"Distribution\",\"of\",\"Profits\",\"7.1.\",\"Generally,\",\"gross\",\"cash\",\"distribution\",\"in\",\"proportion\",\"to\",\"Partners\",\"percentages\",\"of\",\"partnership\",\"interest,\",\"will\",\"be\",\"made\",\"based\",\"on\",\"the\",\"scheduled\",\"payments\",\"of\",\"processors\",\"or\",\"within\",\"60\",\"days\",\"of\",\"payments\",\"being\",\"made.\",\"The\",\"gross\",\"cash\",\"distribution\",\"7.2\",\"Generally,\",\"operating\",\"expenses\",\"will\",\"be\",\"shared\",\"at\",\"the\",\"time\",\"those\",\"expenses\",\"are\",\"realized\",\"in\",\"proportion\",\"to\",\"Partners\",\"percentages\",\"of\",\"partnership\",\"interest.\",\"While\",\"each\",\"purchase\",\"will\",\"not\",\"require\",\"an\",\"accounting\",\"of\",\"partnership\",\"interest,\",\"reimbursement\",\"to\",\"the\",\"payor,\",\"based\",\"on\",\"share,\",\"will\",\"be\",\"resolved\",\"every\",\"30\",\"days.\",\"7.3\",\"Exception\",\"to\",\"section\",\"7.2:\",\"Partner\",\"2\",\"will\",\"not\",\"be\",\"responsible\",\"for\",\"any\",\"operating\",\"expenses\",\"for\",\"the\",\"first\",\"year.\",\"His\",\"share\",\"of\",\"expenses\",\"during\",\"that\",\"time\",\"will\",\"be\",\"limited\",\"to\",\"his\",\"capital\",\"contribution\",\"payments.\",\"Section\",\"8.\",\"Management\",\"of\",\"the\",\"Partnership\",\"Business\",\"8.1.\",\"All\",\"decisions\",\"respecting\",\"the\",\"management,\",\"operation\",\"and\",\"control\",\"of\",\"the\",\"Partnership\",\"business\",\"and\",\"determination\",\"made\",\"in\",\"accordance\",\"with\",\"the\",\"provisions\",\"of\",\"this\",\"Agreement\",\"shall\",\"be\",\"made\",\"based\",\"upon\",\"a\",\"majority\",\"share\",\"of\",\"the\",\"partnership\",\"in\",\"favor\",\"of\",\"the\",\"decision.\",\"Majority\",\"owner\",\"Partner\",\"1\",\"has\",\"the\",\"full\",\"intention\",\"of\",\"increasing\",\"the\",\"responsibility\",\"and\",\"stake\",\"of\",\"Partner\",\"2's\",\"management,\",\"operation\",\"and\",\"control\",\"of\",\"the\",\"Partnership.\",\"Succession\",\"of\",\"such\",\"powers\",\"will\",\"take\",\"place,\",\"at\",\"first\",\"on\",\"a\",\"day\",\"to\",\"day\",\"basis.\",\"Later,\",\"based\",\"on\",\"performance,\",\"a\",\"management\",\"agreement\",\"will\",\"be\",\"incorporated\",\"into\",\"this\",\"Partnership\",\"8.2.\",\"Nothing\",\"herein\",\"contained\",\"shall\",\"be\",\"construed\",\"to\",\"constitute\",\"any\",\"Partner\",\"or\",\"the\",\"agent\",\"of\",\"another\",\"Partner,\",\"except\",\"as\",\"expressly\",\"provided\",\"herein,\",\"or\",\"in\",\"any\",\"manner\",\"to\",\"limit\",\"the\",\"Partnership\",\"to\",\"the\",\"carrying\",\"on\",\"of\",\"their\",\"own\",\"respective\",\"businesses\",\"or\",\"activities.\",\"Any\",\"of\",\"the\",\"Partners,\",\"or\",\"any\",\"agent,\",\"servant\",\"or\",\"employee\",\"of\",\"any\",\"of\",\"the\",\"Partners,\",\"may\",\"engage\",\"in\",\"and\",\"possess\",\"any\",\"interest\",\"in\",\"other\",\"businesses\",\"or\",\"ventures\",\"of\",\"every\",\"nature\",\"and\",\"description,\",\"independently\",\"or\",\"with\",\"other\",\"persons,\",\"whether\",\"or\",\"not,\",\"directly\",\"or\",\"indirectly,\",\"in\",\"competition\",\"with\",\"the\",\"business\",\"or\",\"purpose\",\"of\",\"the\",\"Partnership,\",\"and\",\"neither\",\"the\",\"Partnership\",\"nor\",\"any\",\"of\",\"the\",\"Partners\",\"shall\",\"have\",\"any\",\"rights,\",\"by\",\"virtue\",\"of\",\"this\",\"Agreement\",\"or\",\"otherwise,\",\"in\",\"and\",\"to\",\"such\",\"independent\",\"ventures\",\"or\",\"the\",\"income\",\"or\",\"profits\",\"derived\"],\"arrWordsMeta\":{\"PAGE\":3,\"LINE\":99,\"WORD\":898},\"jobId\":\"97abbe83ae66c8233ce1bdc3a8db646a2c269e7a46fa58a31d51439c88a9fa69\",\"key\":\"5cb5a798-f1d0-4937-a703-a3e45b49ed59\",\"ext\":\"pdf\"}],\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"multiselect-dropdown\",\"maxselect\":\"1\",\"apiid\":\"1peg5170d3\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"["jpg","png","pdf","xls","xlsx","doc","docx"]\",\"extract\":\"yes\",\"maxsize\":\"5242880\",\"allowdownload\":\"yes\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"date\",\"name\":\"\",\"size\":\"large\",\"label\":\"Date of Execution *\",\"hint\":\"The date of execution of the contract\",\"id\":\"dateofexecution\",\"value\":\"2024-11-01\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"date\",\"name\":\"\",\"size\":\"large\",\"label\":\"Due Date *\",\"hint\":\"The due date for the contract.\",\"id\":\"duedate\",\"value\":\"2025-10-31\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"textarea\",\"name\":\"\",\"size\":\"small\",\"label\":\"Remarks\",\"hint\":\"Remarks on the contract\",\"id\":\"remarks\",\"value\":\"OK\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":null,\"copytoreopen\":true,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"sf-checklist\",\"name\":\"\",\"size\":\"small\",\"label\":\"Terms *\",\"hint\":\"Terms in the contract\",\"id\":\"terms\",\"value\":\"\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":true,\"displayinhistory\":true,\"elementsjson\":\"[{\\\"name\\\":\\\"Test term 1\\\"},{\\\"name\\\":\\\"Test term 2\\\"}]\",\"customreporting\":true}]";
46
46
  // configjson: string = "[{\"type\":\"sf-i-form\",\"size\":\"large\",\"label\":\"Tags\",\"hint\":\"Tags applied to notice\",\"id\":\"tags\",\"mode\":\"multiselect-dropdown\",\"apiid\":\"dnytrdlrmxgsy.cloudfront.net/tagging\",\"searchstring\":\"Tag\",\"selectprojection\":\"name\",\"ignoredprojections\":\"["updatetype","project","tagtype","shortid"]\",\"maxselect\":\"100\",\"mandatory\":\"\"}]";
47
47
  // configjson: string = "[{\"type\":\"textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Prepared by\",\"hint\":\"Mention the names of people who participated in preparing this document\",\"id\":\"preparedby\",\"value\":\"prepared by test\",\"collapse\":\"true\"},{\"type\":\"textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Approved by\",\"hint\":\"Mention the names of people who participated in reviewing this document\",\"id\":\"approvedby\",\"value\":\"test approved by\",\"collapse\":\"true\"},{\"type\":\"textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Purpose\",\"hint\":\"This is a checklist for reporting the statutory internal audit results of the infection control program\",\"id\":\"purpose\",\"value\":\"test purpose\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with Biomedical Waste Management Rules, 2016\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-0\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Is the hospital registered with the State Pollution Control Board (SPCB) for biomedical waste management?\",\"hint\":\"\",\"id\":\"bmwspcb\",\"value\":[\"No\",\"\"],\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are biomedical waste segregation protocols (color-coded bins) in place and followed as per rules?\",\"hint\":\"\",\"id\":\"bmwcolorcoding\",\"value\":[\"Yes\",\"\"],\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are disposal records for biomedical waste maintained as required by law?\",\"hint\":\"\",\"id\":\"bmwdisposal\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Is there a valid agreement with an authorized biomedical waste disposal vendor?\",\"hint\":\"\",\"id\":\"bmwvendoragreement\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are healthcare staff trained in biomedical waste segregation and disposal protocols?\",\"hint\":\"\",\"id\":\"bmwtraining\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with The Drugs and Cosmetics Act, 1940 (Infection Control Equipment and Materials)\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-1\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"options\":[\"option1\",\"option2\",\"option3\"],\"name\":\"\",\"size\":\"large\",\"label\":\"Are hand hygiene products (e.g., alcohol-based hand rubs) procured from licensed vendors as per statutory regulations?\",\"hint\":\"\",\"id\":\"hhvendors\",\"value\":[\"option2\",\"\"],\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are disinfectants, sterilants, and antiseptics used in the hospital in compliance with the Drugs and Cosmetics Act?\",\"hint\":\"\",\"id\":\"disinfectantsdca\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Is there a regular check on the expiration dates and quality standards of infection control materials?\",\"hint\":\"\",\"id\":\"expirycheck\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with The Indian Epidemic Diseases Act, 1897 (Outbreak Management)\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-2\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Is there a policy in place for managing infectious disease outbreaks in compliance with the Indian Epidemic Diseases Act?\",\"hint\":\"\",\"id\":\"outbreakpolicy\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are protocols in place for isolation, patient segregation, and reporting of notifiable diseases as per government directives?\",\"hint\":\"\",\"id\":\"diseasereporting\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are outbreak reports documented and communicated to relevant authorities (local health departments, as per law)?\",\"hint\":\"\",\"id\":\"outbreakreporting\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with The Water (Prevention and Control of Pollution) Act, 1974 (Water Quality Monitoring)\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-3\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Is the hospital water supply tested regularly for microbiological contaminants?\",\"hint\":\"\",\"id\":\"watertesting\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are there documented records of water quality reports, and are they in compliance with prescribed standards?\",\"hint\":\"\",\"id\":\"waterqualityreporting\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Is there an arrangement for safe water storage and waste-water disposal in line with statutory requirements?\",\"hint\":\"\",\"id\":\"waterstorage\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with The Air (Prevention and Control of Pollution) Act, 1981 (Air Quality Management)\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-4\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are air conditioning and ventilation systems in place that comply with regulatory standards, especially in critical areas like OTs and ICUs?\",\"hint\":\"\",\"id\":\"acinplace\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are air filters in the hospital HVAC systems cleaned or replaced as per environmental laws and infection control guidelines?\",\"hint\":\"\",\"id\":\"airfilters\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are regular air quality audits conducted, and are reports maintained?\",\"hint\":\"\",\"id\":\"airqualityaudits\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with The Public Health Act (Surveillance and Reporting)\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-5\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Is there a surveillance system for monitoring hospital-acquired infections (HAIs)?\",\"hint\":\"\",\"id\":\"haisurveillance\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are notifiable infections reported to local health authorities as per the law?\",\"hint\":\"\",\"id\":\"infectionreporting\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are infection surveillance records maintained, and are they in compliance with public health laws?\",\"hint\":\"\",\"id\":\"infectionsurveillance\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with The Occupational Safety and Health Act (Workplace Safety)\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-6\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are healthcare workers provided with adequate personal protective equipment (PPE) in line with statutory safety regulations?\",\"hint\":\"\",\"id\":\"ppeallocation\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Is there a needle stick and sharps injury prevention policy in place, and is it compliant with the OSHA guidelines?\",\"hint\":\"\",\"id\":\"safeipolicy\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are protocols for staff vaccination (e.g., Hepatitis B, Influenza) and post-exposure prophylaxis (PEP) established?\",\"hint\":\"\",\"id\":\"prophylaxis\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with The Clinical Establishments (Registration and Regulation) Act, 2010 (General Infection Control Requirements)\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-7\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Is the hospital registered under the Clinical Establishments Act, and does it meet the infection control standards prescribed?\",\"hint\":\"\",\"id\":\"registration\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are infection control protocols updated and audited regularly, as required by the Act?\",\"hint\":\"\",\"id\":\"hicprotocolsupdated\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are records of infection control compliance maintained and available for inspection by regulatory authorities?\",\"hint\":\"\",\"id\":\"compliancerecords\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with Fire Safety Regulations (Infection Control During Emergency Evacuations)\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-8\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are fire safety protocols in place that ensure infection control measures (e.g., patient isolation) during evacuations?\",\"hint\":\"\",\"id\":\"firesafetyprotocols\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are infection control materials (e.g., masks, gloves) readily available for use during fire drills or actual emergencies?\",\"hint\":\"\",\"id\":\"hicmaterials\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with The National Health Mission Guidelines (Sanitation and Hygiene)\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-9\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are the hospital’s sanitation practices in compliance with National Health Mission standards for hospital cleanliness and hygiene?\",\"hint\":\"\",\"id\":\"sanitizationpractices\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are there dedicated housekeeping protocols for the cleaning and disinfection of patient care areas as per government guidelines?\",\"hint\":\"\",\"id\":\"housekeepingprotocols\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are sanitation records maintained, and are they available for regulatory review?\",\"hint\":\"\",\"id\":\"sanitiziationrecords\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with The Indian Council of Medical Research (ICMR) Guidelines (Antibiotic Stewardship)\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-10\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Is the hospital following ICMR guidelines for antibiotic stewardship to prevent the development of antimicrobial resistance (AMR)?\",\"hint\":\"\",\"id\":\"icmramsguidelines\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are antibiotic use patterns monitored, and are they compliant with ICMR’s antimicrobial stewardship guidelines?\",\"hint\":\"\",\"id\":\"patternsmonitoring\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are periodic audits conducted to assess adherence to guidelines, and are the audit reports documented?\",\"hint\":\"\",\"id\":\"amsaudits\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with The Indian Medical Council (Professional Conduct, Etiquette, and Ethics) Regulations, 2002\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-11\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are healthcare workers adhering to professional conduct and ethical guidelines for infection prevention as prescribed by the Medical Council of India?\",\"hint\":\"\",\"id\":\"professionalconduct\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are there protocols in place to report unethical or unsafe infection control practices?\",\"hint\":\"\",\"id\":\"unethicalreporting\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"section\",\"name\":\"Compliance with Employee State Insurance (ESI) Act, 1948 (Healthcare Worker Safety)\",\"size\":\"\",\"label\":\"\",\"hint\":\"\",\"id\":\"section-12\",\"value\":\"\",\"collapse\":\"false\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are healthcare workers insured under the ESI scheme, particularly those involved in high-risk infection control activities?\",\"hint\":\"\",\"id\":\"esiinsured\",\"value\":\"\",\"collapse\":\"true\"},{\"type\":\"yesno+textarea\",\"name\":\"\",\"size\":\"large\",\"label\":\"Are there protocols for compensation in case of occupational hazards (e.g., infections contracted at work)?\",\"hint\":\"\",\"id\":\"compensationprotocols\",\"value\":\"\",\"collapse\":\"true\"}]";
48
48
  // configjson: string = "[{\"type\":\"textarea\",\"size\":\"large\",\"label\":\"Prepared by\",\"hint\":\"Mention the names of people who participated in preparing this document\",\"id\":\"preparedby\"},{\"type\":\"textarea\",\"size\":\"large\",\"label\":\"Approved by\",\"hint\":\"Mention the names of people who participated in reviewing this document\",\"id\":\"approvedby\"},[{\"type\":\"itemname\",\"name\":\"External Reporting Agency\"},{\"type\":\"textarea\",\"size\":\"small\",\"label\":\"Name\",\"hint\":\"State the name of the agency\",\"id\":\"name{iter}\"},{\"type\":\"textarea\",\"size\":\"small\",\"label\":\"Type\",\"hint\":\"State the type of the agency such as government (local, state, nationa), private, educational institute, etc.\",\"id\":\"type{iter}\"},{\"type\":\"textarea\",\"size\":\"small\",\"label\":\"Contact Person\",\"hint\":\"Name of the contact person\",\"id\":\"contact-person{iter}\"},{\"type\":\"textarea\",\"size\":\"small\",\"label\":\"Phone Number\",\"hint\":\"Phone number of the contact person\",\"id\":\"contact-phone{iter}\"},{\"type\":\"textarea\",\"size\":\"small\",\"label\":\"Email\",\"hint\":\"Email address of the contact person\",\"id\":\"contact-email{iter}\"},{\"type\":\"textarea\",\"size\":\"small\",\"label\":\"Reporting Method\",\"hint\":\"Method of reporting such as online/email/phone/fax, etc.\",\"id\":\"reporting-method{iter}\"},{\"type\":\"textarea\",\"size\":\"large\",\"label\":\"Role\",\"hint\":\"When to report for e.g. report local outbreak and infection trends, national reporting of infection control and outbreaks, global disease surveillance, response coordination, state-level outbreak and epidemic reporting\",\"id\":\"role{iter}\"}]]";
@@ -81,9 +81,94 @@ let SfIReporting = class SfIReporting extends LitElement {
81
81
  this.terminated = false;
82
82
  this.lastCalendarGenerated = "";
83
83
  this.nextCalendarScheduled = "";
84
- // selectedItem: any = {};
84
+ this.selectedItem = {};
85
85
  // selectedItem: any = { id: "2b1d4da9-7cfe-4861-91f2-1727d0cc70b4" };
86
- this.selectedItem = { "contractdocuments": [{ "arrWords": ["FlaggGRC", "Governance", "IRskl", "Complierce", "ISO", "27001", "Certified", "IS", "YOUR", "ORGANIZATION", "READY", "FOR", "INDIA'S", "DPDP", "ACT?"], "arrWordsMeta": { "PAGE": 1, "LINE": 7, "WORD": 15 }, "jobId": "22d56d6c41f9930e5f7aea16613241b19fd36b4a0fd2ae0e9e284376387670f2", "filename": "dpdp.jpg", "key": "ea08e215-a394-429a-ab6b-9b761f1f87b6", "ext": "jpg" }], "refno": "Security/S/PUN/12", "dateofexecution": "2025-05-23", "duedate": "30/05/2025", "party1": "XYZ Security Pvt. Ltd.", "party2": "FlaggGRC TL", "party3": "", "countryid": "07d73b44-648d-4301-82c4-d6df43397824", "countryname": "India (ABC Global-Country)", "entityid": "c989a44e-7d3d-427e-b712-90eacf585075", "entityname": "ABC Limited - India (ABC Global-India-Entity)", "locations": ["Pune (ABC Global-India-ABC Limited - India-Location);4fb7b672-5cce-443f-869b-6b35247d6331"], "tags": ["Safety Measures (ABC Global-Tags);c5b639f8-eea1-47e3-8bf2-dec2ea13170f"], "reporters": ["Local Reporter 1;e9684b5d-ddbc-46d3-ae07-51706bf75410"], "approvers": ["Local Approver 1;c44dcd04-aebb-4417-ba6b-fac170efd5d0"], "functionheads": ["Chief Compliance Officer;5fe96caa-1a44-4a2d-921a-920d29433eca"], "contracttypeid": "0338b199-0c1f-44fa-9c13-a051143ea704", "contracttypename": "Security", "context": "Physical security services", "remarks": "There are no remarks", "makercheckers": [], "auditors": [], "viewers": [], "terms": [{ "name": "All personnel should wear uniform" }, { "name": "Security services personnel should have ID cards" }], "customreporting": "[{\"type\":\"sf-i-uploader\",\"name\":\"\",\"size\":\"large\",\"label\":\"Contract Document *\",\"hint\":\"Document of the contract\",\"id\":\"contractdocuments\",\"value\":[{\"arrWords\":[\"FlaggGRC\",\"Governance\",\"IRskl\",\"Complierce\",\"ISO\",\"27001\",\"Certified\",\"IS\",\"YOUR\",\"ORGANIZATION\",\"READY\",\"FOR\",\"INDIA'S\",\"DPDP\",\"ACT?\"],\"arrWordsMeta\":{\"PAGE\":1,\"LINE\":7,\"WORD\":15},\"jobId\":\"22d56d6c41f9930e5f7aea16613241b19fd36b4a0fd2ae0e9e284376387670f2\",\"filename\":\"dpdp.jpg\",\"key\":\"ea08e215-a394-429a-ab6b-9b761f1f87b6\",\"ext\":\"jpg\"}],\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"multiselect-dropdown\",\"maxselect\":\"1\",\"apiid\":\"1peg5170d3\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"["jpg","png","pdf","xls","xlsx","doc","docx"]\",\"extract\":\"yes\",\"maxsize\":\"5242880\",\"allowdownload\":\"yes\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"date\",\"name\":\"\",\"size\":\"large\",\"label\":\"Date of Execution *\",\"hint\":\"The date of execution of the contract\",\"id\":\"dateofexecution\",\"value\":\"2025-05-23\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"date\",\"name\":\"\",\"size\":\"large\",\"label\":\"Due Date *\",\"hint\":\"The due date for the contract.\",\"id\":\"duedate\",\"value\":\"2025-05-30\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"textarea\",\"name\":\"\",\"size\":\"small\",\"label\":\"Remarks\",\"hint\":\"Remarks on the contract\",\"id\":\"remarks\",\"value\":\"There are no remarks\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":null,\"copytoreopen\":true,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"sf-checklist\",\"name\":\"\",\"size\":\"small\",\"label\":\"Terms *\",\"hint\":\"Terms in the contract\",\"id\":\"terms\",\"value\":\"\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":true,\"displayinhistory\":true,\"elementsjson\":\"[{\\\"name\\\":\\\"All personnel should wear uniform\\\"},{\\\"name\\\":\\\"Security services personnel should have ID cards\\\"}]\",\"customreporting\":true}]", "id": "9dcba65e-7408-4b41-97b2-37bce405052b", "tagsmap": { "Safety Measures (ABC Global-Tags);c5b639f8-eea1-47e3-8bf2-dec2ea13170f": true }, "reportersmap": { "e9684b5d-ddbc-46d3-ae07-51706bf75410": true }, "approversmap": { "c44dcd04-aebb-4417-ba6b-fac170efd5d0": true }, "functionheadsmap": { "5fe96caa-1a44-4a2d-921a-920d29433eca": true }, "auditorsmap": {}, "viewersmap": {}, "locationname": "Pune (ABC Global-India-ABC Limited - India-Location)", "locationid": "4fb7b672-5cce-443f-869b-6b35247d6331", "isnotice": true, "module": "agreement", "obligationtitle": "Security/S/PUN/12", "documents": [], "comments": [], "approved": false, "lastupdated": "", "dateofcompletion": "", "docs": ["Not Required"] };
86
+ // selectedItem: any = {
87
+ // "contractdocuments": [
88
+ // {
89
+ // "arrWords": [],
90
+ // "arrWordsMeta": {
91
+ // "PAGE": 1
92
+ // },
93
+ // "jobId": "d202aa2d59058bd3e59bbc216056077b3c551c84960a5d1011b2a4664ad00763",
94
+ // "filename": "01logo.jpg",
95
+ // "key": "803c23bd-5003-4b10-a967-9626ba80dea7",
96
+ // "ext": "jpg"
97
+ // }
98
+ // ],
99
+ // "refno": "Term test",
100
+ // "dateofexecution": "2025-05-07",
101
+ // "duedate": "14/05/2025",
102
+ // "party1": "Signode",
103
+ // "party2": "ABCD",
104
+ // "party3": "",
105
+ // "countryid": "07d73b44-648d-4301-82c4-d6df43397824",
106
+ // "countryname": "India (ABC Global-Country)",
107
+ // "entityid": "c989a44e-7d3d-427e-b712-90eacf585075",
108
+ // "entityname": "ABC Limited - India (ABC Global-India-Entity)",
109
+ // "locations": [
110
+ // "Pune (ABC Global-India-ABC Limited - India-Location);4fb7b672-5cce-443f-869b-6b35247d6331"
111
+ // ],
112
+ // "tags": [
113
+ // "Advertising Conditions (ABC Global-Tags);2cd4f501-1dcf-4f76-be0b-779a0721ad2f"
114
+ // ],
115
+ // "reporters": [
116
+ // "Local Reporter 1;e9684b5d-ddbc-46d3-ae07-51706bf75410"
117
+ // ],
118
+ // "approvers": [
119
+ // "Local Approver 1;c44dcd04-aebb-4417-ba6b-fac170efd5d0"
120
+ // ],
121
+ // "functionheads": [
122
+ // "Chief Compliance Officer;5fe96caa-1a44-4a2d-921a-920d29433eca"
123
+ // ],
124
+ // "contracttypeid": "82f5700c-9374-474f-87b0-cabe688ac278",
125
+ // "contracttypename": "Printers AMC",
126
+ // "context": "Printer AMC ",
127
+ // "remarks": "Termination testing",
128
+ // "makercheckers": [],
129
+ // "auditors": [],
130
+ // "viewers": [],
131
+ // "terms": [
132
+ // {
133
+ // "name": "Contract term 1"
134
+ // },
135
+ // {
136
+ // "name": "contract term 2"
137
+ // },
138
+ // {
139
+ // "name": "contract term 3"
140
+ // }
141
+ // ],
142
+ // "customreporting": "[{\"type\":\"sf-i-uploader\",\"name\":\"\",\"size\":\"large\",\"label\":\"Contract Document *\",\"hint\":\"Document of the contract\",\"id\":\"contractdocuments\",\"value\":[{\"arrWords\":[],\"arrWordsMeta\":{\"PAGE\":1},\"jobId\":\"d202aa2d59058bd3e59bbc216056077b3c551c84960a5d1011b2a4664ad00763\",\"filename\":\"01logo.jpg\",\"key\":\"803c23bd-5003-4b10-a967-9626ba80dea7\",\"ext\":\"jpg\"}],\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"multiselect-dropdown\",\"maxselect\":\"1\",\"apiid\":\"1peg5170d3\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"["jpg","png","pdf","xls","xlsx","doc","docx"]\",\"extract\":\"yes\",\"maxsize\":\"5242880\",\"allowdownload\":\"yes\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"date\",\"name\":\"\",\"size\":\"large\",\"label\":\"Date of Execution *\",\"hint\":\"The date of execution of the contract\",\"id\":\"dateofexecution\",\"value\":\"2025-05-07\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"date\",\"name\":\"\",\"size\":\"large\",\"label\":\"Due Date *\",\"hint\":\"The due date for the contract.\",\"id\":\"duedate\",\"value\":\"2025-05-14\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":false,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"textarea\",\"name\":\"\",\"size\":\"small\",\"label\":\"Remarks\",\"hint\":\"Remarks on the contract\",\"id\":\"remarks\",\"value\":\"Termination testing\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":null,\"copytoreopen\":true,\"displayinhistory\":true,\"elementsjson\":\"\",\"customreporting\":true},{\"type\":\"sf-checklist\",\"name\":\"\",\"size\":\"small\",\"label\":\"Terms *\",\"hint\":\"Terms in the contract\",\"id\":\"terms\",\"value\":\"\",\"options\":[\"Yes\",\"No\"],\"collapse\":\"true\",\"mode\":\"\",\"maxselect\":\"\",\"apiid\":\"\",\"searchstring\":\"\",\"selectprojection\":\"\",\"ignoredprojections\":\"\",\"savenameseparate\":\"no\",\"dependencies\":[],\"allowedextensions\":\"\",\"extract\":\"\",\"maxsize\":\"\",\"allowdownload\":\"\",\"selectfields\":[],\"mandatory\":\"\",\"copytoreopen\":true,\"displayinhistory\":true,\"elementsjson\":\"[{\\\"name\\\":\\\"Contract term 1\\\"},{\\\"name\\\":\\\"contract term 2\\\"},{\\\"name\\\":\\\"contract term 3\\\"}]\",\"customreporting\":true}]",
143
+ // "id": "ce42475e-44d7-4bcc-a025-9723cddbec31",
144
+ // "tagsmap": {
145
+ // "Advertising Conditions (ABC Global-Tags);2cd4f501-1dcf-4f76-be0b-779a0721ad2f": true
146
+ // },
147
+ // "reportersmap": {
148
+ // "e9684b5d-ddbc-46d3-ae07-51706bf75410": true
149
+ // },
150
+ // "approversmap": {
151
+ // "c44dcd04-aebb-4417-ba6b-fac170efd5d0": true
152
+ // },
153
+ // "functionheadsmap": {
154
+ // "5fe96caa-1a44-4a2d-921a-920d29433eca": true
155
+ // },
156
+ // "auditorsmap": {},
157
+ // "viewersmap": {},
158
+ // "locationname": "Pune (ABC Global-India-ABC Limited - India-Location)",
159
+ // "locationid": "4fb7b672-5cce-443f-869b-6b35247d6331",
160
+ // "isnotice": true,
161
+ // "module": "agreement",
162
+ // "obligationtitle": "Term test",
163
+ // "documents": [],
164
+ // "comments": [],
165
+ // "approved": false,
166
+ // "lastupdated": "",
167
+ // "dateofcompletion": "",
168
+ // "docs": [
169
+ // "Not Required"
170
+ // ]
171
+ // }
87
172
  this.selectedItemIds = [];
88
173
  this.reopenedItem = {};
89
174
  this.decryptProjectId = "";
@@ -279,6 +364,23 @@ let SfIReporting = class SfIReporting extends LitElement {
279
364
  this.deleteConfirmClick = () => {
280
365
  this.submitDelete();
281
366
  };
367
+ this.getSchema = () => {
368
+ let schema = this.getConfigJson();
369
+ for (let element of this.dataModel) {
370
+ if (element.type == 'sf-checklist') {
371
+ console.log('schema element', element);
372
+ for (let [i, schemaElement] of schema.entries()) {
373
+ if (schemaElement.id == element.id) {
374
+ schemaElement.elementsjson = element.elementsjson;
375
+ schema[i] = schemaElement;
376
+ console.log('schema schemaelement', schemaElement, schema[i]);
377
+ }
378
+ }
379
+ }
380
+ }
381
+ console.log('returning Schema', schema);
382
+ return schema;
383
+ };
282
384
  this.getBricksValues = (element, selectedValues = []) => {
283
385
  let names = [];
284
386
  let ids = [];
@@ -533,12 +635,12 @@ let SfIReporting = class SfIReporting extends LitElement {
533
635
  </div>
534
636
  </div>`;
535
637
  }
536
- if (this.showterminate == "true") {
638
+ if (this.showterminate == "true" || this.flow != "reporting") {
537
639
  html += `
538
640
  <div part="terminate-container" class="d-flex flex-col flex-grow">
539
641
 
540
642
  <div class="d-flex" part=${this.terminated ? "terminate-container-terminated" : "terminate-container-active"} id="terminate-container">
541
- <input type="checkbox" id="input-terminate-checkbox" class="input-terminate-checkbox" part="input-terminate-checkbox" ${this.terminated ? "checked" : ""}>
643
+ <input type="checkbox" id="input-terminate-checkbox" class="input-terminate-checkbox" part="input-terminate-checkbox" ${this.terminated ? "checked" : ""} ${(this.editdisable == "true" || this.flow != "reporting") ? "disabled" : ""}>
542
644
  <label id="input-terminate-checkbox-label" for="input-terminate-checkbox" part="textarea-label">Terminate</label>
543
645
  </div>
544
646
  </div>`;
@@ -732,17 +834,22 @@ let SfIReporting = class SfIReporting extends LitElement {
732
834
  await customElements.whenDefined('sf-checklist');
733
835
  let checklist = this._SfReportingContainer.querySelector('#' + element.id);
734
836
  if (this.mode == 'admin' && this.flow != "reporting") {
735
- checklist.listelements = (element.value != '' ? element.value : []);
837
+ if (this.flow == "edit") {
838
+ checklist.listelements = element.elementsjson != '' ? JSON.parse(element.elementsjson) : [];
839
+ }
840
+ else {
841
+ checklist.listelements = element.elementsjson != '' ? JSON.parse(element.elementsjson) : [];
842
+ }
736
843
  }
737
844
  else {
738
845
  checklist.listelements = element.elementsjson != '' ? JSON.parse(element.elementsjson) : (element.value != '' ? element.value : []);
739
846
  checklist.listselection = JSON.stringify(element.value) != '' ? element.value : {};
740
847
  }
741
848
  checklist.readonly = (this.mode == "view" || this.flow == "details");
742
- checklist.mode = this.mode;
849
+ checklist.mode = (this.mode == "view" || this.flow == "details") ? "view" : this.mode;
743
850
  // console.log('sf-checklist', checklist.listelements, checklist.readonly, this.mode, this.flow);
744
851
  setTimeout(() => {
745
- console.log('sf-checklist', checklist.listelements, element.value == '', this.mode, this.flow);
852
+ console.log('sf-checklist', checklist.listelements, checklist.listselection, element.value == '', this.mode, this.flow, checklist.mode);
746
853
  checklist.loadMode();
747
854
  }, 200);
748
855
  }
@@ -1100,7 +1207,7 @@ let SfIReporting = class SfIReporting extends LitElement {
1100
1207
  }
1101
1208
  }
1102
1209
  else if (element.type == "sf-checklist") {
1103
- if (this.mode == 'admin') {
1210
+ if (this.mode == 'admin' && this.flow == "edit") {
1104
1211
  this.dataModel[i].elementsjson = (this.getPrepopulateJson()[element.id] != null ? JSON.stringify(this.getPrepopulateJson()[element.id]) : '');
1105
1212
  }
1106
1213
  else {
@@ -1816,7 +1923,7 @@ let SfIReporting = class SfIReporting extends LitElement {
1816
1923
  elementHtml += `<div part="date-container" class="d-flex flex-col flex-grow">
1817
1924
  <label id="${dataObj.id}-label" part="date-label">${elementLabel}</label>
1818
1925
  <div part="td-body-2"><sf-i-elastic-text text="${dataObj.hint}" minLength="50"></sf-i-elastic-text></div>
1819
- <input class="reporting-date" id="${dataObj.id}" part="input-date" type="date" ${this.mode == "view" || this.flow == "details" ? "readonly" : ""} value="${dataObj.value}"/>
1926
+ <input class="reporting-date" id="${dataObj.id}" part="input-date" type="date" ${this.mode == "view" || this.flow == "details" ? "readonly" : ""} value="${dataObj.value}" ${this.editdisable == "true" ? "disabled" : ""}/>
1820
1927
  </div>`;
1821
1928
  }
1822
1929
  else if (dataObj.type == "sf-i-form") {
@@ -2205,7 +2312,7 @@ let SfIReporting = class SfIReporting extends LitElement {
2205
2312
  }
2206
2313
  };
2207
2314
  this.fetchDetails = async () => {
2208
- var _a;
2315
+ var _a, _b;
2209
2316
  let url = "https://" + this.apiId + "/details";
2210
2317
  let body = { projectid: this.projectid, objectid: this.selectedItem.id };
2211
2318
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
@@ -2217,6 +2324,7 @@ let SfIReporting = class SfIReporting extends LitElement {
2217
2324
  console.log('details response', jsonRespose);
2218
2325
  let resultObject = jsonRespose.object;
2219
2326
  this.published = (_a = resultObject.published) !== null && _a !== void 0 ? _a : false;
2327
+ this.terminated = (_b = resultObject.terminated) !== null && _b !== void 0 ? _b : false;
2220
2328
  this.configjson = resultObject.schema;
2221
2329
  this.prepopulateValJson = resultObject.object;
2222
2330
  this.populateDataModel();
@@ -2230,7 +2338,7 @@ let SfIReporting = class SfIReporting extends LitElement {
2230
2338
  this.submitNew = async (obj = this.selectedValues()) => {
2231
2339
  console.log('adding', obj);
2232
2340
  let url = "https://" + this.apiId + "/add";
2233
- let body = { projectid: this.projectid, object: obj, schema: this.getConfigJson(), published: this.published };
2341
+ let body = { projectid: this.projectid, object: obj, schema: this.getSchema(), published: this.published };
2234
2342
  console.log('adding', body, url);
2235
2343
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
2236
2344
  const xhr = (await this.prepareXhr(body, url, this._SfLoader, authorization));
@@ -2251,10 +2359,10 @@ let SfIReporting = class SfIReporting extends LitElement {
2251
2359
  };
2252
2360
  this.submitEdit = async () => {
2253
2361
  let url = "https://" + this.apiId + "/update";
2254
- let body = { projectid: this.projectid, objectid: this.selectedItem.id, object: this.selectedValues(), schema: this.getConfigJson(), published: this.published };
2362
+ let body = { projectid: this.projectid, objectid: this.selectedItem.id, object: this.selectedValues(), schema: this.getSchema(), published: this.published };
2255
2363
  if (Object.keys(this.reopenedItem).length > 0) {
2256
2364
  url = "https://" + this.apiId + "/reopen";
2257
- body = { projectid: this.projectid, object: this.selectedValues(), schema: this.getConfigJson(), objectid: this.reopenedItem.id, published: this.published };
2365
+ body = { projectid: this.projectid, object: this.selectedValues(), schema: this.getSchema(), objectid: this.reopenedItem.id, published: this.published };
2258
2366
  }
2259
2367
  console.log('updating', body, url);
2260
2368
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));