byt-ui 0.0.14 → 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/README.md +74 -74
- package/jsconfig.json +19 -19
- package/lib/byt-ui.common.js +153 -193
- package/lib/byt-ui.css +1 -1
- package/lib/byt-ui.umd.js +151 -191
- package/lib/byt-ui.umd.min.js +2 -2
- package/package.json +73 -73
- package/packages/common/modules/cookie.js +3 -3
- package/packages/components/basic-view/demo.vue +8 -0
- package/packages/components/basic-view/index.vue +8 -2
- package/packages/components/form-view/index.vue +7 -3
package/lib/byt-ui.common.js
CHANGED
|
@@ -2899,7 +2899,7 @@ var DESCRIPTORS = __webpack_require__(19781);
|
|
|
2899
2899
|
var isArray = __webpack_require__(43157);
|
|
2900
2900
|
|
|
2901
2901
|
var $TypeError = TypeError;
|
|
2902
|
-
// eslint-disable-next-line es
|
|
2902
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2903
2903
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2904
2904
|
|
|
2905
2905
|
// Safari < 13 does not throw an error in this case
|
|
@@ -2907,7 +2907,7 @@ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
|
|
2907
2907
|
// makes no sense without proper strict mode support
|
|
2908
2908
|
if (this !== undefined) return true;
|
|
2909
2909
|
try {
|
|
2910
|
-
// eslint-disable-next-line es
|
|
2910
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2911
2911
|
Object.defineProperty([], 'length', { writable: false }).length = 1;
|
|
2912
2912
|
} catch (error) {
|
|
2913
2913
|
return error instanceof TypeError;
|
|
@@ -2928,10 +2928,10 @@ module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
|
2928
2928
|
/***/ 84326:
|
|
2929
2929
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2930
2930
|
|
|
2931
|
-
var
|
|
2931
|
+
var uncurryThisRaw = __webpack_require__(40084);
|
|
2932
2932
|
|
|
2933
|
-
var toString =
|
|
2934
|
-
var stringSlice =
|
|
2933
|
+
var toString = uncurryThisRaw({}.toString);
|
|
2934
|
+
var stringSlice = uncurryThisRaw(''.slice);
|
|
2935
2935
|
|
|
2936
2936
|
module.exports = function (it) {
|
|
2937
2937
|
return stringSlice(toString(it), 8, -1);
|
|
@@ -3034,7 +3034,7 @@ module.exports = function (O, key, value, options) {
|
|
|
3034
3034
|
|
|
3035
3035
|
var global = __webpack_require__(17854);
|
|
3036
3036
|
|
|
3037
|
-
// eslint-disable-next-line es
|
|
3037
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
3038
3038
|
var defineProperty = Object.defineProperty;
|
|
3039
3039
|
|
|
3040
3040
|
module.exports = function (key, value) {
|
|
@@ -3055,11 +3055,27 @@ var fails = __webpack_require__(47293);
|
|
|
3055
3055
|
|
|
3056
3056
|
// Detect IE8's incomplete defineProperty implementation
|
|
3057
3057
|
module.exports = !fails(function () {
|
|
3058
|
-
// eslint-disable-next-line es
|
|
3058
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
3059
3059
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
3060
3060
|
});
|
|
3061
3061
|
|
|
3062
3062
|
|
|
3063
|
+
/***/ }),
|
|
3064
|
+
|
|
3065
|
+
/***/ 4154:
|
|
3066
|
+
/***/ (function(module) {
|
|
3067
|
+
|
|
3068
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
3069
|
+
|
|
3070
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
3071
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
3072
|
+
|
|
3073
|
+
module.exports = {
|
|
3074
|
+
all: documentAll,
|
|
3075
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
3076
|
+
};
|
|
3077
|
+
|
|
3078
|
+
|
|
3063
3079
|
/***/ }),
|
|
3064
3080
|
|
|
3065
3081
|
/***/ 80317:
|
|
@@ -3235,7 +3251,7 @@ module.exports = function (exec) {
|
|
|
3235
3251
|
var fails = __webpack_require__(47293);
|
|
3236
3252
|
|
|
3237
3253
|
module.exports = !fails(function () {
|
|
3238
|
-
// eslint-disable-next-line es
|
|
3254
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
3239
3255
|
var test = (function () { /* empty */ }).bind();
|
|
3240
3256
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
3241
3257
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -3265,7 +3281,7 @@ var DESCRIPTORS = __webpack_require__(19781);
|
|
|
3265
3281
|
var hasOwn = __webpack_require__(92597);
|
|
3266
3282
|
|
|
3267
3283
|
var FunctionPrototype = Function.prototype;
|
|
3268
|
-
// eslint-disable-next-line es
|
|
3284
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3269
3285
|
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
3270
3286
|
|
|
3271
3287
|
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
@@ -3282,25 +3298,38 @@ module.exports = {
|
|
|
3282
3298
|
|
|
3283
3299
|
/***/ }),
|
|
3284
3300
|
|
|
3285
|
-
/***/
|
|
3301
|
+
/***/ 40084:
|
|
3286
3302
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3287
3303
|
|
|
3288
3304
|
var NATIVE_BIND = __webpack_require__(34374);
|
|
3289
3305
|
|
|
3290
3306
|
var FunctionPrototype = Function.prototype;
|
|
3291
|
-
var bind = FunctionPrototype.bind;
|
|
3292
3307
|
var call = FunctionPrototype.call;
|
|
3293
|
-
var
|
|
3308
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
|
3294
3309
|
|
|
3295
|
-
module.exports = NATIVE_BIND ? function (fn) {
|
|
3296
|
-
return
|
|
3297
|
-
} : function (fn) {
|
|
3298
|
-
return fn && function () {
|
|
3310
|
+
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
3311
|
+
return function () {
|
|
3299
3312
|
return call.apply(fn, arguments);
|
|
3300
3313
|
};
|
|
3301
3314
|
};
|
|
3302
3315
|
|
|
3303
3316
|
|
|
3317
|
+
/***/ }),
|
|
3318
|
+
|
|
3319
|
+
/***/ 1702:
|
|
3320
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3321
|
+
|
|
3322
|
+
var classofRaw = __webpack_require__(84326);
|
|
3323
|
+
var uncurryThisRaw = __webpack_require__(40084);
|
|
3324
|
+
|
|
3325
|
+
module.exports = function (fn) {
|
|
3326
|
+
// Nashorn bug:
|
|
3327
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
3328
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
3329
|
+
if (classofRaw(fn) === 'Function') return uncurryThisRaw(fn);
|
|
3330
|
+
};
|
|
3331
|
+
|
|
3332
|
+
|
|
3304
3333
|
/***/ }),
|
|
3305
3334
|
|
|
3306
3335
|
/***/ 35005:
|
|
@@ -3345,7 +3374,7 @@ var check = function (it) {
|
|
|
3345
3374
|
|
|
3346
3375
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
3347
3376
|
module.exports =
|
|
3348
|
-
// eslint-disable-next-line es
|
|
3377
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
3349
3378
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
3350
3379
|
check(typeof window == 'object' && window) ||
|
|
3351
3380
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -3367,7 +3396,7 @@ var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
|
3367
3396
|
|
|
3368
3397
|
// `HasOwnProperty` abstract operation
|
|
3369
3398
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
3370
|
-
// eslint-disable-next-line es
|
|
3399
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
3371
3400
|
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
3372
3401
|
return hasOwnProperty(toObject(it), key);
|
|
3373
3402
|
};
|
|
@@ -3392,7 +3421,7 @@ var createElement = __webpack_require__(80317);
|
|
|
3392
3421
|
|
|
3393
3422
|
// Thanks to IE8 for its funny defineProperty
|
|
3394
3423
|
module.exports = !DESCRIPTORS && !fails(function () {
|
|
3395
|
-
// eslint-disable-next-line es
|
|
3424
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
3396
3425
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
3397
3426
|
get: function () { return 7; }
|
|
3398
3427
|
}).a != 7;
|
|
@@ -3449,7 +3478,6 @@ module.exports = store.inspectSource;
|
|
|
3449
3478
|
|
|
3450
3479
|
var NATIVE_WEAK_MAP = __webpack_require__(94811);
|
|
3451
3480
|
var global = __webpack_require__(17854);
|
|
3452
|
-
var uncurryThis = __webpack_require__(1702);
|
|
3453
3481
|
var isObject = __webpack_require__(70111);
|
|
3454
3482
|
var createNonEnumerableProperty = __webpack_require__(68880);
|
|
3455
3483
|
var hasOwn = __webpack_require__(92597);
|
|
@@ -3477,20 +3505,22 @@ var getterFor = function (TYPE) {
|
|
|
3477
3505
|
|
|
3478
3506
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
3479
3507
|
var store = shared.state || (shared.state = new WeakMap());
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3508
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
3509
|
+
store.get = store.get;
|
|
3510
|
+
store.has = store.has;
|
|
3511
|
+
store.set = store.set;
|
|
3512
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
3483
3513
|
set = function (it, metadata) {
|
|
3484
|
-
if (
|
|
3514
|
+
if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
3485
3515
|
metadata.facade = it;
|
|
3486
|
-
|
|
3516
|
+
store.set(it, metadata);
|
|
3487
3517
|
return metadata;
|
|
3488
3518
|
};
|
|
3489
3519
|
get = function (it) {
|
|
3490
|
-
return
|
|
3520
|
+
return store.get(it) || {};
|
|
3491
3521
|
};
|
|
3492
3522
|
has = function (it) {
|
|
3493
|
-
return
|
|
3523
|
+
return store.has(it);
|
|
3494
3524
|
};
|
|
3495
3525
|
} else {
|
|
3496
3526
|
var STATE = sharedKey('state');
|
|
@@ -3527,7 +3557,7 @@ var classof = __webpack_require__(84326);
|
|
|
3527
3557
|
|
|
3528
3558
|
// `IsArray` abstract operation
|
|
3529
3559
|
// https://tc39.es/ecma262/#sec-isarray
|
|
3530
|
-
// eslint-disable-next-line es
|
|
3560
|
+
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
3531
3561
|
module.exports = Array.isArray || function isArray(argument) {
|
|
3532
3562
|
return classof(argument) == 'Array';
|
|
3533
3563
|
};
|
|
@@ -3536,11 +3566,17 @@ module.exports = Array.isArray || function isArray(argument) {
|
|
|
3536
3566
|
/***/ }),
|
|
3537
3567
|
|
|
3538
3568
|
/***/ 60614:
|
|
3539
|
-
/***/ (function(module) {
|
|
3569
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3570
|
+
|
|
3571
|
+
var $documentAll = __webpack_require__(4154);
|
|
3572
|
+
|
|
3573
|
+
var documentAll = $documentAll.all;
|
|
3540
3574
|
|
|
3541
3575
|
// `IsCallable` abstract operation
|
|
3542
3576
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
3543
|
-
module.exports = function (argument) {
|
|
3577
|
+
module.exports = $documentAll.IS_HTMLDDA ? function (argument) {
|
|
3578
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
3579
|
+
} : function (argument) {
|
|
3544
3580
|
return typeof argument == 'function';
|
|
3545
3581
|
};
|
|
3546
3582
|
|
|
@@ -3592,13 +3628,11 @@ module.exports = function (it) {
|
|
|
3592
3628
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3593
3629
|
|
|
3594
3630
|
var isCallable = __webpack_require__(60614);
|
|
3631
|
+
var $documentAll = __webpack_require__(4154);
|
|
3595
3632
|
|
|
3596
|
-
var documentAll =
|
|
3597
|
-
|
|
3598
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
3599
|
-
var SPECIAL_DOCUMENT_ALL = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
3633
|
+
var documentAll = $documentAll.all;
|
|
3600
3634
|
|
|
3601
|
-
module.exports =
|
|
3635
|
+
module.exports = $documentAll.IS_HTMLDDA ? function (it) {
|
|
3602
3636
|
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
|
|
3603
3637
|
} : function (it) {
|
|
3604
3638
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
@@ -3662,7 +3696,7 @@ var InternalStateModule = __webpack_require__(29909);
|
|
|
3662
3696
|
|
|
3663
3697
|
var enforceInternalState = InternalStateModule.enforce;
|
|
3664
3698
|
var getInternalState = InternalStateModule.get;
|
|
3665
|
-
// eslint-disable-next-line es
|
|
3699
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
3666
3700
|
var defineProperty = Object.defineProperty;
|
|
3667
3701
|
|
|
3668
3702
|
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
@@ -3713,7 +3747,7 @@ var floor = Math.floor;
|
|
|
3713
3747
|
|
|
3714
3748
|
// `Math.trunc` method
|
|
3715
3749
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
3716
|
-
// eslint-disable-next-line es
|
|
3750
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
3717
3751
|
module.exports = Math.trunc || function trunc(x) {
|
|
3718
3752
|
var n = +x;
|
|
3719
3753
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -3732,9 +3766,9 @@ var anObject = __webpack_require__(19670);
|
|
|
3732
3766
|
var toPropertyKey = __webpack_require__(34948);
|
|
3733
3767
|
|
|
3734
3768
|
var $TypeError = TypeError;
|
|
3735
|
-
// eslint-disable-next-line es
|
|
3769
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
3736
3770
|
var $defineProperty = Object.defineProperty;
|
|
3737
|
-
// eslint-disable-next-line es
|
|
3771
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3738
3772
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
3739
3773
|
var ENUMERABLE = 'enumerable';
|
|
3740
3774
|
var CONFIGURABLE = 'configurable';
|
|
@@ -3784,7 +3818,7 @@ var toPropertyKey = __webpack_require__(34948);
|
|
|
3784
3818
|
var hasOwn = __webpack_require__(92597);
|
|
3785
3819
|
var IE8_DOM_DEFINE = __webpack_require__(64664);
|
|
3786
3820
|
|
|
3787
|
-
// eslint-disable-next-line es
|
|
3821
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3788
3822
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
3789
3823
|
|
|
3790
3824
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -3811,7 +3845,7 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
|
3811
3845
|
|
|
3812
3846
|
// `Object.getOwnPropertyNames` method
|
|
3813
3847
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
3814
|
-
// eslint-disable-next-line es
|
|
3848
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
3815
3849
|
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
3816
3850
|
return internalObjectKeys(O, hiddenKeys);
|
|
3817
3851
|
};
|
|
@@ -3822,7 +3856,7 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
3822
3856
|
/***/ 25181:
|
|
3823
3857
|
/***/ (function(__unused_webpack_module, exports) {
|
|
3824
3858
|
|
|
3825
|
-
// eslint-disable-next-line es
|
|
3859
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
3826
3860
|
exports.f = Object.getOwnPropertySymbols;
|
|
3827
3861
|
|
|
3828
3862
|
|
|
@@ -3871,7 +3905,7 @@ module.exports = function (object, names) {
|
|
|
3871
3905
|
"use strict";
|
|
3872
3906
|
|
|
3873
3907
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
3874
|
-
// eslint-disable-next-line es
|
|
3908
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3875
3909
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
3876
3910
|
|
|
3877
3911
|
// Nashorn ~ JDK8 bug
|
|
@@ -3985,10 +4019,10 @@ var store = __webpack_require__(5465);
|
|
|
3985
4019
|
(module.exports = function (key, value) {
|
|
3986
4020
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
3987
4021
|
})('versions', []).push({
|
|
3988
|
-
version: '3.
|
|
4022
|
+
version: '3.26.0',
|
|
3989
4023
|
mode: IS_PURE ? 'pure' : 'global',
|
|
3990
4024
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
3991
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
4025
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE',
|
|
3992
4026
|
source: 'https://github.com/zloirock/core-js'
|
|
3993
4027
|
});
|
|
3994
4028
|
|
|
@@ -3998,11 +4032,11 @@ var store = __webpack_require__(5465);
|
|
|
3998
4032
|
/***/ 36293:
|
|
3999
4033
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
4000
4034
|
|
|
4001
|
-
/* eslint-disable es
|
|
4035
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
4002
4036
|
var V8_VERSION = __webpack_require__(7392);
|
|
4003
4037
|
var fails = __webpack_require__(47293);
|
|
4004
4038
|
|
|
4005
|
-
// eslint-disable-next-line es
|
|
4039
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
4006
4040
|
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
4007
4041
|
var symbol = Symbol();
|
|
4008
4042
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
@@ -4179,7 +4213,7 @@ module.exports = function (key) {
|
|
|
4179
4213
|
/***/ 43307:
|
|
4180
4214
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
4181
4215
|
|
|
4182
|
-
/* eslint-disable es
|
|
4216
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
4183
4217
|
var NATIVE_SYMBOL = __webpack_require__(36293);
|
|
4184
4218
|
|
|
4185
4219
|
module.exports = NATIVE_SYMBOL
|
|
@@ -4198,7 +4232,7 @@ var fails = __webpack_require__(47293);
|
|
|
4198
4232
|
// V8 ~ Chrome 36-
|
|
4199
4233
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
4200
4234
|
module.exports = DESCRIPTORS && fails(function () {
|
|
4201
|
-
// eslint-disable-next-line es
|
|
4235
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
4202
4236
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
4203
4237
|
value: 42,
|
|
4204
4238
|
writable: false
|
|
@@ -4272,7 +4306,7 @@ var INCORRECT_TO_LENGTH = fails(function () {
|
|
|
4272
4306
|
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
4273
4307
|
var SILENT_ON_NON_WRITABLE_LENGTH = !function () {
|
|
4274
4308
|
try {
|
|
4275
|
-
// eslint-disable-next-line es
|
|
4309
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
4276
4310
|
Object.defineProperty([], 'length', { writable: false }).push();
|
|
4277
4311
|
} catch (error) {
|
|
4278
4312
|
return error instanceof TypeError;
|
|
@@ -85556,14 +85590,13 @@ var website = __webpack_require__(2411);
|
|
|
85556
85590
|
* @Description:
|
|
85557
85591
|
* @Author: 王国火
|
|
85558
85592
|
* @Date: 2022-10-18 12:37:03
|
|
85559
|
-
* @LastEditTime: 2022-10-
|
|
85593
|
+
* @LastEditTime: 2022-10-18 12:37:56
|
|
85560
85594
|
* @LastEditors: 王国火
|
|
85561
85595
|
*/
|
|
85562
85596
|
|
|
85563
85597
|
|
|
85564
85598
|
const getCookie = (key, context) => {
|
|
85565
|
-
const searchKey = `${website["default"].key}
|
|
85566
|
-
|
|
85599
|
+
const searchKey = `${website["default"].key}_${key}`;
|
|
85567
85600
|
if (context && context.req) {
|
|
85568
85601
|
if (context.req.headers.cookie) {
|
|
85569
85602
|
const arr = context.req.headers.cookie.split(';');
|
|
@@ -85579,7 +85612,7 @@ const getCookie = (key, context) => {
|
|
|
85579
85612
|
}
|
|
85580
85613
|
};
|
|
85581
85614
|
const setCookie = (key, value, expires = 7, path = '/') => {
|
|
85582
|
-
return js_cookie.set(`${website["default"].key}
|
|
85615
|
+
return js_cookie.set(`${website["default"].key}_${key}`, value, {
|
|
85583
85616
|
expires,
|
|
85584
85617
|
path
|
|
85585
85618
|
});
|
|
@@ -85609,7 +85642,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
85609
85642
|
/* harmony import */ var _validate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(98564);
|
|
85610
85643
|
/* harmony import */ var _website__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2411);
|
|
85611
85644
|
|
|
85612
|
-
|
|
85613
85645
|
/*
|
|
85614
85646
|
* @Description:
|
|
85615
85647
|
* @Author: 王国火
|
|
@@ -85618,13 +85650,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
85618
85650
|
* @LastEditors: 王国火
|
|
85619
85651
|
*/
|
|
85620
85652
|
|
|
85621
|
-
//存储前缀 避免与同域的其它项目冲突
|
|
85622
85653
|
|
|
85654
|
+
//存储前缀 避免与同域的其它项目冲突
|
|
85623
85655
|
const keyName = _website__WEBPACK_IMPORTED_MODULE_2__["default"].key;
|
|
85624
85656
|
/**
|
|
85625
85657
|
* 存储localStorage
|
|
85626
85658
|
*/
|
|
85627
|
-
|
|
85628
85659
|
const setStore = (key, value, type = 0) => {
|
|
85629
85660
|
const name = `${keyName}-${key}`;
|
|
85630
85661
|
const obj = {
|
|
@@ -85633,7 +85664,6 @@ const setStore = (key, value, type = 0) => {
|
|
|
85633
85664
|
type: type,
|
|
85634
85665
|
datetime: new Date().getTime()
|
|
85635
85666
|
};
|
|
85636
|
-
|
|
85637
85667
|
if (type) {
|
|
85638
85668
|
window.sessionStorage.setItem(name, JSON.stringify(obj));
|
|
85639
85669
|
} else {
|
|
@@ -85649,17 +85679,14 @@ const getStore = (key, debug = false) => {
|
|
|
85649
85679
|
let obj = window.sessionStorage.getItem(name) || window.localStorage.getItem(name);
|
|
85650
85680
|
let content;
|
|
85651
85681
|
if ((0,_validate__WEBPACK_IMPORTED_MODULE_1__.validatenull)(obj)) return null;
|
|
85652
|
-
|
|
85653
85682
|
try {
|
|
85654
85683
|
obj = JSON.parse(obj);
|
|
85655
85684
|
} catch (e) {
|
|
85656
85685
|
return obj;
|
|
85657
85686
|
}
|
|
85658
|
-
|
|
85659
85687
|
if (debug) {
|
|
85660
85688
|
return obj;
|
|
85661
85689
|
}
|
|
85662
|
-
|
|
85663
85690
|
if (obj.dataType === 'string') {
|
|
85664
85691
|
content = obj.content;
|
|
85665
85692
|
} else if (obj.dataType === 'number') {
|
|
@@ -85669,25 +85696,22 @@ const getStore = (key, debug = false) => {
|
|
|
85669
85696
|
} else if (obj.dataType === 'object') {
|
|
85670
85697
|
content = obj.content;
|
|
85671
85698
|
}
|
|
85672
|
-
|
|
85673
85699
|
return content;
|
|
85674
85700
|
};
|
|
85675
85701
|
/**
|
|
85676
85702
|
* 删除localStorage
|
|
85677
85703
|
*/
|
|
85678
|
-
|
|
85679
85704
|
const removeStore = key => {
|
|
85680
85705
|
const name = `${keyName}-${key}`;
|
|
85681
85706
|
window.sessionStorage.removeItem(name);
|
|
85682
85707
|
window.localStorage.removeItem(name);
|
|
85683
85708
|
};
|
|
85709
|
+
|
|
85684
85710
|
/**
|
|
85685
85711
|
* 获取全部localStorage
|
|
85686
85712
|
*/
|
|
85687
|
-
|
|
85688
85713
|
const getAllStore = (type = 0) => {
|
|
85689
85714
|
const list = [];
|
|
85690
|
-
|
|
85691
85715
|
if (type) {
|
|
85692
85716
|
for (let i = 0; i <= window.sessionStorage.length; i++) {
|
|
85693
85717
|
list.push({
|
|
@@ -85708,13 +85732,12 @@ const getAllStore = (type = 0) => {
|
|
|
85708
85732
|
});
|
|
85709
85733
|
}
|
|
85710
85734
|
}
|
|
85711
|
-
|
|
85712
85735
|
return list;
|
|
85713
85736
|
};
|
|
85737
|
+
|
|
85714
85738
|
/**
|
|
85715
85739
|
* 清空全部localStorage
|
|
85716
85740
|
*/
|
|
85717
|
-
|
|
85718
85741
|
const clearStore = (type = 0) => {
|
|
85719
85742
|
if (type) {
|
|
85720
85743
|
window.sessionStorage.clear();
|
|
@@ -85757,35 +85780,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
85757
85780
|
function isExternal(path) {
|
|
85758
85781
|
return /^(https?:|mailto:|tel:)/.test(path);
|
|
85759
85782
|
}
|
|
85783
|
+
|
|
85760
85784
|
/**
|
|
85761
85785
|
* 邮箱
|
|
85762
85786
|
* @param {*} s
|
|
85763
85787
|
*/
|
|
85764
|
-
|
|
85765
85788
|
function isEmail(s) {
|
|
85766
85789
|
return /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/.test(s);
|
|
85767
85790
|
}
|
|
85791
|
+
|
|
85768
85792
|
/**
|
|
85769
85793
|
* 手机号码
|
|
85770
85794
|
* @param {*} s
|
|
85771
85795
|
*/
|
|
85772
|
-
|
|
85773
85796
|
function isMobile(s) {
|
|
85774
85797
|
return /^1[0-9]{10}$/.test(s);
|
|
85775
85798
|
}
|
|
85799
|
+
|
|
85776
85800
|
/**
|
|
85777
85801
|
* 电话号码
|
|
85778
85802
|
* @param {*} s
|
|
85779
85803
|
*/
|
|
85780
|
-
|
|
85781
85804
|
function isPhone(s) {
|
|
85782
85805
|
return /^([0-9]{3,4}-)?[0-9]{7,8}$/.test(s);
|
|
85783
85806
|
}
|
|
85807
|
+
|
|
85784
85808
|
/**
|
|
85785
85809
|
* URL地址
|
|
85786
85810
|
* @param {*} s
|
|
85787
85811
|
*/
|
|
85788
|
-
|
|
85789
85812
|
function isURL(s) {
|
|
85790
85813
|
return /^http[s]?:\/\/.*/.test(s);
|
|
85791
85814
|
}
|
|
@@ -85793,60 +85816,58 @@ function isvalidUsername(str) {
|
|
|
85793
85816
|
const valid_map = ['admin', 'editor'];
|
|
85794
85817
|
return valid_map.indexOf(str.trim()) >= 0;
|
|
85795
85818
|
}
|
|
85796
|
-
/* 合法uri */
|
|
85797
85819
|
|
|
85820
|
+
/* 合法uri */
|
|
85798
85821
|
function validateURL(textval) {
|
|
85799
85822
|
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.,?'\\+&%$#=~_-]+))*$/;
|
|
85800
85823
|
return urlregex.test(textval);
|
|
85801
85824
|
}
|
|
85802
|
-
/* 小写字母 */
|
|
85803
85825
|
|
|
85826
|
+
/* 小写字母 */
|
|
85804
85827
|
function validateLowerCase(str) {
|
|
85805
85828
|
const reg = /^[a-z]+$/;
|
|
85806
85829
|
return reg.test(str);
|
|
85807
85830
|
}
|
|
85808
|
-
/* 大写字母 */
|
|
85809
85831
|
|
|
85832
|
+
/* 大写字母 */
|
|
85810
85833
|
function validateUpperCase(str) {
|
|
85811
85834
|
const reg = /^[A-Z]+$/;
|
|
85812
85835
|
return reg.test(str);
|
|
85813
85836
|
}
|
|
85814
|
-
/* 大小写字母 */
|
|
85815
85837
|
|
|
85838
|
+
/* 大小写字母 */
|
|
85816
85839
|
function validatAlphabets(str) {
|
|
85817
85840
|
const reg = /^[A-Za-z]+$/;
|
|
85818
85841
|
return reg.test(str);
|
|
85819
85842
|
}
|
|
85820
|
-
/* 验证pad还是pc */
|
|
85821
85843
|
|
|
85844
|
+
/* 验证pad还是pc */
|
|
85822
85845
|
const vaildatePc = function () {
|
|
85823
85846
|
const userAgentInfo = navigator.userAgent;
|
|
85824
85847
|
const Agents = ['Android', 'iPhone', 'SymbianOS', 'Windows Phone', 'iPad', 'iPod'];
|
|
85825
85848
|
let flag = true;
|
|
85826
|
-
|
|
85827
85849
|
for (var v = 0; v < Agents.length; v++) {
|
|
85828
85850
|
if (userAgentInfo.indexOf(Agents[v]) > 0) {
|
|
85829
85851
|
flag = false;
|
|
85830
85852
|
break;
|
|
85831
85853
|
}
|
|
85832
85854
|
}
|
|
85833
|
-
|
|
85834
85855
|
return flag;
|
|
85835
85856
|
};
|
|
85857
|
+
|
|
85836
85858
|
/**
|
|
85837
85859
|
* validate email
|
|
85838
85860
|
* @param email
|
|
85839
85861
|
* @returns {boolean}
|
|
85840
85862
|
*/
|
|
85841
|
-
|
|
85842
85863
|
function validateEmail(email) {
|
|
85843
85864
|
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,}))$/;
|
|
85844
85865
|
return re.test(email);
|
|
85845
85866
|
}
|
|
85867
|
+
|
|
85846
85868
|
/**
|
|
85847
85869
|
* 判断身份证号码
|
|
85848
85870
|
*/
|
|
85849
|
-
|
|
85850
85871
|
function cardid(code) {
|
|
85851
85872
|
const list = [];
|
|
85852
85873
|
let result = true;
|
|
@@ -85888,7 +85909,6 @@ function cardid(code) {
|
|
|
85888
85909
|
82: '澳门',
|
|
85889
85910
|
91: '国外 '
|
|
85890
85911
|
};
|
|
85891
|
-
|
|
85892
85912
|
if (!validatenull(code)) {
|
|
85893
85913
|
if (code.length === 18) {
|
|
85894
85914
|
if (!code || !/(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(code)) {
|
|
@@ -85897,22 +85917,20 @@ function cardid(code) {
|
|
|
85897
85917
|
msg = '地址编码错误';
|
|
85898
85918
|
} else {
|
|
85899
85919
|
// 18位身份证需要验证最后一位校验位
|
|
85900
|
-
code = code.split('');
|
|
85920
|
+
code = code.split('');
|
|
85921
|
+
// ∑(ai×Wi)(mod 11)
|
|
85901
85922
|
// 加权因子
|
|
85902
|
-
|
|
85903
|
-
|
|
85904
|
-
|
|
85923
|
+
var factor = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2];
|
|
85924
|
+
// 校验位
|
|
85905
85925
|
var parity = [1, 0, 'X', 9, 8, 7, 6, 5, 4, 3, 2, 'x'];
|
|
85906
85926
|
var sum = 0;
|
|
85907
85927
|
var ai = 0;
|
|
85908
85928
|
var wi = 0;
|
|
85909
|
-
|
|
85910
85929
|
for (var i = 0; i < 17; i++) {
|
|
85911
85930
|
ai = code[i];
|
|
85912
85931
|
wi = factor[i];
|
|
85913
85932
|
sum += ai * wi;
|
|
85914
85933
|
}
|
|
85915
|
-
|
|
85916
85934
|
if (parity[sum % 11] !== code[17]) {
|
|
85917
85935
|
msg = '证件号码校验位错误';
|
|
85918
85936
|
} else {
|
|
@@ -85925,21 +85943,20 @@ function cardid(code) {
|
|
|
85925
85943
|
} else {
|
|
85926
85944
|
msg = '证件号码不能为空';
|
|
85927
85945
|
}
|
|
85928
|
-
|
|
85929
85946
|
list.push(result);
|
|
85930
85947
|
list.push(msg);
|
|
85931
85948
|
return list;
|
|
85932
85949
|
}
|
|
85950
|
+
|
|
85933
85951
|
/**
|
|
85934
85952
|
* 判断手机号码是否正确
|
|
85935
85953
|
*/
|
|
85936
|
-
|
|
85937
85954
|
function isvalidatemobile(phone) {
|
|
85938
85955
|
const list = [];
|
|
85939
85956
|
let result = true;
|
|
85940
85957
|
let msg = '';
|
|
85941
|
-
var isPhone = /^0\d{2,3}-?\d{7,8}$/;
|
|
85942
|
-
|
|
85958
|
+
var isPhone = /^0\d{2,3}-?\d{7,8}$/;
|
|
85959
|
+
// 增加134 减少|1349[0-9]{7},增加181,增加145,增加17[678]
|
|
85943
85960
|
if (!validatenull(phone)) {
|
|
85944
85961
|
if (phone.length === 11) {
|
|
85945
85962
|
if (isPhone.test(phone)) {
|
|
@@ -85953,21 +85970,20 @@ function isvalidatemobile(phone) {
|
|
|
85953
85970
|
} else {
|
|
85954
85971
|
msg = '手机号码不能为空';
|
|
85955
85972
|
}
|
|
85956
|
-
|
|
85957
85973
|
list.push(result);
|
|
85958
85974
|
list.push(msg);
|
|
85959
85975
|
return list;
|
|
85960
85976
|
}
|
|
85977
|
+
|
|
85961
85978
|
/**
|
|
85962
85979
|
* 判断手机号码是否正确(可以为空)
|
|
85963
85980
|
*/
|
|
85964
|
-
|
|
85965
85981
|
function isValidateNoneMobile(phone) {
|
|
85966
85982
|
const list = [];
|
|
85967
85983
|
let result = true;
|
|
85968
85984
|
let msg = '';
|
|
85969
|
-
var isPhone = /^0\d{2,3}-?\d{7,8}$/;
|
|
85970
|
-
|
|
85985
|
+
var isPhone = /^0\d{2,3}-?\d{7,8}$/;
|
|
85986
|
+
// 增加134 减少|1349[0-9]{7},增加181,增加145,增加17[678]
|
|
85971
85987
|
if (!validatenull(phone)) {
|
|
85972
85988
|
if (phone.length === 11) {
|
|
85973
85989
|
if (isPhone.test(phone)) {
|
|
@@ -85981,65 +85997,58 @@ function isValidateNoneMobile(phone) {
|
|
|
85981
85997
|
} else {
|
|
85982
85998
|
result = false;
|
|
85983
85999
|
}
|
|
85984
|
-
|
|
85985
86000
|
list.push(result);
|
|
85986
86001
|
list.push(msg);
|
|
85987
86002
|
return list;
|
|
85988
86003
|
}
|
|
86004
|
+
|
|
85989
86005
|
/**
|
|
85990
86006
|
* 判断姓名是否正确
|
|
85991
86007
|
*/
|
|
85992
|
-
|
|
85993
86008
|
function validatename(name) {
|
|
85994
86009
|
var regName = /^[\u4e00-\u9fa5]{2,4}$/;
|
|
85995
86010
|
if (!regName.test(name)) return false;
|
|
85996
86011
|
return true;
|
|
85997
86012
|
}
|
|
86013
|
+
|
|
85998
86014
|
/**
|
|
85999
86015
|
* 判断是否为整数
|
|
86000
86016
|
*/
|
|
86001
|
-
|
|
86002
86017
|
function validatenum(num, type) {
|
|
86003
86018
|
let regName = /[^\d.]/g;
|
|
86004
|
-
|
|
86005
86019
|
if (type === 1) {
|
|
86006
86020
|
if (!regName.test(num)) return false;
|
|
86007
86021
|
} else if (type === 2) {
|
|
86008
86022
|
regName = /[^\d]/g;
|
|
86009
86023
|
if (!regName.test(num)) return false;
|
|
86010
86024
|
}
|
|
86011
|
-
|
|
86012
86025
|
return true;
|
|
86013
86026
|
}
|
|
86027
|
+
|
|
86014
86028
|
/**
|
|
86015
86029
|
* 判断是否为小数
|
|
86016
86030
|
*/
|
|
86017
|
-
|
|
86018
86031
|
function validatenumord(num, type) {
|
|
86019
86032
|
let regName = /[^\d.]/g;
|
|
86020
|
-
|
|
86021
86033
|
if (type === 1) {
|
|
86022
86034
|
if (!regName.test(num)) return false;
|
|
86023
86035
|
} else if (type === 2) {
|
|
86024
86036
|
regName = /[^\d.]/g;
|
|
86025
86037
|
if (!regName.test(num)) return false;
|
|
86026
86038
|
}
|
|
86027
|
-
|
|
86028
86039
|
return true;
|
|
86029
86040
|
}
|
|
86041
|
+
|
|
86030
86042
|
/**
|
|
86031
86043
|
* 判断是否为空
|
|
86032
86044
|
*/
|
|
86033
|
-
|
|
86034
86045
|
function validatenull(val) {
|
|
86035
86046
|
if (typeof val === 'boolean') {
|
|
86036
86047
|
return false;
|
|
86037
86048
|
}
|
|
86038
|
-
|
|
86039
86049
|
if (typeof val === 'number') {
|
|
86040
86050
|
return false;
|
|
86041
86051
|
}
|
|
86042
|
-
|
|
86043
86052
|
if (val instanceof Array) {
|
|
86044
86053
|
if (val.length === 0) return true;
|
|
86045
86054
|
} else if (val instanceof Object) {
|
|
@@ -86048,7 +86057,6 @@ function validatenull(val) {
|
|
|
86048
86057
|
if (val === 'null' || val == null || val === 'undefined' || val === undefined || val === '') return true;
|
|
86049
86058
|
return false;
|
|
86050
86059
|
}
|
|
86051
|
-
|
|
86052
86060
|
return false;
|
|
86053
86061
|
}
|
|
86054
86062
|
|
|
@@ -86074,7 +86082,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
86074
86082
|
smsLoginClient: 'app:app',
|
|
86075
86083
|
// 验证码登录的 client 信息
|
|
86076
86084
|
socialLoginClient: 'social:social' // 社交登录的 client 信息
|
|
86077
|
-
|
|
86078
86085
|
});
|
|
86079
86086
|
|
|
86080
86087
|
/***/ }),
|
|
@@ -91294,7 +91301,7 @@ var _table = _interopRequireDefault(__webpack_require__(34344));
|
|
|
91294
91301
|
|
|
91295
91302
|
var _vXETable = _interopRequireDefault(__webpack_require__(85053));
|
|
91296
91303
|
|
|
91297
|
-
var _panel = _interopRequireDefault(__webpack_require__(
|
|
91304
|
+
var _panel = _interopRequireDefault(__webpack_require__(70643));
|
|
91298
91305
|
|
|
91299
91306
|
var _mixin = _interopRequireDefault(__webpack_require__(83090));
|
|
91300
91307
|
|
|
@@ -91683,7 +91690,7 @@ exports["default"] = _default;
|
|
|
91683
91690
|
|
|
91684
91691
|
/***/ }),
|
|
91685
91692
|
|
|
91686
|
-
/***/
|
|
91693
|
+
/***/ 70643:
|
|
91687
91694
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
91688
91695
|
|
|
91689
91696
|
"use strict";
|
|
@@ -120826,7 +120833,7 @@ function setup (options) {
|
|
|
120826
120833
|
return assign(setupDefaults, options)
|
|
120827
120834
|
}
|
|
120828
120835
|
|
|
120829
|
-
XEUtils.VERSION = '3.5.
|
|
120836
|
+
XEUtils.VERSION = '3.5.7'
|
|
120830
120837
|
XEUtils.mixin = mixin
|
|
120831
120838
|
XEUtils.setup = setup
|
|
120832
120839
|
|
|
@@ -126048,7 +126055,8 @@ function toArrayTree (array, options) {
|
|
|
126048
126055
|
var optData = opts.data
|
|
126049
126056
|
var result = []
|
|
126050
126057
|
var treeMap = {}
|
|
126051
|
-
var
|
|
126058
|
+
var idsMap = {}
|
|
126059
|
+
var id, treeData, parentId
|
|
126052
126060
|
|
|
126053
126061
|
if (optSortKey) {
|
|
126054
126062
|
array = orderBy(clone(array), optSortKey)
|
|
@@ -126057,8 +126065,9 @@ function toArrayTree (array, options) {
|
|
|
126057
126065
|
}
|
|
126058
126066
|
}
|
|
126059
126067
|
|
|
126060
|
-
|
|
126061
|
-
|
|
126068
|
+
each(array, function (item) {
|
|
126069
|
+
id = item[optKey]
|
|
126070
|
+
idsMap[id] = true
|
|
126062
126071
|
})
|
|
126063
126072
|
|
|
126064
126073
|
each(array, function (item) {
|
|
@@ -126083,7 +126092,7 @@ function toArrayTree (array, options) {
|
|
|
126083
126092
|
}
|
|
126084
126093
|
|
|
126085
126094
|
if (!optStrict || (optStrict && !parentId)) {
|
|
126086
|
-
if (!
|
|
126095
|
+
if (!idsMap[parentId]) {
|
|
126087
126096
|
result.push(treeData)
|
|
126088
126097
|
}
|
|
126089
126098
|
}
|
|
@@ -127143,11 +127152,10 @@ if (typeof window !== 'undefined') {
|
|
|
127143
127152
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
127144
127153
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(13797);
|
|
127145
127154
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
127146
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
127155
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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&
|
|
127147
127156
|
var render = function render() {
|
|
127148
127157
|
var _vm = this,
|
|
127149
|
-
|
|
127150
|
-
|
|
127158
|
+
_c = _vm._self._c;
|
|
127151
127159
|
return _c('div', {
|
|
127152
127160
|
staticClass: "basic-view"
|
|
127153
127161
|
}, [_vm.searchList.length ? _c('div', {
|
|
@@ -127156,6 +127164,7 @@ var render = function render() {
|
|
|
127156
127164
|
ref: "search",
|
|
127157
127165
|
attrs: {
|
|
127158
127166
|
"inline": "",
|
|
127167
|
+
"label-width": _vm.labelWidth,
|
|
127159
127168
|
"search-list": _vm.searchList
|
|
127160
127169
|
},
|
|
127161
127170
|
on: {
|
|
@@ -127280,20 +127289,18 @@ var render = function render() {
|
|
|
127280
127289
|
}
|
|
127281
127290
|
})], 1) : _vm._e()]);
|
|
127282
127291
|
};
|
|
127283
|
-
|
|
127284
127292
|
var staticRenderFns = [];
|
|
127285
127293
|
|
|
127286
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
127287
|
-
var
|
|
127294
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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&
|
|
127295
|
+
var form_viewvue_type_template_id_d9efa21c_scoped_true_render = function render() {
|
|
127288
127296
|
var _vm = this,
|
|
127289
|
-
|
|
127290
|
-
|
|
127297
|
+
_c = _vm._self._c;
|
|
127291
127298
|
return _c('el-form', {
|
|
127292
127299
|
ref: "form",
|
|
127293
127300
|
attrs: {
|
|
127294
127301
|
"model": _vm.form,
|
|
127295
127302
|
"inline": _vm.inline,
|
|
127296
|
-
"label-width":
|
|
127303
|
+
"label-width": `${_vm.labelWidth}px`
|
|
127297
127304
|
}
|
|
127298
127305
|
}, [_vm._l(_vm.searchList, function (item, index) {
|
|
127299
127306
|
return _c('el-form-item', {
|
|
@@ -127396,8 +127403,7 @@ var form_viewvue_type_template_id_0100de92_scoped_true_render = function render(
|
|
|
127396
127403
|
}
|
|
127397
127404
|
}, [_vm._v("重置")])], 1)], 2);
|
|
127398
127405
|
};
|
|
127399
|
-
|
|
127400
|
-
var form_viewvue_type_template_id_0100de92_scoped_true_staticRenderFns = [];
|
|
127406
|
+
var form_viewvue_type_template_id_d9efa21c_scoped_true_staticRenderFns = [];
|
|
127401
127407
|
|
|
127402
127408
|
// EXTERNAL MODULE: ./node_modules/moment/moment.js
|
|
127403
127409
|
var moment = __webpack_require__(30381);
|
|
@@ -127408,32 +127414,30 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
|
127408
127414
|
* 通用表格组件
|
|
127409
127415
|
* @displayName FormView
|
|
127410
127416
|
*/
|
|
127411
|
-
|
|
127412
127417
|
/* harmony default export */ var form_viewvue_type_script_lang_js_ = ({
|
|
127413
127418
|
name: 'BytFormView',
|
|
127414
127419
|
props: {
|
|
127420
|
+
labelWidth: {
|
|
127421
|
+
type: Number,
|
|
127422
|
+
defualt: 80
|
|
127423
|
+
},
|
|
127415
127424
|
inline: {
|
|
127416
127425
|
type: Boolean,
|
|
127417
127426
|
defualt: false
|
|
127418
127427
|
},
|
|
127419
127428
|
searchList: {
|
|
127420
127429
|
type: Array,
|
|
127421
|
-
|
|
127422
127430
|
default() {
|
|
127423
127431
|
return [];
|
|
127424
127432
|
}
|
|
127425
|
-
|
|
127426
127433
|
},
|
|
127427
127434
|
value: {
|
|
127428
127435
|
type: Object,
|
|
127429
|
-
|
|
127430
127436
|
default() {
|
|
127431
127437
|
return {};
|
|
127432
127438
|
}
|
|
127433
|
-
|
|
127434
127439
|
}
|
|
127435
127440
|
},
|
|
127436
|
-
|
|
127437
127441
|
data() {
|
|
127438
127442
|
return {
|
|
127439
127443
|
form: {},
|
|
@@ -127441,62 +127445,48 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
|
127441
127445
|
pickerOptions: {
|
|
127442
127446
|
shortcuts: [{
|
|
127443
127447
|
text: '最近一周',
|
|
127444
|
-
|
|
127445
127448
|
onClick(picker) {
|
|
127446
127449
|
const end = moment_default()().subtract(7, 'day').toDate();
|
|
127447
127450
|
const start = new Date();
|
|
127448
127451
|
picker.$emit('pick', [start, end]);
|
|
127449
127452
|
}
|
|
127450
|
-
|
|
127451
127453
|
}, {
|
|
127452
127454
|
text: '最近一个月',
|
|
127453
|
-
|
|
127454
127455
|
onClick(picker) {
|
|
127455
127456
|
const end = moment_default()().subtract(1, 'month').toDate();
|
|
127456
127457
|
const start = new Date();
|
|
127457
127458
|
picker.$emit('pick', [start, end]);
|
|
127458
127459
|
}
|
|
127459
|
-
|
|
127460
127460
|
}, {
|
|
127461
127461
|
text: '最近三个月',
|
|
127462
|
-
|
|
127463
127462
|
onClick(picker) {
|
|
127464
127463
|
const end = moment_default()().subtract(3, 'month').toDate();
|
|
127465
127464
|
const start = new Date();
|
|
127466
127465
|
picker.$emit('pick', [start, end]);
|
|
127467
127466
|
}
|
|
127468
|
-
|
|
127469
127467
|
}]
|
|
127470
127468
|
}
|
|
127471
127469
|
};
|
|
127472
127470
|
},
|
|
127473
|
-
|
|
127474
127471
|
components: {},
|
|
127475
127472
|
computed: {},
|
|
127476
|
-
|
|
127477
127473
|
mounted() {},
|
|
127478
|
-
|
|
127479
127474
|
methods: {
|
|
127480
127475
|
formateDate(type) {
|
|
127481
127476
|
// date、week 、month、year
|
|
127482
127477
|
switch (type) {
|
|
127483
127478
|
case 'date':
|
|
127484
127479
|
return 'yyyy-MM-dd';
|
|
127485
|
-
|
|
127486
127480
|
case 'month':
|
|
127487
127481
|
return 'yyyy-MM';
|
|
127488
|
-
|
|
127489
127482
|
case 'year':
|
|
127490
127483
|
return 'yyyy';
|
|
127491
|
-
|
|
127492
127484
|
case 'datetime':
|
|
127493
127485
|
return 'yyyy-MM-dd HH:mm:ss';
|
|
127494
|
-
|
|
127495
127486
|
default:
|
|
127496
127487
|
return 'yyyy-MM-dd';
|
|
127497
127488
|
}
|
|
127498
127489
|
},
|
|
127499
|
-
|
|
127500
127490
|
onSearch() {
|
|
127501
127491
|
/** 点击搜索
|
|
127502
127492
|
* @event search
|
|
@@ -127504,17 +127494,14 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
|
127504
127494
|
*/
|
|
127505
127495
|
this.$emit('search');
|
|
127506
127496
|
},
|
|
127507
|
-
|
|
127508
127497
|
onReset() {
|
|
127509
127498
|
this.form = {};
|
|
127510
127499
|
/** 点击重置
|
|
127511
127500
|
* @event reset
|
|
127512
127501
|
* @type {Event}
|
|
127513
127502
|
*/
|
|
127514
|
-
|
|
127515
127503
|
this.$emit('reset');
|
|
127516
127504
|
},
|
|
127517
|
-
|
|
127518
127505
|
validate() {
|
|
127519
127506
|
return new Promise(resolve => {
|
|
127520
127507
|
this.$refs.form.validate(v => {
|
|
@@ -127522,7 +127509,6 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
|
127522
127509
|
});
|
|
127523
127510
|
});
|
|
127524
127511
|
}
|
|
127525
|
-
|
|
127526
127512
|
},
|
|
127527
127513
|
watch: {
|
|
127528
127514
|
value: {
|
|
@@ -127531,7 +127517,6 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
|
127531
127517
|
this.form = Object.assign({}, this.form, val);
|
|
127532
127518
|
}
|
|
127533
127519
|
},
|
|
127534
|
-
|
|
127535
127520
|
immediate: true,
|
|
127536
127521
|
deep: true
|
|
127537
127522
|
},
|
|
@@ -127543,7 +127528,6 @@ var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
|
127543
127528
|
*/
|
|
127544
127529
|
this.$emit('input', val);
|
|
127545
127530
|
},
|
|
127546
|
-
|
|
127547
127531
|
deep: true
|
|
127548
127532
|
}
|
|
127549
127533
|
}
|
|
@@ -127658,11 +127642,11 @@ function normalizeComponent(
|
|
|
127658
127642
|
;
|
|
127659
127643
|
var component = normalizeComponent(
|
|
127660
127644
|
components_form_viewvue_type_script_lang_js_,
|
|
127661
|
-
|
|
127662
|
-
|
|
127645
|
+
form_viewvue_type_template_id_d9efa21c_scoped_true_render,
|
|
127646
|
+
form_viewvue_type_template_id_d9efa21c_scoped_true_staticRenderFns,
|
|
127663
127647
|
false,
|
|
127664
127648
|
null,
|
|
127665
|
-
"
|
|
127649
|
+
"d9efa21c",
|
|
127666
127650
|
null
|
|
127667
127651
|
|
|
127668
127652
|
)
|
|
@@ -127677,60 +127661,52 @@ var component = normalizeComponent(
|
|
|
127677
127661
|
* @see {@link https://vxetable.cn/v3/#/table/base/basic}
|
|
127678
127662
|
* @see {@link https://element.eleme.cn/#/zh-CN/component/installation}
|
|
127679
127663
|
*/
|
|
127680
|
-
|
|
127681
127664
|
/* harmony default export */ var basic_viewvue_type_script_lang_js_ = ({
|
|
127682
127665
|
name: 'BytBaseView',
|
|
127683
127666
|
props: {
|
|
127667
|
+
// 表单label宽度
|
|
127668
|
+
labelWidth: {
|
|
127669
|
+
type: Number,
|
|
127670
|
+
default: 80
|
|
127671
|
+
},
|
|
127684
127672
|
/** 搜索行内表单配置*/
|
|
127685
127673
|
searchList: {
|
|
127686
127674
|
type: Array,
|
|
127687
|
-
|
|
127688
127675
|
default() {
|
|
127689
127676
|
return [];
|
|
127690
127677
|
}
|
|
127691
|
-
|
|
127692
127678
|
},
|
|
127693
|
-
|
|
127694
127679
|
/** 调用表格数据请求的方法*/
|
|
127695
127680
|
fetch: {
|
|
127696
127681
|
type: Function,
|
|
127697
127682
|
default: () => {}
|
|
127698
127683
|
},
|
|
127699
|
-
|
|
127700
127684
|
/** 是否自动调用fetch请求,部分场景下不需要自动调用*/
|
|
127701
127685
|
autoLoad: {
|
|
127702
127686
|
type: Boolean,
|
|
127703
127687
|
default: true
|
|
127704
127688
|
},
|
|
127705
|
-
|
|
127706
127689
|
/** 表格数据*/
|
|
127707
127690
|
tableData: {
|
|
127708
127691
|
type: Array,
|
|
127709
127692
|
required: true,
|
|
127710
|
-
|
|
127711
127693
|
default() {
|
|
127712
127694
|
return [];
|
|
127713
127695
|
}
|
|
127714
|
-
|
|
127715
127696
|
},
|
|
127716
|
-
|
|
127717
127697
|
/** 表格列配置*/
|
|
127718
127698
|
columns: {
|
|
127719
127699
|
type: Array,
|
|
127720
127700
|
required: true,
|
|
127721
|
-
|
|
127722
127701
|
default() {
|
|
127723
127702
|
return [];
|
|
127724
127703
|
}
|
|
127725
|
-
|
|
127726
127704
|
},
|
|
127727
|
-
|
|
127728
127705
|
/** 分页配置,默认没有分页*/
|
|
127729
127706
|
pagination: {
|
|
127730
127707
|
type: [Boolean, Object],
|
|
127731
127708
|
default: false
|
|
127732
127709
|
},
|
|
127733
|
-
|
|
127734
127710
|
/**
|
|
127735
127711
|
* 整体配置是否单元格溢出显示省略号
|
|
127736
127712
|
* @values ellipsis, title, tooltip
|
|
@@ -127743,7 +127719,6 @@ var component = normalizeComponent(
|
|
|
127743
127719
|
components: {
|
|
127744
127720
|
FormView: form_view
|
|
127745
127721
|
},
|
|
127746
|
-
|
|
127747
127722
|
data() {
|
|
127748
127723
|
return {
|
|
127749
127724
|
searchForm: {},
|
|
@@ -127755,12 +127730,10 @@ var component = normalizeComponent(
|
|
|
127755
127730
|
}
|
|
127756
127731
|
};
|
|
127757
127732
|
},
|
|
127758
|
-
|
|
127759
127733
|
mounted() {
|
|
127760
127734
|
// 有些特殊情况需要手动请求列表数据
|
|
127761
127735
|
if (this.autoLoad) this.fetchData();
|
|
127762
127736
|
},
|
|
127763
|
-
|
|
127764
127737
|
methods: {
|
|
127765
127738
|
onSelectAllEvent(list) {
|
|
127766
127739
|
/** 多选框全选触发
|
|
@@ -127770,7 +127743,6 @@ var component = normalizeComponent(
|
|
|
127770
127743
|
*/
|
|
127771
127744
|
this.$emit('checkbox-all', list);
|
|
127772
127745
|
},
|
|
127773
|
-
|
|
127774
127746
|
onSelectChangeEvent(list) {
|
|
127775
127747
|
/** 多选框选择项变化触发
|
|
127776
127748
|
* @event checkbox-change
|
|
@@ -127779,7 +127751,6 @@ var component = normalizeComponent(
|
|
|
127779
127751
|
*/
|
|
127780
127752
|
this.$emit('checkbox-change', list);
|
|
127781
127753
|
},
|
|
127782
|
-
|
|
127783
127754
|
/**
|
|
127784
127755
|
* 初始化请求列表数据
|
|
127785
127756
|
* @param {params,pagination}
|
|
@@ -127799,7 +127770,6 @@ var component = normalizeComponent(
|
|
|
127799
127770
|
};
|
|
127800
127771
|
this.fetch(params);
|
|
127801
127772
|
},
|
|
127802
|
-
|
|
127803
127773
|
/**
|
|
127804
127774
|
* 搜索
|
|
127805
127775
|
* @param {params}
|
|
@@ -127808,7 +127778,6 @@ var component = normalizeComponent(
|
|
|
127808
127778
|
onSearch() {
|
|
127809
127779
|
this.fetchData();
|
|
127810
127780
|
},
|
|
127811
|
-
|
|
127812
127781
|
/**
|
|
127813
127782
|
* 刷新列表
|
|
127814
127783
|
* @param {params}
|
|
@@ -127818,7 +127787,6 @@ var component = normalizeComponent(
|
|
|
127818
127787
|
this.pageOpt.page = 1;
|
|
127819
127788
|
this.fetchData();
|
|
127820
127789
|
},
|
|
127821
|
-
|
|
127822
127790
|
/**
|
|
127823
127791
|
* 重置搜索条件
|
|
127824
127792
|
* @param {params}
|
|
@@ -127829,7 +127797,6 @@ var component = normalizeComponent(
|
|
|
127829
127797
|
this.searchForm = {};
|
|
127830
127798
|
this.fetchData();
|
|
127831
127799
|
},
|
|
127832
|
-
|
|
127833
127800
|
onSizeChange(size) {
|
|
127834
127801
|
this.pageOpt.pageSize = size;
|
|
127835
127802
|
this.pageOpt.page = 1;
|
|
@@ -127837,14 +127804,12 @@ var component = normalizeComponent(
|
|
|
127837
127804
|
this.fetchData();
|
|
127838
127805
|
});
|
|
127839
127806
|
},
|
|
127840
|
-
|
|
127841
127807
|
onPageChange(page) {
|
|
127842
127808
|
this.pageOpt.page = page;
|
|
127843
127809
|
this.$nextTick(() => {
|
|
127844
127810
|
this.fetchData();
|
|
127845
127811
|
});
|
|
127846
127812
|
},
|
|
127847
|
-
|
|
127848
127813
|
initForm(list) {
|
|
127849
127814
|
list.map(v => {
|
|
127850
127815
|
if (v.value || v.value == 0) {
|
|
@@ -127852,7 +127817,6 @@ var component = normalizeComponent(
|
|
|
127852
127817
|
}
|
|
127853
127818
|
});
|
|
127854
127819
|
}
|
|
127855
|
-
|
|
127856
127820
|
},
|
|
127857
127821
|
watch: {
|
|
127858
127822
|
pagination: {
|
|
@@ -127861,7 +127825,6 @@ var component = normalizeComponent(
|
|
|
127861
127825
|
this.pageOpt = Object.assign(this.pageOpt, val);
|
|
127862
127826
|
}
|
|
127863
127827
|
},
|
|
127864
|
-
|
|
127865
127828
|
immediate: true,
|
|
127866
127829
|
deep: true
|
|
127867
127830
|
},
|
|
@@ -127869,7 +127832,6 @@ var component = normalizeComponent(
|
|
|
127869
127832
|
handler(val) {
|
|
127870
127833
|
this.initForm(val);
|
|
127871
127834
|
},
|
|
127872
|
-
|
|
127873
127835
|
immediate: true,
|
|
127874
127836
|
deep: true
|
|
127875
127837
|
}
|
|
@@ -127877,10 +127839,10 @@ var component = normalizeComponent(
|
|
|
127877
127839
|
});
|
|
127878
127840
|
;// CONCATENATED MODULE: ./packages/components/basic-view/index.vue?vue&type=script&lang=js&
|
|
127879
127841
|
/* harmony default export */ var components_basic_viewvue_type_script_lang_js_ = (basic_viewvue_type_script_lang_js_);
|
|
127880
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
127842
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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&
|
|
127881
127843
|
// extracted by mini-css-extract-plugin
|
|
127882
127844
|
|
|
127883
|
-
;// CONCATENATED MODULE: ./packages/components/basic-view/index.vue?vue&type=style&index=0&id=
|
|
127845
|
+
;// CONCATENATED MODULE: ./packages/components/basic-view/index.vue?vue&type=style&index=0&id=0edabe78&prod&lang=scss&scoped=true&
|
|
127884
127846
|
|
|
127885
127847
|
;// CONCATENATED MODULE: ./packages/components/basic-view/index.vue
|
|
127886
127848
|
|
|
@@ -127897,7 +127859,7 @@ var basic_view_component = normalizeComponent(
|
|
|
127897
127859
|
staticRenderFns,
|
|
127898
127860
|
false,
|
|
127899
127861
|
null,
|
|
127900
|
-
"
|
|
127862
|
+
"0edabe78",
|
|
127901
127863
|
null
|
|
127902
127864
|
|
|
127903
127865
|
)
|
|
@@ -127925,13 +127887,10 @@ const components = [basic_view, form_view];
|
|
|
127925
127887
|
*/
|
|
127926
127888
|
// 动态引入
|
|
127927
127889
|
let conmmon = {};
|
|
127928
|
-
|
|
127929
127890
|
const requireContext = __webpack_require__(26745);
|
|
127930
|
-
|
|
127931
127891
|
requireContext.keys().map(key => {
|
|
127932
127892
|
const reg = /\w+/;
|
|
127933
127893
|
const k = key.match(reg)[0];
|
|
127934
|
-
|
|
127935
127894
|
if (requireContext(key).default) {
|
|
127936
127895
|
conmmon[k] = requireContext(key).default;
|
|
127937
127896
|
} else {
|
|
@@ -127955,12 +127914,13 @@ var element_ui_common_default = /*#__PURE__*/__webpack_require__.n(element_ui_co
|
|
|
127955
127914
|
* @LastEditTime: 2022-10-25 09:47:57
|
|
127956
127915
|
* @LastEditors: 王国火
|
|
127957
127916
|
*/
|
|
127958
|
-
//通用组件
|
|
127959
127917
|
|
|
127960
|
-
|
|
127918
|
+
//通用组件
|
|
127919
|
+
|
|
127920
|
+
//公用方法
|
|
127961
127921
|
|
|
127962
|
-
// 第三方依赖
|
|
127963
127922
|
|
|
127923
|
+
// 第三方依赖
|
|
127964
127924
|
|
|
127965
127925
|
|
|
127966
127926
|
|
|
@@ -127974,15 +127934,15 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().use((element_ui_common_de
|
|
|
127974
127934
|
const Cmps = {};
|
|
127975
127935
|
packages_components.map(component => {
|
|
127976
127936
|
Cmps[component.name] = component;
|
|
127977
|
-
});
|
|
127937
|
+
});
|
|
127978
127938
|
|
|
127939
|
+
// install组件api
|
|
127979
127940
|
const install = function (Vue) {
|
|
127980
127941
|
packages_components.map(component => {
|
|
127981
127942
|
Vue.component(component.name, component);
|
|
127982
127943
|
});
|
|
127983
127944
|
Vue.prototype.$byt = common;
|
|
127984
127945
|
};
|
|
127985
|
-
|
|
127986
127946
|
/* harmony default export */ var packages_0 = ({
|
|
127987
127947
|
install,
|
|
127988
127948
|
...Cmps,
|