@nerdjs/sales-kit 1.0.2 → 1.0.3

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 (323) hide show
  1. package/dist/entities/accessorial/accessorial.d.ts +12 -0
  2. package/dist/entities/accessorial/accessorial.js +41 -0
  3. package/dist/entities/accessorial/accessorial.js.map +1 -0
  4. package/dist/entities/accessorial/helper.d.ts +5 -0
  5. package/dist/entities/accessorial/helper.js +16 -0
  6. package/dist/entities/accessorial/helper.js.map +1 -0
  7. package/dist/entities/accessorial/index.d.ts +2 -0
  8. package/dist/entities/accessorial/index.js +3 -0
  9. package/dist/entities/accessorial/index.js.map +1 -0
  10. package/dist/entities/accessorials/accessorials.d.ts +7 -0
  11. package/dist/entities/accessorials/accessorials.js +29 -0
  12. package/dist/entities/accessorials/accessorials.js.map +1 -0
  13. package/dist/entities/accessorials/helper.d.ts +5 -0
  14. package/dist/entities/accessorials/helper.js +16 -0
  15. package/dist/entities/accessorials/helper.js.map +1 -0
  16. package/dist/entities/accessorials/index.d.ts +2 -0
  17. package/dist/entities/accessorials/index.js +3 -0
  18. package/dist/entities/accessorials/index.js.map +1 -0
  19. package/dist/{cjs/entities → entities}/customer/customer.d.ts +16 -16
  20. package/dist/entities/customer/customer.js +63 -0
  21. package/dist/entities/customer/customer.js.map +1 -0
  22. package/dist/{cjs/entities → entities}/customer/helper.d.ts +5 -5
  23. package/dist/entities/customer/helper.js +16 -0
  24. package/dist/entities/customer/helper.js.map +1 -0
  25. package/dist/{cjs/entities → entities}/customer/index.d.ts +1 -1
  26. package/dist/entities/customer/index.js +2 -0
  27. package/dist/entities/customer/index.js.map +1 -0
  28. package/dist/entities/holiday/helper.d.ts +5 -0
  29. package/dist/entities/holiday/helper.js +16 -0
  30. package/dist/entities/holiday/helper.js.map +1 -0
  31. package/dist/entities/holiday/holiday.d.ts +7 -0
  32. package/dist/entities/holiday/holiday.js +31 -0
  33. package/dist/entities/holiday/holiday.js.map +1 -0
  34. package/dist/entities/holiday/index.d.ts +2 -0
  35. package/dist/entities/holiday/index.js +3 -0
  36. package/dist/entities/holiday/index.js.map +1 -0
  37. package/dist/entities/index.d.ts +12 -0
  38. package/dist/entities/index.js +13 -0
  39. package/dist/entities/index.js.map +1 -0
  40. package/dist/entities/load/helper.d.ts +6 -0
  41. package/dist/entities/load/helper.js +28 -0
  42. package/dist/entities/load/helper.js.map +1 -0
  43. package/dist/entities/load/index.d.ts +2 -0
  44. package/dist/entities/load/index.js +3 -0
  45. package/dist/entities/load/index.js.map +1 -0
  46. package/dist/entities/load/load.d.ts +102 -0
  47. package/dist/entities/load/load.js +224 -0
  48. package/dist/entities/load/load.js.map +1 -0
  49. package/dist/entities/loadAdjustment/helper.d.ts +5 -0
  50. package/dist/entities/loadAdjustment/helper.js +16 -0
  51. package/dist/entities/loadAdjustment/helper.js.map +1 -0
  52. package/dist/entities/loadAdjustment/index.d.ts +2 -0
  53. package/dist/entities/loadAdjustment/index.js +3 -0
  54. package/dist/entities/loadAdjustment/index.js.map +1 -0
  55. package/dist/entities/loadAdjustment/loadAdjustment.d.ts +15 -0
  56. package/dist/entities/loadAdjustment/loadAdjustment.js +48 -0
  57. package/dist/entities/loadAdjustment/loadAdjustment.js.map +1 -0
  58. package/dist/{cjs/entities → entities}/location/helper.d.ts +5 -5
  59. package/dist/entities/location/helper.js +16 -0
  60. package/dist/entities/location/helper.js.map +1 -0
  61. package/dist/{cjs/entities → entities}/location/index.d.ts +2 -2
  62. package/dist/entities/location/index.js +3 -0
  63. package/dist/entities/location/index.js.map +1 -0
  64. package/dist/{cjs/entities → entities}/location/location.d.ts +33 -32
  65. package/dist/entities/location/location.js +47 -0
  66. package/dist/entities/location/location.js.map +1 -0
  67. package/dist/{cjs/entities → entities}/marketCosts/helper.d.ts +5 -5
  68. package/dist/entities/marketCosts/helper.js +16 -0
  69. package/dist/entities/marketCosts/helper.js.map +1 -0
  70. package/dist/{cjs/entities → entities}/marketCosts/index.d.ts +2 -2
  71. package/dist/entities/marketCosts/index.js +3 -0
  72. package/dist/entities/marketCosts/index.js.map +1 -0
  73. package/dist/{cjs/entities → entities}/marketCosts/marketCosts.d.ts +22 -22
  74. package/dist/entities/marketCosts/marketCosts.js +60 -0
  75. package/dist/entities/marketCosts/marketCosts.js.map +1 -0
  76. package/dist/{cjs/entities → entities}/quote/helper.d.ts +5 -5
  77. package/dist/entities/quote/helper.js +16 -0
  78. package/dist/entities/quote/helper.js.map +1 -0
  79. package/dist/{cjs/entities → entities}/quote/index.d.ts +2 -2
  80. package/dist/entities/quote/index.js +3 -0
  81. package/dist/entities/quote/index.js.map +1 -0
  82. package/dist/entities/quote/quote.d.ts +76 -0
  83. package/dist/entities/quote/quote.js +46 -0
  84. package/dist/entities/quote/quote.js.map +1 -0
  85. package/dist/entities/quoteAccessorial/helper.d.ts +5 -0
  86. package/dist/entities/quoteAccessorial/helper.js +16 -0
  87. package/dist/entities/quoteAccessorial/helper.js.map +1 -0
  88. package/dist/entities/quoteAccessorial/index.d.ts +2 -0
  89. package/dist/entities/quoteAccessorial/index.js +3 -0
  90. package/dist/entities/quoteAccessorial/index.js.map +1 -0
  91. package/dist/entities/quoteAccessorial/quoteAccessorial.d.ts +29 -0
  92. package/dist/entities/quoteAccessorial/quoteAccessorial.js +77 -0
  93. package/dist/entities/quoteAccessorial/quoteAccessorial.js.map +1 -0
  94. package/dist/entities/quoteResponse/helper.d.ts +5 -0
  95. package/dist/entities/quoteResponse/helper.js +16 -0
  96. package/dist/entities/quoteResponse/helper.js.map +1 -0
  97. package/dist/entities/quoteResponse/index.d.ts +2 -0
  98. package/dist/entities/quoteResponse/index.js +3 -0
  99. package/dist/entities/quoteResponse/index.js.map +1 -0
  100. package/dist/entities/quoteResponse/quoteResponse.d.ts +72 -0
  101. package/dist/entities/quoteResponse/quoteResponse.js +67 -0
  102. package/dist/entities/quoteResponse/quoteResponse.js.map +1 -0
  103. package/dist/entities/shipcon/helper.d.ts +6 -0
  104. package/dist/entities/shipcon/helper.js +20 -0
  105. package/dist/entities/shipcon/helper.js.map +1 -0
  106. package/dist/entities/shipcon/index.d.ts +2 -0
  107. package/dist/entities/shipcon/index.js +3 -0
  108. package/dist/entities/shipcon/index.js.map +1 -0
  109. package/dist/entities/shipcon/shipcon.d.ts +27 -0
  110. package/dist/entities/shipcon/shipcon.js +74 -0
  111. package/dist/entities/shipcon/shipcon.js.map +1 -0
  112. package/dist/helpers.d.ts +18 -0
  113. package/dist/helpers.js +29 -0
  114. package/dist/helpers.js.map +1 -0
  115. package/dist/hooks/index.d.ts +2 -0
  116. package/dist/hooks/index.js +3 -0
  117. package/dist/hooks/index.js.map +1 -0
  118. package/dist/hooks/locationsForm/index.d.ts +1 -0
  119. package/dist/hooks/locationsForm/index.js +2 -0
  120. package/dist/hooks/locationsForm/index.js.map +1 -0
  121. package/dist/hooks/locationsForm/locationsForm.d.ts +2 -0
  122. package/dist/hooks/locationsForm/locationsForm.js +35 -0
  123. package/dist/hooks/locationsForm/locationsForm.js.map +1 -0
  124. package/dist/hooks/quote/constants.d.ts +187 -0
  125. package/dist/hooks/quote/constants.js +137 -0
  126. package/dist/hooks/quote/constants.js.map +1 -0
  127. package/dist/hooks/quote/form.d.ts +7 -0
  128. package/dist/hooks/quote/form.js +203 -0
  129. package/dist/hooks/quote/form.js.map +1 -0
  130. package/dist/hooks/quote/helpers.d.ts +39 -0
  131. package/dist/hooks/quote/helpers.js +366 -0
  132. package/dist/hooks/quote/helpers.js.map +1 -0
  133. package/dist/hooks/quote/index.d.ts +5 -0
  134. package/dist/hooks/quote/index.js +6 -0
  135. package/dist/hooks/quote/index.js.map +1 -0
  136. package/dist/hooks/quote/result.d.ts +7 -0
  137. package/dist/hooks/quote/result.js +196 -0
  138. package/dist/hooks/quote/result.js.map +1 -0
  139. package/dist/hooks/quote/template.d.ts +7 -0
  140. package/dist/hooks/quote/template.js +113 -0
  141. package/dist/hooks/quote/template.js.map +1 -0
  142. package/dist/index.d.ts +3 -0
  143. package/dist/index.js +4 -0
  144. package/dist/index.js.map +1 -0
  145. package/dist/redux/appState.d.ts +4 -0
  146. package/dist/redux/appState.js +2 -0
  147. package/dist/redux/appState.js.map +1 -0
  148. package/dist/redux/customer/customerActions.d.ts +97 -0
  149. package/dist/redux/customer/customerActions.js +210 -0
  150. package/dist/redux/customer/customerActions.js.map +1 -0
  151. package/dist/redux/customer/customerReducer.d.ts +2 -0
  152. package/dist/redux/customer/customerReducer.js +42 -0
  153. package/dist/redux/customer/customerReducer.js.map +1 -0
  154. package/dist/redux/customer/customerSelector.d.ts +27 -0
  155. package/dist/redux/customer/customerSelector.js +38 -0
  156. package/dist/redux/customer/customerSelector.js.map +1 -0
  157. package/dist/redux/customer/customerState.d.ts +11 -0
  158. package/dist/redux/customer/customerState.js +2 -0
  159. package/dist/redux/customer/customerState.js.map +1 -0
  160. package/dist/redux/customer/index.d.ts +4 -0
  161. package/dist/redux/customer/index.js +5 -0
  162. package/dist/redux/customer/index.js.map +1 -0
  163. package/dist/redux/index.d.ts +8 -0
  164. package/dist/redux/index.js +9 -0
  165. package/dist/redux/index.js.map +1 -0
  166. package/dist/redux/load/index.d.ts +4 -0
  167. package/dist/redux/load/index.js +5 -0
  168. package/dist/redux/load/index.js.map +1 -0
  169. package/dist/redux/load/loadActions.d.ts +80 -0
  170. package/dist/redux/load/loadActions.js +172 -0
  171. package/dist/redux/load/loadActions.js.map +1 -0
  172. package/dist/redux/load/loadReducer.d.ts +2 -0
  173. package/dist/redux/load/loadReducer.js +35 -0
  174. package/dist/redux/load/loadReducer.js.map +1 -0
  175. package/dist/redux/load/loadSelector.d.ts +27 -0
  176. package/dist/redux/load/loadSelector.js +19 -0
  177. package/dist/redux/load/loadSelector.js.map +1 -0
  178. package/dist/redux/load/loadState.d.ts +8 -0
  179. package/dist/redux/load/loadState.js +2 -0
  180. package/dist/redux/load/loadState.js.map +1 -0
  181. package/dist/redux/loadAdjustment/index.d.ts +4 -0
  182. package/dist/redux/loadAdjustment/index.js +5 -0
  183. package/dist/redux/loadAdjustment/index.js.map +1 -0
  184. package/dist/redux/loadAdjustment/loadAdjustmentActions.d.ts +80 -0
  185. package/dist/redux/loadAdjustment/loadAdjustmentActions.js +172 -0
  186. package/dist/redux/loadAdjustment/loadAdjustmentActions.js.map +1 -0
  187. package/dist/redux/loadAdjustment/loadAdjustmentReducer.d.ts +2 -0
  188. package/dist/redux/loadAdjustment/loadAdjustmentReducer.js +35 -0
  189. package/dist/redux/loadAdjustment/loadAdjustmentReducer.js.map +1 -0
  190. package/dist/redux/loadAdjustment/loadAdjustmentSelector.d.ts +15 -0
  191. package/dist/redux/loadAdjustment/loadAdjustmentSelector.js +12 -0
  192. package/dist/redux/loadAdjustment/loadAdjustmentSelector.js.map +1 -0
  193. package/dist/redux/loadAdjustment/loadAdjustmentState.d.ts +8 -0
  194. package/dist/redux/loadAdjustment/loadAdjustmentState.js +2 -0
  195. package/dist/redux/loadAdjustment/loadAdjustmentState.js.map +1 -0
  196. package/dist/redux/location/index.d.ts +4 -0
  197. package/dist/redux/location/index.js +5 -0
  198. package/dist/redux/location/index.js.map +1 -0
  199. package/dist/redux/location/locationActions.d.ts +101 -0
  200. package/dist/redux/location/locationActions.js +218 -0
  201. package/dist/redux/location/locationActions.js.map +1 -0
  202. package/dist/redux/location/locationReducer.d.ts +2 -0
  203. package/dist/redux/location/locationReducer.js +54 -0
  204. package/dist/redux/location/locationReducer.js.map +1 -0
  205. package/dist/redux/location/locationSelector.d.ts +53 -0
  206. package/dist/redux/location/locationSelector.js +32 -0
  207. package/dist/redux/location/locationSelector.js.map +1 -0
  208. package/dist/redux/location/locationState.d.ts +15 -0
  209. package/dist/redux/location/locationState.js +2 -0
  210. package/dist/redux/location/locationState.js.map +1 -0
  211. package/dist/{cjs/redux → redux}/quote/index.d.ts +5 -4
  212. package/dist/redux/quote/index.js +6 -0
  213. package/dist/redux/quote/index.js.map +1 -0
  214. package/dist/redux/quote/quoteAction.d.ts +177 -0
  215. package/dist/redux/quote/quoteAction.js +351 -0
  216. package/dist/redux/quote/quoteAction.js.map +1 -0
  217. package/dist/redux/quote/quoteMiddleware.d.ts +2 -0
  218. package/dist/redux/quote/quoteMiddleware.js +31 -0
  219. package/dist/redux/quote/quoteMiddleware.js.map +1 -0
  220. package/dist/redux/quote/quoteReducer.d.ts +27 -0
  221. package/dist/redux/quote/quoteReducer.js +207 -0
  222. package/dist/redux/quote/quoteReducer.js.map +1 -0
  223. package/dist/redux/quote/quoteSelector.d.ts +199 -0
  224. package/dist/redux/quote/quoteSelector.js +141 -0
  225. package/dist/redux/quote/quoteSelector.js.map +1 -0
  226. package/dist/redux/quote/quoteState.d.ts +9 -0
  227. package/dist/redux/quote/quoteState.js +2 -0
  228. package/dist/redux/quote/quoteState.js.map +1 -0
  229. package/dist/redux/quoteAccessorial/index.d.ts +3 -0
  230. package/dist/redux/quoteAccessorial/index.js +4 -0
  231. package/dist/redux/quoteAccessorial/index.js.map +1 -0
  232. package/dist/redux/quoteAccessorial/quoteAccessorialActions.d.ts +70 -0
  233. package/dist/redux/quoteAccessorial/quoteAccessorialActions.js +149 -0
  234. package/dist/redux/quoteAccessorial/quoteAccessorialActions.js.map +1 -0
  235. package/dist/redux/quoteAccessorial/quoteAccessorialReducer.d.ts +2 -0
  236. package/dist/redux/quoteAccessorial/quoteAccessorialReducer.js +29 -0
  237. package/dist/redux/quoteAccessorial/quoteAccessorialReducer.js.map +1 -0
  238. package/dist/redux/quoteAccessorial/quoteAccessorialState.d.ts +8 -0
  239. package/dist/redux/quoteAccessorial/quoteAccessorialState.js +2 -0
  240. package/dist/redux/quoteAccessorial/quoteAccessorialState.js.map +1 -0
  241. package/dist/redux/salesKitReducer.d.ts +25 -0
  242. package/dist/redux/salesKitReducer.js +18 -0
  243. package/dist/redux/salesKitReducer.js.map +1 -0
  244. package/dist/redux/shipcon/index.d.ts +4 -0
  245. package/dist/redux/shipcon/index.js +5 -0
  246. package/dist/redux/shipcon/index.js.map +1 -0
  247. package/dist/redux/shipcon/shipconActions.d.ts +80 -0
  248. package/dist/redux/shipcon/shipconActions.js +172 -0
  249. package/dist/redux/shipcon/shipconActions.js.map +1 -0
  250. package/dist/redux/shipcon/shipconReducer.d.ts +2 -0
  251. package/dist/redux/shipcon/shipconReducer.js +35 -0
  252. package/dist/redux/shipcon/shipconReducer.js.map +1 -0
  253. package/dist/redux/shipcon/shipconSelector.d.ts +22 -0
  254. package/dist/redux/shipcon/shipconSelector.js +19 -0
  255. package/dist/redux/shipcon/shipconSelector.js.map +1 -0
  256. package/dist/redux/shipcon/shipconState.d.ts +8 -0
  257. package/dist/redux/shipcon/shipconState.js +2 -0
  258. package/dist/redux/shipcon/shipconState.js.map +1 -0
  259. package/package.json +39 -70
  260. package/dist/cjs/components/calendar/calendar.d.ts +0 -5
  261. package/dist/cjs/components/calendar/day/day.d.ts +0 -8
  262. package/dist/cjs/components/calendar/day/index.d.ts +0 -1
  263. package/dist/cjs/components/calendar/day/typings.d.ts +0 -16
  264. package/dist/cjs/components/calendar/index.d.ts +0 -2
  265. package/dist/cjs/components/calendar/typings.d.ts +0 -27
  266. package/dist/cjs/components/customerFinder/customerFinder.d.ts +0 -11
  267. package/dist/cjs/components/customerFinder/index.d.ts +0 -2
  268. package/dist/cjs/components/customerFinder/optionTemplate.d.ts +0 -6
  269. package/dist/cjs/components/index.d.ts +0 -4
  270. package/dist/cjs/components/locationFinder/editLocation.d.ts +0 -15
  271. package/dist/cjs/components/locationFinder/index.d.ts +0 -1
  272. package/dist/cjs/components/locationFinder/locationByAddress.d.ts +0 -18
  273. package/dist/cjs/components/locationFinder/locationFinder.d.ts +0 -7
  274. package/dist/cjs/components/locationFinder/locationsFound.d.ts +0 -12
  275. package/dist/cjs/components/locationFinder/newLocationForm.d.ts +0 -20
  276. package/dist/cjs/components/locationFinder/optionTemplate.d.ts +0 -8
  277. package/dist/cjs/components/locationFinder/typings.d.ts +0 -23
  278. package/dist/cjs/components/salesQuote/components/aboutQuote/aboutQuote.d.ts +0 -5
  279. package/dist/cjs/components/salesQuote/components/aboutQuote/commodityDescription.d.ts +0 -16
  280. package/dist/cjs/components/salesQuote/components/aboutQuote/index.d.ts +0 -2
  281. package/dist/cjs/components/salesQuote/components/aboutQuote/quoteCheck.d.ts +0 -6
  282. package/dist/cjs/components/salesQuote/components/pallet/editPallet.d.ts +0 -11
  283. package/dist/cjs/components/salesQuote/components/pallet/palletChecker.d.ts +0 -15
  284. package/dist/cjs/components/salesQuote/components/pallet/palletCount.d.ts +0 -13
  285. package/dist/cjs/components/salesQuote/components/quoteCalendar/quoteCalendar.d.ts +0 -24
  286. package/dist/cjs/components/salesQuote/components/quoteResultAccordion/costBreakdown.d.ts +0 -14
  287. package/dist/cjs/components/salesQuote/components/quoteResultAccordion/marketCosts.d.ts +0 -7
  288. package/dist/cjs/components/salesQuote/components/quoteResultAccordion/quoteResultAccessorials.d.ts +0 -13
  289. package/dist/cjs/components/salesQuote/components/quoteResultAccordion/quoteResultAccordion.d.ts +0 -17
  290. package/dist/cjs/components/salesQuote/components/quoteSelect.d.ts +0 -4
  291. package/dist/cjs/components/salesQuote/components/quoteSummary/quoteSummary.d.ts +0 -4
  292. package/dist/cjs/components/salesQuote/components/quoteSummary/quoteSummaryBody.d.ts +0 -12
  293. package/dist/cjs/components/salesQuote/components/quoteSummary/quoteSummaryHeader.d.ts +0 -10
  294. package/dist/cjs/components/salesQuote/components/quoteSummary/typings.d.ts +0 -47
  295. package/dist/cjs/components/salesQuote/index.d.ts +0 -4
  296. package/dist/cjs/components/salesQuote/salesQuote.d.ts +0 -17
  297. package/dist/cjs/components/salesQuote/typings.d.ts +0 -156
  298. package/dist/cjs/components/shared/bootstrapDialogTitle/bootstrapDialogTitle.d.ts +0 -11
  299. package/dist/cjs/components/shared/bootstrapDialogTitle/index.d.ts +0 -1
  300. package/dist/cjs/components/shared/index.d.ts +0 -2
  301. package/dist/cjs/components/shared/loading/index.d.ts +0 -1
  302. package/dist/cjs/components/shared/loading/loading.d.ts +0 -6
  303. package/dist/cjs/components/stop/index.d.ts +0 -2
  304. package/dist/cjs/components/stop/menuAccessorials.d.ts +0 -27
  305. package/dist/cjs/components/stop/stop.d.ts +0 -4
  306. package/dist/cjs/components/stop/stopDetail.d.ts +0 -5
  307. package/dist/cjs/components/stop/stopDetailHeader.d.ts +0 -6
  308. package/dist/cjs/entities/index.d.ts +0 -4
  309. package/dist/cjs/entities/quote/quote.d.ts +0 -80
  310. package/dist/cjs/index.d.ts +0 -4
  311. package/dist/cjs/index.js +0 -3169
  312. package/dist/cjs/index.js.map +0 -1
  313. package/dist/cjs/redux/calendar/calendarSlice.d.ts +0 -12
  314. package/dist/cjs/redux/calendar/index.d.ts +0 -1
  315. package/dist/cjs/redux/index.d.ts +0 -3
  316. package/dist/cjs/redux/nerdSalesKitReducer.d.ts +0 -10
  317. package/dist/cjs/redux/quote/quoteAction.d.ts +0 -125
  318. package/dist/cjs/redux/quote/quoteReducer.d.ts +0 -28
  319. package/dist/cjs/redux/quote/quoteSelector.d.ts +0 -22
  320. package/dist/cjs/redux/quote/quoteState.d.ts +0 -124
  321. package/dist/cjs/utils/constants.d.ts +0 -5
  322. package/dist/cjs/utils/helpers.d.ts +0 -17
  323. package/dist/cjs/utils/index.d.ts +0 -2
@@ -1,47 +0,0 @@
1
- import QuoteRequest from "../../../../entities/quote/helper";
2
- import { IserviceLevel } from "../../../calendar/typings";
3
- import { AppConfigServiceLevelsType } from "../../typings";
4
- export interface IQuoteSummary {
5
- dateSelected: string;
6
- serviceLevelSelected: IserviceLevel;
7
- quoteResponse: QuoteRequest;
8
- t: any;
9
- appConfigServiceLevels: AppConfigServiceLevelsType;
10
- }
11
- export declare type quoteSummaryBodyProps = {
12
- totalMiles: number | undefined;
13
- rowsSummaryAbout: rowSummary[];
14
- stops: stop[];
15
- serviceLevelSelected: IserviceLevel;
16
- appConfigServiceLevels: AppConfigServiceLevelsType;
17
- };
18
- export declare type rowSummary = {
19
- id: number;
20
- service: string;
21
- mode: string;
22
- commodityDescription: string;
23
- totalWeight: number;
24
- freightClass: string;
25
- feet: number;
26
- pallets: number;
27
- miles: number;
28
- };
29
- export declare type stop = {
30
- id: number;
31
- name: string;
32
- type: string;
33
- date: string;
34
- city: string;
35
- state: string;
36
- zip: string;
37
- address: {
38
- locationId: number | null;
39
- line1: string;
40
- line2?: string;
41
- city: string;
42
- state: string;
43
- zip: string;
44
- latitude: number;
45
- longitude: number;
46
- };
47
- };
@@ -1,4 +0,0 @@
1
- export * from "./salesQuote";
2
- export * from "./components/aboutQuote";
3
- export * from "../locationFinder";
4
- export * from "../stop";
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- import { salesQuoteProps, ServiceContextType } from "./typings";
3
- export declare const ServiceContext: import("react").Context<ServiceContextType | null>;
4
- /**
5
- * Nerd Sales Quote view
6
- *
7
- * @param props
8
- * @param props.theme
9
- * @param props.dispatch
10
- * @param props.nerdSalesKitState
11
- * @param props.t
12
- * @param props.networkCompletionStack
13
- * @param props.isCustomer
14
- * @param props.appConfigServiceLevels
15
- * @returns {React.ReactElement<any>} return as a function component
16
- */
17
- export declare const SalesQuote: ({ theme, dispatch, nerdSalesKitState, t, networkCompletionStack, isCustomer, appConfigServiceLevels, }: salesQuoteProps) => JSX.Element;
@@ -1,156 +0,0 @@
1
- /// <reference types="react" />
2
- /// <reference types="google.maps" />
3
- import { SelectChangeEvent } from "@mui/material/Select";
4
- import { ThemeOptions } from "@mui/material/styles";
5
- import { AnyAction, Dispatch } from "@reduxjs/toolkit";
6
- import { IselectedDateRangeState } from "../../redux/calendar";
7
- import { IQuoteState } from "../../redux/quote/quoteReducer";
8
- import { IAccessorial, IAccessorialObj, IQuoteForm, IStateShippers } from "../../redux/quote/quoteState";
9
- export declare type salesQuoteProps = {
10
- dispatch: Dispatch<AnyAction>;
11
- theme: ThemeOptions;
12
- nerdSalesKitState: {
13
- quoteState: IQuoteState;
14
- selectedDateRange: IselectedDateRangeState;
15
- };
16
- t: any;
17
- networkCompletionStack: Record<string, boolean>[];
18
- isCustomer: boolean;
19
- appConfigServiceLevels: AppConfigServiceLevelsType;
20
- };
21
- export declare type AppConfigServiceLevelsType = {
22
- [name: string]: {
23
- [name: string]: string;
24
- };
25
- };
26
- interface IGoogleService {
27
- maps: typeof google.maps;
28
- }
29
- export declare type ServiceContextType = {
30
- googleService: IGoogleService;
31
- quoteState: IQuoteState;
32
- t: any;
33
- isMobile: boolean;
34
- appConfigServiceLevels: AppConfigServiceLevelsType;
35
- };
36
- export interface IQuoteObjProps {
37
- dispatch: Dispatch<AnyAction>;
38
- networkCompletionStack: Record<string, boolean>[];
39
- isCustomer: boolean;
40
- children: React.ReactNode | undefined;
41
- submitForm: () => void;
42
- }
43
- export declare type nerdSalesQuoteCheckProps = {
44
- onChange: (event: SelectChangeEvent, type: string) => void;
45
- service: string;
46
- mode: string;
47
- isMobile?: boolean;
48
- dispatch: Dispatch<AnyAction>;
49
- state: IQuoteForm;
50
- };
51
- export interface IQuoteSelect {
52
- isMobile: boolean;
53
- selectOptions: string[];
54
- onChange: (event: SelectChangeEvent) => void;
55
- value: string;
56
- labelId: string;
57
- inputLabel?: string;
58
- label?: string;
59
- required: boolean;
60
- }
61
- export interface IPallet {
62
- key?: number;
63
- index?: number;
64
- classes?: object;
65
- count: number | string;
66
- length: number;
67
- width: number;
68
- height: number;
69
- units: string;
70
- stackable: boolean;
71
- remaining?: boolean;
72
- disabled?: boolean;
73
- onDelete?: () => void;
74
- type?: string;
75
- onDimensionEdit?: () => void;
76
- }
77
- export interface IShippers {
78
- zip: number | string;
79
- facility?: string;
80
- locationId?: number;
81
- accessorialIds: number[];
82
- date: Date | string | null;
83
- }
84
- export interface IPickDropCard {
85
- stopPickArray: IPickStopCard[];
86
- card?: React.ElementType<unknown>;
87
- onCloseCard?: (index: number) => void;
88
- quoteAccessorials: IAccessorialObj[];
89
- onClick?: React.MouseEventHandler<HTMLButtonElement>;
90
- disabled?: boolean;
91
- }
92
- export interface IPickStopCard {
93
- zip: string;
94
- facility: string;
95
- accessorialIds: string[];
96
- date: Date | null;
97
- }
98
- export interface IStopDetail {
99
- CardContainer: any;
100
- stopCard: IShippers;
101
- stopCardIndex: number;
102
- openCard: boolean;
103
- onCloseCard: (i: number) => void;
104
- quoteAccessorials: Array<IAccessorialObj>;
105
- stopType: string;
106
- dispatch: Dispatch<AnyAction>;
107
- networkCompletionStack: Record<string, boolean>[];
108
- onChange?: (stopDetailData: IShippers | IStateShippers) => void;
109
- }
110
- export interface IStop extends Partial<IStopDetail> {
111
- stopCards: IShippers[];
112
- stopType: string;
113
- disabled?: boolean;
114
- addMoreStopHandler?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
115
- accessorials: IAccessorial;
116
- serviceType: string;
117
- }
118
- export interface IStopDetailHeaderProps {
119
- type: string;
120
- index: number;
121
- }
122
- export interface IMenuAccessorials {
123
- anchorEl: HTMLElement | null;
124
- openAccessorials: boolean;
125
- handleClose: () => void;
126
- copyAccessorials: Array<IAccessorialObj>;
127
- handleSelectAccessorial: (i: number) => void;
128
- }
129
- export interface ICustomer {
130
- id: number;
131
- name: string;
132
- company_id: number;
133
- credit_on_hold: boolean;
134
- inactivity_hold: boolean;
135
- credit_term_id: number;
136
- line1: string;
137
- city: string;
138
- state: string;
139
- zip: string;
140
- is_active: boolean;
141
- credit_term_name: string;
142
- }
143
- export declare enum QuoteAuxContent {
144
- LTL = "LTL",
145
- EXPEDITED = "Expedited",
146
- TL = "TL",
147
- FEET = "feet",
148
- DRY = "Dry",
149
- REEFER = "Reefer",
150
- CONSIGNEE = "Drop-off",
151
- SHIPPER = "Pick-up",
152
- DROP_OFF = "Drop-off",
153
- PICK_UP = "Pick-up",
154
- INCHES = "inches"
155
- }
156
- export {};
@@ -1,11 +0,0 @@
1
- import React from "react";
2
- declare type DialogTitleProps = {
3
- id: string;
4
- children?: React.ReactNode;
5
- onClose?: () => void;
6
- };
7
- /**
8
- * @param props
9
- */
10
- export default function BootstrapDialogTitle(props: DialogTitleProps): JSX.Element;
11
- export {};
@@ -1 +0,0 @@
1
- export * from "./bootstrapDialogTitle";
@@ -1,2 +0,0 @@
1
- export * from "./loading";
2
- export * from "./bootstrapDialogTitle";
@@ -1 +0,0 @@
1
- export * from "./loading";
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { SkeletonProps } from "@mui/material/Skeleton";
3
- export interface LoadingProps extends SkeletonProps {
4
- specialProp?: string;
5
- }
6
- export declare const Loading: (props: LoadingProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from "./stop";
2
- export * from "./stopDetail";
@@ -1,27 +0,0 @@
1
- /// <reference types="react" />
2
- import { IAccessorialObj } from "../../redux/quote";
3
- declare type menuAccessorials = {
4
- openCard: boolean;
5
- onCloseCard: (i: number) => void;
6
- stopCardIndex: number;
7
- handleSelectAccessorial: (i: number) => void;
8
- copyAccessorials: IAccessorialObj[];
9
- };
10
- /**
11
- *
12
- * @param {any} root0 root
13
- * @param {HTMLElement} root0.anchorEl - HTMLElement ref
14
- * @param {boolean} root0.openAccessorials boolean to open/close the menu
15
- * @param {() => {}} root0.handleClose function to close the menu
16
- * @returns {React.ReactElement<any>} return as a function to avoid re-render
17
- */
18
- /**
19
- * @param root0
20
- * @param root0.openCard
21
- * @param root0.onCloseCard
22
- * @param root0.stopCardIndex
23
- * @param root0.handleSelectAccessorial
24
- * @param root0.copyAccessorials
25
- */
26
- export default function MenuAccessorials({ openCard, onCloseCard, stopCardIndex, handleSelectAccessorial, copyAccessorials, }: menuAccessorials): JSX.Element;
27
- export {};
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IStop } from "../salesQuote/typings";
3
- declare const Stop: (props: IStop) => JSX.Element;
4
- export default Stop;
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import "./Stop.scss";
3
- import { IStopDetail } from "../salesQuote/typings";
4
- declare const _default: React.MemoExoticComponent<(props: IStopDetail) => JSX.Element | null>;
5
- export default _default;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { IStopDetailHeaderProps } from "../salesQuote/typings";
3
- /**
4
- * @param props
5
- */
6
- export default function StopDetailHeader(props: IStopDetailHeaderProps): JSX.Element;
@@ -1,4 +0,0 @@
1
- export * from "./customer";
2
- export * from "./location";
3
- export * from "./quote";
4
- export * from "./marketCosts";
@@ -1,80 +0,0 @@
1
- export default class Quote_Entity {
2
- static requiredFields: string[];
3
- constructor(quoteJson: unknown);
4
- id: number;
5
- customerId: number;
6
- customerName: string;
7
- createdAt: string;
8
- commodityDescription: string;
9
- commodityDescriptionId: number;
10
- totalMiles?: number;
11
- pallets: number;
12
- pieces: number;
13
- freightClass?: string;
14
- dryVanOnly: boolean;
15
- feet: number;
16
- weight: number;
17
- type: string;
18
- stops: [
19
- {
20
- id: number;
21
- name: string;
22
- type: string;
23
- date: string;
24
- city: string;
25
- state: string;
26
- zip: string;
27
- address: {
28
- locationId: number | null;
29
- line1: string;
30
- line2?: string;
31
- city: string;
32
- state: string;
33
- zip: string;
34
- latitude: number;
35
- longitude: number;
36
- };
37
- }
38
- ];
39
- serviceLevels: [
40
- {
41
- id: string;
42
- description: string;
43
- serviceLevel: string;
44
- baseRate: number;
45
- extra: number;
46
- fuelRate: number;
47
- totalRate: number;
48
- flexible: boolean;
49
- from: string;
50
- to: string;
51
- }
52
- ];
53
- accessorials?: [
54
- {
55
- costAmount: number;
56
- name: string;
57
- accessorialId: number;
58
- stopId: number;
59
- stopName: string;
60
- }
61
- ];
62
- units: {
63
- palletDimensions: [
64
- {
65
- units: string;
66
- length: number;
67
- width: number;
68
- height: number;
69
- count: string;
70
- }
71
- ];
72
- totalDimensions: {
73
- totalWeight: string;
74
- };
75
- };
76
- api: string;
77
- version: number;
78
- transitTime?: number;
79
- temp?: string;
80
- }
@@ -1,4 +0,0 @@
1
- export * from "./components";
2
- export * from "./redux";
3
- export * from "./entities";
4
- export * from "./utils";