@undp/carbon-library 1.0.292-CARBON-178.0 → 1.0.292-CARBON-368.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -964,7 +964,7 @@ var CompanyManagementComponent = function (props) {
964
964
  {
965
965
  key: searchByTermOrganisation,
966
966
  operation: "like",
967
- value: "%" + networksearchOrganisations + "%",
967
+ value: networksearchOrganisations + "%",
968
968
  },
969
969
  ];
970
970
  }
@@ -981,7 +981,7 @@ var CompanyManagementComponent = function (props) {
981
981
  {
982
982
  key: searchByTermOrganisation,
983
983
  operation: "like",
984
- value: "%" + networksearchOrganisations + "%",
984
+ value: networksearchOrganisations + "%",
985
985
  },
986
986
  {
987
987
  key: "companyRole",
@@ -7653,7 +7653,7 @@ var ProgrammeManagementComponent = function (props) {
7653
7653
  filter.push({
7654
7654
  key: "title",
7655
7655
  operation: "like",
7656
- value: "%".concat(search, "%"),
7656
+ value: "".concat(search, "%"),
7657
7657
  });
7658
7658
  }
7659
7659
  if (ministryLevelFilter) {
@@ -15474,7 +15474,7 @@ var UserManagementComponent = function (props) {
15474
15474
  {
15475
15475
  key: searchByTermUser,
15476
15476
  operation: "like",
15477
- value: "%" + networksearchUsers + "%",
15477
+ value: networksearchUsers + "%",
15478
15478
  },
15479
15479
  ];
15480
15480
  }
@@ -15492,7 +15492,7 @@ var UserManagementComponent = function (props) {
15492
15492
  {
15493
15493
  key: searchByTermUser,
15494
15494
  operation: "like",
15495
- value: "%" + networksearchUsers + "%",
15495
+ value: networksearchUsers + "%",
15496
15496
  },
15497
15497
  {
15498
15498
  key: "role",
@@ -15515,7 +15515,7 @@ var UserManagementComponent = function (props) {
15515
15515
  {
15516
15516
  key: searchByTermUser,
15517
15517
  operation: "like",
15518
- value: "%" + networksearchUsers + "%",
15518
+ value: networksearchUsers + "%",
15519
15519
  },
15520
15520
  {
15521
15521
  key: "role",
@@ -15533,7 +15533,7 @@ var UserManagementComponent = function (props) {
15533
15533
  {
15534
15534
  key: searchByTermUser,
15535
15535
  operation: "like",
15536
- value: "%" + networksearchUsers + "%",
15536
+ value: networksearchUsers + "%",
15537
15537
  },
15538
15538
  {
15539
15539
  key: "companyRole",
@@ -16767,7 +16767,7 @@ var InvestmentManagementComponent = function (props) {
16767
16767
  {
16768
16768
  key: "programmeTitle",
16769
16769
  operation: "like",
16770
- value: "%".concat(search, "%"),
16770
+ value: "".concat(search, "%"),
16771
16771
  },
16772
16772
  ];
16773
16773
  if (!isNaN(Number(search))) {
@@ -17713,7 +17713,7 @@ var SupportManagementComponent = function (props) {
17713
17713
  {
17714
17714
  key: "programmeTitle",
17715
17715
  operation: "like",
17716
- value: "%".concat(search, "%"),
17716
+ value: "".concat(search, "%"),
17717
17717
  },
17718
17718
  ];
17719
17719
  if (!isNaN(Number(search))) {
@@ -18298,14 +18298,14 @@ var NdcActionManagementComponent = function (props) {
18298
18298
  {
18299
18299
  key: "programmeName",
18300
18300
  operation: "like",
18301
- value: "%".concat(search, "%"),
18301
+ value: "".concat(search, "%"),
18302
18302
  },
18303
18303
  ];
18304
18304
  if (!isNaN(Number(search))) {
18305
18305
  interFilterOr.push({
18306
18306
  key: "id",
18307
18307
  operation: "like",
18308
- value: "%".concat(search, "%"),
18308
+ value: "".concat(search),
18309
18309
  });
18310
18310
  }
18311
18311
  filter.push({
@@ -19558,7 +19558,7 @@ var GenderParity = function (props) {
19558
19558
  };
19559
19559
 
19560
19560
  var Assessment = function (props) {
19561
- var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, useConnection = props.useConnection, translator = props.translator;
19561
+ var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, translator = props.translator;
19562
19562
  translator.setDefaultNamespace("coBenifits");
19563
19563
  var t = translator.t;
19564
19564
  var form1 = antd.Form.useForm()[0];
@@ -23218,7 +23218,7 @@ var CreditTransferComponent = function (props) {
23218
23218
  {
23219
23219
  key: "programmeTitle",
23220
23220
  operation: "like",
23221
- value: "%".concat(search, "%"),
23221
+ value: "".concat(search, "%"),
23222
23222
  },
23223
23223
  ];
23224
23224
  if (!isNaN(Number(search))) {
@@ -28726,7 +28726,7 @@ var ProgrammeRetireForm = function (props) {
28726
28726
  {
28727
28727
  key: "name",
28728
28728
  operation: "like",
28729
- value: "%" + newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
28729
+ value: newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
28730
28730
  },
28731
28731
  ],
28732
28732
  sort: {
@@ -29058,7 +29058,7 @@ var ProgrammeTransferForm = function (props) {
29058
29058
  {
29059
29059
  key: "name",
29060
29060
  operation: "like",
29061
- value: "%" + newValue + "%",
29061
+ value: newValue + "%",
29062
29062
  },
29063
29063
  {
29064
29064
  key: "companyRole",