@undp/carbon-library 1.0.289-CARBON-366.1 → 1.0.289-CARBON-178.2
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 +585 -84
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/CoBenifits/coBenifits.d.ts +0 -1
- package/dist/cjs/types/Components/Common/Models/programmeRetireForm.d.ts +0 -1
- package/dist/cjs/types/Components/Common/Models/programmeTransferForm.d.ts +0 -1
- package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +0 -2
- package/dist/cjs/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +0 -2
- package/dist/cjs/types/Components/Common/StasticCard/stasticCard.d.ts +0 -2
- package/dist/cjs/types/Context/ConnectionContext/connectionContext.d.ts +8 -0
- package/dist/cjs/types/Context/SettingsContext/settingsContext.d.ts +10 -0
- package/dist/cjs/types/Context/UserInformationContext/userInformationContext.d.ts +6 -0
- package/dist/cjs/types/Context/index.d.ts +3 -0
- package/dist/cjs/types/Definitions/Definitions/connectionContext.definitions.d.ts +3 -0
- package/dist/cjs/types/Storybook/AddNewCompanyComponent.stories.d.ts +12 -0
- package/dist/cjs/types/Storybook/AddNewUserComponent.stories.d.ts +12 -0
- package/dist/cjs/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +2 -0
- package/dist/cjs/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +2 -0
- package/dist/cjs/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +2 -0
- package/dist/cjs/types/Storybook/Decorators/DashboardI18nDecorator.d.ts +2 -0
- package/dist/cjs/types/Storybook/Decorators/InvestmentCreationI18nDecorator.d.ts +2 -0
- package/dist/cjs/types/Storybook/Decorators/ProgrammeCreateI18nDecorator.d.ts +2 -0
- package/dist/cjs/types/Storybook/InvestmentCreationComponent.stories.d.ts +12 -0
- package/dist/cjs/types/Storybook/MRVDashboard.stories.d.ts +12 -0
- package/dist/cjs/types/Storybook/ProgrammeCreationComponent.stories.d.ts +12 -0
- package/dist/cjs/types/Storybook/RegistryDashboard.stories.d.ts +12 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/esm/index.js +579 -86
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/CoBenifits/coBenifits.d.ts +0 -1
- package/dist/esm/types/Components/Common/Models/programmeRetireForm.d.ts +0 -1
- package/dist/esm/types/Components/Common/Models/programmeTransferForm.d.ts +0 -1
- package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +0 -2
- package/dist/esm/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +0 -2
- package/dist/esm/types/Components/Common/StasticCard/stasticCard.d.ts +0 -2
- package/dist/esm/types/Context/ConnectionContext/connectionContext.d.ts +8 -0
- package/dist/esm/types/Context/SettingsContext/settingsContext.d.ts +10 -0
- package/dist/esm/types/Context/UserInformationContext/userInformationContext.d.ts +6 -0
- package/dist/esm/types/Context/index.d.ts +3 -0
- package/dist/esm/types/Definitions/Definitions/connectionContext.definitions.d.ts +3 -0
- package/dist/esm/types/Storybook/AddNewCompanyComponent.stories.d.ts +12 -0
- package/dist/esm/types/Storybook/AddNewUserComponent.stories.d.ts +12 -0
- package/dist/esm/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +2 -0
- package/dist/esm/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +2 -0
- package/dist/esm/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +2 -0
- package/dist/esm/types/Storybook/Decorators/DashboardI18nDecorator.d.ts +2 -0
- package/dist/esm/types/Storybook/Decorators/InvestmentCreationI18nDecorator.d.ts +2 -0
- package/dist/esm/types/Storybook/Decorators/ProgrammeCreateI18nDecorator.d.ts +2 -0
- package/dist/esm/types/Storybook/InvestmentCreationComponent.stories.d.ts +12 -0
- package/dist/esm/types/Storybook/MRVDashboard.stories.d.ts +12 -0
- package/dist/esm/types/Storybook/ProgrammeCreationComponent.stories.d.ts +12 -0
- package/dist/esm/types/Storybook/RegistryDashboard.stories.d.ts +12 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +23 -10
- package/package.json +29 -2
@@ -12,7 +12,6 @@ export interface ProgrammeTransferFormProps {
|
|
12
12
|
userCompanyId: number | undefined;
|
13
13
|
companyRole: string;
|
14
14
|
translator: any;
|
15
|
-
useConnection: any;
|
16
15
|
ministryLevelPermission?: boolean;
|
17
16
|
}
|
18
17
|
export declare const ProgrammeTransferForm: FC<ProgrammeTransferFormProps>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React, { FC } from 'react';
|
2
|
+
import { ConnectionContextProviderProps, ConnectionProps } from '../../Definitions';
|
3
|
+
declare const ConnectionContext: React.Context<{
|
4
|
+
connection?: ConnectionProps | undefined;
|
5
|
+
}>;
|
6
|
+
export declare const ConnectionContextProvider: FC<ConnectionContextProviderProps>;
|
7
|
+
export default ConnectionContext;
|
8
|
+
export declare const useConnection: () => ConnectionProps;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export declare const SettingsContext: React.Context<{
|
3
|
+
isTransferFrozen: boolean;
|
4
|
+
setTransferFrozen: (value: boolean) => void;
|
5
|
+
}>;
|
6
|
+
export declare const SettingsContextProvider: ({ children }: React.PropsWithChildren) => React.JSX.Element;
|
7
|
+
export declare const useSettingsContext: () => {
|
8
|
+
isTransferFrozen: boolean;
|
9
|
+
setTransferFrozen: (value: boolean) => void;
|
10
|
+
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { UserContextProps } from '../../Definitions';
|
3
|
+
export declare const UserContext: React.Context<UserContextProps>;
|
4
|
+
export declare const UserInformationContextProvider: ({ children }: React.PropsWithChildren) => React.JSX.Element;
|
5
|
+
export default UserContext;
|
6
|
+
export declare const useUserContext: () => UserContextProps;
|
@@ -3,6 +3,8 @@ import { ReactNode } from 'react';
|
|
3
3
|
export type Methods = 'get' | 'post' | 'delete' | 'put' | 'patch';
|
4
4
|
export type ConnectionContextProviderProps = {
|
5
5
|
serverURL: string;
|
6
|
+
t: any;
|
7
|
+
statServerUrl?: string;
|
6
8
|
children: ReactNode;
|
7
9
|
};
|
8
10
|
export interface Response<T> {
|
@@ -23,4 +25,5 @@ export type ConnectionProps = {
|
|
23
25
|
updateToken: (token?: string) => void;
|
24
26
|
token?: string;
|
25
27
|
removeToken: (tkn?: string) => void;
|
28
|
+
statServerUrl?: string;
|
26
29
|
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
3
|
+
import "antd/dist/antd.css";
|
4
|
+
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
+
declare const meta: {
|
6
|
+
title: string;
|
7
|
+
component: (props: any) => import("react").JSX.Element;
|
8
|
+
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
+
};
|
10
|
+
export default meta;
|
11
|
+
type Story = StoryObj<typeof meta>;
|
12
|
+
export declare const Primary: Story;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
3
|
+
import "antd/dist/antd.css";
|
4
|
+
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
+
declare const meta: {
|
6
|
+
title: string;
|
7
|
+
component: (props: any) => import("react").JSX.Element;
|
8
|
+
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
+
};
|
10
|
+
export default meta;
|
11
|
+
type Story = StoryObj<typeof meta>;
|
12
|
+
export declare const Primary: Story;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
3
|
+
import "antd/dist/antd.css";
|
4
|
+
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
+
declare const meta: {
|
6
|
+
title: string;
|
7
|
+
component: (props: any) => import("react").JSX.Element;
|
8
|
+
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
+
};
|
10
|
+
export default meta;
|
11
|
+
type Story = StoryObj<typeof meta>;
|
12
|
+
export declare const Primary: Story;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
3
|
+
import "antd/dist/antd.css";
|
4
|
+
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
+
declare const meta: {
|
6
|
+
title: string;
|
7
|
+
component: (props: any) => import("react").JSX.Element;
|
8
|
+
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
+
};
|
10
|
+
export default meta;
|
11
|
+
type Story = StoryObj<typeof meta>;
|
12
|
+
export declare const Primary: Story;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
3
|
+
import "antd/dist/antd.css";
|
4
|
+
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
+
declare const meta: {
|
6
|
+
title: string;
|
7
|
+
component: (props: any) => import("react").JSX.Element;
|
8
|
+
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
+
};
|
10
|
+
export default meta;
|
11
|
+
type Story = StoryObj<typeof meta>;
|
12
|
+
export declare const Primary: Story;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
3
|
+
import "antd/dist/antd.css";
|
4
|
+
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
+
declare const meta: {
|
6
|
+
title: string;
|
7
|
+
component: (props: any) => import("react").JSX.Element;
|
8
|
+
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
+
};
|
10
|
+
export default meta;
|
11
|
+
type Story = StoryObj<typeof meta>;
|
12
|
+
export declare const Primary: Story;
|
package/dist/index.d.ts
CHANGED
@@ -93,8 +93,6 @@ interface StasticCardItemProps {
|
|
93
93
|
icon: any;
|
94
94
|
loading: boolean;
|
95
95
|
companyRole: any;
|
96
|
-
tooltip: any;
|
97
|
-
t: any;
|
98
96
|
}
|
99
97
|
declare const StasticCard: FC<StasticCardItemProps>;
|
100
98
|
|
@@ -131,7 +129,6 @@ interface CoBenefitProps {
|
|
131
129
|
loading?: any;
|
132
130
|
sdgGoalImages?: any;
|
133
131
|
translator?: any;
|
134
|
-
useConnection?: any;
|
135
132
|
}
|
136
133
|
declare const CoBenifitsComponent: (props: CoBenefitProps) => React.JSX.Element;
|
137
134
|
|
@@ -362,7 +359,6 @@ interface ProgrammeRetireFormProps {
|
|
362
359
|
hideType: boolean;
|
363
360
|
myCompanyId?: number;
|
364
361
|
translator: any;
|
365
|
-
useConnection: any;
|
366
362
|
}
|
367
363
|
declare const ProgrammeRetireForm: FC<ProgrammeRetireFormProps>;
|
368
364
|
|
@@ -389,7 +385,6 @@ interface ProgrammeTransferFormProps {
|
|
389
385
|
userCompanyId: number | undefined;
|
390
386
|
companyRole: string;
|
391
387
|
translator: any;
|
392
|
-
useConnection: any;
|
393
388
|
ministryLevelPermission?: boolean;
|
394
389
|
}
|
395
390
|
declare const ProgrammeTransferForm: FC<ProgrammeTransferFormProps>;
|
@@ -1045,6 +1040,8 @@ interface CountrySelect {
|
|
1045
1040
|
type Methods = 'get' | 'post' | 'delete' | 'put' | 'patch';
|
1046
1041
|
type ConnectionContextProviderProps = {
|
1047
1042
|
serverURL: string;
|
1043
|
+
t: any;
|
1044
|
+
statServerUrl?: string;
|
1048
1045
|
children: ReactNode;
|
1049
1046
|
};
|
1050
1047
|
interface Response<T> {
|
@@ -1065,6 +1062,7 @@ type ConnectionProps = {
|
|
1065
1062
|
updateToken: (token?: string) => void;
|
1066
1063
|
token?: string;
|
1067
1064
|
removeToken: (tkn?: string) => void;
|
1065
|
+
statServerUrl?: string;
|
1068
1066
|
};
|
1069
1067
|
|
1070
1068
|
type HeaderProps = {
|
@@ -1230,9 +1228,7 @@ interface NdcActionBodyProps {
|
|
1230
1228
|
programmeOwnerId?: any;
|
1231
1229
|
getProgrammeDocs?: any;
|
1232
1230
|
ministryLevelPermission?: boolean;
|
1233
|
-
useConnection: any;
|
1234
1231
|
translator: any;
|
1235
|
-
useUserContext: any;
|
1236
1232
|
onFinish?: any;
|
1237
1233
|
programme?: any;
|
1238
1234
|
}
|
@@ -1253,8 +1249,6 @@ interface ProgrammeDocumentsProps {
|
|
1253
1249
|
getDocumentDetails: any;
|
1254
1250
|
getProgrammeById: any;
|
1255
1251
|
ministryLevelPermission?: boolean;
|
1256
|
-
useConnection: any;
|
1257
|
-
useUserContext: any;
|
1258
1252
|
translator: any;
|
1259
1253
|
methodologyDocumentUpdated: any;
|
1260
1254
|
programmeStatus?: any;
|
@@ -1301,4 +1295,23 @@ declare const TooltipColor = "#6ACDFF";
|
|
1301
1295
|
declare const InvestmentBGColor = "rgba(151, 110, 215, 0.3)";
|
1302
1296
|
declare const InvestmentColor = "#9155FD";
|
1303
1297
|
|
1304
|
-
|
1298
|
+
declare const ConnectionContextProvider: FC<ConnectionContextProviderProps>;
|
1299
|
+
|
1300
|
+
declare const useConnection: () => ConnectionProps;
|
1301
|
+
|
1302
|
+
declare const UserContext: React.Context<UserContextProps>;
|
1303
|
+
declare const UserInformationContextProvider: ({ children }: React.PropsWithChildren) => React.JSX.Element;
|
1304
|
+
|
1305
|
+
declare const useUserContext: () => UserContextProps;
|
1306
|
+
|
1307
|
+
declare const SettingsContext: React.Context<{
|
1308
|
+
isTransferFrozen: boolean;
|
1309
|
+
setTransferFrozen: (value: boolean) => void;
|
1310
|
+
}>;
|
1311
|
+
declare const SettingsContextProvider: ({ children }: React.PropsWithChildren) => React.JSX.Element;
|
1312
|
+
declare const useSettingsContext: () => {
|
1313
|
+
isTransferFrozen: boolean;
|
1314
|
+
setTransferFrozen: (value: boolean) => void;
|
1315
|
+
};
|
1316
|
+
|
1317
|
+
export { Action, AdaptationProperties, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, AgricultureProperties, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenefitProps, CoBenefitsProperties, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, ConnectionContextProvider, ConnectionContextProviderProps, ConnectionProps, CountrySelect, CreditCalculationProperties, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, Emission, EmissionGas, EmissionSector, EmissionSubSectors, EnablementProperties, EnergyGenerationUnits, FormElementType, GHGDashboardComponent, GHGEmissionsComponent, GHGProjectionsComponent, GhgStatCardTypes, GovBGColor, GovColor, HeaderProps, ImgWithFallback, InfoView, InfoViewProps, Instrument, InvestmentBGColor, InvestmentBody, InvestmentBodyProps, InvestmentColor, InvestmentCreationComponent, InvestmentCreationType, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LayoutSiderProps, LegendItem, LegendItemItemProps, Loading, LoginProps, ManagerBGColor, ManagerColor, MapComponent, MapComponentProps, MapPopupData, MapSourceData, MapTypes, MapboxComponent, MarkerData, Methods, MinBGColor, MinColor, MitigationSubTypes, MitigationTypes, MrvDashboardComponent, MrvStatsCardsTypes, NdcAction, NdcActionBody, NdcActionBodyProps, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcActionViewComponent, NdcDetailsComponent, NdcFinancing, OrganisationStatus, OrganisationStatusProps, ProfileIcon, ProfileIconProps, Programme, ProgrammeCertify, ProgrammeCreationComponent, ProgrammeDeveloperCreation, ProgrammeDocuments, ProgrammeDocumentsProps, ProgrammeEntity, ProgrammeIssueForm, ProgrammeIssueFormProps, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeProperties, ProgrammePropertiesR, ProgrammePropertiesT, ProgrammePropertiesU, ProgrammeR, ProgrammeRetireForm, ProgrammeRetireFormProps, ProgrammeRevokeForm, ProgrammeRevokeFormProps, ProgrammeStageLegend, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeT, ProgrammeTransfer, ProgrammeTransferForm, ProgrammeTransferFormProps, ProgrammeU, Projection, ProjectionTypes, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RejectDocumentationProps, Response, RetireType, Role, RoleIcon, RoleIconProps, RootBGColor, RootColor, SdgGoals, Sector, SectoralScope, SettingsContext, SettingsContextProvider, SolarProperties, StasticCard, StasticCardItemProps, StatsCardsTypes, SubTypeOfMitigation, SupportCreationComponent, SupportManagementComponent, SystemNames, TimelineBody, TimelineBodyProps, Titles, TooltipColor, TransferActionModel, TransferActionModelProps, TxType, TypeOfMitigation, UnitField, User, UserContext, UserContextProps, UserCreationProps, UserInformationContextProvider, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserProps, UserRoleIcon, UserRoleIconProps, ViewBGColor, ViewColor, WidgetType, addCommSep, addCommSepRound, addNdcDesc, addRoundNumber, addSpaces, consumerGroupList, creditUnit, dateFormat, dateTimeFormat, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, getValidNdcActions, isBase64, landAreaUnitList, methodologyOptions, mitigationSubTypeList, mitigationSubTypesListMapped, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList, useConnection, useSettingsContext, useUserContext, userForgotPasswordProps };
|
package/package.json
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "@undp/carbon-library",
|
3
|
-
"version": "1.0.289-CARBON-
|
3
|
+
"version": "1.0.289-CARBON-178.2",
|
4
4
|
"description": "Shared Library of tools for Carbon Credits applications ecosystem for ExO and and HQ/GEF",
|
5
5
|
"type": "module",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
8
8
|
"build": "rollup -c --bundleConfigAsCjs",
|
9
|
-
"prepare": "npm run build"
|
9
|
+
"prepare": "npm run build",
|
10
|
+
"storybook": "storybook dev -p 6006",
|
11
|
+
"build-storybook": "storybook build"
|
10
12
|
},
|
11
13
|
"keywords": [],
|
12
14
|
"author": "",
|
@@ -16,10 +18,14 @@
|
|
16
18
|
"@rollup/plugin-json": "^6.0.1",
|
17
19
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
18
20
|
"@rollup/plugin-typescript": "^11.1.1",
|
21
|
+
"@storybook/addon-styling-webpack": "^0.0.5",
|
19
22
|
"@undp/carbon-credit-calculator": "^1.1.1",
|
23
|
+
"jwt-decode": "^3.1.2",
|
20
24
|
"node-sass": "^7.0.3",
|
21
25
|
"postcss": "^8.4.23",
|
22
26
|
"react-circle-flags": "^0.0.19",
|
27
|
+
"react-i18next": "^12.0.0",
|
28
|
+
"react-router-dom": "^6.4.3",
|
23
29
|
"rollup": "^3.22.0",
|
24
30
|
"rollup-plugin-copy": "^3.5.0",
|
25
31
|
"rollup-plugin-dts": "^5.3.0",
|
@@ -30,6 +36,19 @@
|
|
30
36
|
},
|
31
37
|
"devDependencies": {
|
32
38
|
"@ant-design/icons": "^5.2.5",
|
39
|
+
"@babel/preset-env": "^7.23.3",
|
40
|
+
"@babel/preset-react": "^7.23.3",
|
41
|
+
"@babel/preset-typescript": "^7.23.3",
|
42
|
+
"@storybook/addon-essentials": "7.5.3",
|
43
|
+
"@storybook/addon-interactions": "7.5.3",
|
44
|
+
"@storybook/addon-links": "7.5.3",
|
45
|
+
"@storybook/addon-onboarding": "1.0.8",
|
46
|
+
"@storybook/blocks": "7.5.3",
|
47
|
+
"@storybook/preset-ant-design": "^0.0.2",
|
48
|
+
"@storybook/preset-create-react-app": "^7.5.3",
|
49
|
+
"@storybook/react": "7.5.3",
|
50
|
+
"@storybook/react-webpack5": "7.5.3",
|
51
|
+
"@storybook/testing-library": "0.2.2",
|
33
52
|
"@types/luxon": "^3.1.0",
|
34
53
|
"@types/mapbox-gl": "^2.7.10",
|
35
54
|
"@types/react": "^18.0.25",
|
@@ -39,13 +58,21 @@
|
|
39
58
|
"axios": "^1.1.3",
|
40
59
|
"buffer": "^6.0.3",
|
41
60
|
"class-transformer": "^0.5.1",
|
61
|
+
"css-loader": "^6.8.1",
|
62
|
+
"i18next": "^22.0.6",
|
63
|
+
"i18next-browser-languagedetector": "^7.0.1",
|
64
|
+
"i18next-http-backend": "^2.0.1",
|
42
65
|
"luxon": "^3.2.1",
|
43
66
|
"mapbox-gl": "^2.11.1",
|
44
67
|
"react": "^18.2.0",
|
45
68
|
"react-apexcharts": "^1.4.0",
|
46
69
|
"react-bootstrap-icons": "^1.10.2",
|
70
|
+
"react-dom": "18.2.0",
|
47
71
|
"react-mapbox-gl": "^5.1.1",
|
48
72
|
"react-phone-number-input": "^3.2.12",
|
73
|
+
"sass-loader": "^13.3.2",
|
74
|
+
"storybook": "7.5.3",
|
75
|
+
"style-loader": "^3.3.3",
|
49
76
|
"validator": "^13.9.0"
|
50
77
|
},
|
51
78
|
"peerDependencies": {
|