@nerdjs/sales-kit 1.0.1

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.
Files changed (78) hide show
  1. package/README.md +79 -0
  2. package/dist/cjs/components/calendar/calendar.d.ts +5 -0
  3. package/dist/cjs/components/calendar/day/day.d.ts +8 -0
  4. package/dist/cjs/components/calendar/day/index.d.ts +1 -0
  5. package/dist/cjs/components/calendar/day/typings.d.ts +16 -0
  6. package/dist/cjs/components/calendar/index.d.ts +2 -0
  7. package/dist/cjs/components/calendar/typings.d.ts +27 -0
  8. package/dist/cjs/components/customerFinder/customerFinder.d.ts +11 -0
  9. package/dist/cjs/components/customerFinder/index.d.ts +2 -0
  10. package/dist/cjs/components/customerFinder/optionTemplate.d.ts +6 -0
  11. package/dist/cjs/components/index.d.ts +4 -0
  12. package/dist/cjs/components/locationFinder/editLocation.d.ts +15 -0
  13. package/dist/cjs/components/locationFinder/index.d.ts +1 -0
  14. package/dist/cjs/components/locationFinder/locationByAddress.d.ts +18 -0
  15. package/dist/cjs/components/locationFinder/locationFinder.d.ts +7 -0
  16. package/dist/cjs/components/locationFinder/locationsFound.d.ts +12 -0
  17. package/dist/cjs/components/locationFinder/newLocationForm.d.ts +20 -0
  18. package/dist/cjs/components/locationFinder/optionTemplate.d.ts +8 -0
  19. package/dist/cjs/components/locationFinder/typings.d.ts +23 -0
  20. package/dist/cjs/components/salesQuote/components/aboutQuote/aboutQuote.d.ts +5 -0
  21. package/dist/cjs/components/salesQuote/components/aboutQuote/commodityDescription.d.ts +16 -0
  22. package/dist/cjs/components/salesQuote/components/aboutQuote/index.d.ts +2 -0
  23. package/dist/cjs/components/salesQuote/components/aboutQuote/quoteCheck.d.ts +6 -0
  24. package/dist/cjs/components/salesQuote/components/pallet/editPallet.d.ts +11 -0
  25. package/dist/cjs/components/salesQuote/components/pallet/palletChecker.d.ts +15 -0
  26. package/dist/cjs/components/salesQuote/components/pallet/palletCount.d.ts +13 -0
  27. package/dist/cjs/components/salesQuote/components/quoteCalendar/quoteCalendar.d.ts +24 -0
  28. package/dist/cjs/components/salesQuote/components/quoteResultAccordion/costBreakdown.d.ts +14 -0
  29. package/dist/cjs/components/salesQuote/components/quoteResultAccordion/marketCosts.d.ts +7 -0
  30. package/dist/cjs/components/salesQuote/components/quoteResultAccordion/quoteResultAccessorials.d.ts +13 -0
  31. package/dist/cjs/components/salesQuote/components/quoteResultAccordion/quoteResultAccordion.d.ts +17 -0
  32. package/dist/cjs/components/salesQuote/components/quoteSelect.d.ts +4 -0
  33. package/dist/cjs/components/salesQuote/components/quoteSummary/quoteSummary.d.ts +4 -0
  34. package/dist/cjs/components/salesQuote/components/quoteSummary/quoteSummaryBody.d.ts +12 -0
  35. package/dist/cjs/components/salesQuote/components/quoteSummary/quoteSummaryHeader.d.ts +10 -0
  36. package/dist/cjs/components/salesQuote/components/quoteSummary/typings.d.ts +47 -0
  37. package/dist/cjs/components/salesQuote/index.d.ts +4 -0
  38. package/dist/cjs/components/salesQuote/salesQuote.d.ts +17 -0
  39. package/dist/cjs/components/salesQuote/typings.d.ts +156 -0
  40. package/dist/cjs/components/shared/bootstrapDialogTitle/bootstrapDialogTitle.d.ts +11 -0
  41. package/dist/cjs/components/shared/bootstrapDialogTitle/index.d.ts +1 -0
  42. package/dist/cjs/components/shared/index.d.ts +2 -0
  43. package/dist/cjs/components/shared/loading/index.d.ts +1 -0
  44. package/dist/cjs/components/shared/loading/loading.d.ts +6 -0
  45. package/dist/cjs/components/stop/index.d.ts +2 -0
  46. package/dist/cjs/components/stop/menuAccessorials.d.ts +27 -0
  47. package/dist/cjs/components/stop/stop.d.ts +4 -0
  48. package/dist/cjs/components/stop/stopDetail.d.ts +5 -0
  49. package/dist/cjs/components/stop/stopDetailHeader.d.ts +6 -0
  50. package/dist/cjs/entities/customer/customer.d.ts +16 -0
  51. package/dist/cjs/entities/customer/helper.d.ts +5 -0
  52. package/dist/cjs/entities/customer/index.d.ts +1 -0
  53. package/dist/cjs/entities/index.d.ts +4 -0
  54. package/dist/cjs/entities/location/helper.d.ts +5 -0
  55. package/dist/cjs/entities/location/index.d.ts +2 -0
  56. package/dist/cjs/entities/location/location.d.ts +32 -0
  57. package/dist/cjs/entities/marketCosts/helper.d.ts +5 -0
  58. package/dist/cjs/entities/marketCosts/index.d.ts +2 -0
  59. package/dist/cjs/entities/marketCosts/marketCosts.d.ts +22 -0
  60. package/dist/cjs/entities/quote/helper.d.ts +5 -0
  61. package/dist/cjs/entities/quote/index.d.ts +2 -0
  62. package/dist/cjs/entities/quote/quote.d.ts +80 -0
  63. package/dist/cjs/index.d.ts +4 -0
  64. package/dist/cjs/index.js +3170 -0
  65. package/dist/cjs/index.js.map +1 -0
  66. package/dist/cjs/redux/calendar/calendarSlice.d.ts +12 -0
  67. package/dist/cjs/redux/calendar/index.d.ts +1 -0
  68. package/dist/cjs/redux/index.d.ts +3 -0
  69. package/dist/cjs/redux/nerdSalesKitReducer.d.ts +10 -0
  70. package/dist/cjs/redux/quote/index.d.ts +4 -0
  71. package/dist/cjs/redux/quote/quoteAction.d.ts +125 -0
  72. package/dist/cjs/redux/quote/quoteReducer.d.ts +28 -0
  73. package/dist/cjs/redux/quote/quoteSelector.d.ts +22 -0
  74. package/dist/cjs/redux/quote/quoteState.d.ts +124 -0
  75. package/dist/cjs/utils/constants.d.ts +5 -0
  76. package/dist/cjs/utils/helpers.d.ts +17 -0
  77. package/dist/cjs/utils/index.d.ts +2 -0
  78. package/package.json +93 -0
@@ -0,0 +1,12 @@
1
+ import { PayloadAction } from "@reduxjs/toolkit";
2
+ import { IserviceLevel } from "../../components/calendar/typings";
3
+ export interface IselectedDateRangeState {
4
+ date: string;
5
+ element: IserviceLevel;
6
+ }
7
+ export declare const calendarSlice: import("@reduxjs/toolkit").Slice<IselectedDateRangeState, {
8
+ DateSelectedHandler: (state: import("immer/dist/internal").WritableDraft<IselectedDateRangeState>, action: PayloadAction<IselectedDateRangeState>) => import("immer/dist/internal").WritableDraft<IselectedDateRangeState>;
9
+ }, "calendarSlice">;
10
+ export declare const DateSelectedHandler: import("@reduxjs/toolkit").ActionCreatorWithPayload<IselectedDateRangeState, string>;
11
+ declare const _default: import("redux").Reducer<IselectedDateRangeState, import("redux").AnyAction>;
12
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from "./calendarSlice";
@@ -0,0 +1,3 @@
1
+ export * from "./calendar";
2
+ export * from "./nerdSalesKitReducer";
3
+ export * from "./quote";
@@ -0,0 +1,10 @@
1
+ import { IselectedDateRangeState } from "./calendar/calendarSlice";
2
+ import { IQuoteState } from "./quote/quoteReducer";
3
+ export interface NerdSalesKitState {
4
+ selectedDateRange: IselectedDateRangeState;
5
+ quoteState: IQuoteState;
6
+ }
7
+ export declare const nerdSalesKitReducer: import("redux").Reducer<import("redux").CombinedState<{
8
+ selectedDateRange: IselectedDateRangeState;
9
+ quoteState: IQuoteState;
10
+ }>, import("redux").AnyAction>;
@@ -0,0 +1,4 @@
1
+ export * from "./quoteReducer";
2
+ export * from "./quoteAction";
3
+ export * from "./quoteState";
4
+ export * from "./quoteSelector";
@@ -0,0 +1,125 @@
1
+ import { GetAction, PostAction, PutAction } from "@nerdjs/nerd-network";
2
+ import { IPallet } from "../../components/salesQuote/typings";
3
+ import Customer from "../../entities/customer/helper";
4
+ import Location from "../../entities/location/helper";
5
+ import MarketCosts from "../../entities/marketCosts/helper";
6
+ import QuoteRequest from "../../entities/quote/helper";
7
+ import { ApiError, IAccessorialObj, ICommodityDescription, ICostBreakdown, INewLocation, IPalletUnits, IQuoteForm } from "./quoteState";
8
+ export declare const getQuoteAccessorials: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[], {
9
+ id: string;
10
+ request: GetAction;
11
+ }, "newQuote/getAccessorials", never, never>;
12
+ export declare const getQuoteAccessorialsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[accessorials: {
13
+ ltlAccessorials: IAccessorialObj[];
14
+ tlAccessorials: IAccessorialObj[];
15
+ }], {
16
+ accessorials: {
17
+ ltlAccessorials: IAccessorialObj[];
18
+ tlAccessorials: IAccessorialObj[];
19
+ };
20
+ id: string;
21
+ createdAt: string;
22
+ }, "quote/getQuoteSuccess", never, never>;
23
+ export declare const getQuoteCommodityDescription: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[], {
24
+ id: string;
25
+ request: GetAction;
26
+ }, "newQuote/getQuoteCommodityDescription", never, never>;
27
+ export declare const getQuoteCommodityDescirptionSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[commodityDescriptions: ICommodityDescription[]], {
28
+ commodityDescriptions: ICommodityDescription[];
29
+ id: string;
30
+ createdAt: string;
31
+ }, "quote/getCommodityDescriptionSuccess", never, never>;
32
+ export declare const storePallets: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[pallets: IPallet[]], {
33
+ id: string;
34
+ createdAt: string;
35
+ request: PostAction;
36
+ }, "quote/storePallets", never, never>;
37
+ export declare const storePalletUnitSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[units: IPalletUnits], {
38
+ units: IPalletUnits;
39
+ id: string;
40
+ createdAt: string;
41
+ }, "quote/storePalletUnitSuccess", never, never>;
42
+ export declare const storePalletError: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[error: ApiError], {
43
+ error: ApiError;
44
+ id: string;
45
+ createdAt: string;
46
+ }, "quote/storePalletError", never, never>;
47
+ export declare const getCustomers: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[query: {
48
+ [key: string]: unknown;
49
+ }], {
50
+ id: string;
51
+ request: GetAction;
52
+ }, "customers/search/getCustomers", never, never>;
53
+ export declare const getCustomersSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[customers: Customer[]], {
54
+ customers: Customer[];
55
+ id: string;
56
+ createdAt: string;
57
+ }, "customers/search/getCustomersSuccess", never, never>;
58
+ export declare const getFacility: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[query: {
59
+ [key: string]: unknown;
60
+ }], {
61
+ id: string;
62
+ request: GetAction;
63
+ }, "locations/search/getFacility", never, never>;
64
+ export declare const getArcherLocationsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[locations: Location[]], {
65
+ locations: Location[];
66
+ id: string;
67
+ createdAt: string;
68
+ }, "locations/search/getArcherLocationsSuccess", never, never>;
69
+ export declare const removeArcherLocations: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[], {}, "locations/search/removeArcherLocations", never, never>;
70
+ export declare const storeNewLocation: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[newLocation: INewLocation], {
71
+ id: string;
72
+ createdAt: string;
73
+ request: PostAction;
74
+ }, "locations/saveNewLocation", never, never>;
75
+ export declare const setSavingActionLocation: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[isSuccess: boolean, method: string], {
76
+ changeLocationSucess: {
77
+ isSuccess: boolean;
78
+ method: string;
79
+ };
80
+ id: string;
81
+ createdAt: string;
82
+ }, "locations/setSavingActionLocation", never, never>;
83
+ export declare const updateLocation: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[id: number, newLocation: Omit<INewLocation, "address">], {
84
+ id: string;
85
+ createdAt: string;
86
+ request: PutAction;
87
+ }, "locations/updateLocation", never, never>;
88
+ export declare const storeQuoteFormData: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[quoteFormData: Partial<IQuoteForm>], {
89
+ quoteFormData: Partial<IQuoteForm>;
90
+ }, "locations/storeQuoteFormData", never, never>;
91
+ export declare const setIsQuoteFormSubmitted: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[isQuoteFormSubmitted: boolean], {
92
+ isQuoteFormSubmitted: boolean;
93
+ }, "quote/isQuoteFormSubmitted", never, never>;
94
+ export declare const sendFormData: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[quoteFormData: IQuoteForm], {
95
+ id: string;
96
+ createdAt: string;
97
+ request: PostAction;
98
+ }, "quote-service/quotes/multistop", never, never>;
99
+ export declare const getQuoteResponseSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[quoteResponse: QuoteRequest], {
100
+ quoteResponse: QuoteRequest;
101
+ }, "quote/getQuoteResponseSuccess", never, never>;
102
+ export declare const getMarketCosts: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[quoteId: number], {
103
+ id: string;
104
+ request: GetAction;
105
+ }, "quote/getMarketCosts", never, never>;
106
+ export declare const getMarketCostsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[marketCosts: MarketCosts], {
107
+ marketCosts: MarketCosts;
108
+ id: string;
109
+ createdAt: string;
110
+ }, "quote/getMarketCosts/getMarketCostsSuccess", never, never>;
111
+ export declare const getQuoteById: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[quoteId: number], {
112
+ id: string;
113
+ request: GetAction;
114
+ }, "quote-service/quotes/:id", never, never>;
115
+ export declare const getQuotePathEdgeCosts: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[query: {
116
+ [key: string]: unknown;
117
+ }], {
118
+ id: string;
119
+ request: GetAction;
120
+ }, "quote_path_edge_costs", never, never>;
121
+ export declare const getQuotePathEdgeCostsSucess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[costsBreakdown: ICostBreakdown[]], {
122
+ costsBreakdown: ICostBreakdown[];
123
+ id: string;
124
+ createdAt: string;
125
+ }, "quote/quote_path_edge_costs/getQuotePathEdgeCostsSucess", never, never>;
@@ -0,0 +1,28 @@
1
+ import { ReducerWithInitialState } from "@reduxjs/toolkit/dist/createReducer";
2
+ import Customer from "../../entities/customer/helper";
3
+ import Location from "../../entities/location/helper";
4
+ import MarketCosts from "../../entities/marketCosts/helper";
5
+ import QuoteRequest from "../../entities/quote/helper";
6
+ import { ApiError, IAccessorialObj, ICommodityDescription, ICostBreakdown, IPalletUnits, IQuoteForm } from "./quoteState";
7
+ export interface IQuoteState {
8
+ accessorials: {
9
+ ltlAccessorials: IAccessorialObj[];
10
+ tlAccessorials: IAccessorialObj[];
11
+ };
12
+ commodity_descriptions: ICommodityDescription[];
13
+ units: IPalletUnits;
14
+ error: ApiError;
15
+ customers: Customer[];
16
+ archerLocations: Location[];
17
+ newLocation: Partial<Location>;
18
+ changeLocationSucess: {
19
+ isSuccess: boolean;
20
+ method: string;
21
+ };
22
+ quoteFormData: IQuoteForm;
23
+ isQuoteFormSubmitted: boolean;
24
+ quoteResponse: QuoteRequest;
25
+ marketCosts: MarketCosts;
26
+ costsBreakdown: ICostBreakdown[];
27
+ }
28
+ export declare const quoteReducer: ReducerWithInitialState<IQuoteState>;
@@ -0,0 +1,22 @@
1
+ import Customer from "../../entities/customer/helper";
2
+ import Location from "../../entities/location/helper";
3
+ import { IQuoteState } from "./quoteReducer";
4
+ import { ApiError, IAccessorial, ICommodityDescription, IPalletUnits } from "./quoteState";
5
+ export declare const quoteAccessorialsSelector: (state: {
6
+ quoteState: IQuoteState;
7
+ }) => IAccessorial;
8
+ export declare const quoteCommodityDescriptionSelector: (state: {
9
+ quoteState: IQuoteState;
10
+ }) => ICommodityDescription[];
11
+ export declare const quoteUnitsSelector: (state: {
12
+ quoteState: IQuoteState;
13
+ }) => IPalletUnits;
14
+ export declare const quoteErrorSelector: (state: {
15
+ quoteState: IQuoteState;
16
+ }) => ApiError;
17
+ export declare const quoteCustomersSelector: (state: {
18
+ quoteState: IQuoteState;
19
+ }) => Customer[];
20
+ export declare const quoteArcherLocationsSelector: (state: {
21
+ quoteState: IQuoteState;
22
+ }) => Location[];
@@ -0,0 +1,124 @@
1
+ export interface IAccessorial {
2
+ ltlAccessorials: IAccessorialObj[];
3
+ tlAccessorials: IAccessorialObj[];
4
+ }
5
+ export interface IAccessorialObj {
6
+ accessorialId?: number;
7
+ name?: string;
8
+ costAmount?: number;
9
+ unitType?: string;
10
+ customerId?: null;
11
+ loadType?: string;
12
+ defaultContract?: boolean;
13
+ quoteVisible?: boolean;
14
+ conditionA?: number;
15
+ conditionB?: number;
16
+ }
17
+ export interface ICommodityDescription {
18
+ created_at?: Date | string;
19
+ description?: string | null;
20
+ hidden?: boolean;
21
+ id?: number;
22
+ item?: number;
23
+ name?: string;
24
+ updated_at?: Date | string;
25
+ }
26
+ export interface IPalletUnits {
27
+ feet: number;
28
+ height: number;
29
+ palletPositions: number;
30
+ pallets: number;
31
+ pieces: number;
32
+ weight: number;
33
+ }
34
+ export interface IQuoteForm {
35
+ customerId?: number;
36
+ customerName?: string;
37
+ service: string;
38
+ commodityDescriptionId: number;
39
+ freightClass: string;
40
+ mode: string;
41
+ dryVanOnly: boolean;
42
+ shippers: IStateShippers[];
43
+ consignees: IStateShippers[];
44
+ units: {
45
+ palletDimensions: IQuoteFormPallet[];
46
+ totalDimensions: {
47
+ totalWeight: string;
48
+ };
49
+ };
50
+ reefer: {
51
+ reeferTemp?: string;
52
+ reeferCont?: boolean;
53
+ };
54
+ }
55
+ export interface IStateShippers {
56
+ id?: number;
57
+ name?: string;
58
+ type?: string;
59
+ date: Date | string | null;
60
+ city?: string;
61
+ state?: string;
62
+ zip: string | number;
63
+ address?: {
64
+ locationId?: number;
65
+ line1: string;
66
+ city: string;
67
+ state: string;
68
+ zip: string;
69
+ latitude: number;
70
+ longitude: number;
71
+ };
72
+ locationId?: number;
73
+ accessorialIds: number[];
74
+ }
75
+ export interface IQuoteFormPallet {
76
+ key?: number;
77
+ count: number | string;
78
+ length: number;
79
+ width: number;
80
+ height: number;
81
+ units: string;
82
+ stackable: boolean;
83
+ }
84
+ export interface INewLocation {
85
+ name: string;
86
+ contact: string;
87
+ phone: string;
88
+ accessorialTags: string[];
89
+ address: {
90
+ formattedAddress: string;
91
+ line1: string;
92
+ line2: string;
93
+ city: string;
94
+ state: string;
95
+ zip: string;
96
+ country: string;
97
+ latitude: number;
98
+ longitude: number;
99
+ verified: boolean;
100
+ placeId: string;
101
+ };
102
+ }
103
+ export interface ApiError {
104
+ uuid: string;
105
+ status: number;
106
+ errorCode?: string;
107
+ description?: string;
108
+ resolution?: string;
109
+ action?: string;
110
+ function?: string;
111
+ stack?: string[];
112
+ errors?: object;
113
+ message?: string;
114
+ }
115
+ export interface ICostBreakdown {
116
+ cost_amount: number;
117
+ cost_id: number | null;
118
+ description: string;
119
+ fuel_surcharge: boolean | null;
120
+ group: string;
121
+ id: number;
122
+ quote_path_edge_id: number;
123
+ service_level: string;
124
+ }
@@ -0,0 +1,5 @@
1
+ import { QuoteAuxContent } from "../components/salesQuote/typings";
2
+ export declare const re: RegExp;
3
+ export declare const FREIGHT_CLASS: string[];
4
+ export declare const QUOTE_MAX_STOPS = 10;
5
+ export declare const options: QuoteAuxContent[];
@@ -0,0 +1,17 @@
1
+ import moment from "moment";
2
+ /**
3
+ * @param x
4
+ */
5
+ export declare function formattedPrice(x: number): string;
6
+ /**
7
+ * @param date
8
+ */
9
+ export declare function safariFix(date: string): string;
10
+ /**
11
+ * @param {Date | moment} start The start date
12
+ * @param {Date | moment} end The end date
13
+ * @param startDate
14
+ * @param endDate
15
+ * @param {string} type The range type. eg: 'days', 'hours' etc
16
+ */
17
+ export declare function getRange(startDate: moment.MomentInput, endDate: moment.MomentInput, type?: any): moment.Moment[];
@@ -0,0 +1,2 @@
1
+ export * from "./constants";
2
+ export * from "./helpers";
package/package.json ADDED
@@ -0,0 +1,93 @@
1
+ {
2
+ "name": "@nerdjs/sales-kit",
3
+ "version": "1.0.1",
4
+ "description": "This is a @nerdjs library for the WA Sales Service",
5
+ "license": "ISC",
6
+ "main": "./dist/cjs/index.js",
7
+ "types": "./dist/cjs/index.d.ts",
8
+ "module": "./dist/index.js",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "engines": {
13
+ "node": ">=10"
14
+ },
15
+ "scripts": {
16
+ "start": "rollup -c -w",
17
+ "build": "rimraf dist && rollup -c rollup.config.ts",
18
+ "size": "size-limit",
19
+ "prettier-format": "prettier --write 'src/**/*.{ts,tsx,js,json,md}'",
20
+ "lint": "eslint . --ext .ts,.tsx",
21
+ "lint:fix": "eslint . --ext .ts,.tsx --fix"
22
+ },
23
+ "peerDependencies": {
24
+ "@emotion/react": ">=11",
25
+ "@emotion/styled": ">=11",
26
+ "@nerdjs/nerd-network": "^1.0.15",
27
+ "@nerdjs/nerd-ui": "^1.0.16",
28
+ "react": ">=16"
29
+ },
30
+ "author": "White Arrow",
31
+ "devDependencies": {
32
+ "@emotion/react": "^11.8.2",
33
+ "@emotion/styled": "^11.8.1",
34
+ "@nerdjs/nerd-network": "^1.0.15",
35
+ "@nerdjs/nerd-ui": "^1.0.16",
36
+ "@size-limit/preset-small-lib": "^7.0.8",
37
+ "@types/google.maps": "^3.48.6",
38
+ "@types/node": "^16.11.26",
39
+ "@types/react": "^17.0.43",
40
+ "@types/react-dom": "^17.0.14",
41
+ "@typescript-eslint/eslint-plugin": "^5.13.0",
42
+ "@typescript-eslint/parser": "^5.13.0",
43
+ "autoprefixer": "^10.4.7",
44
+ "eslint": "^8.10.0",
45
+ "eslint-config-prettier": "^8.5.0",
46
+ "eslint-plugin-check-file": "^1.1.0",
47
+ "eslint-plugin-i18next": "^6.0.0-4",
48
+ "eslint-plugin-import": "^2.25.4",
49
+ "eslint-plugin-jsdoc": "^37.9.7",
50
+ "eslint-plugin-jsx-a11y": "^6.5.1",
51
+ "eslint-plugin-prettier": "^4.0.0",
52
+ "eslint-plugin-react": "^7.30.1",
53
+ "eslint-plugin-react-hooks": "^4.3.0",
54
+ "jsdoc": "^3.6.7",
55
+ "node-sass": "^7.0.1",
56
+ "postcss": "^8.4.14",
57
+ "prettier": "^2.5.1",
58
+ "react": "^17.0.2",
59
+ "react-dom": "^17.0.2",
60
+ "rimraf": "^3.0.2",
61
+ "rollup": "^2.75.5",
62
+ "rollup-plugin-commonjs": "^10.1.0",
63
+ "rollup-plugin-exclude-dependencies-from-bundle": "^1.1.22",
64
+ "rollup-plugin-postcss": "^4.0.2",
65
+ "rollup-plugin-typescript2": "^0.31.2",
66
+ "size-limit": "^7.0.8",
67
+ "tslib": "^2.4.0",
68
+ "typescript": "^4.6.3"
69
+ },
70
+ "dependencies": {
71
+ "@date-io/moment": "^2.14.0",
72
+ "@mui/icons-material": "^5.6.0",
73
+ "@mui/material": "^5.5.3",
74
+ "@reduxjs/toolkit": "^1.8.1",
75
+ "moment": "^2.29.3",
76
+ "moment-range": "^4.0.2"
77
+ },
78
+ "rules": {
79
+ "react-hooks/rules-of-hooks": "error",
80
+ "react-hooks/exhaustive-deps": "warn"
81
+ },
82
+ "size-limit": [
83
+ {
84
+ "path": "dist/cjs/index.js",
85
+ "limit": "100 KB",
86
+ "webpack": false
87
+ }
88
+ ],
89
+ "resolutions": {
90
+ "@types/react": "17.0.2",
91
+ "@types/react-dom": "17.0.2"
92
+ }
93
+ }