@epie/bi-crud 2.0.38 → 2.0.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.
@@ -74,9 +74,9 @@ var functionBindNative = !fails$9(function () {
74
74
  });
75
75
 
76
76
  var NATIVE_BIND$1 = functionBindNative;
77
- var call$5 = Function.prototype.call;
78
- var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
79
- return call$5.apply(call$5, arguments);
77
+ var call$4 = Function.prototype.call;
78
+ var functionCall = NATIVE_BIND$1 ? call$4.bind(call$4) : function () {
79
+ return call$4.apply(call$4, arguments);
80
80
  };
81
81
 
82
82
  var objectPropertyIsEnumerable = {};
@@ -108,11 +108,11 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
108
108
 
109
109
  var NATIVE_BIND = functionBindNative;
110
110
  var FunctionPrototype$1 = Function.prototype;
111
- var call$4 = FunctionPrototype$1.call;
112
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
111
+ var call$3 = FunctionPrototype$1.call;
112
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$3, call$3);
113
113
  var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
114
114
  return function () {
115
- return call$4.apply(fn, arguments);
115
+ return call$3.apply(fn, arguments);
116
116
  };
117
117
  };
118
118
 
@@ -293,7 +293,7 @@ var getMethod$1 = function (V, P) {
293
293
  return isNullOrUndefined$1(func) ? undefined : aCallable$2(func);
294
294
  };
295
295
 
296
- var call$3 = functionCall;
296
+ var call$2 = functionCall;
297
297
  var isCallable$a = isCallable$f;
298
298
  var isObject$9 = isObject$a;
299
299
  var $TypeError$f = TypeError;
@@ -302,9 +302,9 @@ var $TypeError$f = TypeError;
302
302
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
303
303
  var ordinaryToPrimitive$1 = function (input, pref) {
304
304
  var fn, val;
305
- if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$9(val = call$3(fn, input))) return val;
306
- if (isCallable$a(fn = input.valueOf) && !isObject$9(val = call$3(fn, input))) return val;
307
- if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$9(val = call$3(fn, input))) return val;
305
+ if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$9(val = call$2(fn, input))) return val;
306
+ if (isCallable$a(fn = input.valueOf) && !isObject$9(val = call$2(fn, input))) return val;
307
+ if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$9(val = call$2(fn, input))) return val;
308
308
  throw new $TypeError$f("Can't convert object to primitive value");
309
309
  };
310
310
 
@@ -388,7 +388,7 @@ var wellKnownSymbol$4 = function (name) {
388
388
  return WellKnownSymbolsStore[name];
389
389
  };
390
390
 
391
- var call$2 = functionCall;
391
+ var call$1 = functionCall;
392
392
  var isObject$8 = isObject$a;
393
393
  var isSymbol$4 = isSymbol$5;
394
394
  var getMethod = getMethod$1;
@@ -405,7 +405,7 @@ var toPrimitive$2 = function (input, pref) {
405
405
  var result;
406
406
  if (exoticToPrim) {
407
407
  if (pref === undefined) pref = 'default';
408
- result = call$2(exoticToPrim, input, pref);
408
+ result = call$1(exoticToPrim, input, pref);
409
409
  if (!isObject$8(result) || isSymbol$4(result)) return result;
410
410
  throw new $TypeError$e("Can't convert object to primitive value");
411
411
  }
@@ -447,7 +447,7 @@ var ie8DomDefine = !DESCRIPTORS$9 && !fails$6(function () {
447
447
  });
448
448
 
449
449
  var DESCRIPTORS$8 = descriptors;
450
- var call$1 = functionCall;
450
+ var call = functionCall;
451
451
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
452
452
  var createPropertyDescriptor$1 = createPropertyDescriptor$2;
453
453
  var toIndexedObject$2 = toIndexedObject$3;
@@ -466,7 +466,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 :
466
466
  if (IE8_DOM_DEFINE$1) try {
467
467
  return $getOwnPropertyDescriptor$1(O, P);
468
468
  } catch (error) {/* empty */}
469
- if (hasOwn$8(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule.f, O, P), O[P]);
469
+ if (hasOwn$8(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
470
470
  };
471
471
 
472
472
  var objectDefineProperty = {};
@@ -4123,12 +4123,19 @@ var implementation$5 = function bind(that) {
4123
4123
  var implementation$4 = implementation$5;
4124
4124
  var functionBind = Function.prototype.bind || implementation$4;
4125
4125
 
4126
- var call = Function.prototype.call;
4127
- var $hasOwn = Object.prototype.hasOwnProperty;
4128
- var bind$2 = functionBind;
4126
+ var hasown;
4127
+ var hasRequiredHasown;
4128
+ function requireHasown() {
4129
+ if (hasRequiredHasown) return hasown;
4130
+ hasRequiredHasown = 1;
4131
+ var call = Function.prototype.call;
4132
+ var $hasOwn = Object.prototype.hasOwnProperty;
4133
+ var bind = functionBind;
4129
4134
 
4130
- /** @type {(o: {}, p: PropertyKey) => p is keyof o} */
4131
- var hasown = bind$2.call(call, $hasOwn);
4135
+ /** @type {(o: {}, p: PropertyKey) => p is keyof o} */
4136
+ hasown = bind.call(call, $hasOwn);
4137
+ return hasown;
4138
+ }
4132
4139
 
4133
4140
  var undefined$1;
4134
4141
  var $SyntaxError$1 = SyntaxError;
@@ -4328,7 +4335,7 @@ var LEGACY_ALIASES = {
4328
4335
  '%WeakSetPrototype%': ['WeakSet', 'prototype']
4329
4336
  };
4330
4337
  var bind$1 = functionBind;
4331
- var hasOwn = hasown;
4338
+ var hasOwn = requireHasown();
4332
4339
  var $concat = bind$1.call(Function.call, Array.prototype.concat);
4333
4340
  var $spliceApply = bind$1.call(Function.apply, Array.prototype.splice);
4334
4341
  var $replace = bind$1.call(Function.call, String.prototype.replace);
@@ -6266,7 +6273,7 @@ function requireIsPropertyDescriptor() {
6266
6273
  if (hasRequiredIsPropertyDescriptor) return isPropertyDescriptor;
6267
6274
  hasRequiredIsPropertyDescriptor = 1;
6268
6275
  var GetIntrinsic = getIntrinsic;
6269
- var hasOwn = hasown;
6276
+ var hasOwn = requireHasown();
6270
6277
  var $TypeError = GetIntrinsic('%TypeError%');
6271
6278
  isPropertyDescriptor = function IsPropertyDescriptor(ES, Desc) {
6272
6279
  if (ES.Type(Desc) !== 'Object') {
@@ -6348,7 +6355,7 @@ var hasRequiredIsMatchRecord;
6348
6355
  function requireIsMatchRecord() {
6349
6356
  if (hasRequiredIsMatchRecord) return isMatchRecord;
6350
6357
  hasRequiredIsMatchRecord = 1;
6351
- var hasOwn = hasown;
6358
+ var hasOwn = requireHasown();
6352
6359
 
6353
6360
  // https://262.ecma-international.org/13.0/#sec-match-records
6354
6361
 
@@ -6366,7 +6373,7 @@ function requireAssertRecord() {
6366
6373
  var GetIntrinsic = getIntrinsic;
6367
6374
  var $TypeError = GetIntrinsic('%TypeError%');
6368
6375
  var $SyntaxError = GetIntrinsic('%SyntaxError%');
6369
- var hasOwn = hasown;
6376
+ var hasOwn = requireHasown();
6370
6377
  var isInteger = requireIsInteger();
6371
6378
  var isMatchRecord = requireIsMatchRecord();
6372
6379
  var predicates = {
@@ -6482,7 +6489,7 @@ var hasRequiredIsAccessorDescriptor;
6482
6489
  function requireIsAccessorDescriptor() {
6483
6490
  if (hasRequiredIsAccessorDescriptor) return IsAccessorDescriptor;
6484
6491
  hasRequiredIsAccessorDescriptor = 1;
6485
- var hasOwn = hasown;
6492
+ var hasOwn = requireHasown();
6486
6493
  var Type = requireType();
6487
6494
  var assertRecord = requireAssertRecord();
6488
6495
 
@@ -6506,7 +6513,7 @@ var hasRequiredIsDataDescriptor;
6506
6513
  function requireIsDataDescriptor() {
6507
6514
  if (hasRequiredIsDataDescriptor) return IsDataDescriptor;
6508
6515
  hasRequiredIsDataDescriptor = 1;
6509
- var hasOwn = hasown;
6516
+ var hasOwn = requireHasown();
6510
6517
  var Type = requireType();
6511
6518
  var assertRecord = requireAssertRecord();
6512
6519
 
@@ -6705,7 +6712,7 @@ var hasRequiredToPropertyDescriptor;
6705
6712
  function requireToPropertyDescriptor() {
6706
6713
  if (hasRequiredToPropertyDescriptor) return ToPropertyDescriptor;
6707
6714
  hasRequiredToPropertyDescriptor = 1;
6708
- var hasOwn = hasown;
6715
+ var hasOwn = requireHasown();
6709
6716
  var GetIntrinsic = getIntrinsic;
6710
6717
  var $TypeError = GetIntrinsic('%TypeError%');
6711
6718
  var Type = requireType();
@@ -7899,7 +7906,7 @@ var hasRequiredEsShimUnscopables;
7899
7906
  function requireEsShimUnscopables() {
7900
7907
  if (hasRequiredEsShimUnscopables) return esShimUnscopables;
7901
7908
  hasRequiredEsShimUnscopables = 1;
7902
- var hasOwn = hasown;
7909
+ var hasOwn = requireHasown();
7903
7910
  var hasUnscopables = typeof Symbol === 'function' && typeof Symbol.unscopables === 'symbol';
7904
7911
  var map = hasUnscopables && Array.prototype[Symbol.unscopables];
7905
7912
  var $TypeError = TypeError;
@@ -8960,8 +8967,10 @@ function useCore() {
8960
8967
  };
8961
8968
  }
8962
8969
  // 设置权限
8963
- function useSetPermission(app, permissions) {
8964
- app.provide("epie-permission", permissions);
8970
+ function useSetPermission(permissions) {
8971
+ // @ts-ignore
8972
+ window.__crudApp__.provide("epie-permission", permissions);
8973
+ // app.provide("epie-permission", permissions)
8965
8974
  }
8966
8975
  function usePermission() {
8967
8976
  const permissions = inject("epie-permission");
@@ -31139,9 +31148,15 @@ const components = {
31139
31148
  EpieDescriptions,
31140
31149
  EpieDuration
31141
31150
  };
31151
+ const kebabToPascal = kebabName => {
31152
+ return kebabName.split('-') // 按短横线分割
31153
+ .map(word => word.charAt(0).toUpperCase() + word.slice(1)) // 每部分首字母大写
31154
+ .join(''); // 拼接成 PascalCase
31155
+ };
31142
31156
  function useComponent(app) {
31143
31157
  for (const i in components) {
31144
31158
  app.component(components[i].name, components[i]);
31159
+ app.component(kebabToPascal(components[i].name), components[i]);
31145
31160
  }
31146
31161
  }
31147
31162
 
@@ -31247,4 +31262,4 @@ const Crud = {
31247
31262
  };
31248
31263
  // export { ContextMenu } from "./components/context-menu";
31249
31264
 
31250
- export { EpieDescriptions, EpieInlineSearch, components, crudList, Crud as default, emitter$1 as emitter, EnglishEpie as enUSEpie, epieDescriptionsProps, epieInlineSearchProps, useAdvSearch, useBrowser, useComponent, useCore, useCrud, useDescriptions, useDialog, useForm, usePermission, useProxy, useRefs, useSetPermission, useTable, useTools, useUpsert, zhCN as zhCNEpie };
31265
+ export { EpieDescriptions, EpieInlineSearch, components, crudList, Crud as default, emitter$1 as emitter, EnglishEpie as enUSEpie, epieDescriptionsProps, epieInlineSearchProps, kebabToPascal, useAdvSearch, useBrowser, useComponent, useCore, useCrud, useDescriptions, useDialog, useForm, usePermission, useProxy, useRefs, useSetPermission, useTable, useTools, useUpsert, zhCN as zhCNEpie };
@@ -77,9 +77,9 @@
77
77
  });
78
78
 
79
79
  var NATIVE_BIND$1 = functionBindNative;
80
- var call$5 = Function.prototype.call;
81
- var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
82
- return call$5.apply(call$5, arguments);
80
+ var call$4 = Function.prototype.call;
81
+ var functionCall = NATIVE_BIND$1 ? call$4.bind(call$4) : function () {
82
+ return call$4.apply(call$4, arguments);
83
83
  };
84
84
 
85
85
  var objectPropertyIsEnumerable = {};
@@ -111,11 +111,11 @@
111
111
 
112
112
  var NATIVE_BIND = functionBindNative;
113
113
  var FunctionPrototype$1 = Function.prototype;
114
- var call$4 = FunctionPrototype$1.call;
115
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
114
+ var call$3 = FunctionPrototype$1.call;
115
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$3, call$3);
116
116
  var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
117
117
  return function () {
118
- return call$4.apply(fn, arguments);
118
+ return call$3.apply(fn, arguments);
119
119
  };
120
120
  };
121
121
 
@@ -296,7 +296,7 @@
296
296
  return isNullOrUndefined$1(func) ? undefined : aCallable$2(func);
297
297
  };
298
298
 
299
- var call$3 = functionCall;
299
+ var call$2 = functionCall;
300
300
  var isCallable$a = isCallable$f;
301
301
  var isObject$9 = isObject$a;
302
302
  var $TypeError$f = TypeError;
@@ -305,9 +305,9 @@
305
305
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
306
306
  var ordinaryToPrimitive$1 = function (input, pref) {
307
307
  var fn, val;
308
- if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$9(val = call$3(fn, input))) return val;
309
- if (isCallable$a(fn = input.valueOf) && !isObject$9(val = call$3(fn, input))) return val;
310
- if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$9(val = call$3(fn, input))) return val;
308
+ if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$9(val = call$2(fn, input))) return val;
309
+ if (isCallable$a(fn = input.valueOf) && !isObject$9(val = call$2(fn, input))) return val;
310
+ if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$9(val = call$2(fn, input))) return val;
311
311
  throw new $TypeError$f("Can't convert object to primitive value");
312
312
  };
313
313
 
@@ -391,7 +391,7 @@
391
391
  return WellKnownSymbolsStore[name];
392
392
  };
393
393
 
394
- var call$2 = functionCall;
394
+ var call$1 = functionCall;
395
395
  var isObject$8 = isObject$a;
396
396
  var isSymbol$4 = isSymbol$5;
397
397
  var getMethod = getMethod$1;
@@ -408,7 +408,7 @@
408
408
  var result;
409
409
  if (exoticToPrim) {
410
410
  if (pref === undefined) pref = 'default';
411
- result = call$2(exoticToPrim, input, pref);
411
+ result = call$1(exoticToPrim, input, pref);
412
412
  if (!isObject$8(result) || isSymbol$4(result)) return result;
413
413
  throw new $TypeError$e("Can't convert object to primitive value");
414
414
  }
@@ -450,7 +450,7 @@
450
450
  });
451
451
 
452
452
  var DESCRIPTORS$8 = descriptors;
453
- var call$1 = functionCall;
453
+ var call = functionCall;
454
454
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
455
455
  var createPropertyDescriptor$1 = createPropertyDescriptor$2;
456
456
  var toIndexedObject$2 = toIndexedObject$3;
@@ -469,7 +469,7 @@
469
469
  if (IE8_DOM_DEFINE$1) try {
470
470
  return $getOwnPropertyDescriptor$1(O, P);
471
471
  } catch (error) {/* empty */}
472
- if (hasOwn$8(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule.f, O, P), O[P]);
472
+ if (hasOwn$8(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
473
473
  };
474
474
 
475
475
  var objectDefineProperty = {};
@@ -4126,12 +4126,19 @@
4126
4126
  var implementation$4 = implementation$5;
4127
4127
  var functionBind = Function.prototype.bind || implementation$4;
4128
4128
 
4129
- var call = Function.prototype.call;
4130
- var $hasOwn = Object.prototype.hasOwnProperty;
4131
- var bind$2 = functionBind;
4129
+ var hasown;
4130
+ var hasRequiredHasown;
4131
+ function requireHasown() {
4132
+ if (hasRequiredHasown) return hasown;
4133
+ hasRequiredHasown = 1;
4134
+ var call = Function.prototype.call;
4135
+ var $hasOwn = Object.prototype.hasOwnProperty;
4136
+ var bind = functionBind;
4132
4137
 
4133
- /** @type {(o: {}, p: PropertyKey) => p is keyof o} */
4134
- var hasown = bind$2.call(call, $hasOwn);
4138
+ /** @type {(o: {}, p: PropertyKey) => p is keyof o} */
4139
+ hasown = bind.call(call, $hasOwn);
4140
+ return hasown;
4141
+ }
4135
4142
 
4136
4143
  var undefined$1;
4137
4144
  var $SyntaxError$1 = SyntaxError;
@@ -4331,7 +4338,7 @@
4331
4338
  '%WeakSetPrototype%': ['WeakSet', 'prototype']
4332
4339
  };
4333
4340
  var bind$1 = functionBind;
4334
- var hasOwn = hasown;
4341
+ var hasOwn = requireHasown();
4335
4342
  var $concat = bind$1.call(Function.call, Array.prototype.concat);
4336
4343
  var $spliceApply = bind$1.call(Function.apply, Array.prototype.splice);
4337
4344
  var $replace = bind$1.call(Function.call, String.prototype.replace);
@@ -6269,7 +6276,7 @@
6269
6276
  if (hasRequiredIsPropertyDescriptor) return isPropertyDescriptor;
6270
6277
  hasRequiredIsPropertyDescriptor = 1;
6271
6278
  var GetIntrinsic = getIntrinsic;
6272
- var hasOwn = hasown;
6279
+ var hasOwn = requireHasown();
6273
6280
  var $TypeError = GetIntrinsic('%TypeError%');
6274
6281
  isPropertyDescriptor = function IsPropertyDescriptor(ES, Desc) {
6275
6282
  if (ES.Type(Desc) !== 'Object') {
@@ -6351,7 +6358,7 @@
6351
6358
  function requireIsMatchRecord() {
6352
6359
  if (hasRequiredIsMatchRecord) return isMatchRecord;
6353
6360
  hasRequiredIsMatchRecord = 1;
6354
- var hasOwn = hasown;
6361
+ var hasOwn = requireHasown();
6355
6362
 
6356
6363
  // https://262.ecma-international.org/13.0/#sec-match-records
6357
6364
 
@@ -6369,7 +6376,7 @@
6369
6376
  var GetIntrinsic = getIntrinsic;
6370
6377
  var $TypeError = GetIntrinsic('%TypeError%');
6371
6378
  var $SyntaxError = GetIntrinsic('%SyntaxError%');
6372
- var hasOwn = hasown;
6379
+ var hasOwn = requireHasown();
6373
6380
  var isInteger = requireIsInteger();
6374
6381
  var isMatchRecord = requireIsMatchRecord();
6375
6382
  var predicates = {
@@ -6485,7 +6492,7 @@
6485
6492
  function requireIsAccessorDescriptor() {
6486
6493
  if (hasRequiredIsAccessorDescriptor) return IsAccessorDescriptor;
6487
6494
  hasRequiredIsAccessorDescriptor = 1;
6488
- var hasOwn = hasown;
6495
+ var hasOwn = requireHasown();
6489
6496
  var Type = requireType();
6490
6497
  var assertRecord = requireAssertRecord();
6491
6498
 
@@ -6509,7 +6516,7 @@
6509
6516
  function requireIsDataDescriptor() {
6510
6517
  if (hasRequiredIsDataDescriptor) return IsDataDescriptor;
6511
6518
  hasRequiredIsDataDescriptor = 1;
6512
- var hasOwn = hasown;
6519
+ var hasOwn = requireHasown();
6513
6520
  var Type = requireType();
6514
6521
  var assertRecord = requireAssertRecord();
6515
6522
 
@@ -6708,7 +6715,7 @@
6708
6715
  function requireToPropertyDescriptor() {
6709
6716
  if (hasRequiredToPropertyDescriptor) return ToPropertyDescriptor;
6710
6717
  hasRequiredToPropertyDescriptor = 1;
6711
- var hasOwn = hasown;
6718
+ var hasOwn = requireHasown();
6712
6719
  var GetIntrinsic = getIntrinsic;
6713
6720
  var $TypeError = GetIntrinsic('%TypeError%');
6714
6721
  var Type = requireType();
@@ -7902,7 +7909,7 @@
7902
7909
  function requireEsShimUnscopables() {
7903
7910
  if (hasRequiredEsShimUnscopables) return esShimUnscopables;
7904
7911
  hasRequiredEsShimUnscopables = 1;
7905
- var hasOwn = hasown;
7912
+ var hasOwn = requireHasown();
7906
7913
  var hasUnscopables = typeof Symbol === 'function' && typeof Symbol.unscopables === 'symbol';
7907
7914
  var map = hasUnscopables && Array.prototype[Symbol.unscopables];
7908
7915
  var $TypeError = TypeError;
@@ -8963,8 +8970,10 @@
8963
8970
  };
8964
8971
  }
8965
8972
  // 设置权限
8966
- function useSetPermission(app, permissions) {
8967
- app.provide("epie-permission", permissions);
8973
+ function useSetPermission(permissions) {
8974
+ // @ts-ignore
8975
+ window.__crudApp__.provide("epie-permission", permissions);
8976
+ // app.provide("epie-permission", permissions)
8968
8977
  }
8969
8978
  function usePermission() {
8970
8979
  const permissions = vue.inject("epie-permission");
@@ -31142,9 +31151,15 @@
31142
31151
  EpieDescriptions,
31143
31152
  EpieDuration
31144
31153
  };
31154
+ const kebabToPascal = kebabName => {
31155
+ return kebabName.split('-') // 按短横线分割
31156
+ .map(word => word.charAt(0).toUpperCase() + word.slice(1)) // 每部分首字母大写
31157
+ .join(''); // 拼接成 PascalCase
31158
+ };
31145
31159
  function useComponent(app) {
31146
31160
  for (const i in components) {
31147
31161
  app.component(components[i].name, components[i]);
31162
+ app.component(kebabToPascal(components[i].name), components[i]);
31148
31163
  }
31149
31164
  }
31150
31165
 
@@ -31259,6 +31274,7 @@
31259
31274
  exports.enUSEpie = EnglishEpie;
31260
31275
  exports.epieDescriptionsProps = epieDescriptionsProps;
31261
31276
  exports.epieInlineSearchProps = epieInlineSearchProps;
31277
+ exports.kebabToPascal = kebabToPascal;
31262
31278
  exports.useAdvSearch = useAdvSearch;
31263
31279
  exports.useBrowser = useBrowser;
31264
31280
  exports.useComponent = useComponent;
@@ -1,4 +1,5 @@
1
1
  export declare const components: any;
2
+ export declare const kebabToPascal: (kebabName: string) => string;
2
3
  export declare function useComponent(app?: any): void;
3
4
  export * from "./descriptions";
4
5
  export * from "./inline-search";
@@ -1,7 +1,6 @@
1
1
  import { EpieCrud, Emitter } from "../types";
2
- import { App } from "vue";
3
2
  export declare function useRefs(): {
4
- refs: import("vue").Ref<any>;
3
+ refs: import("vue").Ref<any, any>;
5
4
  setRefs: (index: number) => (el: HTMLElement) => void;
6
5
  };
7
6
  export declare function useTools(): {
@@ -12,5 +11,5 @@ export declare function useCore(): {
12
11
  crud: EpieCrud.Provide;
13
12
  mitt: Emitter;
14
13
  };
15
- export declare function useSetPermission(app: App, permissions: string[]): void;
14
+ export declare function useSetPermission(permissions: string[]): void;
16
15
  export declare function usePermission(): string[];
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.38",
4
+ "version": "2.0.40",
5
5
  "private": false,
6
6
  "main": "lib/bi-crud.umd.js",
7
7
  "module": "lib/bi-crud.esm.js",