utiller 1.0.311 → 1.0.312
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/utiller/index.js
CHANGED
|
@@ -3417,7 +3417,10 @@ var Utiller = /*#__PURE__*/function () {
|
|
|
3417
3417
|
*/
|
|
3418
3418
|
}, {
|
|
3419
3419
|
key: "generateCombinations",
|
|
3420
|
-
value: function generateCombinations(
|
|
3420
|
+
value: function generateCombinations() {
|
|
3421
|
+
for (var _len29 = arguments.length, attributes = new Array(_len29), _key39 = 0; _key39 < _len29; _key39++) {
|
|
3422
|
+
attributes[_key39] = arguments[_key39];
|
|
3423
|
+
}
|
|
3421
3424
|
var keys = attributes.map(function (attr) {
|
|
3422
3425
|
return attr.key;
|
|
3423
3426
|
}); // 屬性順序
|
|
@@ -3453,12 +3456,12 @@ var Utiller = /*#__PURE__*/function () {
|
|
|
3453
3456
|
try {
|
|
3454
3457
|
for (_iterator19.s(); !(_step19 = _iterator19.n()).done;) {
|
|
3455
3458
|
var _step19$value = _step19.value,
|
|
3456
|
-
|
|
3459
|
+
_key40 = _step19$value.key,
|
|
3457
3460
|
value = _step19$value.value,
|
|
3458
3461
|
label = _step19$value.label;
|
|
3459
|
-
trait[
|
|
3460
|
-
idParts.push("".concat(
|
|
3461
|
-
contentParts.push("".concat(labelMap[
|
|
3462
|
+
trait[_key40] = value;
|
|
3463
|
+
idParts.push("".concat(_key40, "_").concat(value));
|
|
3464
|
+
contentParts.push("".concat(labelMap[_key40].label, "\uFF1A").concat(label));
|
|
3462
3465
|
}
|
|
3463
3466
|
} catch (err) {
|
|
3464
3467
|
_iterator19.e(err);
|
package/package.json
CHANGED