@undp/carbon-library 1.0.258 → 1.0.259
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/dist/cjs/index.js +47 -49
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +1 -0
- package/dist/esm/index.js +47 -49
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +1 -0
- package/dist/locales/i18n/addCompany/en.json +3 -3
- package/dist/locales/i18n/addProgramme/en.json +11 -11
- package/dist/locales/i18n/companyProfile/en.json +1 -1
- package/dist/locales/i18n/dashboard/en.json +51 -51
- package/dist/locales/i18n/mrvdashboard/en.json +19 -19
- package/dist/locales/i18n/nav/en.json +2 -2
- package/dist/locales/i18n/ndcAction/en.json +17 -17
- package/dist/locales/i18n/programme/en.json +19 -19
- package/dist/locales/i18n/userProfile/en.json +1 -1
- package/dist/locales/i18n/view/en.json +42 -42
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -6259,7 +6259,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6259
6259
|
width: "45%",
|
6260
6260
|
}
|
6261
6261
|
: {} },
|
6262
|
-
React.createElement(Tooltip, { placement: "top", title: "Permitted to certify and revoke certifications of
|
6262
|
+
React.createElement(Tooltip, { placement: "top", title: "Permitted to certify and revoke certifications of projects" },
|
6263
6263
|
React.createElement(Radio.Button, { className: "certifier", value: "Certifier" },
|
6264
6264
|
React.createElement(SafetyOutlined, { className: "role-icons" }),
|
6265
6265
|
"Certifier"))),
|
@@ -6270,14 +6270,14 @@ var AddNewCompanyComponent = function (props) {
|
|
6270
6270
|
marginLeft: isGuest ? "30px" : 0,
|
6271
6271
|
}
|
6272
6272
|
: { marginLeft: isGuest ? "30px" : 0 } },
|
6273
|
-
React.createElement(Tooltip, { placement: "top", title: "Permitted to own
|
6273
|
+
React.createElement(Tooltip, { placement: "top", title: "Permitted to own projects and transfer carbon credits" },
|
6274
6274
|
React.createElement(Radio.Button, { className: "dev", value: "ProgrammeDeveloper" },
|
6275
6275
|
React.createElement(ExperimentOutlined, { className: "role-icons" }),
|
6276
6276
|
"Developer"))),
|
6277
6277
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
6278
6278
|
CompanyRole.MINISTRY &&
|
6279
6279
|
!isGuest && (React.createElement("div", { className: "minister-radio-container" },
|
6280
|
-
React.createElement(Tooltip, { placement: "top", title: "Permitted to perform all
|
6280
|
+
React.createElement(Tooltip, { placement: "top", title: "Permitted to perform all project-related actions within the Ministry" },
|
6281
6281
|
React.createElement(Radio.Button, { className: "minister", value: "Ministry" },
|
6282
6282
|
React.createElement(AuditOutlined, { className: "role-icons" }),
|
6283
6283
|
"Ministry")))))))),
|
@@ -21003,9 +21003,7 @@ var AddNdcActionComponent = function (props) {
|
|
21003
21003
|
title: (React.createElement("div", { className: "step-title-container" },
|
21004
21004
|
React.createElement("div", { className: "step-count" }, "01"),
|
21005
21005
|
React.createElement("div", { className: "title" }, t("ndcAction:ndcActionDetailsTitle")),
|
21006
|
-
React.createElement("div", { className: "info-container" },
|
21007
|
-
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "right", trigger: "hover", title: t("ndcAction:ndcToolTip"), overlayClassName: "custom-tooltip" },
|
21008
|
-
React.createElement(InfoCircle, { color: "#000000", size: 17 }))))),
|
21006
|
+
React.createElement("div", { className: "info-container" }))),
|
21009
21007
|
description: (React.createElement("div", { className: current !== 1 ? "hide" : "" },
|
21010
21008
|
React.createElement(NdcActionDetails, { isBackBtnVisible: false, onFormSubmit: onNdcActionDetailsSubmit, ndcActionDetails: ndcActionDetails, translator: translator, programmeDetails: programmeDetails }))),
|
21011
21009
|
},
|
@@ -24172,46 +24170,46 @@ var toolTipTextGen = function (companyRole, cardType, mine) {
|
|
24172
24170
|
var text = '';
|
24173
24171
|
if (companyRole === CompanyRole.GOVERNMENT) {
|
24174
24172
|
if (cardType === StatsCardsTypes.PROGRAMMES_PENDING) {
|
24175
|
-
text = 'Pending state
|
24173
|
+
text = 'Pending state projects awaiting authorisation';
|
24176
24174
|
}
|
24177
24175
|
else if (cardType === StatsCardsTypes.TRANSFER_REQUEST_SENT) {
|
24178
24176
|
text =
|
24179
|
-
'Pending credit transfer requests sent to
|
24177
|
+
'Pending credit transfer requests sent to project owners initiated by your organisation';
|
24180
24178
|
}
|
24181
24179
|
else if (cardType === StatsCardsTypes.CREDIT_BALANCE) {
|
24182
24180
|
text = 'Total credit balance owned by your organisation';
|
24183
24181
|
}
|
24184
24182
|
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
24185
24183
|
text =
|
24186
|
-
'Number of
|
24184
|
+
'Number of projects created during the specified period and their project state in the carbon registry at present';
|
24187
24185
|
}
|
24188
24186
|
else if (cardType === StatsCardsTypes.CREDITS) {
|
24189
24187
|
text =
|
24190
|
-
'Number of credits of
|
24188
|
+
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
|
24191
24189
|
}
|
24192
24190
|
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
24193
24191
|
text =
|
24194
|
-
'Number of credits of
|
24192
|
+
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
|
24195
24193
|
}
|
24196
24194
|
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
24197
24195
|
text =
|
24198
|
-
'Graphical representation of the number of
|
24196
|
+
'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
|
24199
24197
|
}
|
24200
24198
|
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
24201
24199
|
text =
|
24202
|
-
'Graphical representation of the number of
|
24200
|
+
'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
|
24203
24201
|
}
|
24204
24202
|
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
24205
24203
|
text =
|
24206
|
-
'Graphical representation of the number of credits of
|
24204
|
+
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
24207
24205
|
}
|
24208
24206
|
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
24209
24207
|
text =
|
24210
|
-
'Graphical representation of the number of credits of
|
24208
|
+
'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
|
24211
24209
|
}
|
24212
24210
|
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
24213
24211
|
text =
|
24214
|
-
'Locations of the
|
24212
|
+
'Locations of the projects created during the specified period and their project states in the carbon registry at present';
|
24215
24213
|
}
|
24216
24214
|
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
24217
24215
|
text =
|
@@ -24230,131 +24228,131 @@ var toolTipTextGen = function (companyRole, cardType, mine) {
|
|
24230
24228
|
}
|
24231
24229
|
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
24232
24230
|
text =
|
24233
|
-
'Number of
|
24231
|
+
'Number of projects created during the specified period and their project state in the carbon registry at present, owned by your organisation';
|
24234
24232
|
}
|
24235
24233
|
else if (cardType === StatsCardsTypes.CREDITS) {
|
24236
24234
|
text =
|
24237
|
-
'Number of credits of
|
24235
|
+
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present, owned by your organisation';
|
24238
24236
|
}
|
24239
24237
|
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
24240
24238
|
text =
|
24241
|
-
'Number of credits of
|
24239
|
+
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present, owned by your organisation';
|
24242
24240
|
}
|
24243
24241
|
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
24244
24242
|
text =
|
24245
|
-
'Graphical representation of the number of
|
24243
|
+
'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';
|
24246
24244
|
}
|
24247
24245
|
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
24248
24246
|
text =
|
24249
|
-
'Graphical representation of the number of
|
24247
|
+
'Graphical representation of the number of projects owned by your organisation, in each project sector created during the specified time in the carbon registry';
|
24250
24248
|
}
|
24251
24249
|
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
24252
24250
|
text =
|
24253
|
-
'Graphical representation of the number of credits of
|
24251
|
+
'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';
|
24254
24252
|
}
|
24255
24253
|
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
24256
24254
|
text =
|
24257
|
-
'Graphical representation of the number of credits of
|
24255
|
+
'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';
|
24258
24256
|
}
|
24259
24257
|
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
24260
24258
|
text =
|
24261
|
-
'Locations of the
|
24259
|
+
'Locations of the projects created during the specified period, owned by your organisation, and their project states in the carbon registry at present';
|
24262
24260
|
}
|
24263
24261
|
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
24264
24262
|
text =
|
24265
|
-
'Locations of credits international transfer requests of
|
24263
|
+
'Locations of credits international transfer requests of projects owned by your organisation recognised during the specified period';
|
24266
24264
|
}
|
24267
24265
|
}
|
24268
24266
|
else if (companyRole === CompanyRole.CERTIFIER && mine === true) {
|
24269
24267
|
if (cardType === StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
|
24270
24268
|
text =
|
24271
|
-
'Number of
|
24269
|
+
'Number of projects not yet certified including certificates revoked by your organisation';
|
24272
24270
|
}
|
24273
24271
|
else if (cardType === StatsCardsTypes.PROGRAMMES_CERTIFIED) {
|
24274
|
-
text = 'Number of
|
24272
|
+
text = 'Number of projects certified by your organisation';
|
24275
24273
|
}
|
24276
24274
|
else if (cardType === StatsCardsTypes.CREDIT_CERTIFIED) {
|
24277
24275
|
text = 'Number of credits certified by your organisation';
|
24278
24276
|
}
|
24279
24277
|
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
24280
24278
|
text =
|
24281
|
-
'Number of
|
24279
|
+
'Number of projects created during the specified period, certified by your organisation, and their project state in the carbon registry at present';
|
24282
24280
|
}
|
24283
24281
|
else if (cardType === StatsCardsTypes.CREDITS) {
|
24284
24282
|
text =
|
24285
|
-
'Number of credits of
|
24283
|
+
'Number of credits of projects created during the specified period, certified by your organisation and their credit state in the carbon registry at present';
|
24286
24284
|
}
|
24287
24285
|
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
24288
24286
|
text =
|
24289
|
-
'Number of credits of
|
24287
|
+
'Number of credits of projects created during the specified period, certified by your organisation, uncertified, certified and revoked in the carbon registry at present';
|
24290
24288
|
}
|
24291
24289
|
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
24292
24290
|
text =
|
24293
|
-
'Graphical representation of the number of
|
24291
|
+
'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
|
24294
24292
|
}
|
24295
24293
|
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
24296
24294
|
text =
|
24297
|
-
'Graphical representation of the number of
|
24295
|
+
'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
|
24298
24296
|
}
|
24299
24297
|
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
24300
24298
|
text =
|
24301
|
-
'Graphical representation of the number of credits of
|
24299
|
+
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
24302
24300
|
}
|
24303
24301
|
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
24304
24302
|
text =
|
24305
|
-
'Graphical representation of the number of credits of
|
24303
|
+
'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';
|
24306
24304
|
}
|
24307
24305
|
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
24308
24306
|
text =
|
24309
|
-
'Locations of the
|
24307
|
+
'Locations of the projects created during the specified period, certified by your organisation, and their project states in the carbon registry at present';
|
24310
24308
|
}
|
24311
24309
|
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
24312
24310
|
text =
|
24313
|
-
'Locations of credits of international transfer requests of
|
24311
|
+
'Locations of credits of international transfer requests of projects certified by your organisation recognised during the specified period';
|
24314
24312
|
}
|
24315
24313
|
}
|
24316
24314
|
else if (companyRole === CompanyRole.CERTIFIER && !mine) {
|
24317
24315
|
if (cardType === StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
|
24318
24316
|
text =
|
24319
|
-
'Number of
|
24317
|
+
'Number of projects not yet certified including certificates revoked by your organisation';
|
24320
24318
|
}
|
24321
24319
|
else if (cardType === StatsCardsTypes.PROGRAMMES_CERTIFIED) {
|
24322
|
-
text = 'Number of
|
24320
|
+
text = 'Number of projects certified by your organisation';
|
24323
24321
|
}
|
24324
24322
|
else if (cardType === StatsCardsTypes.CREDIT_CERTIFIED) {
|
24325
24323
|
text = 'Number of credits certified by your organisation';
|
24326
24324
|
}
|
24327
24325
|
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
24328
24326
|
text =
|
24329
|
-
'Number of
|
24327
|
+
'Number of projects created during the specified period and their project state in the carbon registry at present';
|
24330
24328
|
}
|
24331
24329
|
else if (cardType === StatsCardsTypes.CREDITS) {
|
24332
24330
|
text =
|
24333
|
-
'Number of credits of
|
24331
|
+
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
|
24334
24332
|
}
|
24335
24333
|
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
24336
24334
|
text =
|
24337
|
-
'Number of credits of
|
24335
|
+
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
|
24338
24336
|
}
|
24339
24337
|
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
24340
24338
|
text =
|
24341
|
-
'Graphical representation of the number of
|
24339
|
+
'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
|
24342
24340
|
}
|
24343
24341
|
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
24344
24342
|
text =
|
24345
|
-
'Graphical representation of the number of
|
24343
|
+
'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
|
24346
24344
|
}
|
24347
24345
|
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
24348
24346
|
text =
|
24349
|
-
'Graphical representation of the number of credits of
|
24347
|
+
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
24350
24348
|
}
|
24351
24349
|
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
24352
24350
|
text =
|
24353
|
-
'Graphical representation of the number of credits of
|
24351
|
+
'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
|
24354
24352
|
}
|
24355
24353
|
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
24356
24354
|
text =
|
24357
|
-
'Locations of the
|
24355
|
+
'Locations of the projects created during the specified period and their project states in the carbon registry at present';
|
24358
24356
|
}
|
24359
24357
|
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
24360
24358
|
text =
|
@@ -24385,7 +24383,7 @@ var StasticCard = function (props) {
|
|
24385
24383
|
};
|
24386
24384
|
|
24387
24385
|
var ProgrammeRejectAndTransferComponent = function (props) {
|
24388
|
-
var totalPrgrammes = props.totalPrgrammes, pending = props.pending, rejected = props.rejected, authorized = props.authorized, updatedDate = props.updatedDate, loading = props.loading, toolTipText = props.toolTipText;
|
24386
|
+
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;
|
24389
24387
|
useEffect(function () {
|
24390
24388
|
console.log({ pending: pending, totalPrgrammes: totalPrgrammes });
|
24391
24389
|
});
|
@@ -24393,7 +24391,7 @@ var ProgrammeRejectAndTransferComponent = function (props) {
|
|
24393
24391
|
React.createElement(Skeleton, { active: true }),
|
24394
24392
|
React.createElement(Skeleton, { active: true }))) : (React.createElement(React.Fragment, null,
|
24395
24393
|
React.createElement("div", { className: "title-section" },
|
24396
|
-
React.createElement("div", { className: "title" }, "
|
24394
|
+
React.createElement("div", { className: "title" }, t("programmes")),
|
24397
24395
|
React.createElement("div", { className: "info-container" },
|
24398
24396
|
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title: toolTipText },
|
24399
24397
|
React.createElement(InfoCircle, { color: "#000000", size: 17 })))),
|
@@ -26065,7 +26063,7 @@ var RegistryDashboardComponent = function (props) {
|
|
26065
26063
|
? "tTProgrammesProgrammeDev"
|
26066
26064
|
: categoryType === "mine"
|
26067
26065
|
? "tTProgrammesCertifierMine"
|
26068
|
-
: "tTProgrammesCertifierOverall") })),
|
26066
|
+
: "tTProgrammesCertifierOverall"), t: t })),
|
26069
26067
|
React.createElement(Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col pie" },
|
26070
26068
|
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) === CompanyRole.GOVERNMENT
|
26071
26069
|
? "tTCreditsGovernment"
|