@deanwu/vue-component-library 1.3.73 → 1.3.74
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/dist/vue-component-library.common.js +43 -35
- package/dist/vue-component-library.common.js.map +1 -1
- package/dist/vue-component-library.css +1 -1
- package/dist/vue-component-library.umd.js +43 -35
- package/dist/vue-component-library.umd.js.map +1 -1
- package/dist/vue-component-library.umd.min.js +4 -4
- package/dist/vue-component-library.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -92,17 +92,6 @@ module.exports =
|
|
|
92
92
|
|
|
93
93
|
/* (ignored) */
|
|
94
94
|
|
|
95
|
-
/***/ }),
|
|
96
|
-
|
|
97
|
-
/***/ "001a":
|
|
98
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
99
|
-
|
|
100
|
-
"use strict";
|
|
101
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_c4bff6ec_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a178");
|
|
102
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_c4bff6ec_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_c4bff6ec_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
103
|
-
/* unused harmony reexport * */
|
|
104
|
-
|
|
105
|
-
|
|
106
95
|
/***/ }),
|
|
107
96
|
|
|
108
97
|
/***/ "00bb":
|
|
@@ -27349,13 +27338,6 @@ module.exports = function (argument) {
|
|
|
27349
27338
|
|
|
27350
27339
|
/***/ }),
|
|
27351
27340
|
|
|
27352
|
-
/***/ "a178":
|
|
27353
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
27354
|
-
|
|
27355
|
-
// extracted by mini-css-extract-plugin
|
|
27356
|
-
|
|
27357
|
-
/***/ }),
|
|
27358
|
-
|
|
27359
27341
|
/***/ "a29b":
|
|
27360
27342
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27361
27343
|
|
|
@@ -27365,6 +27347,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27365
27347
|
|
|
27366
27348
|
/***/ }),
|
|
27367
27349
|
|
|
27350
|
+
/***/ "a329":
|
|
27351
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
27352
|
+
|
|
27353
|
+
// extracted by mini-css-extract-plugin
|
|
27354
|
+
|
|
27355
|
+
/***/ }),
|
|
27356
|
+
|
|
27368
27357
|
/***/ "a40e":
|
|
27369
27358
|
/***/ (function(module, exports, __webpack_require__) {
|
|
27370
27359
|
|
|
@@ -41341,8 +41330,8 @@ var unit_link_component = normalizeComponent(
|
|
|
41341
41330
|
)
|
|
41342
41331
|
|
|
41343
41332
|
/* harmony default export */ var unit_link = (unit_link_component.exports);
|
|
41344
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c663cd22-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/popup/dialog.vue?vue&type=template&id=
|
|
41345
|
-
var
|
|
41333
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c663cd22-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/popup/dialog.vue?vue&type=template&id=357dcf80&scoped=true&
|
|
41334
|
+
var dialogvue_type_template_id_357dcf80_scoped_true_render = function render() {
|
|
41346
41335
|
var _vm = this,
|
|
41347
41336
|
_c = _vm._self._c;
|
|
41348
41337
|
return _c('div', {
|
|
@@ -41368,6 +41357,9 @@ var dialogvue_type_template_id_c4bff6ec_scoped_true_render = function render() {
|
|
|
41368
41357
|
}) : _vm._e(), _c('div', {
|
|
41369
41358
|
ref: "wrapper",
|
|
41370
41359
|
staticClass: "c-dialog-wrapper",
|
|
41360
|
+
class: {
|
|
41361
|
+
'z-max': _vm.max
|
|
41362
|
+
},
|
|
41371
41363
|
style: {
|
|
41372
41364
|
..._vm.position,
|
|
41373
41365
|
'z-index': _vm.zIndex,
|
|
@@ -41397,14 +41389,14 @@ var dialogvue_type_template_id_c4bff6ec_scoped_true_render = function render() {
|
|
|
41397
41389
|
}
|
|
41398
41390
|
}, [_c('p', [_vm._v(_vm._s(_vm.$t(_vm.options.title)))])]) : _vm._e(), _c('div', {
|
|
41399
41391
|
staticClass: "flex c-dialog-handle"
|
|
41400
|
-
}, [_vm.
|
|
41392
|
+
}, [_vm.compResizeButton ? [_vm.compResizeButton.includes('min') ? _c('div', {
|
|
41401
41393
|
staticClass: "c-dialog-handle-item flex-center",
|
|
41402
41394
|
on: {
|
|
41403
41395
|
"click": _vm.minimize
|
|
41404
41396
|
}
|
|
41405
41397
|
}, [_c('i', {
|
|
41406
41398
|
staticClass: "c-icon-dialog-min"
|
|
41407
|
-
})]), _c('div', {
|
|
41399
|
+
})]) : _vm._e(), _vm.compResizeButton.includes('max') ? _c('div', {
|
|
41408
41400
|
staticClass: "c-dialog-handle-item flex-center",
|
|
41409
41401
|
on: {
|
|
41410
41402
|
"click": function ($event) {
|
|
@@ -41413,7 +41405,7 @@ var dialogvue_type_template_id_c4bff6ec_scoped_true_render = function render() {
|
|
|
41413
41405
|
}
|
|
41414
41406
|
}, [_c('i', {
|
|
41415
41407
|
class: [_vm.max ? 'c-icon-dialog-normal' : 'c-icon-dialog-max']
|
|
41416
|
-
})])] : _vm._e(), _vm.closeButton ? _c('div', {
|
|
41408
|
+
})]) : _vm._e()] : _vm._e(), _vm.closeButton ? _c('div', {
|
|
41417
41409
|
staticClass: "c-dialog-handle-item close flex-center",
|
|
41418
41410
|
on: {
|
|
41419
41411
|
"click": _vm.close
|
|
@@ -41452,9 +41444,9 @@ var dialogvue_type_template_id_c4bff6ec_scoped_true_render = function render() {
|
|
|
41452
41444
|
}
|
|
41453
41445
|
}, [_vm._v(_vm._s(_vm.$t(_vm.options.cancelButtonName)))]) : _vm._e()]], 2) : _vm._e()])])]);
|
|
41454
41446
|
};
|
|
41455
|
-
var
|
|
41447
|
+
var dialogvue_type_template_id_357dcf80_scoped_true_staticRenderFns = [];
|
|
41456
41448
|
|
|
41457
|
-
// CONCATENATED MODULE: ./src/components/popup/dialog.vue?vue&type=template&id=
|
|
41449
|
+
// CONCATENATED MODULE: ./src/components/popup/dialog.vue?vue&type=template&id=357dcf80&scoped=true&
|
|
41458
41450
|
|
|
41459
41451
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/popup/dialog.vue?vue&type=script&lang=js&
|
|
41460
41452
|
/* harmony default export */ var popup_dialogvue_type_script_lang_js_ = ({
|
|
@@ -41475,7 +41467,7 @@ var dialogvue_type_template_id_c4bff6ec_scoped_true_staticRenderFns = [];
|
|
|
41475
41467
|
type: [Number, String],
|
|
41476
41468
|
default: 'auto'
|
|
41477
41469
|
},
|
|
41478
|
-
resizeButton: Boolean,
|
|
41470
|
+
resizeButton: [Boolean, Array],
|
|
41479
41471
|
closeButton: {
|
|
41480
41472
|
type: Boolean,
|
|
41481
41473
|
default: true
|
|
@@ -41552,6 +41544,10 @@ var dialogvue_type_template_id_c4bff6ec_scoped_true_staticRenderFns = [];
|
|
|
41552
41544
|
popup: 'an-popup',
|
|
41553
41545
|
slide: 'an-slidein'
|
|
41554
41546
|
}[this.mode] : '';
|
|
41547
|
+
},
|
|
41548
|
+
compResizeButton() {
|
|
41549
|
+
if (Array.isArray(this.resizeButton)) return this.resizeButton;
|
|
41550
|
+
return this.resizeButton ? ['min', 'max'] : false;
|
|
41555
41551
|
}
|
|
41556
41552
|
},
|
|
41557
41553
|
watch: {
|
|
@@ -41599,14 +41595,14 @@ var dialogvue_type_template_id_c4bff6ec_scoped_true_staticRenderFns = [];
|
|
|
41599
41595
|
} else {
|
|
41600
41596
|
this.$nextTick(() => {
|
|
41601
41597
|
let rect = this.$refs.wrapper.getBoundingClientRect();
|
|
41602
|
-
if (rect.width > document.body.clientWidth) {
|
|
41603
|
-
rect.width = this.actualWidth = document.body.clientWidth;
|
|
41598
|
+
if (rect.width > document.body.clientWidth - 80) {
|
|
41599
|
+
rect.width = this.actualWidth = document.body.clientWidth - 80;
|
|
41604
41600
|
} else {
|
|
41605
41601
|
this.actualWidth = 0;
|
|
41606
41602
|
}
|
|
41607
41603
|
let outHeight = (this.options.title !== false ? 61 : 0) + (this.options.button ? 61 : 0);
|
|
41608
|
-
if (rect.height > window.innerHeight) {
|
|
41609
|
-
this.actualHeight = window.innerHeight - outHeight;
|
|
41604
|
+
if (rect.height > window.innerHeight - 80) {
|
|
41605
|
+
this.actualHeight = window.innerHeight - 80 - outHeight;
|
|
41610
41606
|
rect.height = this.actualHeight + outHeight;
|
|
41611
41607
|
} else {
|
|
41612
41608
|
this.actualHeight = 0;
|
|
@@ -41695,6 +41691,7 @@ var dialogvue_type_template_id_c4bff6ec_scoped_true_staticRenderFns = [];
|
|
|
41695
41691
|
});
|
|
41696
41692
|
},
|
|
41697
41693
|
moveHandle(e) {
|
|
41694
|
+
if (this.max) return;
|
|
41698
41695
|
this.moveEnd();
|
|
41699
41696
|
let right = this.mode == 'slide';
|
|
41700
41697
|
let rect = this.$refs.wrapper.getBoundingClientRect(),
|
|
@@ -41739,8 +41736,8 @@ var dialogvue_type_template_id_c4bff6ec_scoped_true_staticRenderFns = [];
|
|
|
41739
41736
|
});
|
|
41740
41737
|
// CONCATENATED MODULE: ./src/components/popup/dialog.vue?vue&type=script&lang=js&
|
|
41741
41738
|
/* harmony default export */ var components_popup_dialogvue_type_script_lang_js_ = (popup_dialogvue_type_script_lang_js_);
|
|
41742
|
-
// EXTERNAL MODULE: ./src/components/popup/dialog.vue?vue&type=style&index=0&id=
|
|
41743
|
-
var
|
|
41739
|
+
// EXTERNAL MODULE: ./src/components/popup/dialog.vue?vue&type=style&index=0&id=357dcf80&prod&lang=stylus&scoped=true&
|
|
41740
|
+
var dialogvue_type_style_index_0_id_357dcf80_prod_lang_stylus_scoped_true_ = __webpack_require__("fdf5");
|
|
41744
41741
|
|
|
41745
41742
|
// CONCATENATED MODULE: ./src/components/popup/dialog.vue
|
|
41746
41743
|
|
|
@@ -41753,11 +41750,11 @@ var dialogvue_type_style_index_0_id_c4bff6ec_prod_lang_stylus_scoped_true_ = __w
|
|
|
41753
41750
|
|
|
41754
41751
|
var popup_dialog_component = normalizeComponent(
|
|
41755
41752
|
components_popup_dialogvue_type_script_lang_js_,
|
|
41756
|
-
|
|
41757
|
-
|
|
41753
|
+
dialogvue_type_template_id_357dcf80_scoped_true_render,
|
|
41754
|
+
dialogvue_type_template_id_357dcf80_scoped_true_staticRenderFns,
|
|
41758
41755
|
false,
|
|
41759
41756
|
null,
|
|
41760
|
-
"
|
|
41757
|
+
"357dcf80",
|
|
41761
41758
|
null
|
|
41762
41759
|
|
|
41763
41760
|
)
|
|
@@ -56254,6 +56251,17 @@ module.exports = NATIVE_SYMBOL
|
|
|
56254
56251
|
&& typeof Symbol.iterator == 'symbol';
|
|
56255
56252
|
|
|
56256
56253
|
|
|
56254
|
+
/***/ }),
|
|
56255
|
+
|
|
56256
|
+
/***/ "fdf5":
|
|
56257
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
56258
|
+
|
|
56259
|
+
"use strict";
|
|
56260
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_357dcf80_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a329");
|
|
56261
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_357dcf80_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_357dcf80_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
56262
|
+
/* unused harmony reexport * */
|
|
56263
|
+
|
|
56264
|
+
|
|
56257
56265
|
/***/ })
|
|
56258
56266
|
|
|
56259
56267
|
/******/ });
|