asv-hlps 1.3.20 → 1.3.22

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.
@@ -16,6 +16,7 @@ export interface ProductStore {
16
16
  pghtPrice?: number;
17
17
  costPrice?: number;
18
18
  salePrice?: number;
19
+ profit?: number;
19
20
  profitPhcie?: number;
20
21
  publicPrice?: number;
21
22
  isActive?: boolean;
package/lib/cjs/utils.js CHANGED
@@ -7,7 +7,7 @@ exports.unCheckedAll = exports.inputChecked = exports.arrayMultiChecked = export
7
7
  exports.toggleProp = exports.removeParamKeyName = exports.countryIsoToFlag = exports.dateFormatter = exports.monthStringName = exports.returnBool = exports.formatAmountToString = exports.reduceSum = exports.sumAmount = exports.fillEndWithZero = exports.fillStartWithZero = exports.absFromSequence = exports.returnDates = exports.displayFrDatePeriode = exports.getArrayOfRandomColor = exports.randomHslColor = exports.randomHexColor = exports.randomRgbColor = exports.randomInteger = exports.insertAtInArray = exports.isBirthday = exports.padEndWithZero = exports.padStartWithZero = exports.formatMonthYearToLocaleString = exports.calculPercent = exports.validEmail = exports.convertToCfa = exports.packAndUnit = void 0;
8
8
  const dayjs_1 = __importDefault(require("dayjs"));
9
9
  const lodash_1 = __importDefault(require("lodash"));
10
- require("dayjs/locale/fr");
10
+ // require("dayjs/locale/fr");
11
11
  const formatDateYmdHypen = (date) => {
12
12
  return (0, exports.formatDateYmd)(date, "-");
13
13
  };
@@ -16,6 +16,7 @@ export interface ProductStore {
16
16
  pghtPrice?: number;
17
17
  costPrice?: number;
18
18
  salePrice?: number;
19
+ profit?: number;
19
20
  profitPhcie?: number;
20
21
  publicPrice?: number;
21
22
  isActive?: boolean;
package/lib/esm/utils.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import dayjs from "dayjs";
2
2
  import lodash from "lodash";
3
- require("dayjs/locale/fr");
3
+ // require("dayjs/locale/fr");
4
4
  export const formatDateYmdHypen = (date) => {
5
5
  return formatDateYmd(date, "-");
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asv-hlps",
3
- "version": "1.3.20",
3
+ "version": "1.3.22",
4
4
  "description": "helpers",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",
@@ -16,15 +16,15 @@
16
16
  "author": "Aril Vignon",
17
17
  "license": "ISC",
18
18
  "devDependencies": {
19
- "@types/bcryptjs": "^2.4.2",
20
- "@types/lodash": "^4.14.195",
19
+ "@types/bcryptjs": "^2.4.4",
20
+ "@types/lodash": "^4.14.198",
21
21
  "@types/pdfmake": "^0.2.2",
22
22
  "@types/randomatic": "^3.1.3",
23
- "@types/react": "^18.2.15",
24
- "typescript": "^5.1.6"
23
+ "@types/react": "^18.2.21",
24
+ "typescript": "^5.2.2"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "^1.4.0",
27
+ "axios": "^1.5.0",
28
28
  "bcryptjs": "^2.4.3",
29
29
  "classnames": "^2.3.2",
30
30
  "dayjs": "^1.11.9",