@ibiz-template/model-helper 0.1.30 → 0.1.32
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/dist/index.esm.js +9 -32
- package/dist/index.system.min.js.map +1 -1
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
|
@@ -14731,12 +14731,12 @@ function formatPath(path) {
|
|
|
14731
14731
|
return path;
|
|
14732
14732
|
}
|
|
14733
14733
|
|
|
14734
|
-
// ../../node_modules/.pnpm/ramda@0.29.
|
|
14734
|
+
// ../../node_modules/.pnpm/ramda@0.29.1/node_modules/ramda/es/internal/_isPlaceholder.js
|
|
14735
14735
|
function _isPlaceholder(a) {
|
|
14736
14736
|
return a != null && typeof a === "object" && a["@@functional/placeholder"] === true;
|
|
14737
14737
|
}
|
|
14738
14738
|
|
|
14739
|
-
// ../../node_modules/.pnpm/ramda@0.29.
|
|
14739
|
+
// ../../node_modules/.pnpm/ramda@0.29.1/node_modules/ramda/es/internal/_curry1.js
|
|
14740
14740
|
function _curry1(fn) {
|
|
14741
14741
|
return function f1(a) {
|
|
14742
14742
|
if (arguments.length === 0 || _isPlaceholder(a)) {
|
|
@@ -14747,7 +14747,7 @@ function _curry1(fn) {
|
|
|
14747
14747
|
};
|
|
14748
14748
|
}
|
|
14749
14749
|
|
|
14750
|
-
// ../../node_modules/.pnpm/ramda@0.29.
|
|
14750
|
+
// ../../node_modules/.pnpm/ramda@0.29.1/node_modules/ramda/es/internal/_curry2.js
|
|
14751
14751
|
function _curry2(fn) {
|
|
14752
14752
|
return function f2(a, b) {
|
|
14753
14753
|
switch (arguments.length) {
|
|
@@ -14767,7 +14767,7 @@ function _curry2(fn) {
|
|
|
14767
14767
|
};
|
|
14768
14768
|
}
|
|
14769
14769
|
|
|
14770
|
-
// ../../node_modules/.pnpm/ramda@0.29.
|
|
14770
|
+
// ../../node_modules/.pnpm/ramda@0.29.1/node_modules/ramda/es/internal/_curry3.js
|
|
14771
14771
|
function _curry3(fn) {
|
|
14772
14772
|
return function f3(a, b, c) {
|
|
14773
14773
|
switch (arguments.length) {
|
|
@@ -14803,37 +14803,17 @@ function _curry3(fn) {
|
|
|
14803
14803
|
};
|
|
14804
14804
|
}
|
|
14805
14805
|
|
|
14806
|
-
// ../../node_modules/.pnpm/ramda@0.29.
|
|
14807
|
-
var isArray_default = Array.isArray || function _isArray(val) {
|
|
14808
|
-
return val != null && val.length >= 0 && Object.prototype.toString.call(val) === "[object Array]";
|
|
14809
|
-
};
|
|
14810
|
-
|
|
14811
|
-
// ../../node_modules/.pnpm/ramda@0.29.0/node_modules/ramda/es/internal/_has.js
|
|
14806
|
+
// ../../node_modules/.pnpm/ramda@0.29.1/node_modules/ramda/es/internal/_has.js
|
|
14812
14807
|
function _has(prop, obj) {
|
|
14813
14808
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
14814
14809
|
}
|
|
14815
14810
|
|
|
14816
|
-
// ../../node_modules/.pnpm/ramda@0.29.
|
|
14817
|
-
var pad = function pad2(n) {
|
|
14818
|
-
return (n < 10 ? "0" : "") + n;
|
|
14819
|
-
};
|
|
14820
|
-
var _toISOString = typeof Date.prototype.toISOString === "function" ? function _toISOString2(d) {
|
|
14821
|
-
return d.toISOString();
|
|
14822
|
-
} : function _toISOString3(d) {
|
|
14823
|
-
return d.getUTCFullYear() + "-" + pad(d.getUTCMonth() + 1) + "-" + pad(d.getUTCDate()) + "T" + pad(d.getUTCHours()) + ":" + pad(d.getUTCMinutes()) + ":" + pad(d.getUTCSeconds()) + "." + (d.getUTCMilliseconds() / 1e3).toFixed(3).slice(2, 5) + "Z";
|
|
14824
|
-
};
|
|
14825
|
-
|
|
14826
|
-
// ../../node_modules/.pnpm/ramda@0.29.0/node_modules/ramda/es/internal/_isObject.js
|
|
14811
|
+
// ../../node_modules/.pnpm/ramda@0.29.1/node_modules/ramda/es/internal/_isObject.js
|
|
14827
14812
|
function _isObject(x) {
|
|
14828
14813
|
return Object.prototype.toString.call(x) === "[object Object]";
|
|
14829
14814
|
}
|
|
14830
14815
|
|
|
14831
|
-
// ../../node_modules/.pnpm/ramda@0.29.
|
|
14832
|
-
var isInteger_default = Number.isInteger || function _isInteger(n) {
|
|
14833
|
-
return n << 0 === n;
|
|
14834
|
-
};
|
|
14835
|
-
|
|
14836
|
-
// ../../node_modules/.pnpm/ramda@0.29.0/node_modules/ramda/es/mergeWithKey.js
|
|
14816
|
+
// ../../node_modules/.pnpm/ramda@0.29.1/node_modules/ramda/es/mergeWithKey.js
|
|
14837
14817
|
var mergeWithKey = /* @__PURE__ */ _curry3(function mergeWithKey2(fn, l, r) {
|
|
14838
14818
|
var result = {};
|
|
14839
14819
|
var k;
|
|
@@ -14853,7 +14833,7 @@ var mergeWithKey = /* @__PURE__ */ _curry3(function mergeWithKey2(fn, l, r) {
|
|
|
14853
14833
|
});
|
|
14854
14834
|
var mergeWithKey_default = mergeWithKey;
|
|
14855
14835
|
|
|
14856
|
-
// ../../node_modules/.pnpm/ramda@0.29.
|
|
14836
|
+
// ../../node_modules/.pnpm/ramda@0.29.1/node_modules/ramda/es/mergeDeepWithKey.js
|
|
14857
14837
|
var mergeDeepWithKey = /* @__PURE__ */ _curry3(function mergeDeepWithKey2(fn, lObj, rObj) {
|
|
14858
14838
|
return mergeWithKey_default(function(k, lVal, rVal) {
|
|
14859
14839
|
if (_isObject(lVal) && _isObject(rVal)) {
|
|
@@ -14865,7 +14845,7 @@ var mergeDeepWithKey = /* @__PURE__ */ _curry3(function mergeDeepWithKey2(fn, lO
|
|
|
14865
14845
|
});
|
|
14866
14846
|
var mergeDeepWithKey_default = mergeDeepWithKey;
|
|
14867
14847
|
|
|
14868
|
-
// ../../node_modules/.pnpm/ramda@0.29.
|
|
14848
|
+
// ../../node_modules/.pnpm/ramda@0.29.1/node_modules/ramda/es/mergeDeepLeft.js
|
|
14869
14849
|
var mergeDeepLeft = /* @__PURE__ */ _curry2(function mergeDeepLeft2(lObj, rObj) {
|
|
14870
14850
|
return mergeDeepWithKey_default(function(k, lVal, rVal) {
|
|
14871
14851
|
return lVal;
|
|
@@ -14873,9 +14853,6 @@ var mergeDeepLeft = /* @__PURE__ */ _curry2(function mergeDeepLeft2(lObj, rObj)
|
|
|
14873
14853
|
});
|
|
14874
14854
|
var mergeDeepLeft_default = mergeDeepLeft;
|
|
14875
14855
|
|
|
14876
|
-
// ../../node_modules/.pnpm/ramda@0.29.0/node_modules/ramda/es/trim.js
|
|
14877
|
-
var hasProtoTrim = typeof String.prototype.trim === "function";
|
|
14878
|
-
|
|
14879
14856
|
// src/utils/merge-model/merge-model.ts
|
|
14880
14857
|
function mergeModel(models, m, tag) {
|
|
14881
14858
|
models.forEach((model) => {
|