backend-management-ui 1.5.5 → 1.5.6
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/backend-management-ui.common.js +766 -745
- package/backend-management-ui.umd.js +911 -890
- package/backend-management-ui.umd.min.js +1 -1
- package/package.json +7 -2
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
(function
|
|
2
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
-
module.exports = factory();
|
|
4
|
-
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define([], factory);
|
|
6
|
-
else {
|
|
7
|
-
var a = factory();
|
|
8
|
-
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
|
-
}
|
|
10
|
-
})(this, function() {
|
|
11
|
-
return /******/ (function() { // webpackBootstrap
|
|
1
|
+
/******/ (function() { // webpackBootstrap
|
|
12
2
|
/******/ "use strict";
|
|
13
3
|
/******/ var __webpack_modules__ = ({
|
|
14
4
|
|
|
@@ -398,213 +388,621 @@ module.exports = {
|
|
|
398
388
|
|
|
399
389
|
/***/ }),
|
|
400
390
|
|
|
401
|
-
/***/
|
|
402
|
-
/***/ (function(module,
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
var trunc = __webpack_require__(741);
|
|
406
|
-
|
|
407
|
-
// `ToIntegerOrInfinity` abstract operation
|
|
408
|
-
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
409
|
-
module.exports = function (argument) {
|
|
410
|
-
var number = +argument;
|
|
411
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
412
|
-
return number !== number || number === 0 ? 0 : trunc(number);
|
|
413
|
-
};
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
/***/ }),
|
|
391
|
+
/***/ 1243:
|
|
392
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
417
393
|
|
|
418
|
-
/***/ 1385:
|
|
419
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
420
394
|
|
|
395
|
+
// EXPORTS
|
|
396
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
397
|
+
A: function() { return /* binding */ src_components; }
|
|
398
|
+
});
|
|
421
399
|
|
|
422
|
-
|
|
400
|
+
// UNUSED EXPORTS: UiForm
|
|
423
401
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
402
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
403
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
404
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
405
|
+
var es_iterator_for_each = __webpack_require__(7588);
|
|
406
|
+
;// ./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!./src/components/ui-form/index.vue?vue&type=template&id=32a77f2e
|
|
407
|
+
var render = function render() {
|
|
408
|
+
var _vm = this,
|
|
409
|
+
_c = _vm._self._c;
|
|
410
|
+
return _c('el-form', _vm._g(_vm._b({
|
|
411
|
+
ref: _vm.formRef,
|
|
412
|
+
staticClass: "bm-form",
|
|
413
|
+
attrs: {
|
|
414
|
+
"model": _vm.model
|
|
432
415
|
}
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
var IteratorProxy = createIteratorProxy(function () {
|
|
475
|
-
var iterator = this.iterator;
|
|
476
|
-
var result = anObject(call(this.next, iterator));
|
|
477
|
-
var done = this.done = !!result.done;
|
|
478
|
-
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
479
|
-
});
|
|
480
|
-
|
|
481
|
-
// `Iterator.prototype.map` method
|
|
482
|
-
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
483
|
-
$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
|
484
|
-
map: function map(mapper) {
|
|
485
|
-
anObject(this);
|
|
486
|
-
try {
|
|
487
|
-
aCallable(mapper);
|
|
488
|
-
} catch (error) {
|
|
489
|
-
iteratorClose(this, 'throw', error);
|
|
416
|
+
}, 'el-form', _vm.$attrs, false), _vm.$listeners), [_vm._l(_vm.tempFormConfig, function (item, index) {
|
|
417
|
+
return _c('el-form-item', _vm._b({
|
|
418
|
+
key: `${item.prop || item.key}-${index}`,
|
|
419
|
+
attrs: {
|
|
420
|
+
"label": item.label,
|
|
421
|
+
"prop": item.prop
|
|
422
|
+
}
|
|
423
|
+
}, 'el-form-item', item.formItemAttrs, false), [_vm._t(`item-${item.prop || item.key}`, function () {
|
|
424
|
+
return [_c(_vm.getComponentName(item.component), _vm._g(_vm._b({
|
|
425
|
+
tag: "component",
|
|
426
|
+
model: {
|
|
427
|
+
value: _vm.model[item.prop],
|
|
428
|
+
callback: function ($$v) {
|
|
429
|
+
_vm.$set(_vm.model, item.prop, $$v);
|
|
430
|
+
},
|
|
431
|
+
expression: "model[item.prop]"
|
|
432
|
+
}
|
|
433
|
+
}, 'component', _vm.handleBindAttrs(item), false), item.events), [_vm.isSelectComponent(item.component) && item.options ? _vm._l(item.options, function (opt) {
|
|
434
|
+
return _c('el-option', {
|
|
435
|
+
key: `${item.prop}-${opt.value}`,
|
|
436
|
+
attrs: {
|
|
437
|
+
"label": opt.label,
|
|
438
|
+
"value": opt.value
|
|
439
|
+
}
|
|
440
|
+
});
|
|
441
|
+
}) : _vm._e(), _vm.isRadioGroupComponent(item.component) && item.options ? _vm._l(item.options, function (opt) {
|
|
442
|
+
return _c('el-radio', {
|
|
443
|
+
key: `${item.prop}-${opt.value}`,
|
|
444
|
+
attrs: {
|
|
445
|
+
"label": opt.value
|
|
446
|
+
}
|
|
447
|
+
}, [_vm._v(" " + _vm._s(opt.label) + " ")]);
|
|
448
|
+
}) : _vm._e()], 2)];
|
|
449
|
+
}, {
|
|
450
|
+
"item": item,
|
|
451
|
+
"model": _vm.model,
|
|
452
|
+
"index": index
|
|
453
|
+
})], 2);
|
|
454
|
+
}), _vm.showOperateBtn ? _c('el-form-item', {
|
|
455
|
+
attrs: {
|
|
456
|
+
"label": ""
|
|
490
457
|
}
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
// `GetIteratorDirect(obj)` abstract operation
|
|
508
|
-
// https://tc39.es/ecma262/#sec-getiteratordirect
|
|
509
|
-
module.exports = function (obj) {
|
|
510
|
-
return {
|
|
511
|
-
iterator: obj,
|
|
512
|
-
next: obj.next,
|
|
513
|
-
done: false
|
|
514
|
-
};
|
|
458
|
+
}, [_vm.defaultBtn ? [_c('el-button', {
|
|
459
|
+
on: {
|
|
460
|
+
"click": _vm.resetForm
|
|
461
|
+
}
|
|
462
|
+
}, [_vm._v(_vm._s(_vm.resetBtnText))]), _c('el-button', {
|
|
463
|
+
attrs: {
|
|
464
|
+
"type": "primary"
|
|
465
|
+
},
|
|
466
|
+
on: {
|
|
467
|
+
"click": function ($event) {
|
|
468
|
+
return _vm.$emit('search');
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}, [_vm._v(_vm._s(_vm.searchBtnText))])] : _vm._e(), _vm._t("customBtn")], 2) : _vm._e()], 2);
|
|
515
472
|
};
|
|
473
|
+
var staticRenderFns = [];
|
|
516
474
|
|
|
475
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.every.js
|
|
476
|
+
var es_iterator_every = __webpack_require__(1148);
|
|
477
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
|
|
478
|
+
var es_iterator_map = __webpack_require__(1701);
|
|
479
|
+
;// ./src/components/ui-form/deepcopy.js
|
|
517
480
|
|
|
518
|
-
/***/ }),
|
|
519
|
-
|
|
520
|
-
/***/ 1828:
|
|
521
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
var uncurryThis = __webpack_require__(9504);
|
|
525
|
-
var hasOwn = __webpack_require__(9297);
|
|
526
|
-
var toIndexedObject = __webpack_require__(5397);
|
|
527
|
-
var indexOf = (__webpack_require__(9617).indexOf);
|
|
528
|
-
var hiddenKeys = __webpack_require__(421);
|
|
529
|
-
|
|
530
|
-
var push = uncurryThis([].push);
|
|
531
481
|
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
482
|
+
const deepcopy = obj => {
|
|
483
|
+
if (obj === null || typeof obj !== "object") return obj;
|
|
484
|
+
if (obj instanceof Date) return new Date(obj);
|
|
485
|
+
if (obj instanceof Array) return obj.map(item => deepcopy(item));
|
|
486
|
+
if (obj instanceof Object) {
|
|
487
|
+
const newObj = {};
|
|
488
|
+
for (let key in obj) {
|
|
489
|
+
newObj[key] = deepcopy(obj[key]);
|
|
490
|
+
}
|
|
491
|
+
return newObj;
|
|
541
492
|
}
|
|
542
|
-
return result;
|
|
543
493
|
};
|
|
494
|
+
;// ./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/index.js??vue-loader-options!./src/components/ui-form/index.vue?vue&type=script&lang=js
|
|
544
495
|
|
|
545
496
|
|
|
546
|
-
/***/ }),
|
|
547
|
-
|
|
548
|
-
/***/ 2106:
|
|
549
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
550
|
-
|
|
551
497
|
|
|
552
|
-
|
|
553
|
-
var defineProperty = __webpack_require__(4913);
|
|
498
|
+
// import { Form as ElForm, FormItem as ElFormItem } from "element-ui";
|
|
554
499
|
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
500
|
+
/**
|
|
501
|
+
* @desc 表单组件
|
|
502
|
+
* @params formRef ref
|
|
503
|
+
* @params model modelForm
|
|
504
|
+
* @params formConfig
|
|
505
|
+
* @params formConfig
|
|
506
|
+
* @params formConfig
|
|
507
|
+
* @params formConfig
|
|
508
|
+
*/
|
|
509
|
+
const componentMap = {
|
|
510
|
+
input: "el-input",
|
|
511
|
+
select: "el-select",
|
|
512
|
+
datePicker: "el-date-picker"
|
|
559
513
|
};
|
|
514
|
+
/* harmony default export */ var ui_formvue_type_script_lang_js = ({
|
|
515
|
+
name: "UiForm",
|
|
516
|
+
props: {
|
|
517
|
+
formRef: {
|
|
518
|
+
type: String,
|
|
519
|
+
default: "formRef"
|
|
520
|
+
},
|
|
521
|
+
model: {
|
|
522
|
+
type: Object,
|
|
523
|
+
default: () => ({})
|
|
524
|
+
},
|
|
525
|
+
formConfig: {
|
|
526
|
+
type: Array,
|
|
527
|
+
default: () => [],
|
|
528
|
+
validator: val => val.every(row => row.prop || row.key)
|
|
529
|
+
},
|
|
530
|
+
showOperateBtn: {
|
|
531
|
+
type: Boolean,
|
|
532
|
+
default: true
|
|
533
|
+
},
|
|
534
|
+
defaultBtn: {
|
|
535
|
+
type: Boolean,
|
|
536
|
+
default: true
|
|
537
|
+
},
|
|
538
|
+
resetBtnText: {
|
|
539
|
+
type: String,
|
|
540
|
+
default: "重置"
|
|
541
|
+
},
|
|
542
|
+
searchBtnText: {
|
|
543
|
+
type: String,
|
|
544
|
+
default: "查询"
|
|
545
|
+
},
|
|
546
|
+
apiMapConfig: {
|
|
547
|
+
// { [prop]: [api] } 或 {[prop]: {url: [api], params: [params]}}
|
|
548
|
+
type: Object,
|
|
549
|
+
default: () => ({})
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
data() {
|
|
553
|
+
return {
|
|
554
|
+
tempFormConfig: []
|
|
555
|
+
};
|
|
556
|
+
},
|
|
557
|
+
watch: {
|
|
558
|
+
formConfig: {
|
|
559
|
+
immediate: true,
|
|
560
|
+
deep: true,
|
|
561
|
+
handler(val) {
|
|
562
|
+
this.tempFormConfig = deepcopy(val);
|
|
563
|
+
this.initOptions();
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
methods: {
|
|
568
|
+
getComponentName(componentName) {
|
|
569
|
+
return componentMap[componentName] || componentName || "el-input";
|
|
570
|
+
},
|
|
571
|
+
handleBindAttrs(item) {
|
|
572
|
+
const style = {
|
|
573
|
+
width: item.attrs?.width || "220px"
|
|
574
|
+
};
|
|
575
|
+
let placeholder = "";
|
|
576
|
+
const componentName = this.getComponentName(item.component);
|
|
577
|
+
if (["el-select", "select", "el-date-picker", "virtual-select"].includes(componentName)) {
|
|
578
|
+
placeholder = `请选择${item.label}`;
|
|
579
|
+
}
|
|
580
|
+
if (["el-input", "input"].includes(componentName)) {
|
|
581
|
+
placeholder = `请输入${item.label}`;
|
|
582
|
+
}
|
|
583
|
+
const baseAttrs = {
|
|
584
|
+
style,
|
|
585
|
+
placeholder,
|
|
586
|
+
clearable: true,
|
|
587
|
+
...(item.attrs || {})
|
|
588
|
+
};
|
|
589
|
+
if (componentName === "virtual-select") {
|
|
590
|
+
return {
|
|
591
|
+
...baseAttrs,
|
|
592
|
+
options: item.options || []
|
|
593
|
+
};
|
|
594
|
+
}
|
|
595
|
+
return baseAttrs;
|
|
596
|
+
},
|
|
597
|
+
isSelectComponent(componentName) {
|
|
598
|
+
return ["el-select", "select"].includes(this.getComponentName(componentName));
|
|
599
|
+
},
|
|
600
|
+
isRadioGroupComponent(componentName) {
|
|
601
|
+
return this.getComponentName(componentName) === "el-radio-group";
|
|
602
|
+
},
|
|
603
|
+
isVirtualSelectComponent(componentName) {
|
|
604
|
+
return this.getComponentName(componentName) === "virtual-select";
|
|
605
|
+
},
|
|
606
|
+
async initOptions() {
|
|
607
|
+
for (const item of this.tempFormConfig) {
|
|
608
|
+
// const
|
|
609
|
+
const apiConfig = item.api || this.apiMapConfig[item.prop];
|
|
610
|
+
const optionsRequired = this.isSelectComponent(item.component) || this.isRadioGroupComponent(item.component) || this.isVirtualSelectComponent(item.component);
|
|
611
|
+
if (optionsRequired && apiConfig && !item.options?.length) {
|
|
612
|
+
try {
|
|
613
|
+
const {
|
|
614
|
+
url,
|
|
615
|
+
params = {}
|
|
616
|
+
} = typeof apiConfig === "function" ? {
|
|
617
|
+
url: apiConfig
|
|
618
|
+
} : apiConfig;
|
|
619
|
+
const res = await url(params);
|
|
620
|
+
const options = item.format ? item.format(res) : res?.data || [];
|
|
621
|
+
this.$set(item, "options", options);
|
|
622
|
+
} catch (error) {
|
|
623
|
+
this.$set(item, "options", []);
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
resetForm() {
|
|
629
|
+
this.$refs[this.formRef].resetFields();
|
|
630
|
+
this.$emit("reset");
|
|
631
|
+
},
|
|
632
|
+
getOptions() {
|
|
633
|
+
const propOptionsMap = {};
|
|
634
|
+
this.tempFormConfig.forEach(row => {
|
|
635
|
+
if (row.options) {
|
|
636
|
+
propOptionsMap[row.prop] = row.options;
|
|
637
|
+
}
|
|
638
|
+
});
|
|
639
|
+
return propOptionsMap;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
});
|
|
643
|
+
;// ./src/components/ui-form/index.vue?vue&type=script&lang=js
|
|
644
|
+
/* harmony default export */ var components_ui_formvue_type_script_lang_js = (ui_formvue_type_script_lang_js);
|
|
645
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
646
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
560
647
|
|
|
648
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
649
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
650
|
+
// be included in the final webpack user bundle.
|
|
561
651
|
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
//
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
module.exports = String(test) === '[object z]';
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
/***/ }),
|
|
652
|
+
function normalizeComponent(
|
|
653
|
+
scriptExports,
|
|
654
|
+
render,
|
|
655
|
+
staticRenderFns,
|
|
656
|
+
functionalTemplate,
|
|
657
|
+
injectStyles,
|
|
658
|
+
scopeId,
|
|
659
|
+
moduleIdentifier /* server only */,
|
|
660
|
+
shadowMode /* vue-cli only */
|
|
661
|
+
) {
|
|
662
|
+
// Vue.extend constructor export interop
|
|
663
|
+
var options =
|
|
664
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
579
665
|
|
|
580
|
-
|
|
581
|
-
|
|
666
|
+
// render functions
|
|
667
|
+
if (render) {
|
|
668
|
+
options.render = render
|
|
669
|
+
options.staticRenderFns = staticRenderFns
|
|
670
|
+
options._compiled = true
|
|
671
|
+
}
|
|
582
672
|
|
|
673
|
+
// functional template
|
|
674
|
+
if (functionalTemplate) {
|
|
675
|
+
options.functional = true
|
|
676
|
+
}
|
|
583
677
|
|
|
584
|
-
|
|
678
|
+
// scopedId
|
|
679
|
+
if (scopeId) {
|
|
680
|
+
options._scopeId = 'data-v-' + scopeId
|
|
681
|
+
}
|
|
585
682
|
|
|
586
|
-
var
|
|
587
|
-
|
|
683
|
+
var hook
|
|
684
|
+
if (moduleIdentifier) {
|
|
685
|
+
// server build
|
|
686
|
+
hook = function (context) {
|
|
687
|
+
// 2.3 injection
|
|
688
|
+
context =
|
|
689
|
+
context || // cached call
|
|
690
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
691
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
692
|
+
// 2.2 with runInNewContext: true
|
|
693
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
694
|
+
context = __VUE_SSR_CONTEXT__
|
|
695
|
+
}
|
|
696
|
+
// inject component styles
|
|
697
|
+
if (injectStyles) {
|
|
698
|
+
injectStyles.call(this, context)
|
|
699
|
+
}
|
|
700
|
+
// register component module identifier for async chunk inferrence
|
|
701
|
+
if (context && context._registeredComponents) {
|
|
702
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
// used by ssr in case component is cached and beforeCreate
|
|
706
|
+
// never gets called
|
|
707
|
+
options._ssrRegister = hook
|
|
708
|
+
} else if (injectStyles) {
|
|
709
|
+
hook = shadowMode
|
|
710
|
+
? function () {
|
|
711
|
+
injectStyles.call(
|
|
712
|
+
this,
|
|
713
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
714
|
+
)
|
|
715
|
+
}
|
|
716
|
+
: injectStyles
|
|
717
|
+
}
|
|
588
718
|
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
719
|
+
if (hook) {
|
|
720
|
+
if (options.functional) {
|
|
721
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
722
|
+
// go through the normalizer
|
|
723
|
+
options._injectStyles = hook
|
|
724
|
+
// register for functional component in vue file
|
|
725
|
+
var originalRender = options.render
|
|
726
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
727
|
+
hook.call(context)
|
|
728
|
+
return originalRender(h, context)
|
|
729
|
+
}
|
|
730
|
+
} else {
|
|
731
|
+
// inject component registration as beforeCreate hook
|
|
732
|
+
var existing = options.beforeCreate
|
|
733
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
734
|
+
}
|
|
735
|
+
}
|
|
592
736
|
|
|
737
|
+
return {
|
|
738
|
+
exports: scriptExports,
|
|
739
|
+
options: options
|
|
740
|
+
}
|
|
741
|
+
}
|
|
593
742
|
|
|
594
|
-
|
|
743
|
+
;// ./src/components/ui-form/index.vue
|
|
595
744
|
|
|
596
|
-
/***/ 2211:
|
|
597
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
598
745
|
|
|
599
746
|
|
|
600
|
-
var fails = __webpack_require__(9039);
|
|
601
747
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
748
|
+
|
|
749
|
+
/* normalize component */
|
|
750
|
+
;
|
|
751
|
+
var component = normalizeComponent(
|
|
752
|
+
components_ui_formvue_type_script_lang_js,
|
|
753
|
+
render,
|
|
754
|
+
staticRenderFns,
|
|
755
|
+
false,
|
|
756
|
+
null,
|
|
757
|
+
null,
|
|
758
|
+
null
|
|
759
|
+
|
|
760
|
+
)
|
|
761
|
+
|
|
762
|
+
/* harmony default export */ var ui_form = (component.exports);
|
|
763
|
+
;// ./src/components/index.js
|
|
764
|
+
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
const components = [ui_form].filter(component => component && component.name);
|
|
769
|
+
const install = function (VueInstance) {
|
|
770
|
+
if (!VueInstance.prototype.$ELEMENT) {
|
|
771
|
+
console.error("使用BackendManagementUI前请先注册ElementUI");
|
|
772
|
+
return;
|
|
773
|
+
}
|
|
774
|
+
if (!VueInstance || !VueInstance.component) {
|
|
775
|
+
console.warn("Vue is required");
|
|
776
|
+
return;
|
|
777
|
+
}
|
|
778
|
+
if (install.installed) return;
|
|
779
|
+
components.forEach(component => {
|
|
780
|
+
if (component.name) VueInstance.component(component.name, component);
|
|
781
|
+
});
|
|
782
|
+
install.installed = true;
|
|
783
|
+
};
|
|
784
|
+
const defaultExport = {
|
|
785
|
+
install,
|
|
786
|
+
UiForm: ui_form
|
|
787
|
+
};
|
|
788
|
+
console.log("module", module);
|
|
789
|
+
if ( true && module.exports) {
|
|
790
|
+
console.log("module ESM");
|
|
791
|
+
module.exports = defaultExport;
|
|
792
|
+
module.exports.default = defaultExport;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/* harmony default export */ var src_components = (defaultExport);
|
|
796
|
+
|
|
797
|
+
/***/ }),
|
|
798
|
+
|
|
799
|
+
/***/ 1291:
|
|
800
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
var trunc = __webpack_require__(741);
|
|
804
|
+
|
|
805
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
806
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
807
|
+
module.exports = function (argument) {
|
|
808
|
+
var number = +argument;
|
|
809
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
810
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
/***/ }),
|
|
815
|
+
|
|
816
|
+
/***/ 1385:
|
|
817
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
var iteratorClose = __webpack_require__(9539);
|
|
821
|
+
|
|
822
|
+
module.exports = function (iters, kind, value) {
|
|
823
|
+
for (var i = iters.length - 1; i >= 0; i--) {
|
|
824
|
+
if (iters[i] === undefined) continue;
|
|
825
|
+
try {
|
|
826
|
+
value = iteratorClose(iters[i].iterator, kind, value);
|
|
827
|
+
} catch (error) {
|
|
828
|
+
kind = 'throw';
|
|
829
|
+
value = error;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
if (kind === 'throw') throw value;
|
|
833
|
+
return value;
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
/***/ }),
|
|
838
|
+
|
|
839
|
+
/***/ 1625:
|
|
840
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
var uncurryThis = __webpack_require__(9504);
|
|
844
|
+
|
|
845
|
+
module.exports = uncurryThis({}.isPrototypeOf);
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
/***/ }),
|
|
849
|
+
|
|
850
|
+
/***/ 1701:
|
|
851
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
var $ = __webpack_require__(6518);
|
|
855
|
+
var call = __webpack_require__(9565);
|
|
856
|
+
var aCallable = __webpack_require__(9306);
|
|
857
|
+
var anObject = __webpack_require__(8551);
|
|
858
|
+
var getIteratorDirect = __webpack_require__(1767);
|
|
859
|
+
var createIteratorProxy = __webpack_require__(9462);
|
|
860
|
+
var callWithSafeIterationClosing = __webpack_require__(6319);
|
|
861
|
+
var iteratorClose = __webpack_require__(9539);
|
|
862
|
+
var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
|
|
863
|
+
var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
|
|
864
|
+
var IS_PURE = __webpack_require__(6395);
|
|
865
|
+
|
|
866
|
+
var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });
|
|
867
|
+
var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
|
|
868
|
+
&& iteratorHelperWithoutClosingOnEarlyError('map', TypeError);
|
|
869
|
+
|
|
870
|
+
var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
|
|
871
|
+
|
|
872
|
+
var IteratorProxy = createIteratorProxy(function () {
|
|
873
|
+
var iterator = this.iterator;
|
|
874
|
+
var result = anObject(call(this.next, iterator));
|
|
875
|
+
var done = this.done = !!result.done;
|
|
876
|
+
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
877
|
+
});
|
|
878
|
+
|
|
879
|
+
// `Iterator.prototype.map` method
|
|
880
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
881
|
+
$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
|
882
|
+
map: function map(mapper) {
|
|
883
|
+
anObject(this);
|
|
884
|
+
try {
|
|
885
|
+
aCallable(mapper);
|
|
886
|
+
} catch (error) {
|
|
887
|
+
iteratorClose(this, 'throw', error);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);
|
|
891
|
+
|
|
892
|
+
return new IteratorProxy(getIteratorDirect(this), {
|
|
893
|
+
mapper: mapper
|
|
894
|
+
});
|
|
895
|
+
}
|
|
896
|
+
});
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
/***/ }),
|
|
900
|
+
|
|
901
|
+
/***/ 1767:
|
|
902
|
+
/***/ (function(module) {
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
// `GetIteratorDirect(obj)` abstract operation
|
|
906
|
+
// https://tc39.es/ecma262/#sec-getiteratordirect
|
|
907
|
+
module.exports = function (obj) {
|
|
908
|
+
return {
|
|
909
|
+
iterator: obj,
|
|
910
|
+
next: obj.next,
|
|
911
|
+
done: false
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
/***/ }),
|
|
917
|
+
|
|
918
|
+
/***/ 1828:
|
|
919
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
var uncurryThis = __webpack_require__(9504);
|
|
923
|
+
var hasOwn = __webpack_require__(9297);
|
|
924
|
+
var toIndexedObject = __webpack_require__(5397);
|
|
925
|
+
var indexOf = (__webpack_require__(9617).indexOf);
|
|
926
|
+
var hiddenKeys = __webpack_require__(421);
|
|
927
|
+
|
|
928
|
+
var push = uncurryThis([].push);
|
|
929
|
+
|
|
930
|
+
module.exports = function (object, names) {
|
|
931
|
+
var O = toIndexedObject(object);
|
|
932
|
+
var i = 0;
|
|
933
|
+
var result = [];
|
|
934
|
+
var key;
|
|
935
|
+
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
|
936
|
+
// Don't enum bug & hidden keys
|
|
937
|
+
while (names.length > i) if (hasOwn(O, key = names[i++])) {
|
|
938
|
+
~indexOf(result, key) || push(result, key);
|
|
939
|
+
}
|
|
940
|
+
return result;
|
|
941
|
+
};
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
/***/ }),
|
|
945
|
+
|
|
946
|
+
/***/ 2106:
|
|
947
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
var makeBuiltIn = __webpack_require__(283);
|
|
951
|
+
var defineProperty = __webpack_require__(4913);
|
|
952
|
+
|
|
953
|
+
module.exports = function (target, name, descriptor) {
|
|
954
|
+
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
955
|
+
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
956
|
+
return defineProperty.f(target, name, descriptor);
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
/***/ }),
|
|
961
|
+
|
|
962
|
+
/***/ 2140:
|
|
963
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
var wellKnownSymbol = __webpack_require__(8227);
|
|
967
|
+
|
|
968
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
969
|
+
var test = {};
|
|
970
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
971
|
+
test[TO_STRING_TAG] = 'z';
|
|
972
|
+
|
|
973
|
+
module.exports = String(test) === '[object z]';
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
/***/ }),
|
|
977
|
+
|
|
978
|
+
/***/ 2195:
|
|
979
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
var uncurryThis = __webpack_require__(9504);
|
|
983
|
+
|
|
984
|
+
var toString = uncurryThis({}.toString);
|
|
985
|
+
var stringSlice = uncurryThis(''.slice);
|
|
986
|
+
|
|
987
|
+
module.exports = function (it) {
|
|
988
|
+
return stringSlice(toString(it), 8, -1);
|
|
989
|
+
};
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
/***/ }),
|
|
993
|
+
|
|
994
|
+
/***/ 2211:
|
|
995
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
var fails = __webpack_require__(9039);
|
|
999
|
+
|
|
1000
|
+
module.exports = !fails(function () {
|
|
1001
|
+
function F() { /* empty */ }
|
|
1002
|
+
F.prototype.constructor = null;
|
|
1003
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1004
|
+
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1005
|
+
});
|
|
608
1006
|
|
|
609
1007
|
|
|
610
1008
|
/***/ }),
|
|
@@ -2360,585 +2758,208 @@ module.exports = version;
|
|
|
2360
2758
|
|
|
2361
2759
|
/***/ }),
|
|
2362
2760
|
|
|
2363
|
-
/***/ 9539:
|
|
2364
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
var call = __webpack_require__(9565);
|
|
2368
|
-
var anObject = __webpack_require__(8551);
|
|
2369
|
-
var getMethod = __webpack_require__(5966);
|
|
2370
|
-
|
|
2371
|
-
module.exports = function (iterator, kind, value) {
|
|
2372
|
-
var innerResult, innerError;
|
|
2373
|
-
anObject(iterator);
|
|
2374
|
-
try {
|
|
2375
|
-
innerResult = getMethod(iterator, 'return');
|
|
2376
|
-
if (!innerResult) {
|
|
2377
|
-
if (kind === 'throw') throw value;
|
|
2378
|
-
return value;
|
|
2379
|
-
}
|
|
2380
|
-
innerResult = call(innerResult, iterator);
|
|
2381
|
-
} catch (error) {
|
|
2382
|
-
innerError = true;
|
|
2383
|
-
innerResult = error;
|
|
2384
|
-
}
|
|
2385
|
-
if (kind === 'throw') throw value;
|
|
2386
|
-
if (innerError) throw innerResult;
|
|
2387
|
-
anObject(innerResult);
|
|
2388
|
-
return value;
|
|
2389
|
-
};
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
/***/ }),
|
|
2393
|
-
|
|
2394
|
-
/***/ 9565:
|
|
2395
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
var NATIVE_BIND = __webpack_require__(616);
|
|
2399
|
-
|
|
2400
|
-
var call = Function.prototype.call;
|
|
2401
|
-
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
2402
|
-
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
2403
|
-
return call.apply(call, arguments);
|
|
2404
|
-
};
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
/***/ }),
|
|
2408
|
-
|
|
2409
|
-
/***/ 9617:
|
|
2410
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
var toIndexedObject = __webpack_require__(5397);
|
|
2414
|
-
var toAbsoluteIndex = __webpack_require__(5610);
|
|
2415
|
-
var lengthOfArrayLike = __webpack_require__(6198);
|
|
2416
|
-
|
|
2417
|
-
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
2418
|
-
var createMethod = function (IS_INCLUDES) {
|
|
2419
|
-
return function ($this, el, fromIndex) {
|
|
2420
|
-
var O = toIndexedObject($this);
|
|
2421
|
-
var length = lengthOfArrayLike(O);
|
|
2422
|
-
if (length === 0) return !IS_INCLUDES && -1;
|
|
2423
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
2424
|
-
var value;
|
|
2425
|
-
// Array#includes uses SameValueZero equality algorithm
|
|
2426
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
2427
|
-
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
2428
|
-
value = O[index++];
|
|
2429
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
2430
|
-
if (value !== value) return true;
|
|
2431
|
-
// Array#indexOf ignores holes, Array#includes - not
|
|
2432
|
-
} else for (;length > index; index++) {
|
|
2433
|
-
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
2434
|
-
} return !IS_INCLUDES && -1;
|
|
2435
|
-
};
|
|
2436
|
-
};
|
|
2437
|
-
|
|
2438
|
-
module.exports = {
|
|
2439
|
-
// `Array.prototype.includes` method
|
|
2440
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2441
|
-
includes: createMethod(true),
|
|
2442
|
-
// `Array.prototype.indexOf` method
|
|
2443
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
2444
|
-
indexOf: createMethod(false)
|
|
2445
|
-
};
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
/***/ })
|
|
2449
|
-
|
|
2450
|
-
/******/ });
|
|
2451
|
-
/************************************************************************/
|
|
2452
|
-
/******/ // The module cache
|
|
2453
|
-
/******/ var __webpack_module_cache__ = {};
|
|
2454
|
-
/******/
|
|
2455
|
-
/******/ // The require function
|
|
2456
|
-
/******/ function __webpack_require__(moduleId) {
|
|
2457
|
-
/******/ // Check if module is in cache
|
|
2458
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
2459
|
-
/******/ if (cachedModule !== undefined) {
|
|
2460
|
-
/******/ return cachedModule.exports;
|
|
2461
|
-
/******/ }
|
|
2462
|
-
/******/ // Create a new module (and put it into the cache)
|
|
2463
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
2464
|
-
/******/ // no module.id needed
|
|
2465
|
-
/******/ // no module.loaded needed
|
|
2466
|
-
/******/ exports: {}
|
|
2467
|
-
/******/ };
|
|
2468
|
-
/******/
|
|
2469
|
-
/******/ // Execute the module function
|
|
2470
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
2471
|
-
/******/
|
|
2472
|
-
/******/ // Return the exports of the module
|
|
2473
|
-
/******/ return module.exports;
|
|
2474
|
-
/******/ }
|
|
2475
|
-
/******/
|
|
2476
|
-
/************************************************************************/
|
|
2477
|
-
/******/ /* webpack/runtime/define property getters */
|
|
2478
|
-
/******/ !function() {
|
|
2479
|
-
/******/ // define getter functions for harmony exports
|
|
2480
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
2481
|
-
/******/ for(var key in definition) {
|
|
2482
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
2483
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
2484
|
-
/******/ }
|
|
2485
|
-
/******/ }
|
|
2486
|
-
/******/ };
|
|
2487
|
-
/******/ }();
|
|
2488
|
-
/******/
|
|
2489
|
-
/******/ /* webpack/runtime/global */
|
|
2490
|
-
/******/ !function() {
|
|
2491
|
-
/******/ __webpack_require__.g = (function() {
|
|
2492
|
-
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
2493
|
-
/******/ try {
|
|
2494
|
-
/******/ return this || new Function('return this')();
|
|
2495
|
-
/******/ } catch (e) {
|
|
2496
|
-
/******/ if (typeof window === 'object') return window;
|
|
2497
|
-
/******/ }
|
|
2498
|
-
/******/ })();
|
|
2499
|
-
/******/ }();
|
|
2500
|
-
/******/
|
|
2501
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
2502
|
-
/******/ !function() {
|
|
2503
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
2504
|
-
/******/ }();
|
|
2505
|
-
/******/
|
|
2506
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
2507
|
-
/******/ !function() {
|
|
2508
|
-
/******/ // define __esModule on exports
|
|
2509
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
2510
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
2511
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2512
|
-
/******/ }
|
|
2513
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
2514
|
-
/******/ };
|
|
2515
|
-
/******/ }();
|
|
2516
|
-
/******/
|
|
2517
|
-
/******/ /* webpack/runtime/publicPath */
|
|
2518
|
-
/******/ !function() {
|
|
2519
|
-
/******/ __webpack_require__.p = "";
|
|
2520
|
-
/******/ }();
|
|
2521
|
-
/******/
|
|
2522
|
-
/************************************************************************/
|
|
2523
|
-
var __webpack_exports__ = {};
|
|
2524
|
-
// ESM COMPAT FLAG
|
|
2525
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2526
|
-
|
|
2527
|
-
// EXPORTS
|
|
2528
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
2529
|
-
"default": function() { return /* binding */ entry_lib; }
|
|
2530
|
-
});
|
|
2531
|
-
|
|
2532
|
-
;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
2533
|
-
/* eslint-disable no-var */
|
|
2534
|
-
// This file is imported into lib/wc client bundles.
|
|
2535
|
-
|
|
2536
|
-
if (typeof window !== 'undefined') {
|
|
2537
|
-
var currentScript = window.document.currentScript
|
|
2538
|
-
if (false) // removed by dead control flow
|
|
2539
|
-
{ var getCurrentScript; }
|
|
2540
|
-
|
|
2541
|
-
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
2542
|
-
if (src) {
|
|
2543
|
-
__webpack_require__.p = src[1] // eslint-disable-line
|
|
2544
|
-
}
|
|
2545
|
-
}
|
|
2546
|
-
|
|
2547
|
-
// Indicate to webpack that this file can be concatenated
|
|
2548
|
-
/* harmony default export */ var setPublicPath = (null);
|
|
2549
|
-
|
|
2550
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
2551
|
-
var es_iterator_constructor = __webpack_require__(8111);
|
|
2552
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
2553
|
-
var es_iterator_for_each = __webpack_require__(7588);
|
|
2554
|
-
;// ./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!./src/components/ui-form/index.vue?vue&type=template&id=32a77f2e
|
|
2555
|
-
var render = function render() {
|
|
2556
|
-
var _vm = this,
|
|
2557
|
-
_c = _vm._self._c;
|
|
2558
|
-
return _c('el-form', _vm._g(_vm._b({
|
|
2559
|
-
ref: _vm.formRef,
|
|
2560
|
-
staticClass: "bm-form",
|
|
2561
|
-
attrs: {
|
|
2562
|
-
"model": _vm.model
|
|
2563
|
-
}
|
|
2564
|
-
}, 'el-form', _vm.$attrs, false), _vm.$listeners), [_vm._l(_vm.tempFormConfig, function (item, index) {
|
|
2565
|
-
return _c('el-form-item', _vm._b({
|
|
2566
|
-
key: `${item.prop || item.key}-${index}`,
|
|
2567
|
-
attrs: {
|
|
2568
|
-
"label": item.label,
|
|
2569
|
-
"prop": item.prop
|
|
2570
|
-
}
|
|
2571
|
-
}, 'el-form-item', item.formItemAttrs, false), [_vm._t(`item-${item.prop || item.key}`, function () {
|
|
2572
|
-
return [_c(_vm.getComponentName(item.component), _vm._g(_vm._b({
|
|
2573
|
-
tag: "component",
|
|
2574
|
-
model: {
|
|
2575
|
-
value: _vm.model[item.prop],
|
|
2576
|
-
callback: function ($$v) {
|
|
2577
|
-
_vm.$set(_vm.model, item.prop, $$v);
|
|
2578
|
-
},
|
|
2579
|
-
expression: "model[item.prop]"
|
|
2580
|
-
}
|
|
2581
|
-
}, 'component', _vm.handleBindAttrs(item), false), item.events), [_vm.isSelectComponent(item.component) && item.options ? _vm._l(item.options, function (opt) {
|
|
2582
|
-
return _c('el-option', {
|
|
2583
|
-
key: `${item.prop}-${opt.value}`,
|
|
2584
|
-
attrs: {
|
|
2585
|
-
"label": opt.label,
|
|
2586
|
-
"value": opt.value
|
|
2587
|
-
}
|
|
2588
|
-
});
|
|
2589
|
-
}) : _vm._e(), _vm.isRadioGroupComponent(item.component) && item.options ? _vm._l(item.options, function (opt) {
|
|
2590
|
-
return _c('el-radio', {
|
|
2591
|
-
key: `${item.prop}-${opt.value}`,
|
|
2592
|
-
attrs: {
|
|
2593
|
-
"label": opt.value
|
|
2594
|
-
}
|
|
2595
|
-
}, [_vm._v(" " + _vm._s(opt.label) + " ")]);
|
|
2596
|
-
}) : _vm._e()], 2)];
|
|
2597
|
-
}, {
|
|
2598
|
-
"item": item,
|
|
2599
|
-
"model": _vm.model,
|
|
2600
|
-
"index": index
|
|
2601
|
-
})], 2);
|
|
2602
|
-
}), _vm.showOperateBtn ? _c('el-form-item', {
|
|
2603
|
-
attrs: {
|
|
2604
|
-
"label": ""
|
|
2605
|
-
}
|
|
2606
|
-
}, [_vm.defaultBtn ? [_c('el-button', {
|
|
2607
|
-
on: {
|
|
2608
|
-
"click": _vm.resetForm
|
|
2609
|
-
}
|
|
2610
|
-
}, [_vm._v(_vm._s(_vm.resetBtnText))]), _c('el-button', {
|
|
2611
|
-
attrs: {
|
|
2612
|
-
"type": "primary"
|
|
2613
|
-
},
|
|
2614
|
-
on: {
|
|
2615
|
-
"click": function ($event) {
|
|
2616
|
-
return _vm.$emit('search');
|
|
2617
|
-
}
|
|
2618
|
-
}
|
|
2619
|
-
}, [_vm._v(_vm._s(_vm.searchBtnText))])] : _vm._e(), _vm._t("customBtn")], 2) : _vm._e()], 2);
|
|
2620
|
-
};
|
|
2621
|
-
var staticRenderFns = [];
|
|
2622
|
-
|
|
2623
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.every.js
|
|
2624
|
-
var es_iterator_every = __webpack_require__(1148);
|
|
2625
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
|
|
2626
|
-
var es_iterator_map = __webpack_require__(1701);
|
|
2627
|
-
;// ./src/components/ui-form/deepcopy.js
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
const deepcopy = obj => {
|
|
2631
|
-
if (obj === null || typeof obj !== "object") return obj;
|
|
2632
|
-
if (obj instanceof Date) return new Date(obj);
|
|
2633
|
-
if (obj instanceof Array) return obj.map(item => deepcopy(item));
|
|
2634
|
-
if (obj instanceof Object) {
|
|
2635
|
-
const newObj = {};
|
|
2636
|
-
for (let key in obj) {
|
|
2637
|
-
newObj[key] = deepcopy(obj[key]);
|
|
2638
|
-
}
|
|
2639
|
-
return newObj;
|
|
2640
|
-
}
|
|
2641
|
-
};
|
|
2642
|
-
;// ./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/index.js??vue-loader-options!./src/components/ui-form/index.vue?vue&type=script&lang=js
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
// import { Form as ElForm, FormItem as ElFormItem } from "element-ui";
|
|
2647
|
-
|
|
2648
|
-
/**
|
|
2649
|
-
* @desc 表单组件
|
|
2650
|
-
* @params formRef ref
|
|
2651
|
-
* @params model modelForm
|
|
2652
|
-
* @params formConfig
|
|
2653
|
-
* @params formConfig
|
|
2654
|
-
* @params formConfig
|
|
2655
|
-
* @params formConfig
|
|
2656
|
-
*/
|
|
2657
|
-
const componentMap = {
|
|
2658
|
-
input: "el-input",
|
|
2659
|
-
select: "el-select",
|
|
2660
|
-
datePicker: "el-date-picker"
|
|
2661
|
-
};
|
|
2662
|
-
/* harmony default export */ var ui_formvue_type_script_lang_js = ({
|
|
2663
|
-
name: "UiForm",
|
|
2664
|
-
props: {
|
|
2665
|
-
formRef: {
|
|
2666
|
-
type: String,
|
|
2667
|
-
default: "formRef"
|
|
2668
|
-
},
|
|
2669
|
-
model: {
|
|
2670
|
-
type: Object,
|
|
2671
|
-
default: () => ({})
|
|
2672
|
-
},
|
|
2673
|
-
formConfig: {
|
|
2674
|
-
type: Array,
|
|
2675
|
-
default: () => [],
|
|
2676
|
-
validator: val => val.every(row => row.prop || row.key)
|
|
2677
|
-
},
|
|
2678
|
-
showOperateBtn: {
|
|
2679
|
-
type: Boolean,
|
|
2680
|
-
default: true
|
|
2681
|
-
},
|
|
2682
|
-
defaultBtn: {
|
|
2683
|
-
type: Boolean,
|
|
2684
|
-
default: true
|
|
2685
|
-
},
|
|
2686
|
-
resetBtnText: {
|
|
2687
|
-
type: String,
|
|
2688
|
-
default: "重置"
|
|
2689
|
-
},
|
|
2690
|
-
searchBtnText: {
|
|
2691
|
-
type: String,
|
|
2692
|
-
default: "查询"
|
|
2693
|
-
},
|
|
2694
|
-
apiMapConfig: {
|
|
2695
|
-
// { [prop]: [api] } 或 {[prop]: {url: [api], params: [params]}}
|
|
2696
|
-
type: Object,
|
|
2697
|
-
default: () => ({})
|
|
2698
|
-
}
|
|
2699
|
-
},
|
|
2700
|
-
data() {
|
|
2701
|
-
return {
|
|
2702
|
-
tempFormConfig: []
|
|
2703
|
-
};
|
|
2704
|
-
},
|
|
2705
|
-
watch: {
|
|
2706
|
-
formConfig: {
|
|
2707
|
-
immediate: true,
|
|
2708
|
-
deep: true,
|
|
2709
|
-
handler(val) {
|
|
2710
|
-
this.tempFormConfig = deepcopy(val);
|
|
2711
|
-
this.initOptions();
|
|
2712
|
-
}
|
|
2713
|
-
}
|
|
2714
|
-
},
|
|
2715
|
-
methods: {
|
|
2716
|
-
getComponentName(componentName) {
|
|
2717
|
-
return componentMap[componentName] || componentName || "el-input";
|
|
2718
|
-
},
|
|
2719
|
-
handleBindAttrs(item) {
|
|
2720
|
-
const style = {
|
|
2721
|
-
width: item.attrs?.width || "220px"
|
|
2722
|
-
};
|
|
2723
|
-
let placeholder = "";
|
|
2724
|
-
const componentName = this.getComponentName(item.component);
|
|
2725
|
-
if (["el-select", "select", "el-date-picker", "virtual-select"].includes(componentName)) {
|
|
2726
|
-
placeholder = `请选择${item.label}`;
|
|
2727
|
-
}
|
|
2728
|
-
if (["el-input", "input"].includes(componentName)) {
|
|
2729
|
-
placeholder = `请输入${item.label}`;
|
|
2730
|
-
}
|
|
2731
|
-
const baseAttrs = {
|
|
2732
|
-
style,
|
|
2733
|
-
placeholder,
|
|
2734
|
-
clearable: true,
|
|
2735
|
-
...(item.attrs || {})
|
|
2736
|
-
};
|
|
2737
|
-
if (componentName === "virtual-select") {
|
|
2738
|
-
return {
|
|
2739
|
-
...baseAttrs,
|
|
2740
|
-
options: item.options || []
|
|
2741
|
-
};
|
|
2742
|
-
}
|
|
2743
|
-
return baseAttrs;
|
|
2744
|
-
},
|
|
2745
|
-
isSelectComponent(componentName) {
|
|
2746
|
-
return ["el-select", "select"].includes(this.getComponentName(componentName));
|
|
2747
|
-
},
|
|
2748
|
-
isRadioGroupComponent(componentName) {
|
|
2749
|
-
return this.getComponentName(componentName) === "el-radio-group";
|
|
2750
|
-
},
|
|
2751
|
-
isVirtualSelectComponent(componentName) {
|
|
2752
|
-
return this.getComponentName(componentName) === "virtual-select";
|
|
2753
|
-
},
|
|
2754
|
-
async initOptions() {
|
|
2755
|
-
for (const item of this.tempFormConfig) {
|
|
2756
|
-
// const
|
|
2757
|
-
const apiConfig = item.api || this.apiMapConfig[item.prop];
|
|
2758
|
-
const optionsRequired = this.isSelectComponent(item.component) || this.isRadioGroupComponent(item.component) || this.isVirtualSelectComponent(item.component);
|
|
2759
|
-
if (optionsRequired && apiConfig && !item.options?.length) {
|
|
2760
|
-
try {
|
|
2761
|
-
const {
|
|
2762
|
-
url,
|
|
2763
|
-
params = {}
|
|
2764
|
-
} = typeof apiConfig === "function" ? {
|
|
2765
|
-
url: apiConfig
|
|
2766
|
-
} : apiConfig;
|
|
2767
|
-
const res = await url(params);
|
|
2768
|
-
const options = item.format ? item.format(res) : res?.data || [];
|
|
2769
|
-
this.$set(item, "options", options);
|
|
2770
|
-
} catch (error) {
|
|
2771
|
-
this.$set(item, "options", []);
|
|
2772
|
-
}
|
|
2773
|
-
}
|
|
2774
|
-
}
|
|
2775
|
-
},
|
|
2776
|
-
resetForm() {
|
|
2777
|
-
this.$refs[this.formRef].resetFields();
|
|
2778
|
-
this.$emit("reset");
|
|
2779
|
-
},
|
|
2780
|
-
getOptions() {
|
|
2781
|
-
const propOptionsMap = {};
|
|
2782
|
-
this.tempFormConfig.forEach(row => {
|
|
2783
|
-
if (row.options) {
|
|
2784
|
-
propOptionsMap[row.prop] = row.options;
|
|
2785
|
-
}
|
|
2786
|
-
});
|
|
2787
|
-
return propOptionsMap;
|
|
2788
|
-
}
|
|
2789
|
-
}
|
|
2790
|
-
});
|
|
2791
|
-
;// ./src/components/ui-form/index.vue?vue&type=script&lang=js
|
|
2792
|
-
/* harmony default export */ var components_ui_formvue_type_script_lang_js = (ui_formvue_type_script_lang_js);
|
|
2793
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
2794
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
2795
|
-
|
|
2796
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
2797
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
2798
|
-
// be included in the final webpack user bundle.
|
|
2799
|
-
|
|
2800
|
-
function normalizeComponent(
|
|
2801
|
-
scriptExports,
|
|
2802
|
-
render,
|
|
2803
|
-
staticRenderFns,
|
|
2804
|
-
functionalTemplate,
|
|
2805
|
-
injectStyles,
|
|
2806
|
-
scopeId,
|
|
2807
|
-
moduleIdentifier /* server only */,
|
|
2808
|
-
shadowMode /* vue-cli only */
|
|
2809
|
-
) {
|
|
2810
|
-
// Vue.extend constructor export interop
|
|
2811
|
-
var options =
|
|
2812
|
-
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
2813
|
-
|
|
2814
|
-
// render functions
|
|
2815
|
-
if (render) {
|
|
2816
|
-
options.render = render
|
|
2817
|
-
options.staticRenderFns = staticRenderFns
|
|
2818
|
-
options._compiled = true
|
|
2819
|
-
}
|
|
2761
|
+
/***/ 9539:
|
|
2762
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2820
2763
|
|
|
2821
|
-
// functional template
|
|
2822
|
-
if (functionalTemplate) {
|
|
2823
|
-
options.functional = true
|
|
2824
|
-
}
|
|
2825
2764
|
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
}
|
|
2765
|
+
var call = __webpack_require__(9565);
|
|
2766
|
+
var anObject = __webpack_require__(8551);
|
|
2767
|
+
var getMethod = __webpack_require__(5966);
|
|
2830
2768
|
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
2840
|
-
// 2.2 with runInNewContext: true
|
|
2841
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
2842
|
-
context = __VUE_SSR_CONTEXT__
|
|
2843
|
-
}
|
|
2844
|
-
// inject component styles
|
|
2845
|
-
if (injectStyles) {
|
|
2846
|
-
injectStyles.call(this, context)
|
|
2847
|
-
}
|
|
2848
|
-
// register component module identifier for async chunk inferrence
|
|
2849
|
-
if (context && context._registeredComponents) {
|
|
2850
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
2851
|
-
}
|
|
2769
|
+
module.exports = function (iterator, kind, value) {
|
|
2770
|
+
var innerResult, innerError;
|
|
2771
|
+
anObject(iterator);
|
|
2772
|
+
try {
|
|
2773
|
+
innerResult = getMethod(iterator, 'return');
|
|
2774
|
+
if (!innerResult) {
|
|
2775
|
+
if (kind === 'throw') throw value;
|
|
2776
|
+
return value;
|
|
2852
2777
|
}
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
hook = shadowMode
|
|
2858
|
-
? function () {
|
|
2859
|
-
injectStyles.call(
|
|
2860
|
-
this,
|
|
2861
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
2862
|
-
)
|
|
2863
|
-
}
|
|
2864
|
-
: injectStyles
|
|
2778
|
+
innerResult = call(innerResult, iterator);
|
|
2779
|
+
} catch (error) {
|
|
2780
|
+
innerError = true;
|
|
2781
|
+
innerResult = error;
|
|
2865
2782
|
}
|
|
2783
|
+
if (kind === 'throw') throw value;
|
|
2784
|
+
if (innerError) throw innerResult;
|
|
2785
|
+
anObject(innerResult);
|
|
2786
|
+
return value;
|
|
2787
|
+
};
|
|
2866
2788
|
|
|
2867
|
-
if (hook) {
|
|
2868
|
-
if (options.functional) {
|
|
2869
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
2870
|
-
// go through the normalizer
|
|
2871
|
-
options._injectStyles = hook
|
|
2872
|
-
// register for functional component in vue file
|
|
2873
|
-
var originalRender = options.render
|
|
2874
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
2875
|
-
hook.call(context)
|
|
2876
|
-
return originalRender(h, context)
|
|
2877
|
-
}
|
|
2878
|
-
} else {
|
|
2879
|
-
// inject component registration as beforeCreate hook
|
|
2880
|
-
var existing = options.beforeCreate
|
|
2881
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
2882
|
-
}
|
|
2883
|
-
}
|
|
2884
2789
|
|
|
2885
|
-
|
|
2886
|
-
exports: scriptExports,
|
|
2887
|
-
options: options
|
|
2888
|
-
}
|
|
2889
|
-
}
|
|
2790
|
+
/***/ }),
|
|
2890
2791
|
|
|
2891
|
-
|
|
2792
|
+
/***/ 9565:
|
|
2793
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2892
2794
|
|
|
2893
2795
|
|
|
2796
|
+
var NATIVE_BIND = __webpack_require__(616);
|
|
2894
2797
|
|
|
2798
|
+
var call = Function.prototype.call;
|
|
2799
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
2800
|
+
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
2801
|
+
return call.apply(call, arguments);
|
|
2802
|
+
};
|
|
2895
2803
|
|
|
2896
2804
|
|
|
2897
|
-
|
|
2898
|
-
;
|
|
2899
|
-
var component = normalizeComponent(
|
|
2900
|
-
components_ui_formvue_type_script_lang_js,
|
|
2901
|
-
render,
|
|
2902
|
-
staticRenderFns,
|
|
2903
|
-
false,
|
|
2904
|
-
null,
|
|
2905
|
-
null,
|
|
2906
|
-
null
|
|
2907
|
-
|
|
2908
|
-
)
|
|
2805
|
+
/***/ }),
|
|
2909
2806
|
|
|
2910
|
-
|
|
2911
|
-
|
|
2807
|
+
/***/ 9617:
|
|
2808
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2912
2809
|
|
|
2913
2810
|
|
|
2811
|
+
var toIndexedObject = __webpack_require__(5397);
|
|
2812
|
+
var toAbsoluteIndex = __webpack_require__(5610);
|
|
2813
|
+
var lengthOfArrayLike = __webpack_require__(6198);
|
|
2914
2814
|
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2815
|
+
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
2816
|
+
var createMethod = function (IS_INCLUDES) {
|
|
2817
|
+
return function ($this, el, fromIndex) {
|
|
2818
|
+
var O = toIndexedObject($this);
|
|
2819
|
+
var length = lengthOfArrayLike(O);
|
|
2820
|
+
if (length === 0) return !IS_INCLUDES && -1;
|
|
2821
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
2822
|
+
var value;
|
|
2823
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
2824
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
2825
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
2826
|
+
value = O[index++];
|
|
2827
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
2828
|
+
if (value !== value) return true;
|
|
2829
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
2830
|
+
} else for (;length > index; index++) {
|
|
2831
|
+
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
2832
|
+
} return !IS_INCLUDES && -1;
|
|
2833
|
+
};
|
|
2930
2834
|
};
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2835
|
+
|
|
2836
|
+
module.exports = {
|
|
2837
|
+
// `Array.prototype.includes` method
|
|
2838
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2839
|
+
includes: createMethod(true),
|
|
2840
|
+
// `Array.prototype.indexOf` method
|
|
2841
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
2842
|
+
indexOf: createMethod(false)
|
|
2843
|
+
};
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
/***/ })
|
|
2847
|
+
|
|
2848
|
+
/******/ });
|
|
2849
|
+
/************************************************************************/
|
|
2850
|
+
/******/ // The module cache
|
|
2851
|
+
/******/ var __webpack_module_cache__ = {};
|
|
2852
|
+
/******/
|
|
2853
|
+
/******/ // The require function
|
|
2854
|
+
/******/ function __webpack_require__(moduleId) {
|
|
2855
|
+
/******/ // Check if module is in cache
|
|
2856
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
2857
|
+
/******/ if (cachedModule !== undefined) {
|
|
2858
|
+
/******/ return cachedModule.exports;
|
|
2859
|
+
/******/ }
|
|
2860
|
+
/******/ // Create a new module (and put it into the cache)
|
|
2861
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
2862
|
+
/******/ id: moduleId,
|
|
2863
|
+
/******/ loaded: false,
|
|
2864
|
+
/******/ exports: {}
|
|
2865
|
+
/******/ };
|
|
2866
|
+
/******/
|
|
2867
|
+
/******/ // Execute the module function
|
|
2868
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
2869
|
+
/******/
|
|
2870
|
+
/******/ // Flag the module as loaded
|
|
2871
|
+
/******/ module.loaded = true;
|
|
2872
|
+
/******/
|
|
2873
|
+
/******/ // Return the exports of the module
|
|
2874
|
+
/******/ return module.exports;
|
|
2875
|
+
/******/ }
|
|
2876
|
+
/******/
|
|
2877
|
+
/************************************************************************/
|
|
2878
|
+
/******/ /* webpack/runtime/define property getters */
|
|
2879
|
+
/******/ !function() {
|
|
2880
|
+
/******/ // define getter functions for harmony exports
|
|
2881
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
2882
|
+
/******/ for(var key in definition) {
|
|
2883
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
2884
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
2885
|
+
/******/ }
|
|
2886
|
+
/******/ }
|
|
2887
|
+
/******/ };
|
|
2888
|
+
/******/ }();
|
|
2889
|
+
/******/
|
|
2890
|
+
/******/ /* webpack/runtime/global */
|
|
2891
|
+
/******/ !function() {
|
|
2892
|
+
/******/ __webpack_require__.g = (function() {
|
|
2893
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
2894
|
+
/******/ try {
|
|
2895
|
+
/******/ return this || new Function('return this')();
|
|
2896
|
+
/******/ } catch (e) {
|
|
2897
|
+
/******/ if (typeof window === 'object') return window;
|
|
2898
|
+
/******/ }
|
|
2899
|
+
/******/ })();
|
|
2900
|
+
/******/ }();
|
|
2901
|
+
/******/
|
|
2902
|
+
/******/ /* webpack/runtime/harmony module decorator */
|
|
2903
|
+
/******/ !function() {
|
|
2904
|
+
/******/ __webpack_require__.hmd = function(module) {
|
|
2905
|
+
/******/ module = Object.create(module);
|
|
2906
|
+
/******/ if (!module.children) module.children = [];
|
|
2907
|
+
/******/ Object.defineProperty(module, 'exports', {
|
|
2908
|
+
/******/ enumerable: true,
|
|
2909
|
+
/******/ set: function() {
|
|
2910
|
+
/******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
|
|
2911
|
+
/******/ }
|
|
2912
|
+
/******/ });
|
|
2913
|
+
/******/ return module;
|
|
2914
|
+
/******/ };
|
|
2915
|
+
/******/ }();
|
|
2916
|
+
/******/
|
|
2917
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
2918
|
+
/******/ !function() {
|
|
2919
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
2920
|
+
/******/ }();
|
|
2921
|
+
/******/
|
|
2922
|
+
/******/ /* webpack/runtime/publicPath */
|
|
2923
|
+
/******/ !function() {
|
|
2924
|
+
/******/ __webpack_require__.p = "";
|
|
2925
|
+
/******/ }();
|
|
2926
|
+
/******/
|
|
2927
|
+
/************************************************************************/
|
|
2928
|
+
var __webpack_exports__ = {};
|
|
2929
|
+
|
|
2930
|
+
// EXPORTS
|
|
2931
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
2932
|
+
"default": function() { return /* binding */ entry_lib; }
|
|
2934
2933
|
});
|
|
2934
|
+
|
|
2935
|
+
// UNUSED EXPORTS: UiForm
|
|
2936
|
+
|
|
2937
|
+
;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
2938
|
+
/* eslint-disable no-var */
|
|
2939
|
+
// This file is imported into lib/wc client bundles.
|
|
2940
|
+
|
|
2941
|
+
if (typeof window !== 'undefined') {
|
|
2942
|
+
var currentScript = window.document.currentScript
|
|
2943
|
+
if (false) // removed by dead control flow
|
|
2944
|
+
{ var getCurrentScript; }
|
|
2945
|
+
|
|
2946
|
+
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
2947
|
+
if (src) {
|
|
2948
|
+
__webpack_require__.p = src[1] // eslint-disable-line
|
|
2949
|
+
}
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
// Indicate to webpack that this file can be concatenated
|
|
2953
|
+
/* harmony default export */ var setPublicPath = (null);
|
|
2954
|
+
|
|
2955
|
+
// EXTERNAL MODULE: ./src/components/index.js + 6 modules
|
|
2956
|
+
var components = __webpack_require__(1243);
|
|
2935
2957
|
;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
2936
2958
|
|
|
2937
2959
|
|
|
2938
|
-
/* harmony default export */ var entry_lib = (
|
|
2960
|
+
/* harmony default export */ var entry_lib = (components/* default */.A);
|
|
2939
2961
|
|
|
2940
2962
|
|
|
2941
|
-
|
|
2963
|
+
module.exports = __webpack_exports__["default"];
|
|
2942
2964
|
/******/ })()
|
|
2943
|
-
;
|
|
2944
|
-
});
|
|
2965
|
+
;
|