byt-ui 0.0.13 → 0.0.15

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/byt-ui.umd.js CHANGED
@@ -2909,7 +2909,7 @@ var DESCRIPTORS = __webpack_require__(19781);
2909
2909
  var isArray = __webpack_require__(43157);
2910
2910
 
2911
2911
  var $TypeError = TypeError;
2912
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
2912
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2913
2913
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2914
2914
 
2915
2915
  // Safari < 13 does not throw an error in this case
@@ -2917,7 +2917,7 @@ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
2917
2917
  // makes no sense without proper strict mode support
2918
2918
  if (this !== undefined) return true;
2919
2919
  try {
2920
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
2920
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
2921
2921
  Object.defineProperty([], 'length', { writable: false }).length = 1;
2922
2922
  } catch (error) {
2923
2923
  return error instanceof TypeError;
@@ -2938,10 +2938,10 @@ module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
2938
2938
  /***/ 84326:
2939
2939
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2940
2940
 
2941
- var uncurryThis = __webpack_require__(1702);
2941
+ var uncurryThisRaw = __webpack_require__(40084);
2942
2942
 
2943
- var toString = uncurryThis({}.toString);
2944
- var stringSlice = uncurryThis(''.slice);
2943
+ var toString = uncurryThisRaw({}.toString);
2944
+ var stringSlice = uncurryThisRaw(''.slice);
2945
2945
 
2946
2946
  module.exports = function (it) {
2947
2947
  return stringSlice(toString(it), 8, -1);
@@ -3044,7 +3044,7 @@ module.exports = function (O, key, value, options) {
3044
3044
 
3045
3045
  var global = __webpack_require__(17854);
3046
3046
 
3047
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
3047
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
3048
3048
  var defineProperty = Object.defineProperty;
3049
3049
 
3050
3050
  module.exports = function (key, value) {
@@ -3065,11 +3065,27 @@ var fails = __webpack_require__(47293);
3065
3065
 
3066
3066
  // Detect IE8's incomplete defineProperty implementation
3067
3067
  module.exports = !fails(function () {
3068
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
3068
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
3069
3069
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
3070
3070
  });
3071
3071
 
3072
3072
 
3073
+ /***/ }),
3074
+
3075
+ /***/ 4154:
3076
+ /***/ (function(module) {
3077
+
3078
+ var documentAll = typeof document == 'object' && document.all;
3079
+
3080
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
3081
+ var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
3082
+
3083
+ module.exports = {
3084
+ all: documentAll,
3085
+ IS_HTMLDDA: IS_HTMLDDA
3086
+ };
3087
+
3088
+
3073
3089
  /***/ }),
3074
3090
 
3075
3091
  /***/ 80317:
@@ -3245,7 +3261,7 @@ module.exports = function (exec) {
3245
3261
  var fails = __webpack_require__(47293);
3246
3262
 
3247
3263
  module.exports = !fails(function () {
3248
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
3264
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
3249
3265
  var test = (function () { /* empty */ }).bind();
3250
3266
  // eslint-disable-next-line no-prototype-builtins -- safe
3251
3267
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -3275,7 +3291,7 @@ var DESCRIPTORS = __webpack_require__(19781);
3275
3291
  var hasOwn = __webpack_require__(92597);
3276
3292
 
3277
3293
  var FunctionPrototype = Function.prototype;
3278
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
3294
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3279
3295
  var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
3280
3296
 
3281
3297
  var EXISTS = hasOwn(FunctionPrototype, 'name');
@@ -3292,25 +3308,38 @@ module.exports = {
3292
3308
 
3293
3309
  /***/ }),
3294
3310
 
3295
- /***/ 1702:
3311
+ /***/ 40084:
3296
3312
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3297
3313
 
3298
3314
  var NATIVE_BIND = __webpack_require__(34374);
3299
3315
 
3300
3316
  var FunctionPrototype = Function.prototype;
3301
- var bind = FunctionPrototype.bind;
3302
3317
  var call = FunctionPrototype.call;
3303
- var uncurryThis = NATIVE_BIND && bind.bind(call, call);
3318
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
3304
3319
 
3305
- module.exports = NATIVE_BIND ? function (fn) {
3306
- return fn && uncurryThis(fn);
3307
- } : function (fn) {
3308
- return fn && function () {
3320
+ module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
3321
+ return function () {
3309
3322
  return call.apply(fn, arguments);
3310
3323
  };
3311
3324
  };
3312
3325
 
3313
3326
 
3327
+ /***/ }),
3328
+
3329
+ /***/ 1702:
3330
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3331
+
3332
+ var classofRaw = __webpack_require__(84326);
3333
+ var uncurryThisRaw = __webpack_require__(40084);
3334
+
3335
+ module.exports = function (fn) {
3336
+ // Nashorn bug:
3337
+ // https://github.com/zloirock/core-js/issues/1128
3338
+ // https://github.com/zloirock/core-js/issues/1130
3339
+ if (classofRaw(fn) === 'Function') return uncurryThisRaw(fn);
3340
+ };
3341
+
3342
+
3314
3343
  /***/ }),
3315
3344
 
3316
3345
  /***/ 35005:
@@ -3355,7 +3384,7 @@ var check = function (it) {
3355
3384
 
3356
3385
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
3357
3386
  module.exports =
3358
- // eslint-disable-next-line es-x/no-global-this -- safe
3387
+ // eslint-disable-next-line es/no-global-this -- safe
3359
3388
  check(typeof globalThis == 'object' && globalThis) ||
3360
3389
  check(typeof window == 'object' && window) ||
3361
3390
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -3377,7 +3406,7 @@ var hasOwnProperty = uncurryThis({}.hasOwnProperty);
3377
3406
 
3378
3407
  // `HasOwnProperty` abstract operation
3379
3408
  // https://tc39.es/ecma262/#sec-hasownproperty
3380
- // eslint-disable-next-line es-x/no-object-hasown -- safe
3409
+ // eslint-disable-next-line es/no-object-hasown -- safe
3381
3410
  module.exports = Object.hasOwn || function hasOwn(it, key) {
3382
3411
  return hasOwnProperty(toObject(it), key);
3383
3412
  };
@@ -3402,7 +3431,7 @@ var createElement = __webpack_require__(80317);
3402
3431
 
3403
3432
  // Thanks to IE8 for its funny defineProperty
3404
3433
  module.exports = !DESCRIPTORS && !fails(function () {
3405
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
3434
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
3406
3435
  return Object.defineProperty(createElement('div'), 'a', {
3407
3436
  get: function () { return 7; }
3408
3437
  }).a != 7;
@@ -3459,7 +3488,6 @@ module.exports = store.inspectSource;
3459
3488
 
3460
3489
  var NATIVE_WEAK_MAP = __webpack_require__(94811);
3461
3490
  var global = __webpack_require__(17854);
3462
- var uncurryThis = __webpack_require__(1702);
3463
3491
  var isObject = __webpack_require__(70111);
3464
3492
  var createNonEnumerableProperty = __webpack_require__(68880);
3465
3493
  var hasOwn = __webpack_require__(92597);
@@ -3487,20 +3515,22 @@ var getterFor = function (TYPE) {
3487
3515
 
3488
3516
  if (NATIVE_WEAK_MAP || shared.state) {
3489
3517
  var store = shared.state || (shared.state = new WeakMap());
3490
- var wmget = uncurryThis(store.get);
3491
- var wmhas = uncurryThis(store.has);
3492
- var wmset = uncurryThis(store.set);
3518
+ /* eslint-disable no-self-assign -- prototype methods protection */
3519
+ store.get = store.get;
3520
+ store.has = store.has;
3521
+ store.set = store.set;
3522
+ /* eslint-enable no-self-assign -- prototype methods protection */
3493
3523
  set = function (it, metadata) {
3494
- if (wmhas(store, it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
3524
+ if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
3495
3525
  metadata.facade = it;
3496
- wmset(store, it, metadata);
3526
+ store.set(it, metadata);
3497
3527
  return metadata;
3498
3528
  };
3499
3529
  get = function (it) {
3500
- return wmget(store, it) || {};
3530
+ return store.get(it) || {};
3501
3531
  };
3502
3532
  has = function (it) {
3503
- return wmhas(store, it);
3533
+ return store.has(it);
3504
3534
  };
3505
3535
  } else {
3506
3536
  var STATE = sharedKey('state');
@@ -3537,7 +3567,7 @@ var classof = __webpack_require__(84326);
3537
3567
 
3538
3568
  // `IsArray` abstract operation
3539
3569
  // https://tc39.es/ecma262/#sec-isarray
3540
- // eslint-disable-next-line es-x/no-array-isarray -- safe
3570
+ // eslint-disable-next-line es/no-array-isarray -- safe
3541
3571
  module.exports = Array.isArray || function isArray(argument) {
3542
3572
  return classof(argument) == 'Array';
3543
3573
  };
@@ -3546,11 +3576,17 @@ module.exports = Array.isArray || function isArray(argument) {
3546
3576
  /***/ }),
3547
3577
 
3548
3578
  /***/ 60614:
3549
- /***/ (function(module) {
3579
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3580
+
3581
+ var $documentAll = __webpack_require__(4154);
3582
+
3583
+ var documentAll = $documentAll.all;
3550
3584
 
3551
3585
  // `IsCallable` abstract operation
3552
3586
  // https://tc39.es/ecma262/#sec-iscallable
3553
- module.exports = function (argument) {
3587
+ module.exports = $documentAll.IS_HTMLDDA ? function (argument) {
3588
+ return typeof argument == 'function' || argument === documentAll;
3589
+ } : function (argument) {
3554
3590
  return typeof argument == 'function';
3555
3591
  };
3556
3592
 
@@ -3602,13 +3638,11 @@ module.exports = function (it) {
3602
3638
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3603
3639
 
3604
3640
  var isCallable = __webpack_require__(60614);
3641
+ var $documentAll = __webpack_require__(4154);
3605
3642
 
3606
- var documentAll = typeof document == 'object' && document.all;
3607
-
3608
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
3609
- var SPECIAL_DOCUMENT_ALL = typeof documentAll == 'undefined' && documentAll !== undefined;
3643
+ var documentAll = $documentAll.all;
3610
3644
 
3611
- module.exports = SPECIAL_DOCUMENT_ALL ? function (it) {
3645
+ module.exports = $documentAll.IS_HTMLDDA ? function (it) {
3612
3646
  return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
3613
3647
  } : function (it) {
3614
3648
  return typeof it == 'object' ? it !== null : isCallable(it);
@@ -3672,7 +3706,7 @@ var InternalStateModule = __webpack_require__(29909);
3672
3706
 
3673
3707
  var enforceInternalState = InternalStateModule.enforce;
3674
3708
  var getInternalState = InternalStateModule.get;
3675
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
3709
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
3676
3710
  var defineProperty = Object.defineProperty;
3677
3711
 
3678
3712
  var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
@@ -3723,7 +3757,7 @@ var floor = Math.floor;
3723
3757
 
3724
3758
  // `Math.trunc` method
3725
3759
  // https://tc39.es/ecma262/#sec-math.trunc
3726
- // eslint-disable-next-line es-x/no-math-trunc -- safe
3760
+ // eslint-disable-next-line es/no-math-trunc -- safe
3727
3761
  module.exports = Math.trunc || function trunc(x) {
3728
3762
  var n = +x;
3729
3763
  return (n > 0 ? floor : ceil)(n);
@@ -3742,9 +3776,9 @@ var anObject = __webpack_require__(19670);
3742
3776
  var toPropertyKey = __webpack_require__(34948);
3743
3777
 
3744
3778
  var $TypeError = TypeError;
3745
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
3779
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
3746
3780
  var $defineProperty = Object.defineProperty;
3747
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
3781
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3748
3782
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3749
3783
  var ENUMERABLE = 'enumerable';
3750
3784
  var CONFIGURABLE = 'configurable';
@@ -3794,7 +3828,7 @@ var toPropertyKey = __webpack_require__(34948);
3794
3828
  var hasOwn = __webpack_require__(92597);
3795
3829
  var IE8_DOM_DEFINE = __webpack_require__(64664);
3796
3830
 
3797
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
3831
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3798
3832
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3799
3833
 
3800
3834
  // `Object.getOwnPropertyDescriptor` method
@@ -3821,7 +3855,7 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
3821
3855
 
3822
3856
  // `Object.getOwnPropertyNames` method
3823
3857
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
3824
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
3858
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
3825
3859
  exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
3826
3860
  return internalObjectKeys(O, hiddenKeys);
3827
3861
  };
@@ -3832,7 +3866,7 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
3832
3866
  /***/ 25181:
3833
3867
  /***/ (function(__unused_webpack_module, exports) {
3834
3868
 
3835
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
3869
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
3836
3870
  exports.f = Object.getOwnPropertySymbols;
3837
3871
 
3838
3872
 
@@ -3881,7 +3915,7 @@ module.exports = function (object, names) {
3881
3915
  "use strict";
3882
3916
 
3883
3917
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
3884
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
3918
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3885
3919
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3886
3920
 
3887
3921
  // Nashorn ~ JDK8 bug
@@ -3995,10 +4029,10 @@ var store = __webpack_require__(5465);
3995
4029
  (module.exports = function (key, value) {
3996
4030
  return store[key] || (store[key] = value !== undefined ? value : {});
3997
4031
  })('versions', []).push({
3998
- version: '3.25.1',
4032
+ version: '3.26.0',
3999
4033
  mode: IS_PURE ? 'pure' : 'global',
4000
4034
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
4001
- license: 'https://github.com/zloirock/core-js/blob/v3.25.1/LICENSE',
4035
+ license: 'https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE',
4002
4036
  source: 'https://github.com/zloirock/core-js'
4003
4037
  });
4004
4038
 
@@ -4008,11 +4042,11 @@ var store = __webpack_require__(5465);
4008
4042
  /***/ 36293:
4009
4043
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4010
4044
 
4011
- /* eslint-disable es-x/no-symbol -- required for testing */
4045
+ /* eslint-disable es/no-symbol -- required for testing */
4012
4046
  var V8_VERSION = __webpack_require__(7392);
4013
4047
  var fails = __webpack_require__(47293);
4014
4048
 
4015
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
4049
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
4016
4050
  module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
4017
4051
  var symbol = Symbol();
4018
4052
  // Chrome 38 Symbol has incorrect toString conversion
@@ -4189,7 +4223,7 @@ module.exports = function (key) {
4189
4223
  /***/ 43307:
4190
4224
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4191
4225
 
4192
- /* eslint-disable es-x/no-symbol -- required for testing */
4226
+ /* eslint-disable es/no-symbol -- required for testing */
4193
4227
  var NATIVE_SYMBOL = __webpack_require__(36293);
4194
4228
 
4195
4229
  module.exports = NATIVE_SYMBOL
@@ -4208,7 +4242,7 @@ var fails = __webpack_require__(47293);
4208
4242
  // V8 ~ Chrome 36-
4209
4243
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
4210
4244
  module.exports = DESCRIPTORS && fails(function () {
4211
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
4245
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
4212
4246
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
4213
4247
  value: 42,
4214
4248
  writable: false
@@ -4282,7 +4316,7 @@ var INCORRECT_TO_LENGTH = fails(function () {
4282
4316
  // https://bugs.chromium.org/p/v8/issues/detail?id=12681
4283
4317
  var SILENT_ON_NON_WRITABLE_LENGTH = !function () {
4284
4318
  try {
4285
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
4319
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
4286
4320
  Object.defineProperty([], 'length', { writable: false }).push();
4287
4321
  } catch (error) {
4288
4322
  return error instanceof TypeError;
@@ -85573,7 +85607,6 @@ var website = __webpack_require__(92502);
85573
85607
 
85574
85608
  const getCookie = (key, context) => {
85575
85609
  const searchKey = `${website["default"].key}_${key}`;
85576
-
85577
85610
  if (context && context.req) {
85578
85611
  if (context.req.headers.cookie) {
85579
85612
  const arr = context.req.headers.cookie.split(';');
@@ -85619,7 +85652,6 @@ __webpack_require__.r(__webpack_exports__);
85619
85652
  /* harmony import */ var _validate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59666);
85620
85653
  /* harmony import */ var _website__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(92502);
85621
85654
 
85622
-
85623
85655
  /*
85624
85656
  * @Description:
85625
85657
  * @Author: 王国火
@@ -85628,13 +85660,12 @@ __webpack_require__.r(__webpack_exports__);
85628
85660
  * @LastEditors: 王国火
85629
85661
  */
85630
85662
 
85631
- //存储前缀 避免与同域的其它项目冲突
85632
85663
 
85664
+ //存储前缀 避免与同域的其它项目冲突
85633
85665
  const keyName = _website__WEBPACK_IMPORTED_MODULE_2__["default"].key;
85634
85666
  /**
85635
85667
  * 存储localStorage
85636
85668
  */
85637
-
85638
85669
  const setStore = (key, value, type = 0) => {
85639
85670
  const name = `${keyName}-${key}`;
85640
85671
  const obj = {
@@ -85643,7 +85674,6 @@ const setStore = (key, value, type = 0) => {
85643
85674
  type: type,
85644
85675
  datetime: new Date().getTime()
85645
85676
  };
85646
-
85647
85677
  if (type) {
85648
85678
  window.sessionStorage.setItem(name, JSON.stringify(obj));
85649
85679
  } else {
@@ -85659,17 +85689,14 @@ const getStore = (key, debug = false) => {
85659
85689
  let obj = window.sessionStorage.getItem(name) || window.localStorage.getItem(name);
85660
85690
  let content;
85661
85691
  if ((0,_validate__WEBPACK_IMPORTED_MODULE_1__.validatenull)(obj)) return null;
85662
-
85663
85692
  try {
85664
85693
  obj = JSON.parse(obj);
85665
85694
  } catch (e) {
85666
85695
  return obj;
85667
85696
  }
85668
-
85669
85697
  if (debug) {
85670
85698
  return obj;
85671
85699
  }
85672
-
85673
85700
  if (obj.dataType === 'string') {
85674
85701
  content = obj.content;
85675
85702
  } else if (obj.dataType === 'number') {
@@ -85679,25 +85706,22 @@ const getStore = (key, debug = false) => {
85679
85706
  } else if (obj.dataType === 'object') {
85680
85707
  content = obj.content;
85681
85708
  }
85682
-
85683
85709
  return content;
85684
85710
  };
85685
85711
  /**
85686
85712
  * 删除localStorage
85687
85713
  */
85688
-
85689
85714
  const removeStore = key => {
85690
85715
  const name = `${keyName}-${key}`;
85691
85716
  window.sessionStorage.removeItem(name);
85692
85717
  window.localStorage.removeItem(name);
85693
85718
  };
85719
+
85694
85720
  /**
85695
85721
  * 获取全部localStorage
85696
85722
  */
85697
-
85698
85723
  const getAllStore = (type = 0) => {
85699
85724
  const list = [];
85700
-
85701
85725
  if (type) {
85702
85726
  for (let i = 0; i <= window.sessionStorage.length; i++) {
85703
85727
  list.push({
@@ -85718,13 +85742,12 @@ const getAllStore = (type = 0) => {
85718
85742
  });
85719
85743
  }
85720
85744
  }
85721
-
85722
85745
  return list;
85723
85746
  };
85747
+
85724
85748
  /**
85725
85749
  * 清空全部localStorage
85726
85750
  */
85727
-
85728
85751
  const clearStore = (type = 0) => {
85729
85752
  if (type) {
85730
85753
  window.sessionStorage.clear();
@@ -85767,35 +85790,35 @@ __webpack_require__.r(__webpack_exports__);
85767
85790
  function isExternal(path) {
85768
85791
  return /^(https?:|mailto:|tel:)/.test(path);
85769
85792
  }
85793
+
85770
85794
  /**
85771
85795
  * 邮箱
85772
85796
  * @param {*} s
85773
85797
  */
85774
-
85775
85798
  function isEmail(s) {
85776
85799
  return /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/.test(s);
85777
85800
  }
85801
+
85778
85802
  /**
85779
85803
  * 手机号码
85780
85804
  * @param {*} s
85781
85805
  */
85782
-
85783
85806
  function isMobile(s) {
85784
85807
  return /^1[0-9]{10}$/.test(s);
85785
85808
  }
85809
+
85786
85810
  /**
85787
85811
  * 电话号码
85788
85812
  * @param {*} s
85789
85813
  */
85790
-
85791
85814
  function isPhone(s) {
85792
85815
  return /^([0-9]{3,4}-)?[0-9]{7,8}$/.test(s);
85793
85816
  }
85817
+
85794
85818
  /**
85795
85819
  * URL地址
85796
85820
  * @param {*} s
85797
85821
  */
85798
-
85799
85822
  function isURL(s) {
85800
85823
  return /^http[s]?:\/\/.*/.test(s);
85801
85824
  }
@@ -85803,60 +85826,58 @@ function isvalidUsername(str) {
85803
85826
  const valid_map = ['admin', 'editor'];
85804
85827
  return valid_map.indexOf(str.trim()) >= 0;
85805
85828
  }
85806
- /* 合法uri */
85807
85829
 
85830
+ /* 合法uri */
85808
85831
  function validateURL(textval) {
85809
85832
  const urlregex = /^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;
85810
85833
  return urlregex.test(textval);
85811
85834
  }
85812
- /* 小写字母 */
85813
85835
 
85836
+ /* 小写字母 */
85814
85837
  function validateLowerCase(str) {
85815
85838
  const reg = /^[a-z]+$/;
85816
85839
  return reg.test(str);
85817
85840
  }
85818
- /* 大写字母 */
85819
85841
 
85842
+ /* 大写字母 */
85820
85843
  function validateUpperCase(str) {
85821
85844
  const reg = /^[A-Z]+$/;
85822
85845
  return reg.test(str);
85823
85846
  }
85824
- /* 大小写字母 */
85825
85847
 
85848
+ /* 大小写字母 */
85826
85849
  function validatAlphabets(str) {
85827
85850
  const reg = /^[A-Za-z]+$/;
85828
85851
  return reg.test(str);
85829
85852
  }
85830
- /* 验证pad还是pc */
85831
85853
 
85854
+ /* 验证pad还是pc */
85832
85855
  const vaildatePc = function () {
85833
85856
  const userAgentInfo = navigator.userAgent;
85834
85857
  const Agents = ['Android', 'iPhone', 'SymbianOS', 'Windows Phone', 'iPad', 'iPod'];
85835
85858
  let flag = true;
85836
-
85837
85859
  for (var v = 0; v < Agents.length; v++) {
85838
85860
  if (userAgentInfo.indexOf(Agents[v]) > 0) {
85839
85861
  flag = false;
85840
85862
  break;
85841
85863
  }
85842
85864
  }
85843
-
85844
85865
  return flag;
85845
85866
  };
85867
+
85846
85868
  /**
85847
85869
  * validate email
85848
85870
  * @param email
85849
85871
  * @returns {boolean}
85850
85872
  */
85851
-
85852
85873
  function validateEmail(email) {
85853
85874
  const re = /^(([^<>()\\[\]\\.,;:\s@"]+(\.[^<>()\\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
85854
85875
  return re.test(email);
85855
85876
  }
85877
+
85856
85878
  /**
85857
85879
  * 判断身份证号码
85858
85880
  */
85859
-
85860
85881
  function cardid(code) {
85861
85882
  const list = [];
85862
85883
  let result = true;
@@ -85898,7 +85919,6 @@ function cardid(code) {
85898
85919
  82: '澳门',
85899
85920
  91: '国外 '
85900
85921
  };
85901
-
85902
85922
  if (!validatenull(code)) {
85903
85923
  if (code.length === 18) {
85904
85924
  if (!code || !/(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(code)) {
@@ -85907,22 +85927,20 @@ function cardid(code) {
85907
85927
  msg = '地址编码错误';
85908
85928
  } else {
85909
85929
  // 18位身份证需要验证最后一位校验位
85910
- code = code.split(''); // ∑(ai×Wi)(mod 11)
85930
+ code = code.split('');
85931
+ // ∑(ai×Wi)(mod 11)
85911
85932
  // 加权因子
85912
-
85913
- var factor = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2]; // 校验位
85914
-
85933
+ var factor = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2];
85934
+ // 校验位
85915
85935
  var parity = [1, 0, 'X', 9, 8, 7, 6, 5, 4, 3, 2, 'x'];
85916
85936
  var sum = 0;
85917
85937
  var ai = 0;
85918
85938
  var wi = 0;
85919
-
85920
85939
  for (var i = 0; i < 17; i++) {
85921
85940
  ai = code[i];
85922
85941
  wi = factor[i];
85923
85942
  sum += ai * wi;
85924
85943
  }
85925
-
85926
85944
  if (parity[sum % 11] !== code[17]) {
85927
85945
  msg = '证件号码校验位错误';
85928
85946
  } else {
@@ -85935,21 +85953,20 @@ function cardid(code) {
85935
85953
  } else {
85936
85954
  msg = '证件号码不能为空';
85937
85955
  }
85938
-
85939
85956
  list.push(result);
85940
85957
  list.push(msg);
85941
85958
  return list;
85942
85959
  }
85960
+
85943
85961
  /**
85944
85962
  * 判断手机号码是否正确
85945
85963
  */
85946
-
85947
85964
  function isvalidatemobile(phone) {
85948
85965
  const list = [];
85949
85966
  let result = true;
85950
85967
  let msg = '';
85951
- var isPhone = /^0\d{2,3}-?\d{7,8}$/; // 增加134 减少|1349[0-9]{7},增加181,增加145,增加17[678]
85952
-
85968
+ var isPhone = /^0\d{2,3}-?\d{7,8}$/;
85969
+ // 增加134 减少|1349[0-9]{7},增加181,增加145,增加17[678]
85953
85970
  if (!validatenull(phone)) {
85954
85971
  if (phone.length === 11) {
85955
85972
  if (isPhone.test(phone)) {
@@ -85963,21 +85980,20 @@ function isvalidatemobile(phone) {
85963
85980
  } else {
85964
85981
  msg = '手机号码不能为空';
85965
85982
  }
85966
-
85967
85983
  list.push(result);
85968
85984
  list.push(msg);
85969
85985
  return list;
85970
85986
  }
85987
+
85971
85988
  /**
85972
85989
  * 判断手机号码是否正确(可以为空)
85973
85990
  */
85974
-
85975
85991
  function isValidateNoneMobile(phone) {
85976
85992
  const list = [];
85977
85993
  let result = true;
85978
85994
  let msg = '';
85979
- var isPhone = /^0\d{2,3}-?\d{7,8}$/; // 增加134 减少|1349[0-9]{7},增加181,增加145,增加17[678]
85980
-
85995
+ var isPhone = /^0\d{2,3}-?\d{7,8}$/;
85996
+ // 增加134 减少|1349[0-9]{7},增加181,增加145,增加17[678]
85981
85997
  if (!validatenull(phone)) {
85982
85998
  if (phone.length === 11) {
85983
85999
  if (isPhone.test(phone)) {
@@ -85991,65 +86007,58 @@ function isValidateNoneMobile(phone) {
85991
86007
  } else {
85992
86008
  result = false;
85993
86009
  }
85994
-
85995
86010
  list.push(result);
85996
86011
  list.push(msg);
85997
86012
  return list;
85998
86013
  }
86014
+
85999
86015
  /**
86000
86016
  * 判断姓名是否正确
86001
86017
  */
86002
-
86003
86018
  function validatename(name) {
86004
86019
  var regName = /^[\u4e00-\u9fa5]{2,4}$/;
86005
86020
  if (!regName.test(name)) return false;
86006
86021
  return true;
86007
86022
  }
86023
+
86008
86024
  /**
86009
86025
  * 判断是否为整数
86010
86026
  */
86011
-
86012
86027
  function validatenum(num, type) {
86013
86028
  let regName = /[^\d.]/g;
86014
-
86015
86029
  if (type === 1) {
86016
86030
  if (!regName.test(num)) return false;
86017
86031
  } else if (type === 2) {
86018
86032
  regName = /[^\d]/g;
86019
86033
  if (!regName.test(num)) return false;
86020
86034
  }
86021
-
86022
86035
  return true;
86023
86036
  }
86037
+
86024
86038
  /**
86025
86039
  * 判断是否为小数
86026
86040
  */
86027
-
86028
86041
  function validatenumord(num, type) {
86029
86042
  let regName = /[^\d.]/g;
86030
-
86031
86043
  if (type === 1) {
86032
86044
  if (!regName.test(num)) return false;
86033
86045
  } else if (type === 2) {
86034
86046
  regName = /[^\d.]/g;
86035
86047
  if (!regName.test(num)) return false;
86036
86048
  }
86037
-
86038
86049
  return true;
86039
86050
  }
86051
+
86040
86052
  /**
86041
86053
  * 判断是否为空
86042
86054
  */
86043
-
86044
86055
  function validatenull(val) {
86045
86056
  if (typeof val === 'boolean') {
86046
86057
  return false;
86047
86058
  }
86048
-
86049
86059
  if (typeof val === 'number') {
86050
86060
  return false;
86051
86061
  }
86052
-
86053
86062
  if (val instanceof Array) {
86054
86063
  if (val.length === 0) return true;
86055
86064
  } else if (val instanceof Object) {
@@ -86058,7 +86067,6 @@ function validatenull(val) {
86058
86067
  if (val === 'null' || val == null || val === 'undefined' || val === undefined || val === '') return true;
86059
86068
  return false;
86060
86069
  }
86061
-
86062
86070
  return false;
86063
86071
  }
86064
86072
 
@@ -86084,7 +86092,6 @@ __webpack_require__.r(__webpack_exports__);
86084
86092
  smsLoginClient: 'app:app',
86085
86093
  // 验证码登录的 client 信息
86086
86094
  socialLoginClient: 'social:social' // 社交登录的 client 信息
86087
-
86088
86095
  });
86089
86096
 
86090
86097
  /***/ }),
@@ -120836,7 +120843,7 @@ function setup (options) {
120836
120843
  return assign(setupDefaults, options)
120837
120844
  }
120838
120845
 
120839
- XEUtils.VERSION = '3.5.6'
120846
+ XEUtils.VERSION = '3.5.7'
120840
120847
  XEUtils.mixin = mixin
120841
120848
  XEUtils.setup = setup
120842
120849
 
@@ -126058,7 +126065,8 @@ function toArrayTree (array, options) {
126058
126065
  var optData = opts.data
126059
126066
  var result = []
126060
126067
  var treeMap = {}
126061
- var idList, id, treeData, parentId
126068
+ var idsMap = {}
126069
+ var id, treeData, parentId
126062
126070
 
126063
126071
  if (optSortKey) {
126064
126072
  array = orderBy(clone(array), optSortKey)
@@ -126067,8 +126075,9 @@ function toArrayTree (array, options) {
126067
126075
  }
126068
126076
  }
126069
126077
 
126070
- idList = map(array, function (item) {
126071
- return item[optKey]
126078
+ each(array, function (item) {
126079
+ id = item[optKey]
126080
+ idsMap[id] = true
126072
126081
  })
126073
126082
 
126074
126083
  each(array, function (item) {
@@ -126093,7 +126102,7 @@ function toArrayTree (array, options) {
126093
126102
  }
126094
126103
 
126095
126104
  if (!optStrict || (optStrict && !parentId)) {
126096
- if (!includes(idList, parentId)) {
126105
+ if (!idsMap[parentId]) {
126097
126106
  result.push(treeData)
126098
126107
  }
126099
126108
  }
@@ -127153,11 +127162,10 @@ if (typeof window !== 'undefined') {
127153
127162
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
127154
127163
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(77203);
127155
127164
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
127156
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/basic-view/index.vue?vue&type=template&id=4eea757a&scoped=true&
127165
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/basic-view/index.vue?vue&type=template&id=0edabe78&scoped=true&
127157
127166
  var render = function render() {
127158
127167
  var _vm = this,
127159
- _c = _vm._self._c;
127160
-
127168
+ _c = _vm._self._c;
127161
127169
  return _c('div', {
127162
127170
  staticClass: "basic-view"
127163
127171
  }, [_vm.searchList.length ? _c('div', {
@@ -127166,6 +127174,7 @@ var render = function render() {
127166
127174
  ref: "search",
127167
127175
  attrs: {
127168
127176
  "inline": "",
127177
+ "label-width": _vm.labelWidth,
127169
127178
  "search-list": _vm.searchList
127170
127179
  },
127171
127180
  on: {
@@ -127290,20 +127299,18 @@ var render = function render() {
127290
127299
  }
127291
127300
  })], 1) : _vm._e()]);
127292
127301
  };
127293
-
127294
127302
  var staticRenderFns = [];
127295
127303
 
127296
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/form-view/index.vue?vue&type=template&id=0100de92&scoped=true&
127297
- var form_viewvue_type_template_id_0100de92_scoped_true_render = function render() {
127304
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/form-view/index.vue?vue&type=template&id=d9efa21c&scoped=true&
127305
+ var form_viewvue_type_template_id_d9efa21c_scoped_true_render = function render() {
127298
127306
  var _vm = this,
127299
- _c = _vm._self._c;
127300
-
127307
+ _c = _vm._self._c;
127301
127308
  return _c('el-form', {
127302
127309
  ref: "form",
127303
127310
  attrs: {
127304
127311
  "model": _vm.form,
127305
127312
  "inline": _vm.inline,
127306
- "label-width": "80px"
127313
+ "label-width": `${_vm.labelWidth}px`
127307
127314
  }
127308
127315
  }, [_vm._l(_vm.searchList, function (item, index) {
127309
127316
  return _c('el-form-item', {
@@ -127406,8 +127413,7 @@ var form_viewvue_type_template_id_0100de92_scoped_true_render = function render(
127406
127413
  }
127407
127414
  }, [_vm._v("重置")])], 1)], 2);
127408
127415
  };
127409
-
127410
- var form_viewvue_type_template_id_0100de92_scoped_true_staticRenderFns = [];
127416
+ var form_viewvue_type_template_id_d9efa21c_scoped_true_staticRenderFns = [];
127411
127417
 
127412
127418
  // EXTERNAL MODULE: ./node_modules/moment/moment.js
127413
127419
  var moment = __webpack_require__(30381);
@@ -127418,32 +127424,30 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
127418
127424
  * 通用表格组件
127419
127425
  * @displayName FormView
127420
127426
  */
127421
-
127422
127427
  /* harmony default export */ var form_viewvue_type_script_lang_js_ = ({
127423
127428
  name: 'BytFormView',
127424
127429
  props: {
127430
+ labelWidth: {
127431
+ type: Number,
127432
+ defualt: 80
127433
+ },
127425
127434
  inline: {
127426
127435
  type: Boolean,
127427
127436
  defualt: false
127428
127437
  },
127429
127438
  searchList: {
127430
127439
  type: Array,
127431
-
127432
127440
  default() {
127433
127441
  return [];
127434
127442
  }
127435
-
127436
127443
  },
127437
127444
  value: {
127438
127445
  type: Object,
127439
-
127440
127446
  default() {
127441
127447
  return {};
127442
127448
  }
127443
-
127444
127449
  }
127445
127450
  },
127446
-
127447
127451
  data() {
127448
127452
  return {
127449
127453
  form: {},
@@ -127451,62 +127455,48 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
127451
127455
  pickerOptions: {
127452
127456
  shortcuts: [{
127453
127457
  text: '最近一周',
127454
-
127455
127458
  onClick(picker) {
127456
127459
  const end = moment_default()().subtract(7, 'day').toDate();
127457
127460
  const start = new Date();
127458
127461
  picker.$emit('pick', [start, end]);
127459
127462
  }
127460
-
127461
127463
  }, {
127462
127464
  text: '最近一个月',
127463
-
127464
127465
  onClick(picker) {
127465
127466
  const end = moment_default()().subtract(1, 'month').toDate();
127466
127467
  const start = new Date();
127467
127468
  picker.$emit('pick', [start, end]);
127468
127469
  }
127469
-
127470
127470
  }, {
127471
127471
  text: '最近三个月',
127472
-
127473
127472
  onClick(picker) {
127474
127473
  const end = moment_default()().subtract(3, 'month').toDate();
127475
127474
  const start = new Date();
127476
127475
  picker.$emit('pick', [start, end]);
127477
127476
  }
127478
-
127479
127477
  }]
127480
127478
  }
127481
127479
  };
127482
127480
  },
127483
-
127484
127481
  components: {},
127485
127482
  computed: {},
127486
-
127487
127483
  mounted() {},
127488
-
127489
127484
  methods: {
127490
127485
  formateDate(type) {
127491
127486
  // date、week 、month、year
127492
127487
  switch (type) {
127493
127488
  case 'date':
127494
127489
  return 'yyyy-MM-dd';
127495
-
127496
127490
  case 'month':
127497
127491
  return 'yyyy-MM';
127498
-
127499
127492
  case 'year':
127500
127493
  return 'yyyy';
127501
-
127502
127494
  case 'datetime':
127503
127495
  return 'yyyy-MM-dd HH:mm:ss';
127504
-
127505
127496
  default:
127506
127497
  return 'yyyy-MM-dd';
127507
127498
  }
127508
127499
  },
127509
-
127510
127500
  onSearch() {
127511
127501
  /** 点击搜索
127512
127502
  * @event search
@@ -127514,17 +127504,14 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
127514
127504
  */
127515
127505
  this.$emit('search');
127516
127506
  },
127517
-
127518
127507
  onReset() {
127519
127508
  this.form = {};
127520
127509
  /** 点击重置
127521
127510
  * @event reset
127522
127511
  * @type {Event}
127523
127512
  */
127524
-
127525
127513
  this.$emit('reset');
127526
127514
  },
127527
-
127528
127515
  validate() {
127529
127516
  return new Promise(resolve => {
127530
127517
  this.$refs.form.validate(v => {
@@ -127532,7 +127519,6 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
127532
127519
  });
127533
127520
  });
127534
127521
  }
127535
-
127536
127522
  },
127537
127523
  watch: {
127538
127524
  value: {
@@ -127541,7 +127527,6 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
127541
127527
  this.form = Object.assign({}, this.form, val);
127542
127528
  }
127543
127529
  },
127544
-
127545
127530
  immediate: true,
127546
127531
  deep: true
127547
127532
  },
@@ -127553,7 +127538,6 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
127553
127538
  */
127554
127539
  this.$emit('input', val);
127555
127540
  },
127556
-
127557
127541
  deep: true
127558
127542
  }
127559
127543
  }
@@ -127668,11 +127652,11 @@ function normalizeComponent(
127668
127652
  ;
127669
127653
  var component = normalizeComponent(
127670
127654
  components_form_viewvue_type_script_lang_js_,
127671
- form_viewvue_type_template_id_0100de92_scoped_true_render,
127672
- form_viewvue_type_template_id_0100de92_scoped_true_staticRenderFns,
127655
+ form_viewvue_type_template_id_d9efa21c_scoped_true_render,
127656
+ form_viewvue_type_template_id_d9efa21c_scoped_true_staticRenderFns,
127673
127657
  false,
127674
127658
  null,
127675
- "0100de92",
127659
+ "d9efa21c",
127676
127660
  null
127677
127661
 
127678
127662
  )
@@ -127687,60 +127671,52 @@ var component = normalizeComponent(
127687
127671
  * @see {@link https://vxetable.cn/v3/#/table/base/basic}
127688
127672
  * @see {@link https://element.eleme.cn/#/zh-CN/component/installation}
127689
127673
  */
127690
-
127691
127674
  /* harmony default export */ var basic_viewvue_type_script_lang_js_ = ({
127692
127675
  name: 'BytBaseView',
127693
127676
  props: {
127677
+ // 表单label宽度
127678
+ labelWidth: {
127679
+ type: Number,
127680
+ default: 80
127681
+ },
127694
127682
  /** 搜索行内表单配置*/
127695
127683
  searchList: {
127696
127684
  type: Array,
127697
-
127698
127685
  default() {
127699
127686
  return [];
127700
127687
  }
127701
-
127702
127688
  },
127703
-
127704
127689
  /** 调用表格数据请求的方法*/
127705
127690
  fetch: {
127706
127691
  type: Function,
127707
127692
  default: () => {}
127708
127693
  },
127709
-
127710
127694
  /** 是否自动调用fetch请求,部分场景下不需要自动调用*/
127711
127695
  autoLoad: {
127712
127696
  type: Boolean,
127713
127697
  default: true
127714
127698
  },
127715
-
127716
127699
  /** 表格数据*/
127717
127700
  tableData: {
127718
127701
  type: Array,
127719
127702
  required: true,
127720
-
127721
127703
  default() {
127722
127704
  return [];
127723
127705
  }
127724
-
127725
127706
  },
127726
-
127727
127707
  /** 表格列配置*/
127728
127708
  columns: {
127729
127709
  type: Array,
127730
127710
  required: true,
127731
-
127732
127711
  default() {
127733
127712
  return [];
127734
127713
  }
127735
-
127736
127714
  },
127737
-
127738
127715
  /** 分页配置,默认没有分页*/
127739
127716
  pagination: {
127740
127717
  type: [Boolean, Object],
127741
127718
  default: false
127742
127719
  },
127743
-
127744
127720
  /**
127745
127721
  * 整体配置是否单元格溢出显示省略号
127746
127722
  * @values ellipsis, title, tooltip
@@ -127753,7 +127729,6 @@ var component = normalizeComponent(
127753
127729
  components: {
127754
127730
  FormView: form_view
127755
127731
  },
127756
-
127757
127732
  data() {
127758
127733
  return {
127759
127734
  searchForm: {},
@@ -127765,12 +127740,10 @@ var component = normalizeComponent(
127765
127740
  }
127766
127741
  };
127767
127742
  },
127768
-
127769
127743
  mounted() {
127770
127744
  // 有些特殊情况需要手动请求列表数据
127771
127745
  if (this.autoLoad) this.fetchData();
127772
127746
  },
127773
-
127774
127747
  methods: {
127775
127748
  onSelectAllEvent(list) {
127776
127749
  /** 多选框全选触发
@@ -127780,7 +127753,6 @@ var component = normalizeComponent(
127780
127753
  */
127781
127754
  this.$emit('checkbox-all', list);
127782
127755
  },
127783
-
127784
127756
  onSelectChangeEvent(list) {
127785
127757
  /** 多选框选择项变化触发
127786
127758
  * @event checkbox-change
@@ -127789,7 +127761,6 @@ var component = normalizeComponent(
127789
127761
  */
127790
127762
  this.$emit('checkbox-change', list);
127791
127763
  },
127792
-
127793
127764
  /**
127794
127765
  * 初始化请求列表数据
127795
127766
  * @param {params,pagination}
@@ -127809,7 +127780,6 @@ var component = normalizeComponent(
127809
127780
  };
127810
127781
  this.fetch(params);
127811
127782
  },
127812
-
127813
127783
  /**
127814
127784
  * 搜索
127815
127785
  * @param {params}
@@ -127818,7 +127788,6 @@ var component = normalizeComponent(
127818
127788
  onSearch() {
127819
127789
  this.fetchData();
127820
127790
  },
127821
-
127822
127791
  /**
127823
127792
  * 刷新列表
127824
127793
  * @param {params}
@@ -127828,7 +127797,6 @@ var component = normalizeComponent(
127828
127797
  this.pageOpt.page = 1;
127829
127798
  this.fetchData();
127830
127799
  },
127831
-
127832
127800
  /**
127833
127801
  * 重置搜索条件
127834
127802
  * @param {params}
@@ -127839,7 +127807,6 @@ var component = normalizeComponent(
127839
127807
  this.searchForm = {};
127840
127808
  this.fetchData();
127841
127809
  },
127842
-
127843
127810
  onSizeChange(size) {
127844
127811
  this.pageOpt.pageSize = size;
127845
127812
  this.pageOpt.page = 1;
@@ -127847,14 +127814,12 @@ var component = normalizeComponent(
127847
127814
  this.fetchData();
127848
127815
  });
127849
127816
  },
127850
-
127851
127817
  onPageChange(page) {
127852
127818
  this.pageOpt.page = page;
127853
127819
  this.$nextTick(() => {
127854
127820
  this.fetchData();
127855
127821
  });
127856
127822
  },
127857
-
127858
127823
  initForm(list) {
127859
127824
  list.map(v => {
127860
127825
  if (v.value || v.value == 0) {
@@ -127862,7 +127827,6 @@ var component = normalizeComponent(
127862
127827
  }
127863
127828
  });
127864
127829
  }
127865
-
127866
127830
  },
127867
127831
  watch: {
127868
127832
  pagination: {
@@ -127871,7 +127835,6 @@ var component = normalizeComponent(
127871
127835
  this.pageOpt = Object.assign(this.pageOpt, val);
127872
127836
  }
127873
127837
  },
127874
-
127875
127838
  immediate: true,
127876
127839
  deep: true
127877
127840
  },
@@ -127879,7 +127842,6 @@ var component = normalizeComponent(
127879
127842
  handler(val) {
127880
127843
  this.initForm(val);
127881
127844
  },
127882
-
127883
127845
  immediate: true,
127884
127846
  deep: true
127885
127847
  }
@@ -127887,10 +127849,10 @@ var component = normalizeComponent(
127887
127849
  });
127888
127850
  ;// CONCATENATED MODULE: ./packages/components/basic-view/index.vue?vue&type=script&lang=js&
127889
127851
  /* harmony default export */ var components_basic_viewvue_type_script_lang_js_ = (basic_viewvue_type_script_lang_js_);
127890
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/basic-view/index.vue?vue&type=style&index=0&id=4eea757a&prod&lang=scss&scoped=true&
127852
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/basic-view/index.vue?vue&type=style&index=0&id=0edabe78&prod&lang=scss&scoped=true&
127891
127853
  // extracted by mini-css-extract-plugin
127892
127854
 
127893
- ;// CONCATENATED MODULE: ./packages/components/basic-view/index.vue?vue&type=style&index=0&id=4eea757a&prod&lang=scss&scoped=true&
127855
+ ;// CONCATENATED MODULE: ./packages/components/basic-view/index.vue?vue&type=style&index=0&id=0edabe78&prod&lang=scss&scoped=true&
127894
127856
 
127895
127857
  ;// CONCATENATED MODULE: ./packages/components/basic-view/index.vue
127896
127858
 
@@ -127907,7 +127869,7 @@ var basic_view_component = normalizeComponent(
127907
127869
  staticRenderFns,
127908
127870
  false,
127909
127871
  null,
127910
- "4eea757a",
127872
+ "0edabe78",
127911
127873
  null
127912
127874
 
127913
127875
  )
@@ -127935,13 +127897,10 @@ const components = [basic_view, form_view];
127935
127897
  */
127936
127898
  // 动态引入
127937
127899
  let conmmon = {};
127938
-
127939
127900
  const requireContext = __webpack_require__(26745);
127940
-
127941
127901
  requireContext.keys().map(key => {
127942
127902
  const reg = /\w+/;
127943
127903
  const k = key.match(reg)[0];
127944
-
127945
127904
  if (requireContext(key).default) {
127946
127905
  conmmon[k] = requireContext(key).default;
127947
127906
  } else {
@@ -127965,12 +127924,13 @@ var element_ui_common_default = /*#__PURE__*/__webpack_require__.n(element_ui_co
127965
127924
  * @LastEditTime: 2022-10-25 09:47:57
127966
127925
  * @LastEditors: 王国火
127967
127926
  */
127968
- //通用组件
127969
127927
 
127970
- //公用方法
127928
+ //通用组件
127929
+
127930
+ //公用方法
127971
127931
 
127972
- // 第三方依赖
127973
127932
 
127933
+ // 第三方依赖
127974
127934
 
127975
127935
 
127976
127936
 
@@ -127984,15 +127944,15 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().use((element_ui_common_de
127984
127944
  const Cmps = {};
127985
127945
  packages_components.map(component => {
127986
127946
  Cmps[component.name] = component;
127987
- }); // install组件api
127947
+ });
127988
127948
 
127949
+ // install组件api
127989
127950
  const install = function (Vue) {
127990
127951
  packages_components.map(component => {
127991
127952
  Vue.component(component.name, component);
127992
127953
  });
127993
127954
  Vue.prototype.$byt = common;
127994
127955
  };
127995
-
127996
127956
  /* harmony default export */ var packages_0 = ({
127997
127957
  install,
127998
127958
  ...Cmps,