@bytebrand/fe-ui-core 4.2.63 → 4.2.65

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 (3) hide show
  1. package/package.json +1 -1
  2. package/utils.ts +23 -1
  3. package/commonUtils.ts +0 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.2.63",
3
+ "version": "4.2.65",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
package/utils.ts CHANGED
@@ -1,3 +1,5 @@
1
+ // Date utils
2
+
1
3
  export {
2
4
  timestampToDate,
3
5
  formatTimestamp,
@@ -14,7 +16,27 @@ export {
14
16
  getYears,
15
17
  createDateAsUTC
16
18
  } from './source/framework/utils/DateUtils';
17
- export { getPriceRating, getPriceRatingConfig } from './source/framework/utils/CommonUtils';
19
+
20
+ // Common utils
21
+
22
+ export {
23
+ getPriceRating,
24
+ getPriceRatingConfig,
25
+ addPrefixToKeys,
26
+ arrToObj,
27
+ checkRangeValuesOnEqual,
28
+ fixNumber,
29
+ formatMileage,
30
+ getChipFilterValue,
31
+ getFormattedPrice,
32
+ getGroupValuesForQuery,
33
+ getOfferSliders,
34
+ preloadNearbyImages,
35
+ sliceLessThan,
36
+ sliceMoreThan,
37
+ buildQueryForSearch,
38
+ buildBodyForRequest
39
+ } from './source/framework/utils/CommonUtils';
18
40
 
19
41
  export {
20
42
  getVehicleDetails,
package/commonUtils.ts DELETED
@@ -1,11 +0,0 @@
1
- import {
2
- addPrefixToKeys,
3
- arrToObj,
4
- checkRangeValuesOnEqual
5
- } from "./source/framework/utils/CommonUtils";
6
-
7
- export {
8
- addPrefixToKeys,
9
- arrToObj,
10
- checkRangeValuesOnEqual
11
- };