@etsoo/appscript 1.4.20 → 1.4.21
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/lib/cjs/business/ProductUnit.d.ts +12 -1
- package/lib/cjs/business/ProductUnit.js +14 -2
- package/lib/cjs/i18n/en.json +1 -0
- package/lib/cjs/i18n/zh-Hans.json +1 -0
- package/lib/cjs/i18n/zh-Hant.json +2 -0
- package/lib/mjs/business/ProductUnit.d.ts +12 -1
- package/lib/mjs/business/ProductUnit.js +13 -1
- package/lib/mjs/i18n/en.json +1 -0
- package/lib/mjs/i18n/zh-Hans.json +1 -0
- package/lib/mjs/i18n/zh-Hant.json +2 -0
- package/package.json +1 -1
- package/src/business/ProductUnit.ts +15 -2
- package/src/i18n/en.json +1 -0
- package/src/i18n/zh-Hans.json +1 -0
- package/src/i18n/zh-Hant.json +2 -0
|
@@ -53,6 +53,16 @@ export declare enum ProductWeightUnit {
|
|
|
53
53
|
*/
|
|
54
54
|
TON = 49
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Product other units
|
|
58
|
+
*/
|
|
59
|
+
export declare enum ProductOtherUnit {
|
|
60
|
+
/**
|
|
61
|
+
* Cubic meter
|
|
62
|
+
* 立方米
|
|
63
|
+
*/
|
|
64
|
+
M3 = 50
|
|
65
|
+
}
|
|
56
66
|
/**
|
|
57
67
|
* Product units enum
|
|
58
68
|
* Repeat options take range 10 - 39
|
|
@@ -60,6 +70,7 @@ export declare enum ProductWeightUnit {
|
|
|
60
70
|
*/
|
|
61
71
|
export declare const ProductUnit: {
|
|
62
72
|
[x: number]: string;
|
|
73
|
+
M3: ProductOtherUnit.M3;
|
|
63
74
|
GRAM: ProductWeightUnit.GRAM;
|
|
64
75
|
JIN: ProductWeightUnit.JIN;
|
|
65
76
|
KILOGRAM: ProductWeightUnit.KILOGRAM;
|
|
@@ -79,7 +90,7 @@ export declare const ProductUnit: {
|
|
|
79
90
|
PC: ProductBaseUnit.PC;
|
|
80
91
|
SET: ProductBaseUnit.SET;
|
|
81
92
|
};
|
|
82
|
-
export type ProductUnit = ProductBaseUnit | RepeatOption | ProductAssetUnit | ProductWeightUnit;
|
|
93
|
+
export type ProductUnit = ProductBaseUnit | RepeatOption | ProductAssetUnit | ProductWeightUnit | ProductOtherUnit;
|
|
83
94
|
/**
|
|
84
95
|
* Product asset units enum
|
|
85
96
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AssetUnits = exports.ProductUnit = exports.ProductWeightUnit = exports.ProductBaseUnit = void 0;
|
|
3
|
+
exports.AssetUnits = exports.ProductUnit = exports.ProductOtherUnit = exports.ProductWeightUnit = exports.ProductBaseUnit = void 0;
|
|
4
4
|
const RepeatOption_1 = require("./RepeatOption");
|
|
5
5
|
/**
|
|
6
6
|
* Product base units
|
|
@@ -59,6 +59,17 @@ var ProductWeightUnit;
|
|
|
59
59
|
*/
|
|
60
60
|
ProductWeightUnit[ProductWeightUnit["TON"] = 49] = "TON";
|
|
61
61
|
})(ProductWeightUnit || (exports.ProductWeightUnit = ProductWeightUnit = {}));
|
|
62
|
+
/**
|
|
63
|
+
* Product other units
|
|
64
|
+
*/
|
|
65
|
+
var ProductOtherUnit;
|
|
66
|
+
(function (ProductOtherUnit) {
|
|
67
|
+
/**
|
|
68
|
+
* Cubic meter
|
|
69
|
+
* 立方米
|
|
70
|
+
*/
|
|
71
|
+
ProductOtherUnit[ProductOtherUnit["M3"] = 50] = "M3";
|
|
72
|
+
})(ProductOtherUnit || (exports.ProductOtherUnit = ProductOtherUnit = {}));
|
|
62
73
|
/**
|
|
63
74
|
* Product units enum
|
|
64
75
|
* Repeat options take range 10 - 39
|
|
@@ -68,7 +79,8 @@ exports.ProductUnit = {
|
|
|
68
79
|
...ProductBaseUnit,
|
|
69
80
|
...RepeatOption_1.RepeatOption,
|
|
70
81
|
...ProductAssetUnit,
|
|
71
|
-
...ProductWeightUnit
|
|
82
|
+
...ProductWeightUnit,
|
|
83
|
+
...ProductOtherUnit
|
|
72
84
|
};
|
|
73
85
|
/**
|
|
74
86
|
* Product asset units enum
|
package/lib/cjs/i18n/en.json
CHANGED
|
@@ -53,6 +53,16 @@ export declare enum ProductWeightUnit {
|
|
|
53
53
|
*/
|
|
54
54
|
TON = 49
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Product other units
|
|
58
|
+
*/
|
|
59
|
+
export declare enum ProductOtherUnit {
|
|
60
|
+
/**
|
|
61
|
+
* Cubic meter
|
|
62
|
+
* 立方米
|
|
63
|
+
*/
|
|
64
|
+
M3 = 50
|
|
65
|
+
}
|
|
56
66
|
/**
|
|
57
67
|
* Product units enum
|
|
58
68
|
* Repeat options take range 10 - 39
|
|
@@ -60,6 +70,7 @@ export declare enum ProductWeightUnit {
|
|
|
60
70
|
*/
|
|
61
71
|
export declare const ProductUnit: {
|
|
62
72
|
[x: number]: string;
|
|
73
|
+
M3: ProductOtherUnit.M3;
|
|
63
74
|
GRAM: ProductWeightUnit.GRAM;
|
|
64
75
|
JIN: ProductWeightUnit.JIN;
|
|
65
76
|
KILOGRAM: ProductWeightUnit.KILOGRAM;
|
|
@@ -79,7 +90,7 @@ export declare const ProductUnit: {
|
|
|
79
90
|
PC: ProductBaseUnit.PC;
|
|
80
91
|
SET: ProductBaseUnit.SET;
|
|
81
92
|
};
|
|
82
|
-
export type ProductUnit = ProductBaseUnit | RepeatOption | ProductAssetUnit | ProductWeightUnit;
|
|
93
|
+
export type ProductUnit = ProductBaseUnit | RepeatOption | ProductAssetUnit | ProductWeightUnit | ProductOtherUnit;
|
|
83
94
|
/**
|
|
84
95
|
* Product asset units enum
|
|
85
96
|
*/
|
|
@@ -56,6 +56,17 @@ export var ProductWeightUnit;
|
|
|
56
56
|
*/
|
|
57
57
|
ProductWeightUnit[ProductWeightUnit["TON"] = 49] = "TON";
|
|
58
58
|
})(ProductWeightUnit || (ProductWeightUnit = {}));
|
|
59
|
+
/**
|
|
60
|
+
* Product other units
|
|
61
|
+
*/
|
|
62
|
+
export var ProductOtherUnit;
|
|
63
|
+
(function (ProductOtherUnit) {
|
|
64
|
+
/**
|
|
65
|
+
* Cubic meter
|
|
66
|
+
* 立方米
|
|
67
|
+
*/
|
|
68
|
+
ProductOtherUnit[ProductOtherUnit["M3"] = 50] = "M3";
|
|
69
|
+
})(ProductOtherUnit || (ProductOtherUnit = {}));
|
|
59
70
|
/**
|
|
60
71
|
* Product units enum
|
|
61
72
|
* Repeat options take range 10 - 39
|
|
@@ -65,7 +76,8 @@ export const ProductUnit = {
|
|
|
65
76
|
...ProductBaseUnit,
|
|
66
77
|
...RepeatOption,
|
|
67
78
|
...ProductAssetUnit,
|
|
68
|
-
...ProductWeightUnit
|
|
79
|
+
...ProductWeightUnit,
|
|
80
|
+
...ProductOtherUnit
|
|
69
81
|
};
|
|
70
82
|
/**
|
|
71
83
|
* Product asset units enum
|
package/lib/mjs/i18n/en.json
CHANGED
package/package.json
CHANGED
|
@@ -62,6 +62,17 @@ export enum ProductWeightUnit {
|
|
|
62
62
|
TON = 49
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
/**
|
|
66
|
+
* Product other units
|
|
67
|
+
*/
|
|
68
|
+
export enum ProductOtherUnit {
|
|
69
|
+
/**
|
|
70
|
+
* Cubic meter
|
|
71
|
+
* 立方米
|
|
72
|
+
*/
|
|
73
|
+
M3 = 50
|
|
74
|
+
}
|
|
75
|
+
|
|
65
76
|
/**
|
|
66
77
|
* Product units enum
|
|
67
78
|
* Repeat options take range 10 - 39
|
|
@@ -71,13 +82,15 @@ export const ProductUnit = {
|
|
|
71
82
|
...ProductBaseUnit,
|
|
72
83
|
...RepeatOption,
|
|
73
84
|
...ProductAssetUnit,
|
|
74
|
-
...ProductWeightUnit
|
|
85
|
+
...ProductWeightUnit,
|
|
86
|
+
...ProductOtherUnit
|
|
75
87
|
};
|
|
76
88
|
export type ProductUnit =
|
|
77
89
|
| ProductBaseUnit
|
|
78
90
|
| RepeatOption
|
|
79
91
|
| ProductAssetUnit
|
|
80
|
-
| ProductWeightUnit
|
|
92
|
+
| ProductWeightUnit
|
|
93
|
+
| ProductOtherUnit;
|
|
81
94
|
|
|
82
95
|
/**
|
|
83
96
|
* Product asset units enum
|
package/src/i18n/en.json
CHANGED
package/src/i18n/zh-Hans.json
CHANGED