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

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -655,7 +655,7 @@ var CompanyManagementComponent = function (props) {
655
655
  {
656
656
  key: searchByTermOrganisation,
657
657
  operation: "like",
658
- value: networksearchOrganisations + "%",
658
+ value: "%" + networksearchOrganisations + "%",
659
659
  },
660
660
  ];
661
661
  }
@@ -672,7 +672,7 @@ var CompanyManagementComponent = function (props) {
672
672
  {
673
673
  key: searchByTermOrganisation,
674
674
  operation: "like",
675
- value: networksearchOrganisations + "%",
675
+ value: "%" + networksearchOrganisations + "%",
676
676
  },
677
677
  {
678
678
  key: "companyRole",
@@ -7344,7 +7344,7 @@ var ProgrammeManagementComponent = function (props) {
7344
7344
  filter.push({
7345
7345
  key: "title",
7346
7346
  operation: "like",
7347
- value: "".concat(search, "%"),
7347
+ value: "%".concat(search, "%"),
7348
7348
  });
7349
7349
  }
7350
7350
  if (ministryLevelFilter) {
@@ -15164,7 +15164,7 @@ var UserManagementComponent = function (props) {
15164
15164
  {
15165
15165
  key: searchByTermUser,
15166
15166
  operation: "like",
15167
- value: networksearchUsers + "%",
15167
+ value: "%" + networksearchUsers + "%",
15168
15168
  },
15169
15169
  ];
15170
15170
  }
@@ -15182,7 +15182,7 @@ var UserManagementComponent = function (props) {
15182
15182
  {
15183
15183
  key: searchByTermUser,
15184
15184
  operation: "like",
15185
- value: networksearchUsers + "%",
15185
+ value: "%" + networksearchUsers + "%",
15186
15186
  },
15187
15187
  {
15188
15188
  key: "role",
@@ -15205,7 +15205,7 @@ var UserManagementComponent = function (props) {
15205
15205
  {
15206
15206
  key: searchByTermUser,
15207
15207
  operation: "like",
15208
- value: networksearchUsers + "%",
15208
+ value: "%" + networksearchUsers + "%",
15209
15209
  },
15210
15210
  {
15211
15211
  key: "role",
@@ -15223,7 +15223,7 @@ var UserManagementComponent = function (props) {
15223
15223
  {
15224
15224
  key: searchByTermUser,
15225
15225
  operation: "like",
15226
- value: networksearchUsers + "%",
15226
+ value: "%" + networksearchUsers + "%",
15227
15227
  },
15228
15228
  {
15229
15229
  key: "companyRole",
@@ -16456,7 +16456,7 @@ var InvestmentManagementComponent = function (props) {
16456
16456
  {
16457
16457
  key: "programmeTitle",
16458
16458
  operation: "like",
16459
- value: "".concat(search, "%"),
16459
+ value: "%".concat(search, "%"),
16460
16460
  },
16461
16461
  ];
16462
16462
  if (!isNaN(Number(search))) {
@@ -16915,9 +16915,7 @@ var InvestmentManagementComponent = function (props) {
16915
16915
  React.createElement("div", { className: "title-bar" },
16916
16916
  React.createElement("div", { className: "body-title" }, t("programme:investmentTitle")),
16917
16917
  React.createElement("div", { className: "body-sub-title" }, t("programme:investmentDesc"))),
16918
- React.createElement("div", { className: "actions" }, (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) !== exports.Role.ViewOnly &&
16919
- (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== exports.CompanyRole.CERTIFIER &&
16920
- enableAddOwnership && (React.createElement("div", { className: "action-bar" },
16918
+ React.createElement("div", { className: "actions" }, enableAddOwnership && (React.createElement("div", { className: "action-bar" },
16921
16919
  React.createElement(antd.Button, { type: "primary", size: "large", block: true, icon: React.createElement(icons.PlusOutlined, null), onClick: onClickAddOwnership }, t("programme:addOwnership")))))),
16922
16920
  React.createElement("div", { className: "content-card" },
16923
16921
  React.createElement(antd.Row, null,
@@ -17403,7 +17401,7 @@ var SupportManagementComponent = function (props) {
17403
17401
  {
17404
17402
  key: "programmeTitle",
17405
17403
  operation: "like",
17406
- value: "".concat(search, "%"),
17404
+ value: "%".concat(search, "%"),
17407
17405
  },
17408
17406
  ];
17409
17407
  if (!isNaN(Number(search))) {
@@ -17988,14 +17986,14 @@ var NdcActionManagementComponent = function (props) {
17988
17986
  {
17989
17987
  key: "programmeName",
17990
17988
  operation: "like",
17991
- value: "".concat(search, "%"),
17989
+ value: "%".concat(search, "%"),
17992
17990
  },
17993
17991
  ];
17994
17992
  if (!isNaN(Number(search))) {
17995
17993
  interFilterOr.push({
17996
17994
  key: "id",
17997
17995
  operation: "like",
17998
- value: "".concat(search),
17996
+ value: "%".concat(search, "%"),
17999
17997
  });
18000
17998
  }
18001
17999
  filter.push({
@@ -22908,7 +22906,7 @@ var CreditTransferComponent = function (props) {
22908
22906
  {
22909
22907
  key: "programmeTitle",
22910
22908
  operation: "like",
22911
- value: "".concat(search, "%"),
22909
+ value: "%".concat(search, "%"),
22912
22910
  },
22913
22911
  ];
22914
22912
  if (!isNaN(Number(search))) {
@@ -28416,7 +28414,7 @@ var ProgrammeRetireForm = function (props) {
28416
28414
  {
28417
28415
  key: "name",
28418
28416
  operation: "like",
28419
- value: newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
28417
+ value: "%" + newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
28420
28418
  },
28421
28419
  ],
28422
28420
  sort: {
@@ -28748,7 +28746,7 @@ var ProgrammeTransferForm = function (props) {
28748
28746
  {
28749
28747
  key: "name",
28750
28748
  operation: "like",
28751
- value: newValue + "%",
28749
+ value: "%" + newValue + "%",
28752
28750
  },
28753
28751
  {
28754
28752
  key: "companyRole",