@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipconReducer.js","sourceRoot":"","sources":["../../../src/redux/shipcon/shipconReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EACL,qBAAqB,EACrB,gCAAgC,EAChC,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,kBAAkB,CAAC;AAG1B,SAAS,SAAS;IAChB,OAAO;QACL,QAAQ,EAAE,EAAE;QACZ,cAAc,EAAE,SAAS;QACzB,iBAAiB,EAAE,SAAS;KAC7B,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,EAAE;IACnE,OAAO,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACtD,KAAK,CAAC,iBAAiB,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC;QACnD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACpD,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC;QACzC,KAAK,CAAC,QAAQ,GAAG,UAAU,CAAU,QAAQ,CAAC,CAAC;QAC/C,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,OAAO,CAAC,gCAAgC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QAClE,KAAK,CAAC,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC;QAC7D,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACvD,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;QACvC,IAAI,OAAO,EAAE;YACX,MAAM,QAAQ,GAAG,EAAE,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;YACvC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC;YAC/B,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC;SAC3B;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { AppState } from "../appState";
2
+ export declare const shipConsSelector: ((state: AppState) => import("../..").Shipcon[]) & import("reselect").OutputSelectorFields<(args_0: {
3
+ [key: number]: import("../..").Shipcon;
4
+ }) => import("../..").Shipcon[] & {
5
+ clearCache: () => void;
6
+ }> & {
7
+ clearCache: () => void;
8
+ };
9
+ export declare const shipconsForLoadSelector: (loadID?: number) => ((state: AppState) => import("../..").Shipcon[]) & import("reselect").OutputSelectorFields<(args_0: {
10
+ [key: number]: import("../..").Shipcon;
11
+ }) => import("../..").Shipcon[] & {
12
+ clearCache: () => void;
13
+ }> & {
14
+ clearCache: () => void;
15
+ };
16
+ export declare const shipconSelector: (id?: number) => ((state: AppState) => import("../..").Shipcon | undefined) & import("reselect").OutputSelectorFields<(args_0: {
17
+ [key: number]: import("../..").Shipcon;
18
+ }) => import("../..").Shipcon & {
19
+ clearCache: () => void;
20
+ }> & {
21
+ clearCache: () => void;
22
+ };
@@ -0,0 +1,19 @@
1
+ import { createSelector } from "@reduxjs/toolkit";
2
+ import { mapToArray } from "../../helpers";
3
+ const selectShipCons = (state) => state.salesKitState.shipconState.shipcons;
4
+ export const shipConsSelector = createSelector([selectShipCons], (s) => mapToArray(s));
5
+ export const shipconsForLoadSelector = (loadID) => {
6
+ return createSelector([selectShipCons], (s) => {
7
+ if (loadID)
8
+ return mapToArray(s).filter((s) => s.loadID === loadID);
9
+ return [];
10
+ });
11
+ };
12
+ export const shipconSelector = (id) => {
13
+ return createSelector([selectShipCons], (shipcons) => {
14
+ if (id)
15
+ return shipcons[id];
16
+ return undefined;
17
+ });
18
+ };
19
+ //# sourceMappingURL=shipconSelector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipconSelector.js","sourceRoot":"","sources":["../../../src/redux/shipcon/shipconSelector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,MAAM,cAAc,GAAG,CAAC,KAAe,EAAE,EAAE,CACzC,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC;AAE5C,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc,CAAC,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CACrE,UAAU,CAAC,CAAC,CAAC,CACd,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,MAAe,EAAE,EAAE;IACzD,OAAO,cAAc,CAAC,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE;QAC5C,IAAI,MAAM;YAAE,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC;QACpE,OAAO,EAAE,CAAC;IACZ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAW,EAAE,EAAE;IAC7C,OAAO,cAAc,CAAC,CAAC,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,EAAE;QACnD,IAAI,EAAE;YAAE,OAAO,QAAQ,CAAC,EAAE,CAAC,CAAC;QAC5B,OAAO,SAAS,CAAC;IACnB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Shipcon } from "../../entities/shipcon";
2
+ export interface ShipconState {
3
+ shipcons: {
4
+ [key: number]: Shipcon;
5
+ };
6
+ searchMetadata: unknown;
7
+ selectedShipconID: number | undefined;
8
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=shipconState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipconState.js","sourceRoot":"","sources":["../../../src/redux/shipcon/shipconState.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,93 +1,62 @@
1
1
  {
2
2
  "name": "@nerdjs/sales-kit",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
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",
5
+ "main": "dist/index.js",
6
+ "types": "./dist/index.d.ts",
8
7
  "module": "./dist/index.js",
9
8
  "files": [
10
9
  "dist"
11
10
  ],
12
- "engines": {
13
- "node": ">=10"
14
- },
15
11
  "scripts": {
16
- "start": "rollup -c -w",
17
- "build": "rimraf dist && rollup -c rollup.config.ts",
12
+ "build": "rimraf dist && tsc -p tsconfig.json",
13
+ "start": "tsc -p tsconfig.json -w",
18
14
  "size": "size-limit",
19
- "prettier-format": "prettier --write 'src/**/*.{ts,tsx,js,json,md}'",
15
+ "prettier-format": "prettier --write 'lib/**/*.{ts,tsx,js,json,md}'",
20
16
  "lint": "eslint . --ext .ts,.tsx",
21
17
  "lint:fix": "eslint . --ext .ts,.tsx --fix"
22
18
  },
19
+ "keywords": [],
20
+ "author": "White Arrow",
21
+ "license": "ISC",
22
+ "dependencies": {
23
+ "yup": "^0.32.11"
24
+ },
23
25
  "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"
26
+ "@emotion/react": "^11.7.1",
27
+ "@emotion/styled": "^11.6.0",
28
+ "@mui/icons-material": "^5.2.5",
29
+ "@mui/joy": "^5.0.0-alpha.56",
30
+ "@mui/material": "^5.2.7",
31
+ "@nerdjs/nerd-core": "1.0.8",
32
+ "@nerdjs/nerd-network": "1.0.19",
33
+ "@nerdjs/nerd-ui": "1.0.36",
34
+ "@reduxjs/toolkit": "^1.8.1",
35
+ "@types/react": "^18",
36
+ "@types/react-dom": "^18",
37
+ "@types/react-redux": "^7.1.24",
38
+ "react": "^18",
39
+ "react-redux": "^8.0.5",
40
+ "react-router-dom": "^6.0.2"
29
41
  },
30
- "author": "White Arrow",
31
42
  "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",
43
+ "@types/google.maps": "^3.51.0",
44
+ "@types/node": "^18.11.17",
45
+ "@types/react-color": "3.0.6",
46
+ "@types/react-helmet": "^6.1.6",
47
+ "@typescript-eslint/eslint-plugin": "^5.19.0",
48
+ "@typescript-eslint/parser": "^5.19.0",
49
+ "eslint": "^8.13.0",
45
50
  "eslint-config-prettier": "^8.5.0",
46
51
  "eslint-plugin-check-file": "^1.1.0",
47
52
  "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",
53
+ "eslint-plugin-jsdoc": "^39.2.1",
51
54
  "eslint-plugin-prettier": "^4.0.0",
52
- "eslint-plugin-react": "^7.30.1",
55
+ "eslint-plugin-react": "^7.30.0",
53
56
  "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",
57
+ "jsdoc": "^3.6.10",
58
+ "prettier": "^2.6.2",
60
59
  "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"
60
+ "typescript": "^4.7.2"
92
61
  }
93
62
  }
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { IQuoteCalendar } from "./typings";
3
- import "./calendar.scss";
4
- export declare const Calendar: (props: IQuoteCalendar) => JSX.Element;
5
- export default Calendar;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { ICalendarDay } from "./typings";
3
- import "./Day.scss";
4
- /**
5
- * @param props
6
- */
7
- export declare function Day(props: ICalendarDay): JSX.Element;
8
- export default Day;
@@ -1 +0,0 @@
1
- export * from "./day";
@@ -1,16 +0,0 @@
1
- import * as Moment from "moment";
2
- export interface ICalendarDay {
3
- classes?: object;
4
- theme?: object;
5
- day: Moment.Moment;
6
- selectable: boolean;
7
- pickup: boolean;
8
- selected?: boolean;
9
- transit: boolean;
10
- first: boolean;
11
- last: boolean;
12
- grouped: boolean;
13
- color: string;
14
- onSelect: (day: Moment.Moment) => void;
15
- flexible: boolean;
16
- }
@@ -1,2 +0,0 @@
1
- export * from "./calendar";
2
- export * from "./typings";
@@ -1,27 +0,0 @@
1
- export interface IserviceLevel {
2
- id: string;
3
- description: string;
4
- serviceLevel: string;
5
- baseRate: number;
6
- extra: number;
7
- fuelRate: number;
8
- totalRate: number;
9
- flexible: boolean;
10
- from: string | Date;
11
- to: string | Date;
12
- grouped?: boolean;
13
- }
14
- export interface IQuoteCalendar {
15
- serviceLevel: IserviceLevelWithIcon;
16
- pickupDate: string | Date;
17
- onSelect: ({ date, element, }: {
18
- date: string;
19
- element: IserviceLevel;
20
- }) => void;
21
- selected: unknown;
22
- }
23
- export interface IserviceLevelWithIcon extends IserviceLevel {
24
- iconProps: {
25
- [name: string]: string;
26
- };
27
- }
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import { AnyAction, Dispatch } from "@reduxjs/toolkit";
3
- /**
4
- * @param props
5
- */
6
- export default function CustomerFinder(props: ICustomerFinder): JSX.Element;
7
- interface ICustomerFinder {
8
- dispatch: Dispatch<AnyAction>;
9
- networkCompletionStack: Record<string, boolean>[];
10
- }
11
- export {};
@@ -1,2 +0,0 @@
1
- export * from "./customerFinder";
2
- export * from "./optionTemplate";
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- export declare const RenderOptionTemplate: ({ renderOptionProps, option, }: {
3
- renderOptionProps: React.HTMLAttributes<HTMLLIElement>;
4
- option: any;
5
- }) => JSX.Element;
6
- export default RenderOptionTemplate;
@@ -1,4 +0,0 @@
1
- export * from "./calendar";
2
- export * from "./customerFinder";
3
- export * from "./salesQuote";
4
- export * from "./shared";
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import { INewLocation } from "../../redux/quote";
3
- import { INewLocationState } from "./newLocationForm";
4
- export declare const editLocation: (props: IEditLocationProps) => JSX.Element;
5
- export default editLocation;
6
- interface IEditLocationProps {
7
- isMobile: boolean;
8
- openDialog: boolean;
9
- handleClose: <T>(reason: string, item?: T | undefined) => void;
10
- handleCallback: (disabled: boolean, newLocationData?: INewLocationState) => void;
11
- locationData: Partial<INewLocation>;
12
- onUpdateLocation: () => void;
13
- onDeleteLocation?: () => void;
14
- isDisabled: boolean;
15
- }
@@ -1 +0,0 @@
1
- export * from "./locationFinder";
@@ -1,18 +0,0 @@
1
- /// <reference types="google.maps" />
2
- /// <reference types="react" />
3
- import { INewLocation } from "../../redux/quote";
4
- import { AnyAction, Dispatch } from "@reduxjs/toolkit";
5
- import Location from "../../entities/location/helper";
6
- import { ServiceContextType } from "../salesQuote/typings";
7
- export declare const LocationByAddress: (props: {
8
- openDialog: boolean;
9
- setOpenLocationsByAddress: (event: boolean) => void;
10
- isDialogClosed: (reason: string, item?: Location) => void;
11
- selectedLocation: google.maps.GeocoderResult;
12
- dispatch: Dispatch<AnyAction>;
13
- networkCompletionStack: Record<string, boolean>[];
14
- locationState: ServiceContextType | null;
15
- isMobile: boolean;
16
- editLocation?: Location | Partial<INewLocation> | undefined;
17
- }) => JSX.Element;
18
- export default LocationByAddress;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { ILocationFinder } from "./typings";
3
- /**
4
- * @param props
5
- */
6
- export declare function LocationFinder(props: ILocationFinder): JSX.Element;
7
- export default LocationFinder;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import { Theme } from "@mui/material/styles";
3
- /**
4
- * @param props
5
- */
6
- export declare function LocationsFound<T>(props: Props<T>): JSX.Element;
7
- interface Props<T> {
8
- items: T[];
9
- theme: Theme;
10
- onLocationSelected?: (item: T) => void;
11
- }
12
- export {};
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * @param props
4
- * @param props.isMobile
5
- * @param props.handleCallback
6
- * @param props.editLocationData
7
- */
8
- export declare function NewLocationForm(props: {
9
- isMobile: boolean;
10
- handleCallback: (disabled: boolean, newLocation?: INewLocationState) => void;
11
- editLocationData?: any;
12
- }): JSX.Element;
13
- export interface INewLocationState {
14
- name: string;
15
- contact: string;
16
- phone: string;
17
- liftgate: boolean;
18
- grocery: boolean;
19
- liquor_permit: boolean;
20
- }
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- import Location from "../../entities/location/helper";
3
- export declare const RenderOptionTemplate: ({ renderOptionProps, option, renderTemplateOptions, }: {
4
- renderOptionProps: React.HTMLAttributes<HTMLLIElement>;
5
- option: any;
6
- renderTemplateOptions: Location[];
7
- }) => JSX.Element;
8
- export default RenderOptionTemplate;
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- import { AnyAction, Dispatch } from "@reduxjs/toolkit";
3
- import { INewLocation, IStateShippers } from "../../redux/quote";
4
- import { GoogleServiceContextType } from "../salesQuote/salesQuote";
5
- export interface WrapperProps<T> {
6
- item: T;
7
- renderItem: (item: T) => React.ReactNode | any;
8
- handleClose: () => void;
9
- }
10
- export declare type CustomPick<T, K extends keyof T> = {
11
- [P in K]: T[P];
12
- };
13
- export declare type newLocationPreview = CustomPick<INewLocation, "name" | "phone" | "contact" | "accessorialTags">;
14
- export interface ILocationFinder {
15
- stopType: string;
16
- dispatch: Dispatch<AnyAction>;
17
- networkCompletionStack: Record<string, boolean>[];
18
- service: GoogleServiceContextType | null;
19
- zipLocation: string;
20
- onClickListItem?: (item: React.ReactNode) => void;
21
- className?: string;
22
- onLocationSelectedHandler?: (item: Partial<IStateShippers>) => void;
23
- }
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { IQuoteObjProps } from "../../typings";
3
- import { BoxProps } from "@mui/material";
4
- export declare const AboutQuote: (props: IQuoteObjProps & BoxProps) => JSX.Element;
5
- export default AboutQuote;
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- import { SelectChangeEvent } from "@mui/material/Select";
3
- import { ICommodityDescription } from "../../../../redux/quote";
4
- declare type commodityDescription = {
5
- commodityDescriptionAxeValue: string;
6
- t: (key: string) => string | undefined;
7
- isMobile: boolean;
8
- commodityDescriptions: ICommodityDescription[];
9
- commodity: string;
10
- handleSelectChange: (event: SelectChangeEvent<string>, type: string) => void;
11
- };
12
- /**
13
- * @param props
14
- */
15
- export default function CommodityDescription(props: commodityDescription): JSX.Element;
16
- export {};
@@ -1,2 +0,0 @@
1
- export * from "./aboutQuote";
2
- export * from "./quoteCheck";
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { nerdSalesQuoteCheckProps } from "../../typings";
3
- /**
4
- * @param props
5
- */
6
- export default function QuoteCheck(props: nerdSalesQuoteCheckProps): JSX.Element;
@@ -1,11 +0,0 @@
1
- import { ReactElement } from "react";
2
- import { IPallet } from "../../typings";
3
- interface IEditPallet {
4
- fullScreen?: boolean;
5
- open: boolean;
6
- close: () => void;
7
- pallet: IPallet;
8
- save: (pallet: IPallet) => void;
9
- }
10
- declare const EditPallet: ({ fullScreen, open, close, pallet, save, }: IEditPallet) => ReactElement;
11
- export default EditPallet;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import { IPallet } from "../../typings";
3
- import { ApiError } from "@nerdjs/nerd-network";
4
- import { AnyAction, Dispatch } from "@reduxjs/toolkit";
5
- import { IPalletUnits } from "../../../../redux/quote";
6
- export declare const PalletChecker: (props: IPalletChecker) => JSX.Element;
7
- interface IPalletChecker {
8
- totalWeight: string;
9
- palletDimensions: IPallet[];
10
- dispatch: Dispatch<AnyAction>;
11
- networkCompletionStack: Record<string, boolean>[];
12
- units: IPalletUnits;
13
- stateError: ApiError;
14
- }
15
- export default PalletChecker;
@@ -1,13 +0,0 @@
1
- import { FocusEvent, KeyboardEvent, ChangeEvent } from "react";
2
- import { IPallet } from "../../typings";
3
- declare const PalletCount: ({ palletDimensions, tmpPallet, onChange, onKeyPress, onBlur, onDelete, onDimensionEdit, }: palletCount) => JSX.Element;
4
- declare type palletCount = {
5
- palletDimensions: IPallet[];
6
- tmpPallet: IPallet;
7
- onChange: (event: ChangeEvent<HTMLInputElement>) => void;
8
- onKeyPress: (event: KeyboardEvent<HTMLInputElement>) => void;
9
- onBlur: (event: FocusEvent<HTMLInputElement>) => void;
10
- onDelete: (i: number) => void;
11
- onDimensionEdit: (i: number) => void;
12
- };
13
- export default PalletCount;
@@ -1,24 +0,0 @@
1
- import React from "react";
2
- import "./QuoteCalendar.scss";
3
- import QuoteRequest from "../../../../entities/quote/helper";
4
- import { IselectedDateRangeState } from "../../../../redux/calendar";
5
- import { AnyAction, Dispatch } from "@reduxjs/toolkit";
6
- import { AppConfigServiceLevelsType } from "../../typings";
7
- /**
8
- * @param props
9
- * @param props.setIsDateSelected
10
- * @param props.isDateSelected
11
- * @param props.responseState
12
- * @param props.selectedDateRange
13
- * @param props.dispatch
14
- * @param props.appConfigServiceLevels
15
- */
16
- export declare function QuoteCalendar(props: {
17
- setIsDateSelected: (value: React.SetStateAction<boolean>) => void;
18
- isDateSelected: boolean;
19
- responseState: QuoteRequest;
20
- selectedDateRange: IselectedDateRangeState;
21
- dispatch: Dispatch<AnyAction>;
22
- appConfigServiceLevels: AppConfigServiceLevelsType;
23
- }): JSX.Element;
24
- export default QuoteCalendar;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { AnyAction, Dispatch } from "@reduxjs/toolkit";
3
- /**
4
- * @param root0
5
- * @param root0.id
6
- * @param root0.dispatch
7
- * @param root0.networkCompletionStack
8
- */
9
- declare function CostBreakdown({ id, dispatch, networkCompletionStack, }: {
10
- id: number;
11
- dispatch: Dispatch<AnyAction>;
12
- networkCompletionStack: Record<string, boolean>[];
13
- }): JSX.Element;
14
- export default CostBreakdown;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import MarketCosts from "../../../../entities/marketCosts/helper";
3
- /**
4
- * @param marketCosts
5
- */
6
- declare function MarketCostsComponent(marketCosts: MarketCosts): JSX.Element;
7
- export default MarketCostsComponent;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * @param accessorials
4
- */
5
- declare function QuoteResultAccessorials(accessorials: quoteAccessorials[]): JSX.Element;
6
- declare type quoteAccessorials = {
7
- accessorialId: number;
8
- costAmount: number;
9
- name: string;
10
- stopId: number;
11
- stopName: string;
12
- };
13
- export default QuoteResultAccessorials;
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- import { AnyAction, Dispatch } from "@reduxjs/toolkit";
3
- import QuoteRequest from "../../../../entities/quote/helper";
4
- import MarketCosts from "../../../../entities/marketCosts/helper";
5
- /**
6
- * @param props
7
- * @param props.responseState
8
- * @param props.networkCompletionStack
9
- * @param props.dispatch
10
- * @param props.marketCosts
11
- */
12
- export default function QuoteResultAccorion(props: {
13
- responseState: QuoteRequest;
14
- networkCompletionStack: Record<string, boolean>[];
15
- dispatch: Dispatch<AnyAction>;
16
- marketCosts: MarketCosts;
17
- }): JSX.Element;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IQuoteSelect } from "../typings";
3
- export declare const QuoteSelect: ({ isMobile, selectOptions, onChange, value, labelId, inputLabel, required, }: IQuoteSelect) => JSX.Element;
4
- export default QuoteSelect;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IQuoteSummary } from "./typings";
3
- declare const QuoteSummary: (props: IQuoteSummary) => JSX.Element;
4
- export default QuoteSummary;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import { quoteSummaryBodyProps } from "./typings";
3
- declare const defaultProps: {
4
- dateSelected: string;
5
- };
6
- export declare const QuoteSummaryBody: {
7
- ({ totalMiles, rowsSummaryAbout, stops, serviceLevelSelected, dateSelected, appConfigServiceLevels, }: quoteSummaryBodyProps & typeof defaultProps): JSX.Element;
8
- defaultProps: {
9
- dateSelected: string;
10
- };
11
- };
12
- export {};
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { IserviceLevel } from "../../../calendar/typings";
3
- interface IProps {
4
- serviceLevelIconColor: {
5
- [name: string]: string;
6
- };
7
- serviceLevelSelected: IserviceLevel;
8
- }
9
- declare const QuoteSummaryHeader: ({ serviceLevelIconColor, serviceLevelSelected, }: IProps) => JSX.Element;
10
- export default QuoteSummaryHeader;