@airpower/web 1.11.5 → 2.0.1

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.
@@ -153,7 +153,7 @@ declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>
153
153
  search: () => void;
154
154
  }>): void;
155
155
  attrs: any;
156
- slots: Partial<Record<string, (_: {
156
+ slots: Partial<Record<`search-${string}`, (_: {
157
157
  data: import('@vue/reactivity').DistributeRef<[E] extends [Ref<any, any>] ? import('@vue/shared').IfAny<E, Ref<E, E>, E> : Ref<import('vue').UnwrapRef<E>, E | import('vue').UnwrapRef<E>>>;
158
158
  }) => any>> & Partial<Record<string, (_: {
159
159
  data: E;
@@ -164,6 +164,7 @@ declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>
164
164
  addButton?(_: {}): any;
165
165
  afterButton?(_: {}): any;
166
166
  beforeSearch?(_: {}): any;
167
+ search?(_: {}): any;
167
168
  afterSearch?(_: {}): any;
168
169
  customRow?(_: {
169
170
  data: E;
package/dist/main.js CHANGED
@@ -780,7 +780,7 @@ class Transformer {
780
780
  static newInstance(Class, recoverBy) {
781
781
  const instance = new Class();
782
782
  if (recoverBy) {
783
- return instance.recoverBy(recoverBy);
783
+ instance.recoverBy(recoverBy);
784
784
  }
785
785
  return instance;
786
786
  }
@@ -889,7 +889,6 @@ class Transformer {
889
889
  copy[field] = void 0;
890
890
  }
891
891
  }
892
- return copy;
893
892
  }
894
893
  /**
895
894
  * ### 排除部分类的属性
@@ -903,7 +902,6 @@ class Transformer {
903
902
  copy[field] = void 0;
904
903
  }
905
904
  }
906
- return copy;
907
905
  }
908
906
  /**
909
907
  * ### 用指定的数据对当前实例进行覆盖
@@ -911,7 +909,7 @@ class Transformer {
911
909
  * @param obj 覆盖对象
912
910
  */
913
911
  recoverBy(obj) {
914
- return Object.assign(this, obj);
912
+ Object.assign(this, obj);
915
913
  }
916
914
  /**
917
915
  * ### 转换到 `JSON`
@@ -1379,7 +1377,7 @@ var hasRequiredClipboard;
1379
1377
  function requireClipboard() {
1380
1378
  if (hasRequiredClipboard) return clipboard$1.exports;
1381
1379
  hasRequiredClipboard = 1;
1382
- (function(module, exports) {
1380
+ (function(module, exports$1) {
1383
1381
  (function webpackUniversalModuleDefinition(root, factory) {
1384
1382
  module.exports = factory();
1385
1383
  })(clipboard, function() {
@@ -1801,18 +1799,18 @@ function requireClipboard() {
1801
1799
  /***/
1802
1800
  879: (
1803
1801
  /***/
1804
- (function(__unused_webpack_module, exports2) {
1805
- exports2.node = function(value) {
1802
+ (function(__unused_webpack_module, exports$12) {
1803
+ exports$12.node = function(value) {
1806
1804
  return value !== void 0 && value instanceof HTMLElement && value.nodeType === 1;
1807
1805
  };
1808
- exports2.nodeList = function(value) {
1806
+ exports$12.nodeList = function(value) {
1809
1807
  var type = Object.prototype.toString.call(value);
1810
- return value !== void 0 && (type === "[object NodeList]" || type === "[object HTMLCollection]") && "length" in value && (value.length === 0 || exports2.node(value[0]));
1808
+ return value !== void 0 && (type === "[object NodeList]" || type === "[object HTMLCollection]") && "length" in value && (value.length === 0 || exports$12.node(value[0]));
1811
1809
  };
1812
- exports2.string = function(value) {
1810
+ exports$12.string = function(value) {
1813
1811
  return typeof value === "string" || value instanceof String;
1814
1812
  };
1815
- exports2.fn = function(value) {
1813
+ exports$12.fn = function(value) {
1816
1814
  var type = Object.prototype.toString.call(value);
1817
1815
  return type === "[object Function]";
1818
1816
  };
@@ -1995,10 +1993,10 @@ function requireClipboard() {
1995
1993
  };
1996
1994
  })();
1997
1995
  !(function() {
1998
- __webpack_require__.d = function(exports2, definition) {
1996
+ __webpack_require__.d = function(exports$12, definition) {
1999
1997
  for (var key in definition) {
2000
- if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports2, key)) {
2001
- Object.defineProperty(exports2, key, { enumerable: true, get: definition[key] });
1998
+ if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports$12, key)) {
1999
+ Object.defineProperty(exports$12, key, { enumerable: true, get: definition[key] });
2002
2000
  }
2003
2001
  }
2004
2002
  };
@@ -2440,7 +2438,7 @@ var hasRequiredCore;
2440
2438
  function requireCore() {
2441
2439
  if (hasRequiredCore) return core$1.exports;
2442
2440
  hasRequiredCore = 1;
2443
- (function(module, exports) {
2441
+ (function(module, exports$1) {
2444
2442
  (function(root, factory) {
2445
2443
  {
2446
2444
  module.exports = factory();
@@ -3048,7 +3046,7 @@ var hasRequiredX64Core;
3048
3046
  function requireX64Core() {
3049
3047
  if (hasRequiredX64Core) return x64Core$1.exports;
3050
3048
  hasRequiredX64Core = 1;
3051
- (function(module, exports) {
3049
+ (function(module, exports$1) {
3052
3050
  (function(root, factory) {
3053
3051
  {
3054
3052
  module.exports = factory(requireCore());
@@ -3305,7 +3303,7 @@ var hasRequiredLibTypedarrays;
3305
3303
  function requireLibTypedarrays() {
3306
3304
  if (hasRequiredLibTypedarrays) return libTypedarrays$1.exports;
3307
3305
  hasRequiredLibTypedarrays = 1;
3308
- (function(module, exports) {
3306
+ (function(module, exports$1) {
3309
3307
  (function(root, factory) {
3310
3308
  {
3311
3309
  module.exports = factory(requireCore());
@@ -3350,7 +3348,7 @@ var hasRequiredEncUtf16;
3350
3348
  function requireEncUtf16() {
3351
3349
  if (hasRequiredEncUtf16) return encUtf16$1.exports;
3352
3350
  hasRequiredEncUtf16 = 1;
3353
- (function(module, exports) {
3351
+ (function(module, exports$1) {
3354
3352
  (function(root, factory) {
3355
3353
  {
3356
3354
  module.exports = factory(requireCore());
@@ -3468,7 +3466,7 @@ var hasRequiredEncBase64;
3468
3466
  function requireEncBase64() {
3469
3467
  if (hasRequiredEncBase64) return encBase64$1.exports;
3470
3468
  hasRequiredEncBase64 = 1;
3471
- (function(module, exports) {
3469
+ (function(module, exports$1) {
3472
3470
  (function(root, factory) {
3473
3471
  {
3474
3472
  module.exports = factory(requireCore());
@@ -3576,7 +3574,7 @@ var hasRequiredEncBase64url;
3576
3574
  function requireEncBase64url() {
3577
3575
  if (hasRequiredEncBase64url) return encBase64url$1.exports;
3578
3576
  hasRequiredEncBase64url = 1;
3579
- (function(module, exports) {
3577
+ (function(module, exports$1) {
3580
3578
  (function(root, factory) {
3581
3579
  {
3582
3580
  module.exports = factory(requireCore());
@@ -3695,7 +3693,7 @@ var hasRequiredMd5;
3695
3693
  function requireMd5() {
3696
3694
  if (hasRequiredMd5) return md5$1.exports;
3697
3695
  hasRequiredMd5 = 1;
3698
- (function(module, exports) {
3696
+ (function(module, exports$1) {
3699
3697
  (function(root, factory) {
3700
3698
  {
3701
3699
  module.exports = factory(requireCore());
@@ -3874,7 +3872,7 @@ var hasRequiredSha1;
3874
3872
  function requireSha1() {
3875
3873
  if (hasRequiredSha1) return sha1$1.exports;
3876
3874
  hasRequiredSha1 = 1;
3877
- (function(module, exports) {
3875
+ (function(module, exports$1) {
3878
3876
  (function(root, factory) {
3879
3877
  {
3880
3878
  module.exports = factory(requireCore());
@@ -3965,7 +3963,7 @@ var hasRequiredSha256;
3965
3963
  function requireSha256() {
3966
3964
  if (hasRequiredSha256) return sha256$1.exports;
3967
3965
  hasRequiredSha256 = 1;
3968
- (function(module, exports) {
3966
+ (function(module, exports$1) {
3969
3967
  (function(root, factory) {
3970
3968
  {
3971
3969
  module.exports = factory(requireCore());
@@ -4086,7 +4084,7 @@ var hasRequiredSha224;
4086
4084
  function requireSha224() {
4087
4085
  if (hasRequiredSha224) return sha224$1.exports;
4088
4086
  hasRequiredSha224 = 1;
4089
- (function(module, exports) {
4087
+ (function(module, exports$1) {
4090
4088
  (function(root, factory, undef) {
4091
4089
  {
4092
4090
  module.exports = factory(requireCore(), requireSha256());
@@ -4131,7 +4129,7 @@ var hasRequiredSha512;
4131
4129
  function requireSha512() {
4132
4130
  if (hasRequiredSha512) return sha512$1.exports;
4133
4131
  hasRequiredSha512 = 1;
4134
- (function(module, exports) {
4132
+ (function(module, exports$1) {
4135
4133
  (function(root, factory, undef) {
4136
4134
  {
4137
4135
  module.exports = factory(requireCore(), requireX64Core());
@@ -4413,7 +4411,7 @@ var hasRequiredSha384;
4413
4411
  function requireSha384() {
4414
4412
  if (hasRequiredSha384) return sha384$1.exports;
4415
4413
  hasRequiredSha384 = 1;
4416
- (function(module, exports) {
4414
+ (function(module, exports$1) {
4417
4415
  (function(root, factory, undef) {
4418
4416
  {
4419
4417
  module.exports = factory(requireCore(), requireX64Core(), requireSha512());
@@ -4459,7 +4457,7 @@ var hasRequiredSha3;
4459
4457
  function requireSha3() {
4460
4458
  if (hasRequiredSha3) return sha3$1.exports;
4461
4459
  hasRequiredSha3 = 1;
4462
- (function(module, exports) {
4460
+ (function(module, exports$1) {
4463
4461
  (function(root, factory, undef) {
4464
4462
  {
4465
4463
  module.exports = factory(requireCore(), requireX64Core());
@@ -4661,7 +4659,7 @@ var hasRequiredRipemd160;
4661
4659
  function requireRipemd160() {
4662
4660
  if (hasRequiredRipemd160) return ripemd160$1.exports;
4663
4661
  hasRequiredRipemd160 = 1;
4664
- (function(module, exports) {
4662
+ (function(module, exports$1) {
4665
4663
  (function(root, factory) {
4666
4664
  {
4667
4665
  module.exports = factory(requireCore());
@@ -5132,7 +5130,7 @@ var hasRequiredHmac;
5132
5130
  function requireHmac() {
5133
5131
  if (hasRequiredHmac) return hmac$1.exports;
5134
5132
  hasRequiredHmac = 1;
5135
- (function(module, exports) {
5133
+ (function(module, exports$1) {
5136
5134
  (function(root, factory) {
5137
5135
  {
5138
5136
  module.exports = factory(requireCore());
@@ -5239,7 +5237,7 @@ var hasRequiredPbkdf2;
5239
5237
  function requirePbkdf2() {
5240
5238
  if (hasRequiredPbkdf2) return pbkdf2$1.exports;
5241
5239
  hasRequiredPbkdf2 = 1;
5242
- (function(module, exports) {
5240
+ (function(module, exports$1) {
5243
5241
  (function(root, factory, undef) {
5244
5242
  {
5245
5243
  module.exports = factory(requireCore(), requireSha256(), requireHmac());
@@ -5337,7 +5335,7 @@ var hasRequiredEvpkdf;
5337
5335
  function requireEvpkdf() {
5338
5336
  if (hasRequiredEvpkdf) return evpkdf$1.exports;
5339
5337
  hasRequiredEvpkdf = 1;
5340
- (function(module, exports) {
5338
+ (function(module, exports$1) {
5341
5339
  (function(root, factory, undef) {
5342
5340
  {
5343
5341
  module.exports = factory(requireCore(), requireSha1(), requireHmac());
@@ -5428,7 +5426,7 @@ var hasRequiredCipherCore;
5428
5426
  function requireCipherCore() {
5429
5427
  if (hasRequiredCipherCore) return cipherCore$1.exports;
5430
5428
  hasRequiredCipherCore = 1;
5431
- (function(module, exports) {
5429
+ (function(module, exports$1) {
5432
5430
  (function(root, factory, undef) {
5433
5431
  {
5434
5432
  module.exports = factory(requireCore(), requireEvpkdf());
@@ -6072,7 +6070,7 @@ var hasRequiredModeCfb;
6072
6070
  function requireModeCfb() {
6073
6071
  if (hasRequiredModeCfb) return modeCfb$1.exports;
6074
6072
  hasRequiredModeCfb = 1;
6075
- (function(module, exports) {
6073
+ (function(module, exports$1) {
6076
6074
  (function(root, factory, undef) {
6077
6075
  {
6078
6076
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6124,7 +6122,7 @@ var hasRequiredModeCtr;
6124
6122
  function requireModeCtr() {
6125
6123
  if (hasRequiredModeCtr) return modeCtr$1.exports;
6126
6124
  hasRequiredModeCtr = 1;
6127
- (function(module, exports) {
6125
+ (function(module, exports$1) {
6128
6126
  (function(root, factory, undef) {
6129
6127
  {
6130
6128
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6164,7 +6162,7 @@ var hasRequiredModeCtrGladman;
6164
6162
  function requireModeCtrGladman() {
6165
6163
  if (hasRequiredModeCtrGladman) return modeCtrGladman$1.exports;
6166
6164
  hasRequiredModeCtrGladman = 1;
6167
- (function(module, exports) {
6165
+ (function(module, exports$1) {
6168
6166
  (function(root, factory, undef) {
6169
6167
  {
6170
6168
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6239,7 +6237,7 @@ var hasRequiredModeOfb;
6239
6237
  function requireModeOfb() {
6240
6238
  if (hasRequiredModeOfb) return modeOfb$1.exports;
6241
6239
  hasRequiredModeOfb = 1;
6242
- (function(module, exports) {
6240
+ (function(module, exports$1) {
6243
6241
  (function(root, factory, undef) {
6244
6242
  {
6245
6243
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6277,7 +6275,7 @@ var hasRequiredModeEcb;
6277
6275
  function requireModeEcb() {
6278
6276
  if (hasRequiredModeEcb) return modeEcb$1.exports;
6279
6277
  hasRequiredModeEcb = 1;
6280
- (function(module, exports) {
6278
+ (function(module, exports$1) {
6281
6279
  (function(root, factory, undef) {
6282
6280
  {
6283
6281
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6308,7 +6306,7 @@ var hasRequiredPadAnsix923;
6308
6306
  function requirePadAnsix923() {
6309
6307
  if (hasRequiredPadAnsix923) return padAnsix923$1.exports;
6310
6308
  hasRequiredPadAnsix923 = 1;
6311
- (function(module, exports) {
6309
+ (function(module, exports$1) {
6312
6310
  (function(root, factory, undef) {
6313
6311
  {
6314
6312
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6340,7 +6338,7 @@ var hasRequiredPadIso10126;
6340
6338
  function requirePadIso10126() {
6341
6339
  if (hasRequiredPadIso10126) return padIso10126$1.exports;
6342
6340
  hasRequiredPadIso10126 = 1;
6343
- (function(module, exports) {
6341
+ (function(module, exports$1) {
6344
6342
  (function(root, factory, undef) {
6345
6343
  {
6346
6344
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6368,7 +6366,7 @@ var hasRequiredPadIso97971;
6368
6366
  function requirePadIso97971() {
6369
6367
  if (hasRequiredPadIso97971) return padIso97971$1.exports;
6370
6368
  hasRequiredPadIso97971 = 1;
6371
- (function(module, exports) {
6369
+ (function(module, exports$1) {
6372
6370
  (function(root, factory, undef) {
6373
6371
  {
6374
6372
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6395,7 +6393,7 @@ var hasRequiredPadZeropadding;
6395
6393
  function requirePadZeropadding() {
6396
6394
  if (hasRequiredPadZeropadding) return padZeropadding$1.exports;
6397
6395
  hasRequiredPadZeropadding = 1;
6398
- (function(module, exports) {
6396
+ (function(module, exports$1) {
6399
6397
  (function(root, factory, undef) {
6400
6398
  {
6401
6399
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6429,7 +6427,7 @@ var hasRequiredPadNopadding;
6429
6427
  function requirePadNopadding() {
6430
6428
  if (hasRequiredPadNopadding) return padNopadding$1.exports;
6431
6429
  hasRequiredPadNopadding = 1;
6432
- (function(module, exports) {
6430
+ (function(module, exports$1) {
6433
6431
  (function(root, factory, undef) {
6434
6432
  {
6435
6433
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6452,7 +6450,7 @@ var hasRequiredFormatHex;
6452
6450
  function requireFormatHex() {
6453
6451
  if (hasRequiredFormatHex) return formatHex$1.exports;
6454
6452
  hasRequiredFormatHex = 1;
6455
- (function(module, exports) {
6453
+ (function(module, exports$1) {
6456
6454
  (function(root, factory, undef) {
6457
6455
  {
6458
6456
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6512,7 +6510,7 @@ var hasRequiredAes;
6512
6510
  function requireAes() {
6513
6511
  if (hasRequiredAes) return aes$1.exports;
6514
6512
  hasRequiredAes = 1;
6515
- (function(module, exports) {
6513
+ (function(module, exports$1) {
6516
6514
  (function(root, factory, undef) {
6517
6515
  {
6518
6516
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -6666,7 +6664,7 @@ var hasRequiredTripledes;
6666
6664
  function requireTripledes() {
6667
6665
  if (hasRequiredTripledes) return tripledes$1.exports;
6668
6666
  hasRequiredTripledes = 1;
6669
- (function(module, exports) {
6667
+ (function(module, exports$1) {
6670
6668
  (function(root, factory, undef) {
6671
6669
  {
6672
6670
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -7447,7 +7445,7 @@ var hasRequiredRc4;
7447
7445
  function requireRc4() {
7448
7446
  if (hasRequiredRc4) return rc4$1.exports;
7449
7447
  hasRequiredRc4 = 1;
7450
- (function(module, exports) {
7448
+ (function(module, exports$1) {
7451
7449
  (function(root, factory, undef) {
7452
7450
  {
7453
7451
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -7530,7 +7528,7 @@ var hasRequiredRabbit;
7530
7528
  function requireRabbit() {
7531
7529
  if (hasRequiredRabbit) return rabbit$1.exports;
7532
7530
  hasRequiredRabbit = 1;
7533
- (function(module, exports) {
7531
+ (function(module, exports$1) {
7534
7532
  (function(root, factory, undef) {
7535
7533
  {
7536
7534
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -7659,7 +7657,7 @@ var hasRequiredRabbitLegacy;
7659
7657
  function requireRabbitLegacy() {
7660
7658
  if (hasRequiredRabbitLegacy) return rabbitLegacy$1.exports;
7661
7659
  hasRequiredRabbitLegacy = 1;
7662
- (function(module, exports) {
7660
+ (function(module, exports$1) {
7663
7661
  (function(root, factory, undef) {
7664
7662
  {
7665
7663
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -7785,7 +7783,7 @@ var hasRequiredBlowfish;
7785
7783
  function requireBlowfish() {
7786
7784
  if (hasRequiredBlowfish) return blowfish$1.exports;
7787
7785
  hasRequiredBlowfish = 1;
7788
- (function(module, exports) {
7786
+ (function(module, exports$1) {
7789
7787
  (function(root, factory, undef) {
7790
7788
  {
7791
7789
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -8973,7 +8971,7 @@ var hasRequiredCryptoJs;
8973
8971
  function requireCryptoJs() {
8974
8972
  if (hasRequiredCryptoJs) return cryptoJs$1.exports;
8975
8973
  hasRequiredCryptoJs = 1;
8976
- (function(module, exports) {
8974
+ (function(module, exports$1) {
8977
8975
  (function(root, factory, undef) {
8978
8976
  {
8979
8977
  module.exports = factory(requireCore(), requireX64Core(), requireLibTypedarrays(), requireEncUtf16(), requireEncBase64(), requireEncBase64url(), requireMd5(), requireSha1(), requireSha256(), requireSha224(), requireSha512(), requireSha384(), requireSha3(), requireRipemd160(), requireHmac(), requirePbkdf2(), requireEvpkdf(), requireCipherCore(), requireModeCfb(), requireModeCtr(), requireModeCtrGladman(), requireModeOfb(), requireModeEcb(), requirePadAnsix923(), requirePadIso10126(), requirePadIso97971(), requirePadZeropadding(), requirePadNopadding(), requireFormatHex(), requireAes(), requireTripledes(), requireRc4(), requireRabbit(), requireRabbitLegacy(), requireBlowfish());
@@ -15168,7 +15166,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
15168
15166
  }, {
15169
15167
  default: withCtx(() => [
15170
15168
  createElementVNode("div", _hoisted_1$6, [
15171
- createVNode(unref(AQrcode), {
15169
+ createVNode(unref(Qrcode), {
15172
15170
  content,
15173
15171
  size: 160
15174
15172
  }),
@@ -16297,7 +16295,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
16297
16295
  };
16298
16296
  }
16299
16297
  });
16300
- const AQrcode = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-024409f5"]]);
16298
+ const Qrcode = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-024409f5"]]);
16301
16299
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
16302
16300
  __name: "Select",
16303
16301
  props: /* @__PURE__ */ mergeModels({
@@ -17917,8 +17915,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
17917
17915
  ])
17918
17916
  ]),
17919
17917
  createElementVNode("div", _hoisted_3$2, [
17920
- renderSlot(_ctx.$slots, "beforeSearch"),
17921
17918
  createElementVNode("div", _hoisted_4$1, [
17919
+ renderSlot(_ctx.$slots, "beforeSearch"),
17920
+ renderSlot(_ctx.$slots, "search"),
17922
17921
  (openBlock(true), createElementBlock(Fragment, null, renderList(searchFieldList.value, (item) => {
17923
17922
  return openBlock(), createElementBlock(Fragment, {
17924
17923
  key: item.key
@@ -17928,7 +17927,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
17928
17927
  style: normalizeStyle({ width: `${item.width || 150}px` }),
17929
17928
  class: "a-table-toolbar-search-item"
17930
17929
  }, [
17931
- renderSlot(_ctx.$slots, item.key, { data: searchFilter.value }, () => [
17930
+ renderSlot(_ctx.$slots, `search-${item.key}`, { data: searchFilter.value }, () => [
17932
17931
  unref(getDictionary)(unref(EntityClass), item.key) ? (openBlock(), createBlock(unref(ElSelect), {
17933
17932
  key: 0,
17934
17933
  modelValue: searchFilter.value[item.key],
@@ -19221,13 +19220,15 @@ class RootEntity extends RootModel {
19221
19220
  * ### 只暴露ID
19222
19221
  */
19223
19222
  exposeOnlyId() {
19224
- return this.expose("id");
19223
+ this.expose("id");
19225
19224
  }
19226
19225
  /**
19227
19226
  * ### 只复制ID
19228
19227
  */
19229
19228
  copyOnlyId() {
19230
- return this.copy().exposeOnlyId();
19229
+ const copy = this.copy();
19230
+ copy.exposeOnlyId();
19231
+ return copy;
19231
19232
  }
19232
19233
  }
19233
19234
  __decorateClass([
@@ -19611,7 +19612,7 @@ export {
19611
19612
  APanel,
19612
19613
  APayload,
19613
19614
  APhone,
19614
- AQrcode,
19615
+ Qrcode as AQrcode,
19615
19616
  _sfc_main$9 as ASelect,
19616
19617
  _sfc_main$8 as ASelector,
19617
19618
  _sfc_main$7 as ATab,
@@ -20,7 +20,7 @@ export declare class RootEntity extends RootModel {
20
20
  /**
21
21
  * ### 只暴露ID
22
22
  */
23
- exposeOnlyId(): this;
23
+ exposeOnlyId(): void;
24
24
  /**
25
25
  * ### 只复制ID
26
26
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "1.11.5",
4
+ "version": "2.0.1",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@airpower/enum": "^1.6.0",
43
43
  "@airpower/i18n": "^1.6.0",
44
- "@airpower/transformer": "^1.6.0",
44
+ "@airpower/transformer": "^2.0.0",
45
45
  "@airpower/util": "^1.6.0",
46
46
  "@element-plus/icons-vue": "^2.3.2",
47
47
  "axios": "1.13.2",