@ancon/wildcat-utils 1.40.38 → 1.40.40
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.
- package/courses/constants.d.ts +1 -0
- package/courses/constants.js +1 -0
- package/courses/constants.mjs +25 -0
- package/package.json +6 -1
- package/product/calculateProductWeightByPrice.d.ts +1 -2
- package/product/calculateProductWeightByPrice.js +1 -1
- package/product/calculateProductWeightByPrice.mjs +3 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CourseColorsMapByOrder: Record<number, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={1:"#a8537b",2:"#5874cb",3:"#7e6bab",4:"#939cb0",5:"#2ab5f4",6:"#23d6c4",7:"#30b479",8:"#ecb82a",9:"#f25c4e",10:"#816257",11:"#803459",12:"#183fa0",13:"#4f4082",14:"#5d6576",15:"#1588cf",16:"#128a7f",17:"#227246",18:"#e98e23",19:"#d63b2C",20:"#5c3f36"};exports.CourseColorsMapByOrder=e;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const b = {
|
|
2
|
+
1: "#a8537b",
|
|
3
|
+
2: "#5874cb",
|
|
4
|
+
3: "#7e6bab",
|
|
5
|
+
4: "#939cb0",
|
|
6
|
+
5: "#2ab5f4",
|
|
7
|
+
6: "#23d6c4",
|
|
8
|
+
7: "#30b479",
|
|
9
|
+
8: "#ecb82a",
|
|
10
|
+
9: "#f25c4e",
|
|
11
|
+
10: "#816257",
|
|
12
|
+
11: "#803459",
|
|
13
|
+
12: "#183fa0",
|
|
14
|
+
13: "#4f4082",
|
|
15
|
+
14: "#5d6576",
|
|
16
|
+
15: "#1588cf",
|
|
17
|
+
16: "#128a7f",
|
|
18
|
+
17: "#227246",
|
|
19
|
+
18: "#e98e23",
|
|
20
|
+
19: "#d63b2C",
|
|
21
|
+
20: "#5c3f36"
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
b as CourseColorsMapByOrder
|
|
25
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ancon/wildcat-utils",
|
|
3
|
-
"version": "1.40.
|
|
3
|
+
"version": "1.40.40",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -241,6 +241,11 @@
|
|
|
241
241
|
"require": "./color/lighten.js",
|
|
242
242
|
"types": "./color/lighten.d.ts"
|
|
243
243
|
},
|
|
244
|
+
"./courses/constants": {
|
|
245
|
+
"import": "./courses/constants.mjs",
|
|
246
|
+
"require": "./courses/constants.js",
|
|
247
|
+
"types": "./courses/constants.d.ts"
|
|
248
|
+
},
|
|
244
249
|
"./currency/getFormattedCurrency": {
|
|
245
250
|
"import": "./currency/getFormattedCurrency.mjs",
|
|
246
251
|
"require": "./currency/getFormattedCurrency.js",
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function calculateProductWeightByPrice(variantPrice: VariantPrice, price: number): number;
|
|
1
|
+
export default function calculateProductWeightByPrice(variantUnitPrice: number, price: number): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function
|
|
1
|
+
"use strict";function r(t,e){return Number((e/t).toFixed(3))}module.exports=r;
|