@undp/carbon-library 1.0.177-CARBON-380.1 → 1.0.177-CARBON-380.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -6276,7 +6276,7 @@ var AddNewCompanyComponent = function (props) {
6276
6276
  width: "45%",
6277
6277
  }
6278
6278
  : {} },
6279
- React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to certify and revoke certifications of programmes" },
6279
+ React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to certify and revoke certifications of projects" },
6280
6280
  React.createElement(antd.Radio.Button, { className: "certifier", value: "Certifier" },
6281
6281
  React.createElement(icons.SafetyOutlined, { className: "role-icons" }),
6282
6282
  "Certifier"))),
@@ -6287,7 +6287,7 @@ var AddNewCompanyComponent = function (props) {
6287
6287
  marginLeft: isGuest ? "30px" : 0,
6288
6288
  }
6289
6289
  : { marginLeft: isGuest ? "30px" : 0, } },
6290
- React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to own programmes and transfer carbon credits" },
6290
+ React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to own projects and transfer carbon credits" },
6291
6291
  React.createElement(antd.Radio.Button, { className: "dev", value: "ProgrammeDeveloper" },
6292
6292
  React.createElement(icons.ExperimentOutlined, { className: "role-icons" }),
6293
6293
  "Developer"))),
@@ -24136,46 +24136,46 @@ var toolTipTextGen = function (companyRole, cardType, mine) {
24136
24136
  var text = '';
24137
24137
  if (companyRole === exports.CompanyRole.GOVERNMENT) {
24138
24138
  if (cardType === exports.StatsCardsTypes.PROGRAMMES_PENDING) {
24139
- text = 'Pending state programmes awaiting authorisation';
24139
+ text = 'Pending state projects awaiting authorisation';
24140
24140
  }
24141
24141
  else if (cardType === exports.StatsCardsTypes.TRANSFER_REQUEST_SENT) {
24142
24142
  text =
24143
- 'Pending credit transfer requests sent to programme owners initiated by your organisation';
24143
+ 'Pending credit transfer requests sent to project owners initiated by your organisation';
24144
24144
  }
24145
24145
  else if (cardType === exports.StatsCardsTypes.CREDIT_BALANCE) {
24146
24146
  text = 'Total credit balance owned by your organisation';
24147
24147
  }
24148
24148
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
24149
24149
  text =
24150
- 'Number of programmes created during the specified period and their programme state in the carbon registry at present';
24150
+ 'Number of projects created during the specified period and their project state in the carbon registry at present';
24151
24151
  }
24152
24152
  else if (cardType === exports.StatsCardsTypes.CREDITS) {
24153
24153
  text =
24154
- 'Number of credits of programmes created during the specified period and their credit state in the carbon registry at present';
24154
+ 'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
24155
24155
  }
24156
24156
  else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
24157
24157
  text =
24158
- 'Number of credits of programmes created during the specified period, uncertified, certified and revoked in the carbon registry at present';
24158
+ 'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
24159
24159
  }
24160
24160
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
24161
24161
  text =
24162
- 'Graphical representation of the number of programmes created during the specified period in each programme state in the carbon registry at present';
24162
+ 'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
24163
24163
  }
24164
24164
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
24165
24165
  text =
24166
- 'Graphical representation of the number of programmes in each programme sector created during the specified time in the carbon registry';
24166
+ 'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
24167
24167
  }
24168
24168
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
24169
24169
  text =
24170
- 'Graphical representation of the number of credits of programmes created during the specified period in each credit state in the carbon registry at present';
24170
+ 'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
24171
24171
  }
24172
24172
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
24173
24173
  text =
24174
- 'Graphical representation of the number of credits of programmes created during the specified period certified, uncertified and revoked in the carbon registry at present';
24174
+ 'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
24175
24175
  }
24176
24176
  else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
24177
24177
  text =
24178
- 'Locations of the programmes created during the specified period and their programme states in the carbon registry at present';
24178
+ 'Locations of the projects created during the specified period and their project states in the carbon registry at present';
24179
24179
  }
24180
24180
  else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
24181
24181
  text =
@@ -24194,131 +24194,131 @@ var toolTipTextGen = function (companyRole, cardType, mine) {
24194
24194
  }
24195
24195
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
24196
24196
  text =
24197
- 'Number of programmes created during the specified period and their programme state in the carbon registry at present, owned by your organisation';
24197
+ 'Number of projects created during the specified period and their project state in the carbon registry at present, owned by your organisation';
24198
24198
  }
24199
24199
  else if (cardType === exports.StatsCardsTypes.CREDITS) {
24200
24200
  text =
24201
- 'Number of credits of programmes created during the specified period and their credit state in the carbon registry at present, owned by your organisation';
24201
+ 'Number of credits of projects created during the specified period and their credit state in the carbon registry at present, owned by your organisation';
24202
24202
  }
24203
24203
  else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
24204
24204
  text =
24205
- 'Number of credits of programmes created during the specified period, uncertified, certified and revoked in the carbon registry at present, owned by your organisation';
24205
+ 'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present, owned by your organisation';
24206
24206
  }
24207
24207
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
24208
24208
  text =
24209
- 'Graphical representation of the number of programmes created during the specified period, owned by your organisation, in each programme state in the carbon registry at present';
24209
+ 'Graphical representation of the number of projects created during the specified period, owned by your organisation, in each project state in the carbon registry at present';
24210
24210
  }
24211
24211
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
24212
24212
  text =
24213
- 'Graphical representation of the number of programmes owned by your organisation, in each programme sector created during the specified time in the carbon registry';
24213
+ 'Graphical representation of the number of projects owned by your organisation, in each project sector created during the specified time in the carbon registry';
24214
24214
  }
24215
24215
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
24216
24216
  text =
24217
- 'Graphical representation of the number of credits of programmes created during the specified period, owned by your organisation, in each credit state in the carbon registry at present';
24217
+ 'Graphical representation of the number of credits of projects created during the specified period, owned by your organisation, in each credit state in the carbon registry at present';
24218
24218
  }
24219
24219
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
24220
24220
  text =
24221
- 'Graphical representation of the number of credits of programmes created during the specified period, owned by your organisation, certified, uncertified and revoked in the carbon registry at present';
24221
+ 'Graphical representation of the number of credits of projects created during the specified period, owned by your organisation, certified, uncertified and revoked in the carbon registry at present';
24222
24222
  }
24223
24223
  else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
24224
24224
  text =
24225
- 'Locations of the programmes created during the specified period, owned by your organisation, and their programme states in the carbon registry at present';
24225
+ 'Locations of the projects created during the specified period, owned by your organisation, and their project states in the carbon registry at present';
24226
24226
  }
24227
24227
  else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
24228
24228
  text =
24229
- 'Locations of credits international transfer requests of programmes owned by your organisation recognised during the specified period';
24229
+ 'Locations of credits international transfer requests of projects owned by your organisation recognised during the specified period';
24230
24230
  }
24231
24231
  }
24232
24232
  else if (companyRole === exports.CompanyRole.CERTIFIER && mine === true) {
24233
24233
  if (cardType === exports.StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
24234
24234
  text =
24235
- 'Number of programmes not yet certified including certificates revoked by your organisation';
24235
+ 'Number of projects not yet certified including certificates revoked by your organisation';
24236
24236
  }
24237
24237
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES_CERTIFIED) {
24238
- text = 'Number of programmes certified by your organisation';
24238
+ text = 'Number of projects certified by your organisation';
24239
24239
  }
24240
24240
  else if (cardType === exports.StatsCardsTypes.CREDIT_CERTIFIED) {
24241
24241
  text = 'Number of credits certified by your organisation';
24242
24242
  }
24243
24243
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
24244
24244
  text =
24245
- 'Number of programmes created during the specified period, certified by your organisation, and their programme state in the carbon registry at present';
24245
+ 'Number of projects created during the specified period, certified by your organisation, and their project state in the carbon registry at present';
24246
24246
  }
24247
24247
  else if (cardType === exports.StatsCardsTypes.CREDITS) {
24248
24248
  text =
24249
- 'Number of credits of programmes created during the specified period, certified by your organisation and their credit state in the carbon registry at present';
24249
+ 'Number of credits of projects created during the specified period, certified by your organisation and their credit state in the carbon registry at present';
24250
24250
  }
24251
24251
  else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
24252
24252
  text =
24253
- 'Number of credits of programmes created during the specified period, certified by your organisation, uncertified, certified and revoked in the carbon registry at present';
24253
+ 'Number of credits of projects created during the specified period, certified by your organisation, uncertified, certified and revoked in the carbon registry at present';
24254
24254
  }
24255
24255
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
24256
24256
  text =
24257
- 'Graphical representation of the number of programmes in each programme sector created during the specified time, certified by your company, in the carbon registry';
24257
+ 'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
24258
24258
  }
24259
24259
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
24260
24260
  text =
24261
- 'Graphical representation of the number of programmes in each programme sector created during the specified time, certified by your company, in the carbon registry';
24261
+ 'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
24262
24262
  }
24263
24263
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
24264
24264
  text =
24265
- 'Graphical representation of the number of credits of programmes created during the specified period in each credit state in the carbon registry at present';
24265
+ 'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
24266
24266
  }
24267
24267
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
24268
24268
  text =
24269
- 'Graphical representation of the number of credits of programmes certified, uncertified and revoked (refer above for states), by your organisation, spread over the specified time';
24269
+ 'Graphical representation of the number of credits of projects certified, uncertified and revoked (refer above for states), by your organisation, spread over the specified time';
24270
24270
  }
24271
24271
  else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
24272
24272
  text =
24273
- 'Locations of the programmes created during the specified period, certified by your organisation, and their programme states in the carbon registry at present';
24273
+ 'Locations of the projects created during the specified period, certified by your organisation, and their project states in the carbon registry at present';
24274
24274
  }
24275
24275
  else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
24276
24276
  text =
24277
- 'Locations of credits of international transfer requests of programmes certified by your organisation recognised during the specified period';
24277
+ 'Locations of credits of international transfer requests of projects certified by your organisation recognised during the specified period';
24278
24278
  }
24279
24279
  }
24280
24280
  else if (companyRole === exports.CompanyRole.CERTIFIER && !mine) {
24281
24281
  if (cardType === exports.StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
24282
24282
  text =
24283
- 'Number of programmes not yet certified including certificates revoked by your organisation';
24283
+ 'Number of projects not yet certified including certificates revoked by your organisation';
24284
24284
  }
24285
24285
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES_CERTIFIED) {
24286
- text = 'Number of programmes certified by your organisation';
24286
+ text = 'Number of projects certified by your organisation';
24287
24287
  }
24288
24288
  else if (cardType === exports.StatsCardsTypes.CREDIT_CERTIFIED) {
24289
24289
  text = 'Number of credits certified by your organisation';
24290
24290
  }
24291
24291
  else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
24292
24292
  text =
24293
- 'Number of programmes created during the specified period and their programme state in the carbon registry at present';
24293
+ 'Number of projects created during the specified period and their project state in the carbon registry at present';
24294
24294
  }
24295
24295
  else if (cardType === exports.StatsCardsTypes.CREDITS) {
24296
24296
  text =
24297
- 'Number of credits of programmes created during the specified period and their credit state in the carbon registry at present';
24297
+ 'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
24298
24298
  }
24299
24299
  else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
24300
24300
  text =
24301
- 'Number of credits of programmes created during the specified period, uncertified, certified and revoked in the carbon registry at present';
24301
+ 'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
24302
24302
  }
24303
24303
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
24304
24304
  text =
24305
- 'Graphical representation of the number of programmes created during the specified period in each programme state in the carbon registry at present';
24305
+ 'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
24306
24306
  }
24307
24307
  else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
24308
24308
  text =
24309
- 'Graphical representation of the number of programmes in each programme sector created during the specified time in the carbon registry';
24309
+ 'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
24310
24310
  }
24311
24311
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
24312
24312
  text =
24313
- 'Graphical representation of the number of credits of programmes created during the specified period in each credit state in the carbon registry at present';
24313
+ 'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
24314
24314
  }
24315
24315
  else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
24316
24316
  text =
24317
- 'Graphical representation of the number of credits of programmes created during the specified period certified, uncertified and revoked in the carbon registry at present';
24317
+ 'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
24318
24318
  }
24319
24319
  else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
24320
24320
  text =
24321
- 'Locations of the programmes created during the specified period and their programme states in the carbon registry at present';
24321
+ 'Locations of the projects created during the specified period and their project states in the carbon registry at present';
24322
24322
  }
24323
24323
  else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
24324
24324
  text =
@@ -24349,7 +24349,7 @@ var StasticCard = function (props) {
24349
24349
  };
24350
24350
 
24351
24351
  var ProgrammeRejectAndTransferComponent = function (props) {
24352
- var totalPrgrammes = props.totalPrgrammes, pending = props.pending, rejected = props.rejected, authorized = props.authorized, updatedDate = props.updatedDate, loading = props.loading, toolTipText = props.toolTipText;
24352
+ var totalPrgrammes = props.totalPrgrammes, pending = props.pending, rejected = props.rejected, authorized = props.authorized, updatedDate = props.updatedDate, loading = props.loading, toolTipText = props.toolTipText, t = props.t;
24353
24353
  React.useEffect(function () {
24354
24354
  console.log({ pending: pending, totalPrgrammes: totalPrgrammes });
24355
24355
  });
@@ -24357,7 +24357,7 @@ var ProgrammeRejectAndTransferComponent = function (props) {
24357
24357
  React.createElement(antd.Skeleton, { active: true }),
24358
24358
  React.createElement(antd.Skeleton, { active: true }))) : (React.createElement(React.Fragment, null,
24359
24359
  React.createElement("div", { className: "title-section" },
24360
- React.createElement("div", { className: "title" }, "Programmes"),
24360
+ React.createElement("div", { className: "title" }, t("programmes")),
24361
24361
  React.createElement("div", { className: "info-container" },
24362
24362
  React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title: toolTipText },
24363
24363
  React.createElement(Icon.InfoCircle, { color: "#000000", size: 17 })))),
@@ -26028,7 +26028,7 @@ var RegistryDashboardComponent = function (props) {
26028
26028
  ? "tTProgrammesProgrammeDev"
26029
26029
  : categoryType === "mine"
26030
26030
  ? "tTProgrammesCertifierMine"
26031
- : "tTProgrammesCertifierOverall") })),
26031
+ : "tTProgrammesCertifierOverall"), t: true })),
26032
26032
  React.createElement(antd.Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col pie" },
26033
26033
  React.createElement(RegistryPieChartsStatComponent, { id: "credits", title: t("credits"), options: optionDonutPieA, series: creditsPieSeries, lastUpdate: lastUpdateProgrammesCreditsStats, loading: loading, toolTipText: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
26034
26034
  ? "tTCreditsGovernment"