@epie/bi-crud 2.0.32 → 2.0.33

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.
@@ -105,9 +105,9 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
105
105
 
106
106
  var NATIVE_BIND$2 = functionBindNative;
107
107
  var FunctionPrototype$2 = Function.prototype;
108
- var bind$5 = FunctionPrototype$2.bind;
108
+ var bind$4 = FunctionPrototype$2.bind;
109
109
  var call$5 = FunctionPrototype$2.call;
110
- var uncurryThis$d = NATIVE_BIND$2 && bind$5.bind(call$5, call$5);
110
+ var uncurryThis$d = NATIVE_BIND$2 && bind$4.bind(call$5, call$5);
111
111
  var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
112
112
  return fn && uncurryThis$d(fn);
113
113
  } : function (fn) {
@@ -1630,18 +1630,18 @@ exportTypedArrayMethod$2('set', function set(arrayLike
1630
1630
  var uncurryThis$2 = functionUncurryThis;
1631
1631
  var aCallable = aCallable$2;
1632
1632
  var NATIVE_BIND$1 = functionBindNative;
1633
- var bind$4 = uncurryThis$2(uncurryThis$2.bind); // optional / simple context binding
1633
+ var bind$3 = uncurryThis$2(uncurryThis$2.bind); // optional / simple context binding
1634
1634
 
1635
1635
  var functionBindContext = function (fn, that) {
1636
1636
  aCallable(fn);
1637
- return that === undefined ? fn : NATIVE_BIND$1 ? bind$4(fn, that) : function
1637
+ return that === undefined ? fn : NATIVE_BIND$1 ? bind$3(fn, that) : function
1638
1638
  /* ...args */
1639
1639
  () {
1640
1640
  return fn.apply(that, arguments);
1641
1641
  };
1642
1642
  };
1643
1643
 
1644
- var bind$3 = functionBindContext;
1644
+ var bind$2 = functionBindContext;
1645
1645
  var IndexedObject = indexedObject;
1646
1646
  var toObject$1 = toObject$4;
1647
1647
  var lengthOfArrayLike$1 = lengthOfArrayLike$5; // `Array.prototype.{ findLast, findLastIndex }` methods implementation
@@ -1651,7 +1651,7 @@ var createMethod = function (TYPE) {
1651
1651
  return function ($this, callbackfn, that) {
1652
1652
  var O = toObject$1($this);
1653
1653
  var self = IndexedObject(O);
1654
- var boundFunction = bind$3(callbackfn, that);
1654
+ var boundFunction = bind$2(callbackfn, that);
1655
1655
  var index = lengthOfArrayLike$1(self);
1656
1656
  var value, result;
1657
1657
 
@@ -4630,8 +4630,17 @@ var implementation$4 = function bind(that) {
4630
4630
  var implementation$3 = implementation$4;
4631
4631
  var functionBind = Function.prototype.bind || implementation$3;
4632
4632
 
4633
- var bind$2 = functionBind;
4634
- var src$1 = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
4633
+ var src$1;
4634
+ var hasRequiredSrc;
4635
+
4636
+ function requireSrc() {
4637
+ if (hasRequiredSrc) return src$1;
4638
+ hasRequiredSrc = 1;
4639
+
4640
+ var bind = functionBind;
4641
+ src$1 = bind.call(Function.call, Object.prototype.hasOwnProperty);
4642
+ return src$1;
4643
+ }
4635
4644
 
4636
4645
  var undefined$1;
4637
4646
  var $SyntaxError = SyntaxError;
@@ -4831,7 +4840,7 @@ var LEGACY_ALIASES = {
4831
4840
  '%WeakSetPrototype%': ['WeakSet', 'prototype']
4832
4841
  };
4833
4842
  var bind$1 = functionBind;
4834
- var hasOwn = src$1;
4843
+ var hasOwn = requireSrc();
4835
4844
  var $concat = bind$1.call(Function.call, Array.prototype.concat);
4836
4845
  var $spliceApply = bind$1.call(Function.apply, Array.prototype.splice);
4837
4846
  var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
@@ -6900,7 +6909,7 @@ function requireIsPropertyDescriptor() {
6900
6909
  hasRequiredIsPropertyDescriptor = 1;
6901
6910
 
6902
6911
  var GetIntrinsic = getIntrinsic;
6903
- var has = src$1;
6912
+ var has = requireSrc();
6904
6913
  var $TypeError = GetIntrinsic('%TypeError%');
6905
6914
 
6906
6915
  isPropertyDescriptor = function IsPropertyDescriptor(ES, Desc) {
@@ -6995,7 +7004,7 @@ function requireIsMatchRecord() {
6995
7004
  if (hasRequiredIsMatchRecord) return isMatchRecord;
6996
7005
  hasRequiredIsMatchRecord = 1;
6997
7006
 
6998
- var has = src$1; // https://262.ecma-international.org/13.0/#sec-match-records
7007
+ var has = requireSrc(); // https://262.ecma-international.org/13.0/#sec-match-records
6999
7008
 
7000
7009
  isMatchRecord = function isMatchRecord(record) {
7001
7010
  return has(record, '[[StartIndex]]') && has(record, '[[EndIndex]]') && record['[[StartIndex]]'] >= 0 && record['[[EndIndex]]'] >= record['[[StartIndex]]'] && String(parseInt(record['[[StartIndex]]'], 10)) === String(record['[[StartIndex]]']) && String(parseInt(record['[[EndIndex]]'], 10)) === String(record['[[EndIndex]]']);
@@ -7014,7 +7023,7 @@ function requireAssertRecord() {
7014
7023
  var GetIntrinsic = getIntrinsic;
7015
7024
  var $TypeError = GetIntrinsic('%TypeError%');
7016
7025
  var $SyntaxError = GetIntrinsic('%SyntaxError%');
7017
- var has = src$1;
7026
+ var has = requireSrc();
7018
7027
  var isMatchRecord = requireIsMatchRecord();
7019
7028
  var predicates = {
7020
7029
  // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
@@ -7136,7 +7145,7 @@ function requireIsAccessorDescriptor() {
7136
7145
  if (hasRequiredIsAccessorDescriptor) return IsAccessorDescriptor;
7137
7146
  hasRequiredIsAccessorDescriptor = 1;
7138
7147
 
7139
- var has = src$1;
7148
+ var has = requireSrc();
7140
7149
  var assertRecord = requireAssertRecord();
7141
7150
  var Type = requireType(); // https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor
7142
7151
 
@@ -7164,7 +7173,7 @@ function requireIsDataDescriptor() {
7164
7173
  if (hasRequiredIsDataDescriptor) return IsDataDescriptor;
7165
7174
  hasRequiredIsDataDescriptor = 1;
7166
7175
 
7167
- var has = src$1;
7176
+ var has = requireSrc();
7168
7177
  var assertRecord = requireAssertRecord();
7169
7178
  var Type = requireType(); // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
7170
7179
 
@@ -7370,7 +7379,7 @@ function requireToPropertyDescriptor() {
7370
7379
  if (hasRequiredToPropertyDescriptor) return ToPropertyDescriptor;
7371
7380
  hasRequiredToPropertyDescriptor = 1;
7372
7381
 
7373
- var has = src$1;
7382
+ var has = requireSrc();
7374
7383
  var GetIntrinsic = getIntrinsic;
7375
7384
  var $TypeError = GetIntrinsic('%TypeError%');
7376
7385
  var Type = requireType();
@@ -7750,7 +7759,7 @@ function requireOrdinaryGetOwnProperty() {
7750
7759
  var $TypeError = GetIntrinsic('%TypeError%');
7751
7760
  var callBound = requireCallBound();
7752
7761
  var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
7753
- var has = src$1;
7762
+ var has = requireSrc();
7754
7763
  var IsArray = requireIsArray();
7755
7764
  var IsPropertyKey = requireIsPropertyKey();
7756
7765
  var IsRegExp = requireIsRegExp();
@@ -8452,7 +8461,7 @@ function requireEsShimUnscopables() {
8452
8461
  if (hasRequiredEsShimUnscopables) return esShimUnscopables;
8453
8462
  hasRequiredEsShimUnscopables = 1;
8454
8463
 
8455
- var has = src$1;
8464
+ var has = requireSrc();
8456
8465
  var hasUnscopables = typeof Symbol === 'function' && typeof Symbol.unscopables === 'symbol';
8457
8466
  var map = hasUnscopables && Array.prototype[Symbol.unscopables];
8458
8467
  var $TypeError = TypeError;
@@ -33036,7 +33045,7 @@ function useRender({
33036
33045
  ...item
33037
33046
  }; // 绑定值
33038
33047
 
33039
- let value = row[item.prop]; // 使用插槽
33048
+ let value = get(row, item.prop); // 使用插槽
33040
33049
 
33041
33050
  const slot = slots[`column-${item.prop}`]; // 格式化
33042
33051
 
@@ -108,9 +108,9 @@
108
108
 
109
109
  var NATIVE_BIND$2 = functionBindNative;
110
110
  var FunctionPrototype$2 = Function.prototype;
111
- var bind$5 = FunctionPrototype$2.bind;
111
+ var bind$4 = FunctionPrototype$2.bind;
112
112
  var call$5 = FunctionPrototype$2.call;
113
- var uncurryThis$d = NATIVE_BIND$2 && bind$5.bind(call$5, call$5);
113
+ var uncurryThis$d = NATIVE_BIND$2 && bind$4.bind(call$5, call$5);
114
114
  var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
115
115
  return fn && uncurryThis$d(fn);
116
116
  } : function (fn) {
@@ -1633,18 +1633,18 @@
1633
1633
  var uncurryThis$2 = functionUncurryThis;
1634
1634
  var aCallable = aCallable$2;
1635
1635
  var NATIVE_BIND$1 = functionBindNative;
1636
- var bind$4 = uncurryThis$2(uncurryThis$2.bind); // optional / simple context binding
1636
+ var bind$3 = uncurryThis$2(uncurryThis$2.bind); // optional / simple context binding
1637
1637
 
1638
1638
  var functionBindContext = function (fn, that) {
1639
1639
  aCallable(fn);
1640
- return that === undefined ? fn : NATIVE_BIND$1 ? bind$4(fn, that) : function
1640
+ return that === undefined ? fn : NATIVE_BIND$1 ? bind$3(fn, that) : function
1641
1641
  /* ...args */
1642
1642
  () {
1643
1643
  return fn.apply(that, arguments);
1644
1644
  };
1645
1645
  };
1646
1646
 
1647
- var bind$3 = functionBindContext;
1647
+ var bind$2 = functionBindContext;
1648
1648
  var IndexedObject = indexedObject;
1649
1649
  var toObject$1 = toObject$4;
1650
1650
  var lengthOfArrayLike$1 = lengthOfArrayLike$5; // `Array.prototype.{ findLast, findLastIndex }` methods implementation
@@ -1654,7 +1654,7 @@
1654
1654
  return function ($this, callbackfn, that) {
1655
1655
  var O = toObject$1($this);
1656
1656
  var self = IndexedObject(O);
1657
- var boundFunction = bind$3(callbackfn, that);
1657
+ var boundFunction = bind$2(callbackfn, that);
1658
1658
  var index = lengthOfArrayLike$1(self);
1659
1659
  var value, result;
1660
1660
 
@@ -4633,8 +4633,17 @@
4633
4633
  var implementation$3 = implementation$4;
4634
4634
  var functionBind = Function.prototype.bind || implementation$3;
4635
4635
 
4636
- var bind$2 = functionBind;
4637
- var src$1 = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
4636
+ var src$1;
4637
+ var hasRequiredSrc;
4638
+
4639
+ function requireSrc() {
4640
+ if (hasRequiredSrc) return src$1;
4641
+ hasRequiredSrc = 1;
4642
+
4643
+ var bind = functionBind;
4644
+ src$1 = bind.call(Function.call, Object.prototype.hasOwnProperty);
4645
+ return src$1;
4646
+ }
4638
4647
 
4639
4648
  var undefined$1;
4640
4649
  var $SyntaxError = SyntaxError;
@@ -4834,7 +4843,7 @@
4834
4843
  '%WeakSetPrototype%': ['WeakSet', 'prototype']
4835
4844
  };
4836
4845
  var bind$1 = functionBind;
4837
- var hasOwn = src$1;
4846
+ var hasOwn = requireSrc();
4838
4847
  var $concat = bind$1.call(Function.call, Array.prototype.concat);
4839
4848
  var $spliceApply = bind$1.call(Function.apply, Array.prototype.splice);
4840
4849
  var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
@@ -6903,7 +6912,7 @@
6903
6912
  hasRequiredIsPropertyDescriptor = 1;
6904
6913
 
6905
6914
  var GetIntrinsic = getIntrinsic;
6906
- var has = src$1;
6915
+ var has = requireSrc();
6907
6916
  var $TypeError = GetIntrinsic('%TypeError%');
6908
6917
 
6909
6918
  isPropertyDescriptor = function IsPropertyDescriptor(ES, Desc) {
@@ -6998,7 +7007,7 @@
6998
7007
  if (hasRequiredIsMatchRecord) return isMatchRecord;
6999
7008
  hasRequiredIsMatchRecord = 1;
7000
7009
 
7001
- var has = src$1; // https://262.ecma-international.org/13.0/#sec-match-records
7010
+ var has = requireSrc(); // https://262.ecma-international.org/13.0/#sec-match-records
7002
7011
 
7003
7012
  isMatchRecord = function isMatchRecord(record) {
7004
7013
  return has(record, '[[StartIndex]]') && has(record, '[[EndIndex]]') && record['[[StartIndex]]'] >= 0 && record['[[EndIndex]]'] >= record['[[StartIndex]]'] && String(parseInt(record['[[StartIndex]]'], 10)) === String(record['[[StartIndex]]']) && String(parseInt(record['[[EndIndex]]'], 10)) === String(record['[[EndIndex]]']);
@@ -7017,7 +7026,7 @@
7017
7026
  var GetIntrinsic = getIntrinsic;
7018
7027
  var $TypeError = GetIntrinsic('%TypeError%');
7019
7028
  var $SyntaxError = GetIntrinsic('%SyntaxError%');
7020
- var has = src$1;
7029
+ var has = requireSrc();
7021
7030
  var isMatchRecord = requireIsMatchRecord();
7022
7031
  var predicates = {
7023
7032
  // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
@@ -7139,7 +7148,7 @@
7139
7148
  if (hasRequiredIsAccessorDescriptor) return IsAccessorDescriptor;
7140
7149
  hasRequiredIsAccessorDescriptor = 1;
7141
7150
 
7142
- var has = src$1;
7151
+ var has = requireSrc();
7143
7152
  var assertRecord = requireAssertRecord();
7144
7153
  var Type = requireType(); // https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor
7145
7154
 
@@ -7167,7 +7176,7 @@
7167
7176
  if (hasRequiredIsDataDescriptor) return IsDataDescriptor;
7168
7177
  hasRequiredIsDataDescriptor = 1;
7169
7178
 
7170
- var has = src$1;
7179
+ var has = requireSrc();
7171
7180
  var assertRecord = requireAssertRecord();
7172
7181
  var Type = requireType(); // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
7173
7182
 
@@ -7373,7 +7382,7 @@
7373
7382
  if (hasRequiredToPropertyDescriptor) return ToPropertyDescriptor;
7374
7383
  hasRequiredToPropertyDescriptor = 1;
7375
7384
 
7376
- var has = src$1;
7385
+ var has = requireSrc();
7377
7386
  var GetIntrinsic = getIntrinsic;
7378
7387
  var $TypeError = GetIntrinsic('%TypeError%');
7379
7388
  var Type = requireType();
@@ -7753,7 +7762,7 @@
7753
7762
  var $TypeError = GetIntrinsic('%TypeError%');
7754
7763
  var callBound = requireCallBound();
7755
7764
  var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
7756
- var has = src$1;
7765
+ var has = requireSrc();
7757
7766
  var IsArray = requireIsArray();
7758
7767
  var IsPropertyKey = requireIsPropertyKey();
7759
7768
  var IsRegExp = requireIsRegExp();
@@ -8455,7 +8464,7 @@
8455
8464
  if (hasRequiredEsShimUnscopables) return esShimUnscopables;
8456
8465
  hasRequiredEsShimUnscopables = 1;
8457
8466
 
8458
- var has = src$1;
8467
+ var has = requireSrc();
8459
8468
  var hasUnscopables = typeof Symbol === 'function' && typeof Symbol.unscopables === 'symbol';
8460
8469
  var map = hasUnscopables && Array.prototype[Symbol.unscopables];
8461
8470
  var $TypeError = TypeError;
@@ -33039,7 +33048,7 @@
33039
33048
  ...item
33040
33049
  }; // 绑定值
33041
33050
 
33042
- let value = row[item.prop]; // 使用插槽
33051
+ let value = get(row, item.prop); // 使用插槽
33043
33052
 
33044
33053
  const slot = slots[`column-${item.prop}`]; // 格式化
33045
33054
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epie/bi-crud",
3
3
  "simpleName": "bi-crud",
4
- "version": "2.0.32",
4
+ "version": "2.0.33",
5
5
  "private": false,
6
6
  "main": "lib/bi-crud.umd.js",
7
7
  "module": "lib/bi-crud.esm.js",