@undp/carbon-library 1.0.289-CARBON-178.1 → 1.0.289-CARBON-167.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -634,7 +634,7 @@ var CompanyManagementComponent = function (props) {
634
634
  {
635
635
  key: searchByTermOrganisation,
636
636
  operation: "like",
637
- value: "%" + networksearchOrganisations + "%",
637
+ value: networksearchOrganisations + "%",
638
638
  },
639
639
  ];
640
640
  }
@@ -651,7 +651,7 @@ var CompanyManagementComponent = function (props) {
651
651
  {
652
652
  key: searchByTermOrganisation,
653
653
  operation: "like",
654
- value: "%" + networksearchOrganisations + "%",
654
+ value: networksearchOrganisations + "%",
655
655
  },
656
656
  {
657
657
  key: "companyRole",
@@ -7323,7 +7323,7 @@ var ProgrammeManagementComponent = function (props) {
7323
7323
  filter.push({
7324
7324
  key: "title",
7325
7325
  operation: "like",
7326
- value: "%".concat(search, "%"),
7326
+ value: "".concat(search, "%"),
7327
7327
  });
7328
7328
  }
7329
7329
  if (ministryLevelFilter) {
@@ -15143,7 +15143,7 @@ var UserManagementComponent = function (props) {
15143
15143
  {
15144
15144
  key: searchByTermUser,
15145
15145
  operation: "like",
15146
- value: "%" + networksearchUsers + "%",
15146
+ value: networksearchUsers + "%",
15147
15147
  },
15148
15148
  ];
15149
15149
  }
@@ -15161,7 +15161,7 @@ var UserManagementComponent = function (props) {
15161
15161
  {
15162
15162
  key: searchByTermUser,
15163
15163
  operation: "like",
15164
- value: "%" + networksearchUsers + "%",
15164
+ value: networksearchUsers + "%",
15165
15165
  },
15166
15166
  {
15167
15167
  key: "role",
@@ -15184,7 +15184,7 @@ var UserManagementComponent = function (props) {
15184
15184
  {
15185
15185
  key: searchByTermUser,
15186
15186
  operation: "like",
15187
- value: "%" + networksearchUsers + "%",
15187
+ value: networksearchUsers + "%",
15188
15188
  },
15189
15189
  {
15190
15190
  key: "role",
@@ -15202,7 +15202,7 @@ var UserManagementComponent = function (props) {
15202
15202
  {
15203
15203
  key: searchByTermUser,
15204
15204
  operation: "like",
15205
- value: "%" + networksearchUsers + "%",
15205
+ value: networksearchUsers + "%",
15206
15206
  },
15207
15207
  {
15208
15208
  key: "companyRole",
@@ -16435,7 +16435,7 @@ var InvestmentManagementComponent = function (props) {
16435
16435
  {
16436
16436
  key: "programmeTitle",
16437
16437
  operation: "like",
16438
- value: "%".concat(search, "%"),
16438
+ value: "".concat(search, "%"),
16439
16439
  },
16440
16440
  ];
16441
16441
  if (!isNaN(Number(search))) {
@@ -17380,7 +17380,7 @@ var SupportManagementComponent = function (props) {
17380
17380
  {
17381
17381
  key: "programmeTitle",
17382
17382
  operation: "like",
17383
- value: "%".concat(search, "%"),
17383
+ value: "".concat(search, "%"),
17384
17384
  },
17385
17385
  ];
17386
17386
  if (!isNaN(Number(search))) {
@@ -17965,14 +17965,14 @@ var NdcActionManagementComponent = function (props) {
17965
17965
  {
17966
17966
  key: "programmeName",
17967
17967
  operation: "like",
17968
- value: "%".concat(search, "%"),
17968
+ value: "".concat(search, "%"),
17969
17969
  },
17970
17970
  ];
17971
17971
  if (!isNaN(Number(search))) {
17972
17972
  interFilterOr.push({
17973
17973
  key: "id",
17974
17974
  operation: "like",
17975
- value: "%".concat(search, "%"),
17975
+ value: "".concat(search),
17976
17976
  });
17977
17977
  }
17978
17978
  filter.push({
@@ -22885,7 +22885,7 @@ var CreditTransferComponent = function (props) {
22885
22885
  {
22886
22886
  key: "programmeTitle",
22887
22887
  operation: "like",
22888
- value: "%".concat(search, "%"),
22888
+ value: "".concat(search, "%"),
22889
22889
  },
22890
22890
  ];
22891
22891
  if (!isNaN(Number(search))) {
@@ -23203,7 +23203,7 @@ var CreditTransferComponent = function (props) {
23203
23203
  icon: React.createElement(Icon.XOctagon, null),
23204
23204
  actionBtnText: t("creditTransfer:notrecognise"),
23205
23205
  okAction: function (requestId, comment) {
23206
- return handleRequestOk(requestId, comment, "transferReject", "".concat(t("creditTransfer:internationalTranferReqAccepted")));
23206
+ return handleRequestOk(requestId, comment, "transferReject", "".concat(t("creditTransfer:internationalTransferReqRejected")));
23207
23207
  },
23208
23208
  type: "danger",
23209
23209
  remarkRequired: true,
@@ -28393,7 +28393,7 @@ var ProgrammeRetireForm = function (props) {
28393
28393
  {
28394
28394
  key: "name",
28395
28395
  operation: "like",
28396
- value: "%" + newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
28396
+ value: newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
28397
28397
  },
28398
28398
  ],
28399
28399
  sort: {
@@ -28725,7 +28725,7 @@ var ProgrammeTransferForm = function (props) {
28725
28725
  {
28726
28726
  key: "name",
28727
28727
  operation: "like",
28728
- value: "%" + newValue + "%",
28728
+ value: newValue + "%",
28729
28729
  },
28730
28730
  {
28731
28731
  key: "companyRole",