meixioacomponent 0.4.23 → 0.4.26

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.
@@ -6389,6 +6389,17 @@ exports.push([module.i, ".v-modal-enter{-webkit-animation:v-modal-in .2s ease;an
6389
6389
  module.exports = exports;
6390
6390
 
6391
6391
 
6392
+ /***/ }),
6393
+
6394
+ /***/ "1756":
6395
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6396
+
6397
+ "use strict";
6398
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_3c2aa846_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d9f6");
6399
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_3c2aa846_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_3c2aa846_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
6400
+ /* unused harmony reexport * */
6401
+
6402
+
6392
6403
  /***/ }),
6393
6404
 
6394
6405
  /***/ "17d3":
@@ -27814,6 +27825,20 @@ exports.push([module.i, "", ""]);
27814
27825
  module.exports = exports;
27815
27826
 
27816
27827
 
27828
+ /***/ }),
27829
+
27830
+ /***/ "5e19":
27831
+ /***/ (function(module, exports, __webpack_require__) {
27832
+
27833
+ // Imports
27834
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
27835
+ exports = ___CSS_LOADER_API_IMPORT___(false);
27836
+ // Module
27837
+ exports.push([module.i, ".list-wrap[data-v-3c2aa846]{width:100%;height:100%}", ""]);
27838
+ // Exports
27839
+ module.exports = exports;
27840
+
27841
+
27817
27842
  /***/ }),
27818
27843
 
27819
27844
  /***/ "5e1a":
@@ -86553,6 +86578,22 @@ module.exports = USE_SYMBOL_AS_UID ? function (it) {
86553
86578
  };
86554
86579
 
86555
86580
 
86581
+ /***/ }),
86582
+
86583
+ /***/ "d9f6":
86584
+ /***/ (function(module, exports, __webpack_require__) {
86585
+
86586
+ // style-loader: Adds some css to the DOM by adding a <style> tag
86587
+
86588
+ // load the styles
86589
+ var content = __webpack_require__("5e19");
86590
+ if(content.__esModule) content = content.default;
86591
+ if(typeof content === 'string') content = [[module.i, content, '']];
86592
+ if(content.locals) module.exports = content.locals;
86593
+ // add the styles to the DOM
86594
+ var add = __webpack_require__("499e").default
86595
+ var update = add("7dd36639", content, true, {"sourceMap":false,"shadowMode":false});
86596
+
86556
86597
  /***/ }),
86557
86598
 
86558
86599
  /***/ "da0e":
@@ -124351,6 +124392,417 @@ baseUploadTemplate.install = function (Vue) {
124351
124392
  var dist = __webpack_require__("7e79");
124352
124393
  var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
124353
124394
 
124395
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"693bc1e9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/base/baseList/index.vue?vue&type=template&id=3c2aa846&scoped=true&
124396
+ var baseListvue_type_template_id_3c2aa846_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('elScrollBar',{staticClass:"list-wrap",attrs:{"onScroll":_vm.onScroll,"noresize":_vm.noresize,"wrapStyle":_vm.wrapStyle,"viewStyle":_vm.viewStyle}},[_vm._t("default")],2)}
124397
+ var baseListvue_type_template_id_3c2aa846_scoped_true_staticRenderFns = []
124398
+
124399
+
124400
+ // CONCATENATED MODULE: ./packages/components/base/baseList/index.vue?vue&type=template&id=3c2aa846&scoped=true&
124401
+
124402
+ // EXTERNAL MODULE: ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js
124403
+ var ResizeObserver_es = __webpack_require__("6dd8");
124404
+
124405
+ // CONCATENATED MODULE: ./node_modules/element-ui/src/utils/resize-event.js
124406
+
124407
+
124408
+ const resize_event_isServer = typeof window === 'undefined';
124409
+
124410
+ /* istanbul ignore next */
124411
+ const resizeHandler = function(entries) {
124412
+ for (let entry of entries) {
124413
+ const listeners = entry.target.__resizeListeners__ || [];
124414
+ if (listeners.length) {
124415
+ listeners.forEach(fn => {
124416
+ fn();
124417
+ });
124418
+ }
124419
+ }
124420
+ };
124421
+
124422
+ /* istanbul ignore next */
124423
+ const addResizeListener = function(element, fn) {
124424
+ if (resize_event_isServer) return;
124425
+ if (!element.__resizeListeners__) {
124426
+ element.__resizeListeners__ = [];
124427
+ element.__ro__ = new ResizeObserver_es["default"](resizeHandler);
124428
+ element.__ro__.observe(element);
124429
+ }
124430
+ element.__resizeListeners__.push(fn);
124431
+ };
124432
+
124433
+ /* istanbul ignore next */
124434
+ const removeResizeListener = function(element, fn) {
124435
+ if (!element || !element.__resizeListeners__) return;
124436
+ element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);
124437
+ if (!element.__resizeListeners__.length) {
124438
+ element.__ro__.disconnect();
124439
+ }
124440
+ };
124441
+
124442
+ // CONCATENATED MODULE: ./packages/components/base/baseList/scrollbar/src/util.js
124443
+ const BAR_MAP = {
124444
+ vertical: {
124445
+ offset: 'offsetHeight',
124446
+ scroll: 'scrollTop',
124447
+ scrollSize: 'scrollHeight',
124448
+ size: 'height',
124449
+ key: 'vertical',
124450
+ axis: 'Y',
124451
+ client: 'clientY',
124452
+ direction: 'top'
124453
+ },
124454
+ horizontal: {
124455
+ offset: 'offsetWidth',
124456
+ scroll: 'scrollLeft',
124457
+ scrollSize: 'scrollWidth',
124458
+ size: 'width',
124459
+ key: 'horizontal',
124460
+ axis: 'X',
124461
+ client: 'clientX',
124462
+ direction: 'left'
124463
+ }
124464
+ };
124465
+ function renderThumbStyle({
124466
+ move,
124467
+ size,
124468
+ bar
124469
+ }) {
124470
+ const style = {};
124471
+ const translate = `translate${bar.axis}(${move}%)`;
124472
+ style[bar.size] = size;
124473
+ style.transform = translate;
124474
+ style.msTransform = translate;
124475
+ style.webkitTransform = translate;
124476
+ return style;
124477
+ }
124478
+ ;
124479
+ // CONCATENATED MODULE: ./packages/components/base/baseList/scrollbar/src/bar.js
124480
+
124481
+
124482
+ /* istanbul ignore next */
124483
+
124484
+ /* harmony default export */ var src_bar = ({
124485
+ name: 'Bar',
124486
+ props: {
124487
+ vertical: Boolean,
124488
+ size: String,
124489
+ move: Number
124490
+ },
124491
+ computed: {
124492
+ bar() {
124493
+ return BAR_MAP[this.vertical ? 'vertical' : 'horizontal'];
124494
+ },
124495
+
124496
+ wrap() {
124497
+ return this.$parent.wrap;
124498
+ }
124499
+
124500
+ },
124501
+
124502
+ render(h) {
124503
+ const {
124504
+ size,
124505
+ move,
124506
+ bar
124507
+ } = this;
124508
+ return h("div", {
124509
+ "class": ['el-scrollbar__bar', 'is-' + bar.key],
124510
+ "on": {
124511
+ "mousedown": this.clickTrackHandler
124512
+ }
124513
+ }, [h("div", {
124514
+ "ref": "thumb",
124515
+ "class": "el-scrollbar__thumb",
124516
+ "on": {
124517
+ "mousedown": this.clickThumbHandler
124518
+ },
124519
+ "style": renderThumbStyle({
124520
+ size,
124521
+ move,
124522
+ bar
124523
+ })
124524
+ })]);
124525
+ },
124526
+
124527
+ methods: {
124528
+ clickThumbHandler(e) {
124529
+ // prevent click event of right button
124530
+ if (e.ctrlKey || e.button === 2) {
124531
+ return;
124532
+ }
124533
+
124534
+ this.startDrag(e);
124535
+ this[this.bar.axis] = e.currentTarget[this.bar.offset] - (e[this.bar.client] - e.currentTarget.getBoundingClientRect()[this.bar.direction]);
124536
+ },
124537
+
124538
+ clickTrackHandler(e) {
124539
+ const offset = Math.abs(e.target.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]);
124540
+ const thumbHalf = this.$refs.thumb[this.bar.offset] / 2;
124541
+ const thumbPositionPercentage = (offset - thumbHalf) * 100 / this.$el[this.bar.offset];
124542
+ this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100;
124543
+ },
124544
+
124545
+ startDrag(e) {
124546
+ e.stopImmediatePropagation();
124547
+ this.cursorDown = true;
124548
+ on(document, 'mousemove', this.mouseMoveDocumentHandler);
124549
+ on(document, 'mouseup', this.mouseUpDocumentHandler);
124550
+
124551
+ document.onselectstart = () => false;
124552
+ },
124553
+
124554
+ mouseMoveDocumentHandler(e) {
124555
+ if (this.cursorDown === false) return;
124556
+ const prevPage = this[this.bar.axis];
124557
+ if (!prevPage) return;
124558
+ const offset = (this.$el.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]) * -1;
124559
+ const thumbClickPosition = this.$refs.thumb[this.bar.offset] - prevPage;
124560
+ const thumbPositionPercentage = (offset - thumbClickPosition) * 100 / this.$el[this.bar.offset];
124561
+ this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100;
124562
+ },
124563
+
124564
+ mouseUpDocumentHandler(e) {
124565
+ this.cursorDown = false;
124566
+ this[this.bar.axis] = 0;
124567
+ off(document, 'mousemove', this.mouseMoveDocumentHandler);
124568
+ document.onselectstart = null;
124569
+ }
124570
+
124571
+ },
124572
+
124573
+ destroyed() {
124574
+ off(document, 'mouseup', this.mouseUpDocumentHandler);
124575
+ }
124576
+
124577
+ });
124578
+ // CONCATENATED MODULE: ./packages/components/base/baseList/scrollbar/src/main.js
124579
+ // reference https://github.com/noeldelgado/gemini-scrollbar/blob/master/index.js
124580
+
124581
+
124582
+
124583
+
124584
+ /* istanbul ignore next */
124585
+
124586
+ /* harmony default export */ var main = ({
124587
+ name: 'ElScrollbar',
124588
+ components: {
124589
+ Bar: src_bar
124590
+ },
124591
+ props: {
124592
+ native: Boolean,
124593
+ wrapStyle: {},
124594
+ wrapClass: {},
124595
+ viewClass: {},
124596
+ viewStyle: {},
124597
+ noresize: Boolean,
124598
+ // 如果 container 尺寸不会发生变化,最好设置它可以优化性能
124599
+ tag: {
124600
+ type: String,
124601
+ default: 'div'
124602
+ },
124603
+ onScroll: {
124604
+ type: Function
124605
+ }
124606
+ },
124607
+
124608
+ data() {
124609
+ return {
124610
+ moveX: 0,
124611
+ moveY: 0,
124612
+ sizeWidth: '0',
124613
+ sizeHeight: '0'
124614
+ };
124615
+ },
124616
+
124617
+ computed: {
124618
+ wrap() {
124619
+ return this.$refs.wrap;
124620
+ }
124621
+
124622
+ },
124623
+
124624
+ render(h) {
124625
+ let gutter = scrollbar_width();
124626
+ let style = this.wrapStyle;
124627
+
124628
+ if (gutter) {
124629
+ const gutterWith = `-${gutter}px`;
124630
+ const gutterStyle = `margin-bottom: ${gutterWith}; margin-right: ${gutterWith};`;
124631
+
124632
+ if (Array.isArray(this.wrapStyle)) {
124633
+ style = toObject(this.wrapStyle);
124634
+ style.marginRight = style.marginBottom = gutterWith;
124635
+ } else if (typeof this.wrapStyle === 'string') {
124636
+ style += gutterStyle;
124637
+ } else {
124638
+ style = gutterStyle;
124639
+ }
124640
+ }
124641
+
124642
+ const view = h(this.tag, {
124643
+ class: ['el-scrollbar__view', this.viewClass],
124644
+ style: this.viewStyle,
124645
+ ref: 'resize'
124646
+ }, this.$slots.default);
124647
+ const wrap = h("div", {
124648
+ "ref": "wrap",
124649
+ "style": style,
124650
+ "on": {
124651
+ "scroll": this.handleScroll
124652
+ },
124653
+ "class": [this.wrapClass, 'el-scrollbar__wrap', gutter ? '' : 'el-scrollbar__wrap--hidden-default']
124654
+ }, [[view]]);
124655
+ let nodes;
124656
+
124657
+ if (!this.native) {
124658
+ nodes = [wrap, h(src_bar, {
124659
+ "attrs": {
124660
+ "move": this.moveX,
124661
+ "size": this.sizeWidth
124662
+ }
124663
+ }), h(src_bar, {
124664
+ "attrs": {
124665
+ "vertical": true,
124666
+ "move": this.moveY,
124667
+ "size": this.sizeHeight
124668
+ }
124669
+ })];
124670
+ } else {
124671
+ nodes = [h("div", {
124672
+ "ref": "wrap",
124673
+ "class": [this.wrapClass, 'el-scrollbar__wrap'],
124674
+ "style": style
124675
+ }, [[view]])];
124676
+ }
124677
+
124678
+ return h('div', {
124679
+ class: 'el-scrollbar'
124680
+ }, nodes);
124681
+ },
124682
+
124683
+ methods: {
124684
+ handleScroll(e) {
124685
+ const wrap = this.wrap;
124686
+ const target = e.target;
124687
+ const {
124688
+ scrollHeight,
124689
+ scrollTop,
124690
+ offsetHeight
124691
+ } = target;
124692
+ this.moveY = wrap.scrollTop * 100 / wrap.clientHeight;
124693
+ this.moveX = wrap.scrollLeft * 100 / wrap.clientWidth;
124694
+ const {
124695
+ onScroll
124696
+ } = this.$props;
124697
+
124698
+ if (onscroll) {
124699
+ const subsHeight = scrollHeight - (scrollTop + offsetHeight);
124700
+ onscroll(subsHeight);
124701
+ }
124702
+ },
124703
+
124704
+ update() {
124705
+ this.$nextTick(() => {
124706
+ let heightPercentage, widthPercentage;
124707
+ const wrap = this.wrap;
124708
+ if (!wrap) return;
124709
+ heightPercentage = wrap.clientHeight * 100 / wrap.scrollHeight;
124710
+ widthPercentage = wrap.clientWidth * 100 / wrap.scrollWidth;
124711
+ this.sizeHeight = heightPercentage < 100 ? heightPercentage + '%' : '';
124712
+ this.sizeWidth = widthPercentage < 100 ? widthPercentage + '%' : '';
124713
+ });
124714
+ }
124715
+
124716
+ },
124717
+
124718
+ mounted() {
124719
+ if (this.native) return;
124720
+ this.$nextTick(this.update);
124721
+ !this.noresize && addResizeListener(this.$refs.resize, this.update);
124722
+ },
124723
+
124724
+ beforeDestroy() {
124725
+ if (this.native) return;
124726
+ !this.noresize && removeResizeListener(this.$refs.resize, this.update);
124727
+ }
124728
+
124729
+ });
124730
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/base/baseList/index.vue?vue&type=script&lang=js&
124731
+ //
124732
+ //
124733
+ //
124734
+ //
124735
+ //
124736
+ //
124737
+ //
124738
+ //
124739
+ //
124740
+ //
124741
+ //
124742
+ //
124743
+ //
124744
+ //
124745
+
124746
+ /* harmony default export */ var baseListvue_type_script_lang_js_ = ({
124747
+ name: 'baseList',
124748
+
124749
+ data() {
124750
+ return {};
124751
+ },
124752
+
124753
+ props: {
124754
+ onScroll: {
124755
+ type: Function
124756
+ },
124757
+ noresize: {
124758
+ type: Boolean,
124759
+ default: true
124760
+ },
124761
+ wrapStyle: {
124762
+ type: Object
124763
+ },
124764
+ viewStyle: {
124765
+ type: Object
124766
+ }
124767
+ },
124768
+ components: {
124769
+ elScrollBar: main
124770
+ }
124771
+ });
124772
+ // CONCATENATED MODULE: ./packages/components/base/baseList/index.vue?vue&type=script&lang=js&
124773
+ /* harmony default export */ var base_baseListvue_type_script_lang_js_ = (baseListvue_type_script_lang_js_);
124774
+ // EXTERNAL MODULE: ./packages/components/base/baseList/index.vue?vue&type=style&index=0&id=3c2aa846&lang=less&scoped=true&
124775
+ var baseListvue_type_style_index_0_id_3c2aa846_lang_less_scoped_true_ = __webpack_require__("1756");
124776
+
124777
+ // CONCATENATED MODULE: ./packages/components/base/baseList/index.vue
124778
+
124779
+
124780
+
124781
+
124782
+
124783
+
124784
+ /* normalize component */
124785
+
124786
+ var baseList_component = Object(componentNormalizer["a" /* default */])(
124787
+ base_baseListvue_type_script_lang_js_,
124788
+ baseListvue_type_template_id_3c2aa846_scoped_true_render,
124789
+ baseListvue_type_template_id_3c2aa846_scoped_true_staticRenderFns,
124790
+ false,
124791
+ null,
124792
+ "3c2aa846",
124793
+ null
124794
+
124795
+ )
124796
+
124797
+ /* harmony default export */ var baseList = (baseList_component.exports);
124798
+ // CONCATENATED MODULE: ./packages/components/base/baseList/index.js
124799
+
124800
+
124801
+ baseList.install = function (Vue) {
124802
+ Vue.component(baseList.name, baseList);
124803
+ };
124804
+
124805
+ /* harmony default export */ var base_baseList = (baseList);
124354
124806
  // CONCATENATED MODULE: ./packages/config/theme/theme.js
124355
124807
 
124356
124808
 
@@ -124694,6 +125146,7 @@ var useCropper = __webpack_require__("77b0");
124694
125146
 
124695
125147
 
124696
125148
 
125149
+
124697
125150
 
124698
125151
 
124699
125152
  // js 文件相关
@@ -124710,7 +125163,7 @@ var useCropper = __webpack_require__("77b0");
124710
125163
 
124711
125164
 
124712
125165
 
124713
- const meixicomponents = [base_baseAnchor, base_baseAppendix, base_baseArea, base_baseAvatar, base_baseButtonHandle, base_baseDefaultSvg, base_baseDialog, baseDialogTable, base_baseDrawer, base_baseEdito, base_baseFixedHeader, base_baseIcon, baseImageViewer, base_baseImg, base_baseInforWrap, base_baseLineInfoGroup, base_baseLineInfoItem, base_basePageHeader, base_basePagination, base_basePlainTable, base_baseSection, base_baseSkeleton, base_baseSvg, baseTimeTypeSelect, baseToggle, baseUpload_baseUploadItem, baseUpload_baseUpload, base_upload, dialogFormIndex, proForm, proFormWrap, proPageTable, base_baseMoverVerifiBar, base_baseTimeLine, base_basePopoverButton, base_baseTreeSelect, base_baseUploadTemplate];
125166
+ const meixicomponents = [base_baseAnchor, base_baseAppendix, base_baseArea, base_baseAvatar, base_baseButtonHandle, base_baseDefaultSvg, base_baseDialog, baseDialogTable, base_baseDrawer, base_baseEdito, base_baseFixedHeader, base_baseIcon, baseImageViewer, base_baseImg, base_baseInforWrap, base_baseLineInfoGroup, base_baseLineInfoItem, base_basePageHeader, base_basePagination, base_basePlainTable, base_baseSection, base_baseSkeleton, base_baseSvg, baseTimeTypeSelect, baseToggle, baseUpload_baseUploadItem, baseUpload_baseUpload, base_upload, dialogFormIndex, proForm, proFormWrap, proPageTable, base_baseMoverVerifiBar, base_baseTimeLine, base_basePopoverButton, base_baseTreeSelect, base_baseUploadTemplate, base_baseList];
124714
125167
 
124715
125168
  const install = Vue => {
124716
125169
  meixicomponents.forEach(component => {